@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&family=DM+Sans:wght@400;500;600;700&display=swap');
:root {
	--bg: #101923;
	--surface: #1a2835;
	--text: #f4f6f7;
	--muted: #aab9c4;
	--accent: #e5a56d;
	--line: #354454;
	--shadow: 0 19px 32px rgba(30, 49, 64, .25), 0 5px 12px rgba(25, 46, 62, .15);
}
* {
	box-sizing: border-box;
}
html {
	scroll-behavior: smooth;
	overflow-x: clip;
}
body {
	margin: 0;
	background-color: #cbd8df;
	background-image: radial-gradient(ellipse at 12% 15%, rgba(255, 255, 255, .92), transparent 49%),
		radial-gradient(ellipse at 88% 28%, rgba(137, 183, 196, .55), transparent 44%),
		radial-gradient(ellipse at 25% 86%, rgba(183, 197, 215, .7), transparent 48%),
		linear-gradient(125deg, #e9eef1 0%, #c8d7df 52%, #e1e9ec 100%);
	background-attachment: fixed;
	color: var(--text);
	font-family: 'DM Sans', Arial, sans-serif;
}
body::before {
	content: '';
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	opacity: .34;
	background: repeating-linear-gradient(135deg, transparent 0 110px, rgba(255,255,255,.3) 111px 112px, transparent 113px 224px);
}
.site-shell {
	position: relative;
	z-index: 1;
}
a {
	color: inherit;
	text-decoration: none;
}
button,
input,
textarea {
	font: inherit;
}
button {
	cursor: pointer;
}
img {
	max-width: 100%;
}
::selection {
	background: #e5a56d;
	color: #101923;
}
.site-shell {
	max-width: 1480px;
	margin: auto;
	padding: 0 42px;
}
.site-header {
	position: relative;
	isolation: isolate;
	min-height: 112px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 32px;
}
.site-header::before {
	content: '';
	position: absolute;
	z-index: -1;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 100vw;
	transform: translateX(-50%);
	background: linear-gradient(105deg, rgba(253, 255, 255, .80), rgba(230, 241, 246, .68) 50%, rgba(253, 255, 255, .73));
	border-bottom: 1px solid rgba(255, 255, 255, .83);
	box-shadow: 0 8px 34px rgba(32, 69, 87, .11), inset 0 -1px 0 rgba(57, 87, 101, .09);
	backdrop-filter: blur(18px) saturate(130%);
	-webkit-backdrop-filter: blur(18px) saturate(130%);
}
.brand {
	color: #203746;
	text-shadow: 0 1px 0 #fff9;
	font-family: 'Barlow Condensed', Impact, sans-serif;
	font-weight: 800;
	font-size: 43px;
	letter-spacing: -2px;
	line-height: 1;
}
.brand span {
	color: #e5a56d;
}
.brand i {
	font-style: normal;
}
.main-nav {
	display: flex;
	gap: 8px;
	align-items: center;
}
.main-nav a {
	color: #243f52;
	background: rgba(255, 255, 255, .48);
	border: 1px solid rgba(255, 255, 255, .65);
	box-shadow: 0 4px 12px rgba(35, 66, 82, .09);
	text-transform: uppercase;
	letter-spacing: .9px;
	font-size: 11px;
	font-weight: 700;
	padding: 13px 14px;
	transition: transform .22s, background .22s, box-shadow .22s, color .22s;
}
.main-nav a:hover {
	color: #fff;
	background: #315d70;
	transform: translateY(-3px);
	box-shadow: 0 9px 16px rgba(33, 62, 77, .24);
}
.main-nav a.active {
	color: #fff;
	background: rgba(142, 59, 76, .90);
	border-color: #8e3b4c;
	box-shadow: 0 6px 15px rgba(93, 45, 58, .24);
}
.menu-toggle {
	display: none;
	background: #253748;
	border: 1px solid #4a5968;
	color: white;
	padding: 9px 14px;
	font-size: 23px;
}
.progress-bar {
	position: fixed;
	z-index: 100;
	height: 3px;
	background: var(--accent);
	width: 0;
	top: 0;
	left: 0;
	transition: width .25s;
}
.page-content {
	min-height: 65vh;
	animation: page-enter .35s both;
}
@keyframes page-enter {
	from {
		opacity: 0;
		transform: translateY(9px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
.hero-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: 215px;
	gap: 13px;
	perspective: 1300px;
}
.tile {
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(255,255,255,.25);
	box-shadow: var(--shadow);
	border-radius: 0;
}
.tile-wide {
	grid-column: span 3;
	grid-row: span 2;
}
.tile-intro {
	background: linear-gradient(115deg, rgba(38,60,77,.94) 0%, rgba(27,44,59,.93) 65%, rgba(35,57,75,.94) 100%);
	padding: clamp(28px, 4vw, 66px);
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.tile-intro::before {
	content: '';
	position: absolute;
	width: 320px;
	height: 320px;
	border: 1px solid #ffffff12;
	transform: rotate(45deg);
	right: -100px;
	top: -150px;
	pointer-events: none;
}
.tile-kicker,
.eyebrow {
	color: #e7b186;
	letter-spacing: 3.2px;
	font-size: 11px;
	font-weight: 700;
}
.tile-intro h1 {
	font-family: 'Barlow Condensed', Impact, sans-serif;
	font-size: clamp(76px, 9vw, 148px);
	font-weight: 800;
	line-height: .81;
	letter-spacing: -2px;
	margin: 34px 0 24px;
}
.tile-intro h1 span {
	color: #e7b186;
}
.dot,
.accent {
	color: #e7b186;
}
.hero-sub {
	color: #c6d1da;
	letter-spacing: 2px;
	font-size: clamp(10px, 1vw, 13px);
	font-weight: 700;
}
.hero-sub span {
	color: var(--accent);
	padding: 0 8px;
}
.hero-actions {
	display: flex;
	gap: 12px;
	margin-top: 24px;
}
.outline-link {
	border: 1px solid #66798b;
	font-size: 12px;
	padding: 13px 17px;
	font-weight: 700;
	display: flex;
	gap: 25px;
	transition: background .2s, border-color .2s;
}
.outline-link:hover {
	background: #ffffff15;
	border-color: #e7b186;
}
.outline-link span {
	color: #e7b186;
}
.tile-corner {
	position: absolute;
	right: 23px;
	bottom: 21px;
	font-size: 10px;
	letter-spacing: 2px;
	color: #8c9ba9;
}
.tile-photo {
	grid-column: span 1;
	grid-row: span 2;
	background: #b2b7b8;
}
.tile-photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 23%;
	filter: saturate(.83) contrast(1.02);
}
.tile-photo::after {
	content: '';
	position: absolute;
	inset: 45% 0 0;
	background: linear-gradient(transparent, #101923a8);
	pointer-events: none;
}
.photo-caption {
	position: absolute;
	z-index: 1;
	bottom: 20px;
	left: 20px;
	right: 20px;
	display: flex;
	justify-content: space-between;
	font-size: 9px;
	letter-spacing: 1px;
	font-weight: 700;
}
.tile-double {
	grid-column: span 2;
}
.tile-link {
	padding: 25px 29px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	transform-style: preserve-3d;
	transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, filter .3s;
}
.tile-link:hover {
	transform: translateY(-7px) rotateX(2deg);
	box-shadow: 0 30px 50px rgba(24, 49, 66, .42), 0 10px 20px rgba(30, 55, 69, .23);
	filter: brightness(1.08);
	z-index: 2;
}
.tile-teal {
	background: rgba(23, 111, 115, .90);
}
.tile-burgundy {
	background: rgba(142, 59, 76, .90);
}
.tile-blue {
	background: rgba(49, 93, 128, .90);
}
.tile-slate {
	background: rgba(66, 83, 107, .90);
}
.tile-olive {
	background: rgba(93, 105, 80, .90);
}
.tile-icon {
	font-family: 'Barlow Condensed', sans-serif;
	font-size: 48px;
	font-weight: 600;
	line-height: 1;
	opacity: .85;
}
.tile-bottom strong {
	font-family: 'Barlow Condensed', sans-serif;
	font-size: 36px;
	line-height: 1;
	display: block;
}
.tile-bottom small {
	display: block;
	margin-top: 7px;
	font-size: 11px;
	letter-spacing: .3px;
	opacity: .82;
}
.tile-arrow {
	position: absolute;
	right: 22px;
	top: 20px;
	font-size: 25px;
}
.intro-strip {
	margin: 36px 0 60px;
	display: flex;
	align-items: center;
	gap: 25px;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	padding: 19px 0;
}
.intro-strip > span:first-child {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.5px;
	white-space: nowrap;
}
.intro-strip p {
	font-size: 12px;
	color: #aab9c4;
	margin: 0;
}
.strip-mark {
	margin-left: auto;
	font-size: 11px;
	color: #e5a56d;
	white-space: nowrap;
}
.section-heading {
	padding: 50px 0 44px;
	max-width: 900px;
}
.section-heading h1 {
	font-family: 'Barlow Condensed', Impact, sans-serif;
	font-size: clamp(80px, 11vw, 148px);
	line-height: .9;
	letter-spacing: -1px;
	margin: 18px 0 25px;
}
.section-heading p {
	color: #b5c5cf;
	font-size: 17px;
	line-height: 1.7;
}
.content-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0,1fr));
	gap: 14px;
	margin-bottom: 70px;
}
.content-panel {
	padding: 35px;
	background: #1c2c3b;
	border: 1px solid #344656;
	min-height: 230px;
}
.content-panel h2 {
	font: 700 46px/1 'Barlow Condensed', sans-serif;
	margin: 0 0 22px;
}
.content-panel h3 {
	font: 700 30px/1.1 'Barlow Condensed', sans-serif;
	margin: 14px 0;
}
.content-panel p {
	color: #c1cbd4;
	line-height: 1.85;
	font-size: 14px;
}
.lead-panel {
	grid-column: span 2;
	background: #294254;
}
.lead-panel p {
	max-width: 750px;
	font-size: 16px;
}
.portrait-panel {
	grid-column: span 1;
	grid-row: span 2;
	padding: 0;
	overflow: hidden;
}
.portrait-panel img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.content-panel-wide {
	grid-column: span 3;
}
.panel-number {
	color: #e5a56d;
	font: 700 22px 'Barlow Condensed', sans-serif;
}
.timeline {
	display: grid;
	gap: 0;
}
.timeline div {
	display: grid;
	grid-template-columns: 180px 1fr;
	gap: 20px;
	padding: 17px 0;
	border-bottom: 1px solid #3b4e5f;
	font-size: 14px;
}
.timeline b {
	color: #e5a56d;
}
.timeline span {
	color: #c5d1d9;
}
.text-link {
	color: #e5a56d;
	font-size: 13px;
	font-weight: 700;
}
.reference-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0,1fr));
	gap: 17px;
	margin-bottom: 22px;
}
.reference-card {
	background: #1b2a38;
	border: 1px solid #344657;
	box-shadow: var(--shadow);
}
.reference-preview {
	display: block;
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 9;
}
.reference-preview img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .4s;
}
.reference-preview:hover img {
	transform: scale(1.045);
}
.preview-open {
	position: absolute;
	bottom: 0;
	right: 0;
	background: #e5a56d;
	color: #101923;
	padding: 13px 17px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 1px;
}
.reference-info {
	padding: 28px 30px 30px;
}
.reference-index {
	font-size: 10px;
	color: #e5a56d;
	letter-spacing: 2px;
}
.reference-info h2 {
	font: 700 34px/1.1 'Barlow Condensed', sans-serif;
	margin: 13px 0;
}
.reference-info p {
	color: #b7c7d1;
	font-size: 13px;
	line-height: 1.7;
}
.reference-info a {
	color: #e5a56d;
	font-size: 12px;
	font-weight: 700;
}
.reference-note {
	color: #91a3b0;
	font-size: 12px;
	margin-bottom: 60px;
}
.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1.3fr;
	gap: 16px;
	margin-bottom: 70px;
}
.contact-details {
	background: #294254;
}
.contact-item {
	border-top: 1px solid #516577;
	padding: 22px 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.contact-item span {
	color: #e5a56d;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 2px;
}
.contact-item a {
	font-size: 20px;
	overflow-wrap: anywhere;
}
.social-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
}
.social-links a {
	padding: 12px;
	border: 1px solid #657889;
	font-size: 12px;
}
#contact-form {
	display: grid;
	gap: 10px;
}
#contact-form label {
	font-size: 11px;
	font-weight: 700;
	color: #c8d4dd;
	margin-top: 9px;
}
#contact-form input,
#contact-form textarea {
	border: 1px solid #4b6072;
	background: #14222f;
	color: #fff;
	border-radius: 0;
	padding: 14px;
	width: 100%;
	outline: none;
}
#contact-form input:focus,
#contact-form textarea:focus {
	border-color: #e5a56d;
}
.submit-button {
	margin-top: 15px;
	padding: 16px 19px;
	background: #e5a56d;
	color: #152331;
	border: 0;
	font-weight: 700;
	text-align: left;
	display: flex;
	justify-content: space-between;
}
.submit-button:disabled {
	opacity: .65;
}
.form-status {
	min-height: 1em;
	margin: 0 !important;
}
.form-disclaimer {
	color: #879baa;
	font-size: 11px;
}
.honeypot {
	position: absolute;
	left: -9999px;
}
.site-footer {
	border-top: 1px solid #364654;
	display: flex;
	justify-content: space-between;
	gap: 18px;
	padding: 30px 0 45px;
	color: #8ea0af;
	font-size: 10px;
	letter-spacing: 1.5px;
	font-weight: 700;
}
.site-footer b {
	color: #e5a56d;
}
.site-footer a {
	color: #d9e1e5;
}
@media (max-width: 1050px) {
	.site-shell {
		padding: 0 22px;
	}
	.hero-grid {
		grid-auto-rows: 180px;
	}
	.main-nav {
		gap: 15px;
	}
	.main-nav a {
		font-size: 10px;
	}
	.tile-intro h1 {
		font-size: clamp(70px, 10vw, 105px);
	}
}
@media (max-width: 720px) {
	.site-shell {
		padding: 0 14px;
	}
	.site-header {
		min-height: 82px;
	}
	.menu-toggle {
		display: block;
	}
	.main-nav {
		display: none;
		position: absolute;
		z-index: 20;
		top: 75px;
		left: 14px;
		right: 14px;
		padding: 15px;
		background: #243747;
		border: 1px solid #4b5b69;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		box-shadow: var(--shadow);
	}
	.main-nav.open {
		display: flex;
	}
	.main-nav a {
		padding: 13px;
		font-size: 12px;
	}
	.hero-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: 170px;
		gap: 9px;
	}
	.tile-wide {
		grid-column: span 2;
		grid-row: span 2;
	}
	.tile-intro {
		padding: 25px;
	}
	.tile-intro h1 {
		font-size: clamp(69px, 14vw, 110px);
		margin: 27px 0 16px;
	}
	.hero-sub {
		line-height: 1.8;
		font-size: 10px;
	}
	.tile-photo {
		grid-column: span 2;
		grid-row: span 2;
	}
	.tile-photo img {
		object-position: center 27%;
	}
	.tile-double {
		grid-column: span 2;
	}
	.tile-link {
		padding: 19px;
	}
	.tile-bottom strong {
		font-size: 30px;
	}
	.intro-strip {
		flex-wrap: wrap;
		gap: 10px;
	}
	.intro-strip p {
		order: 3;
		flex-basis: 100%;
	}
	.content-grid,
	.reference-grid,
	.contact-grid {
		grid-template-columns: 1fr;
	}
	.lead-panel,
	.portrait-panel,
	.content-panel-wide {
		grid-column: span 1;
	}
	.portrait-panel {
		grid-row: auto;
		max-height: 520px;
	}
	.content-panel {
		padding: 25px;
	}
	.timeline div {
		grid-template-columns: 1fr;
		gap: 8px;
	}
	.site-footer {
		flex-wrap: wrap;
		line-height: 1.7;
	}
}
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
}
/* V1.1: világos háttéren olvasható kiegészítő feliratok */
.intro-strip {
	border-color: rgba(45, 70, 86, .25);
	color: #263d4d;
}
.intro-strip p {
	color: #456071;
}
.strip-mark {
	color: #884356;
}
.site-footer {
	color: #3d5666;
}
.section-heading .eyebrow {
	color: #874052;
}
.section-heading h1 {
	color: #233b4b;
}
.section-heading p {
	color: #3e596b;
}
.reference-note {
	color: #3e596b;
}
@media (max-width: 900px) {
	.main-nav {
		background: rgba(238, 245, 248, .98);
		border-color: #9bb2bf;
	}
	.main-nav a {
		color: #253f50;
		margin: 3px 0;
	}
}
@media (prefers-reduced-motion: reduce) {
	.tile-link,
	.main-nav a {
		transition: none;
	}
	.tile-link:hover,
	.main-nav a:hover {
		transform: none;
	}
}
/* ======================================================
   V1.3 – Abstract Metro / layered glass tiles
   ====================================================== */
body {
	background-color: #d9e5e9;
	background-image: linear-gradient(125deg, rgba(248, 252, 252, .12), rgba(226, 236, 241, .18)),
		url('../img/abstract-bg.svg');
	background-size: cover, cover;
	background-position: center, center;
	background-repeat: no-repeat;
	background-attachment: fixed, fixed;
}
body::before {
	opacity: .58;
	background: repeating-linear-gradient(125deg, transparent 0 158px, rgba(255,255,255,.25) 159px 160px, transparent 161px 318px),
		linear-gradient(130deg, transparent 0 65%, rgba(255,255,255,.14) 100%);
}
.tile {
	border: 1px solid rgba(255, 255, 255, .38);
	box-shadow: 0 18px 34px rgba(37, 69, 83, .24), 0 6px 12px rgba(40, 67, 85, .13);
	backdrop-filter: blur(8px) saturate(115%);
	-webkit-backdrop-filter: blur(8px) saturate(115%);
}
.tile-teal {
	background: linear-gradient(130deg, rgba(24, 113, 117, .82), rgba(13, 91, 101, .84));
}
.tile-burgundy {
	background: linear-gradient(130deg, rgba(146, 61, 78, .83), rgba(113, 43, 65, .85));
}
.tile-blue {
	background: linear-gradient(130deg, rgba(53, 101, 141, .83), rgba(40, 77, 114, .85));
}
.tile-slate {
	background: linear-gradient(130deg, rgba(67, 85, 109, .82), rgba(48, 65, 94, .84));
}
.tile-olive {
	background: linear-gradient(130deg, rgba(100, 115, 82, .83), rgba(69, 88, 61, .85));
}
.tile-intro {
	background: linear-gradient(115deg, rgba(36, 59, 75, .87), rgba(24, 45, 63, .89) 62%, rgba(35, 63, 82, .86));
}
.tile-link {
	isolation: isolate;
	overflow: hidden;
	transition: transform .32s cubic-bezier(.2,.8,.2,1), box-shadow .32s, filter .32s, border-color .32s;
}
.tile-link::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background: linear-gradient(105deg, transparent 13%, rgba(255,255,255,.04) 32%, rgba(255,255,255,.26) 49%, rgba(255,255,255,.06) 67%, transparent 86%);
	transform: translateX(-125%) skewX(-12deg);
	transition: transform 1.45s cubic-bezier(.19,.59,.23,1);
}
.tile-link > * {
	position: relative;
	z-index: 1;
}
.tile-link:hover,
.tile-link:focus-visible {
	transform: translateY(-8px) rotateX(2deg) rotateY(-.8deg);
	box-shadow: 0 29px 49px rgba(31, 59, 74, .32), 0 11px 18px rgba(30, 56, 72, .2);
	filter: brightness(1.055);
	border-color: rgba(255,255,255,.79);
	z-index: 3;
}
.tile-link:hover::before,
.tile-link:focus-visible::before {
	transform: translateX(125%) skewX(-12deg);
}
/* A statikus csempék visszafogottabban emelkednek, de gyorsabb fénycsík fut át rajtuk. */
.tile-intro,
.tile-photo,
.content-panel {
	transition: transform .45s ease, box-shadow .45s ease, border-color .45s ease, background-color .45s ease;
}
.tile-intro:hover,
.tile-photo:hover {
	transform: translateY(-3px);
	border-color: rgba(255,255,255,.62);
	box-shadow: 0 21px 40px rgba(37, 65, 81, .22), 0 5px 14px rgba(30, 60, 76, .11);
}
.tile-photo img {
	transition: transform .65s cubic-bezier(.2,.8,.2,1);
}
.tile-photo:hover img {
	transform: scale(1.018);
}
.tile-intro::after,
.tile-photo::before,
.content-panel::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	background: linear-gradient(103deg, transparent 20%, rgba(255, 255, 255, .015) 34%, rgba(255, 255, 255, .18) 48%, rgba(255, 255, 255, .015) 62%, transparent 78%);
	transform: translateX(-135%) skewX(-10deg);
	transition: transform .55s cubic-bezier(.22,.7,.2,1);
}
.tile-intro:hover::after,
.tile-photo:hover::before,
.content-panel:hover::before {
	transform: translateX(135%) skewX(-10deg);
}
.content-panel {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: rgba(22, 40, 56, .88);
	backdrop-filter: blur(9px);
	-webkit-backdrop-filter: blur(9px);
	box-shadow: 0 15px 30px rgba(27, 55, 74, .14);
}
.content-panel:hover {
	transform: translateY(-2px);
	border-color: rgba(170, 195, 205, .6);
	box-shadow: 0 20px 38px rgba(29, 53, 69, .2);
}
.lead-panel,
.contact-details {
	background: rgba(35, 63, 81, .88);
}
.reference-card {
	background: rgba(23, 42, 56, .91);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	transition: transform .35s ease, box-shadow .35s ease;
}
.reference-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 24px 40px rgba(30, 56, 72, .25);
}
.reference-intro {
	max-width: 100%;
	margin: -12px 0 26px;
	padding: 22px 26px 19px;
	border-left: 4px solid #8d4b59;
	background: rgba(247, 252, 253, .78);
	box-shadow: 0 9px 25px rgba(46, 79, 94, .1);
	backdrop-filter: blur(11px);
	-webkit-backdrop-filter: blur(11px);
	color: #244356;
}
.reference-intro-label {
	display: block;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 2px;
	color: #8d4b59;
}
.reference-intro p {
	max-width: 1020px;
	margin: 10px 0 16px;
	font-size: 15px;
	line-height: 1.75;
}
.reference-intro strong {
	font-weight: 700;
	color: #1d465c;
}
.reference-keywords {
	display: flex;
	flex-wrap: wrap;
	gap: 9px 21px;
}
.reference-keywords span {
	font-size: 10px;
	font-weight: 700;
	color: #426477;
	letter-spacing: 1px;
}
.reference-keywords span::before {
	content: '■';
	font-size: 7px;
	margin-right: 9px;
	color: #9c5260;
	vertical-align: 1px;
}
.social-heading {
	margin: 28px 0 12px;
	color: #e5a56d;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 2px;
}
.social-links {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 9px;
	margin-top: 0;
}
.social-links .social-tile {
	position: relative;
	display: flex;
	min-width: 0;
	min-height: 112px;
	flex-direction: column;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	padding: 15px;
	border: 1px solid rgba(255,255,255,.26);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	background: rgba(52, 88, 111, .87);
	box-shadow: 0 6px 16px rgba(11, 25, 38, .13);
	overflow: hidden;
	isolation: isolate;
	transition: transform .28s, box-shadow .28s, filter .28s;
}
.social-links .social-tile::before {
	content: '';
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	background: linear-gradient(110deg, transparent 28%, rgba(255,255,255,.2) 50%, transparent 72%);
	transform: translateX(-130%) skewX(-12deg);
	transition: transform .58s;
}
.social-links .social-tile:hover,
.social-links .social-tile:focus-visible {
	transform: translateY(-5px);
	filter: brightness(1.09);
	box-shadow: 0 14px 26px rgba(12, 31, 46, .27);
}
.social-links .social-tile:hover::before,
.social-links .social-tile:focus-visible::before {
	transform: translateX(130%) skewX(-12deg);
}
.social-tile svg {
	width: 31px;
	height: 31px;
	display: block;
	position: relative;
	z-index: 1;
	flex-shrink: 0;
}
.social-tile span {
	position: relative;
	z-index: 1;
}
.social-tile i {
	position: absolute;
	right: 10px;
	top: 9px;
	font-style: normal;
	font-size: 16px;
	opacity: .75;
}
.social-links .social-facebook {
	background: rgba(39, 92, 163, .83);
}
.social-links .social-instagram {
	background: linear-gradient(140deg, rgba(117, 59, 153, .84), rgba(185, 66, 97, .83));
}
.social-links .social-tiktok {
	background: rgba(24, 33, 48, .84);
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
	outline: 3px solid #eab47e;
	outline-offset: 3px;
}
@media (max-width: 720px) {
	.reference-intro {
		padding: 19px;
		margin-top: -10px;
	}
	.reference-intro p {
		font-size: 14px;
	}
	.social-links .social-tile {
		padding: 10px;
		min-height: 93px;
		font-size: 11px;
	}
	.social-tile svg {
		width: 28px;
		height: 28px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.tile-link::before,
	.tile-intro::after,
	.tile-photo::before,
	.content-panel::before,
	.social-links .social-tile::before {
		transition: none;
	}
	.tile-link:hover::before,
	.tile-link:focus-visible::before,
	.tile-intro:hover::after,
	.tile-photo:hover::before,
	.content-panel:hover::before,
	.social-links .social-tile:hover::before,
	.social-links .social-tile:focus-visible::before {
		transform: none;
	}
}


/* ======================================================
   V1.5 – references, menu band, slower click-shine
   ====================================================== */
.site-header {
	min-height: 0;
	display: block;
	padding-top: 14px;
	margin-bottom: 12px;
}
.site-header::before {
	display: none;
}
.header-top {
	position: relative;
	z-index: 2;
	min-height: 92px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
}
.header-top::before {
	content: '';
	position: absolute;
	z-index: -1;
	top: 0;
	bottom: 10px;
	left: 50%;
	width: 100vw;
	transform: translateX(-50%);
	background: linear-gradient(105deg, rgba(253,255,255,.76), rgba(234,243,247,.62) 50%, rgba(253,255,255,.72));
	border-bottom: 1px solid rgba(255,255,255,.7);
	box-shadow: 0 8px 34px rgba(32,69,87,.1), inset 0 -1px 0 rgba(57,87,101,.06);
	backdrop-filter: blur(16px) saturate(125%);
	-webkit-backdrop-filter: blur(16px) saturate(125%);
}
.nav-band {
	position: relative;
	z-index: 1;
	padding: 0;
	margin-top: -2px;
}
.nav-band::before {
	content: '';
	position: absolute;
	z-index: -1;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 100vw;
	transform: translateX(-50%);
	background: linear-gradient(100deg, rgba(255,255,255,.33), rgba(233,241,246,.47) 52%, rgba(255,255,255,.33));
	border-top: 1px solid rgba(255,255,255,.5);
	border-bottom: 1px solid rgba(148,177,191,.28);
	box-shadow: 0 8px 24px rgba(31,63,78,.08);
	backdrop-filter: blur(14px) saturate(135%);
	-webkit-backdrop-filter: blur(14px) saturate(135%);
}
.main-nav {
	position: relative;
	justify-content: center;
	gap: 10px;
	padding: 10px 0;
}
.main-nav a {
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, rgba(255,255,255,.58), rgba(244,249,250,.34));
	border: 1px solid rgba(255,255,255,.68);
}
.main-nav a::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(110deg, transparent 21%, rgba(255,255,255,.18) 35%, rgba(255,255,255,.52) 50%, rgba(255,255,255,.18) 66%, transparent 80%);
	transform: translateX(-140%) skewX(-12deg);
	transition: transform 1.35s cubic-bezier(.2,.6,.2,1);
	pointer-events: none;
}
.main-nav a:hover::before,
.main-nav a:focus-visible::before {
	transform: translateX(140%) skewX(-12deg);
}
.tile-link {
	transition: transform .32s cubic-bezier(.2,.8,.2,1), box-shadow .32s, filter .32s, border-color .32s, background-position .45s;
	background-size: 140% 140%;
	background-position: 0% 50%;
}
.tile-link::before {
	background: linear-gradient(106deg, transparent 14%, rgba(255,255,255,.05) 31%, rgba(255,255,255,.34) 49%, rgba(255,255,255,.09) 66%, transparent 84%);
	transition: transform 1.95s cubic-bezier(.19,.59,.23,1);
}
.tile-link:hover,
.tile-link:focus-visible {
	background-position: 100% 50%;
}
.tile-intro::after,
.tile-photo::before,
.content-panel::before {
	background: linear-gradient(104deg, transparent 18%, rgba(255,255,255,.025) 33%, rgba(255,255,255,.28) 48%, rgba(255,255,255,.03) 62%, transparent 78%);
	transition: transform .34s cubic-bezier(.22,.7,.2,1);
}
.tile-intro:hover,
.tile-photo:hover,
.content-panel:hover {
	transform: translateY(-4px);
}
.reference-card {
	overflow: hidden;
}
.reference-card::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(140deg, rgba(255,255,255,.035), transparent 45%, rgba(255,255,255,.06));
	pointer-events: none;
}
.reference-preview::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 56%, rgba(4,13,20,.08) 100%);
	pointer-events: none;
}
.reference-preview img {
	object-position: center top;
}
@media (max-width: 720px) {
	.site-header {
		padding-top: 10px;
	}
	.header-top {
		min-height: 72px;
	}
	.header-top::before {
		bottom: 0;
	}
	.nav-band {
		min-height: 0;
	}
	.nav-band::before {
		top: 0;
		bottom: auto;
		height: 52px;
	}
	.main-nav {
		top: 52px;
		left: 0;
		right: 0;
		padding: 14px;
	}
}

/* ========================================================
   V1.6 – one-row frosted header, approved JG01 logo,
   equal Metro menu tiles and differentiated light sweeps
   ======================================================== */
.site-header {
    position: relative;
    z-index: 30;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    min-height: 115px;
    padding: 5px 0;
    margin: 0 0 28px;
}
.site-header::before {
    content: '';
    display: block;
    position: absolute;
    z-index: -1;
    inset: 0 auto 0 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: linear-gradient(115deg, rgba(248,253,254,.88), rgba(226,238,244,.77) 48%, rgba(244,249,252,.84));
    border-bottom: 2px solid rgba(142,72,88,.34);
    box-shadow: 0 12px 31px rgba(35,74,95,.16), inset 0 1px 0 rgba(255,255,255,.9);
    backdrop-filter: blur(18px) saturate(135%);
    -webkit-backdrop-filter: blur(18px) saturate(135%);
}
.site-header::after {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0 auto 0 50%;
    width: 100vw;
    transform: translateX(-50%);
    pointer-events: none;
    background: linear-gradient(115deg, transparent 22%, rgba(255,255,255,.18) 22.1%, transparent 35%, transparent 74%, rgba(147,184,201,.12) 74.1%, transparent 87%);
}
.header-top {
    position: static;
    display: flex;
    align-items: center;
    flex: 0 0 188px;
    min-height: 0;
    padding: 0;
}
.header-top::before,
.nav-band::before {
    display: none;
}
.brand {
    display: block;
    width: 184px;
    max-width: 100%;
    line-height: 0;
    transition: transform .35s ease, filter .35s ease;
}
.brand img {
    display: block;
    width: 100%;
    height: auto;
}
.brand:hover,
.brand:focus-visible {
    transform: translateY(-2px);
    filter: drop-shadow(0 7px 7px rgba(25,53,74,.2));
}
.nav-band {
    position: static;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    margin: 0;
    padding: 0;
    min-width: 0;
}
.main-nav {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 9px;
    width: min(100%, 848px);
    padding: 0;
    margin: 0;
    align-items: stretch;
}
.main-nav a {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 47px;
    padding: 10px 6px;
    border: 1px solid rgba(255,255,255,.87);
    color: #243d4e;
    background: linear-gradient(140deg, rgba(255,255,255,.66), rgba(213,233,241,.52));
    box-shadow: 0 5px 11px rgba(34,69,86,.12), inset 0 1px 0 rgba(255,255,255,.55);
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .55px;
    white-space: nowrap;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease, background .3s ease, color .3s ease, border-color .3s ease;
}
.main-nav a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 23%, rgba(255,255,255,.09) 36%, rgba(255,255,255,.35) 52%, rgba(255,255,255,.08) 67%, transparent 81%);
    transform: translateX(-145%) skewX(-11deg);
    transition: transform 1.35s cubic-bezier(.18,.58,.2,1);
    pointer-events: none;
}
.main-nav a:hover,
.main-nav a:focus-visible {
    color: #fff;
    background: linear-gradient(140deg, rgba(46,91,112,.97), rgba(28,60,81,.95));
    border-color: rgba(255,255,255,.7);
    transform: translateY(-4px);
    box-shadow: 0 12px 23px rgba(31,63,82,.28), 0 4px 8px rgba(31,63,82,.13);
}
.main-nav a:hover::before,
.main-nav a:focus-visible::before {
    transform: translateX(145%) skewX(-11deg);
}
.main-nav a.active {
    color: #fff;
    background: linear-gradient(140deg, rgba(157,74,94,.97), rgba(126,50,73,.96));
    border-color: rgba(154,72,93,.8);
    box-shadow: 0 7px 16px rgba(93,45,58,.26);
}
/* Reinstate a rich, nearly opaque background: this keeps the bright text legible. */
.tile-intro {
    background: linear-gradient(121deg, rgba(18,34,49,.98) 0%, rgba(30,48,68,.965) 55%, rgba(49,55,78,.96) 100%);
    border-color: rgba(255,255,255,.34);
}
.tile-intro .tile-kicker {
    color: #f5b889;
}
.tile-intro h1 {
    color: #fff;
    text-shadow: 0 3px 15px rgba(10,20,33,.15);
}
.tile-intro h1 span {
    color: #eab083;
}
.hero-sub {
    color: #e6edf2;
}
.outline-link {
    background: rgba(9,22,35,.23);
    color: #f2f6f9;
    border-color: rgba(225,238,247,.54);
}
.tile-corner {
    color: rgba(233,241,247,.74);
}
/* Static cards get a slower, warmer, angular copper reflection. */
.tile-intro::after,
.tile-photo::before,
.content-panel::before {
    background: linear-gradient(111deg, transparent 17%, rgba(234,177,116,.015) 30%, rgba(246,195,137,.19) 47%, rgba(244,187,130,.07) 60%, transparent 79%);
    clip-path: polygon(0 0, 70% 0, 100% 100%, 30% 100%);
    transform: translateX(-130%) skewX(-7deg);
    transition: transform 1.08s cubic-bezier(.2,.64,.22,1);
}
.tile-intro:hover::after,
.tile-photo:hover::before,
.content-panel:hover::before {
    transform: translateX(130%) skewX(-7deg);
}
.tile-photo::before {
    opacity: .75;
}
/* Clickable cards keep their cooler and longer white sweep. */
.tile-link::before {
    clip-path: none;
    background: linear-gradient(105deg, transparent 15%, rgba(242,251,255,.07) 34%, rgba(234,247,255,.32) 50%, rgba(242,251,255,.08) 66%, transparent 85%);
    transition: transform 1.95s cubic-bezier(.18,.57,.23,1);
}
@media (max-width: 980px) {
    .site-header {
        min-height: 94px;
        gap: 12px;
    }
    .header-top {
        flex: 1;
        justify-content: space-between;
        min-height: 0;
    }
    .brand {
        width: 155px;
    }
    .menu-toggle {
        display: flex;
        justify-content: center;
        align-items: center;
        background: rgba(39,65,85,.92);
        border: 1px solid rgba(255,255,255,.56);
        color: #fff;
        width: 48px;
        height: 46px;
        padding: 0;
        box-shadow: 0 5px 15px rgba(24,49,65,.22);
    }
    .nav-band {
        position: absolute;
        display: block;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        min-height: 0;
        z-index: 25;
    }
    .main-nav {
        display: none;
        position: static;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 9px;
        width: 100%;
        padding: 16px;
        background: rgba(235,245,248,.97);
        box-shadow: 0 14px 25px rgba(27,52,67,.2);
        border: 1px solid rgba(255,255,255,.8);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
    }
    .main-nav.open {
        display: grid;
    }
    .main-nav a {
        margin: 0;
        min-height: 45px;
        font-size: 11px;
    }
}
@media (max-width: 520px) {
    .site-header {
        min-height: 83px;
        margin-bottom: 18px;
    }
    .brand {
        width: 135px;
    }
    .main-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .hero-sub {
        letter-spacing: .65px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .main-nav a,
    .main-nav a::before,
    .tile-intro::after,
    .tile-photo::before,
    .content-panel::before,
    .tile-link::before {
        transition: none;
    }
}

/* ==========================================================
   V1.7 | STICKY METRO HEADER – SINGLE FROSTED TINTED BAND
   ========================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 80;
	min-height: 142px;
	padding: 12px 0;
	margin-bottom: 28px;
	gap: 26px;
	isolation: isolate;
}
.site-header::before {
	background: linear-gradient(110deg, rgba(113, 153, 173, .80) 0%, rgba(168, 195, 206, .67) 47%, rgba(107, 150, 167, .77) 100%);
	border-top: 1px solid rgba(231, 243, 247, .50);
	border-bottom: 2px solid rgba(96, 133, 150, .28);
	box-shadow: 0 11px 35px rgba(26, 61, 82, .21), inset 0 1px 0 rgba(244, 251, 253, .28);
	backdrop-filter: blur(18px) saturate(138%);
	-webkit-backdrop-filter: blur(18px) saturate(138%);
}
.site-header::after {
	background: linear-gradient(126deg, transparent 15%, rgba(213, 235, 241, .12) 15.2%, transparent 34%, transparent 68%, rgba(38, 95, 123, .08) 68.2%, transparent 87%);
}
.header-top {
	flex: 0 0 181px;
}
.brand {
	width: 176px;
}
.main-nav {
	width: min(100%, 910px);
	gap: 10px;
}
.main-nav a {
	min-height: 92px;
	padding: 13px 12px 14px;
	align-items: flex-end;
	justify-content: flex-start;
	text-align: left;
	font-size: 11px;
	letter-spacing: .75px;
	color: #17384d;
	background: linear-gradient(145deg, rgba(239, 247, 250, .58), rgba(177, 206, 218, .43));
	border: 1px solid rgba(239, 249, 251, .70);
	box-shadow: 0 7px 18px rgba(29, 73, 95, .16), inset 0 1px 0 rgba(255,255,255,.26);
}
.main-nav a::after {
	content: attr(data-number);
	position: absolute;
	top: 11px;
	right: 11px;
	color: rgba(34, 80, 101, .50);
	font-family: 'Barlow Condensed', Impact, sans-serif;
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: .3px;
	transition: color .28s ease, transform .28s ease;
}
.main-nav a:hover,
.main-nav a:focus-visible {
	background: linear-gradient(140deg, rgba(50, 108, 130, .97), rgba(22, 66, 88, .96));
	transform: translateY(-6px);
	box-shadow: 0 15px 27px rgba(27, 70, 92, .30), 0 5px 12px rgba(22, 60, 77, .15);
}
.main-nav a.active {
	background: linear-gradient(140deg, rgba(159, 73, 95, .97), rgba(117, 43, 69, .96));
}
.main-nav a.active::after,
.main-nav a:hover::after,
.main-nav a:focus-visible::after {
	color: rgba(255,255,255,.53);
	transform: translateY(-2px);
}
@media (max-width: 1180px) {
	.main-nav {
		gap: 7px;
	}
	.main-nav a {
		padding: 12px 9px;
		font-size: 10px;
	}
}
@media (max-width: 980px) {
	.site-header {
		min-height: 100px;
		padding: 9px 0;
		gap: 10px;
	}
	.header-top {
		flex: 1;
	}
	.brand {
		width: 148px;
	}
	.nav-band {
		top: calc(100% - 1px);
	}
	.main-nav {
		width: 100%;
		gap: 9px;
		padding: 14px;
		background: rgba(167, 195, 209, .96);
		border: 1px solid rgba(231, 242, 247, .76);
		box-shadow: 0 15px 28px rgba(28, 65, 82, .24);
	}
	.main-nav a {
		min-height: 79px;
		padding: 12px 11px;
		font-size: 11px;
	}
}
@media (max-width: 520px) {
	.site-header {
		min-height: 87px;
		margin-bottom: 18px;
	}
	.brand {
		width: 134px;
	}
	.main-nav a {
		min-height: 73px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.main-nav a::after {
		transition: none;
	}
}


/* ===========================================================
   V1.8 | METRO CUBE-LITE – csak tartalmi 3D oldalváltás
   =========================================================== */
.page-turn-stage {
	position: relative;
	perspective: 1400px;
	perspective-origin: 50% 35%;
	isolation: isolate;
}
.page-turn-stage .page-content {
	animation: none;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	will-change: transform, opacity;
}
.page-turn-stage .page-turn-outgoing {
	position: absolute;
	inset: 0 0 auto;
	width: 100%;
	max-height: 100%;
	overflow: hidden;
	pointer-events: none;
	z-index: 1;
}
.page-turn-stage .page-turn-incoming {
	position: relative;
	pointer-events: none;
	z-index: 2;
}
.page-turn-next .page-turn-outgoing {
	transform-origin: 85% 36%;
	animation: g01-turn-out-next .57s cubic-bezier(.42,.06,.61,.98) both;
}
.page-turn-next .page-turn-incoming {
	transform-origin: 12% 36%;
	animation: g01-turn-in-next .64s cubic-bezier(.2,.68,.18,1) both;
}
.page-turn-back .page-turn-outgoing {
	transform-origin: 12% 36%;
	animation: g01-turn-out-back .57s cubic-bezier(.42,.06,.61,.98) both;
}
.page-turn-back .page-turn-incoming {
	transform-origin: 85% 36%;
	animation: g01-turn-in-back .64s cubic-bezier(.2,.68,.18,1) both;
}
@keyframes g01-turn-out-next {
	0% { opacity: 1; transform: translateX(0) rotateY(0deg) scale(1); }
	100% { opacity: .06; transform: translateX(-11%) rotateY(-63deg) scale(.91); }
}
@keyframes g01-turn-in-next {
	0% { opacity: .14; transform: translateX(13%) rotateY(63deg) scale(.91); }
	100% { opacity: 1; transform: translateX(0) rotateY(0deg) scale(1); }
}
@keyframes g01-turn-out-back {
	0% { opacity: 1; transform: translateX(0) rotateY(0deg) scale(1); }
	100% { opacity: .06; transform: translateX(11%) rotateY(63deg) scale(.91); }
}
@keyframes g01-turn-in-back {
	0% { opacity: .14; transform: translateX(-13%) rotateY(-63deg) scale(.91); }
	100% { opacity: 1; transform: translateX(0) rotateY(0deg) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
	.page-turn-stage .page-content {
		animation: none !important;
		will-change: auto;
	}
}

/* ===========================================================
   V1.9 | CUBE-LITE MOBILE + OPENING 3D
   A nagy képek csak első betöltéskor szükségesek; a menü fix.
   =========================================================== */
.g01-intro-loader {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: grid;
    place-items: center;
    background: linear-gradient(125deg, rgba(219,233,240,.93), rgba(184,212,222,.89), rgba(221,234,240,.92));
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .16s ease, visibility .16s ease;
}
.g01-loader-tile {
    width: min(76vw, 288px);
    min-height: 182px;
    padding: 28px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(120deg, rgba(23,47,63,.96), rgba(46,75,91,.96));
    box-shadow: 0 19px 44px rgba(27,54,72,.24);
    border: 1px solid rgba(255,255,255,.42);
    color: #f6f8fa;
}
.g01-loader-mark {
    font: 800 62px/1 'Barlow Condensed', Impact, sans-serif;
    letter-spacing: -1px;
}
.g01-loader-mark b {
    color: #e8aa78;
}
.g01-loader-text {
    margin-top: 3px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 3px;
}
.g01-loader-line {
    display: block;
    height: 3px;
    margin-top: 24px;
    background: linear-gradient(90deg, #e8aa78, #e1e9ec, #e8aa78);
    transform-origin: left;
    animation: g01-loader-progress 1.25s ease-in-out infinite alternate;
}
.g01-loader-caption {
    margin-top: 11px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #d0dee6;
}
@keyframes g01-loader-progress {
    from { transform: scaleX(.16); opacity: .52; }
    to { transform: scaleX(1); opacity: 1; }
}
/* Betöltéskor a fő tartalom nem villan fel az animáció előtt. */
body.g01-booting #main-content {
    opacity: 0;
    transform: perspective(1300px) rotateY(48deg) translateX(9%);
    animation: g01-first-failsafe 0s linear 6s forwards;
}
body.g01-booting .g01-intro-loader {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    animation: g01-loader-failsafe 0s linear 6s forwards;
}
.g01-intro-loader.g01-loader-done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
@keyframes g01-first-failsafe {
    to { opacity: 1; transform: none; }
}
@keyframes g01-loader-failsafe {
    to { opacity: 0; visibility: hidden; pointer-events: none; }
}
.page-content.g01-first-enter {
    transform-origin: 12% 38%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    animation: g01-first-3d .76s cubic-bezier(.16,.69,.19,1) both;
    will-change: transform, opacity;
}
.page-content.g01-first-simple {
    animation: g01-first-fade .24s ease both;
}
.page-content.g01-first-settled {
    opacity: 1;
    transform: none;
    animation: none;
    will-change: auto;
}
@keyframes g01-first-3d {
    from { opacity: .06; transform: perspective(1300px) translateX(12%) rotateY(58deg) scale(.92); }
    to { opacity: 1; transform: perspective(1300px) translateX(0) rotateY(0deg) scale(1); }
}
@keyframes g01-first-fade {
    from { opacity: .25; }
    to { opacity: 1; }
}
/* Mobil: kisebb forgási szög, rövidebb futás, ugyanúgy valódi CSS-3D. */
@media (max-width: 720px) {
    .page-turn-stage {
        perspective: 950px;
        perspective-origin: 50% 27%;
    }
    .page-turn-next .page-turn-outgoing {
        transform-origin: 88% 28%;
        animation: g01-turn-out-next-mobile .43s cubic-bezier(.42,.06,.61,.98) both;
    }
    .page-turn-next .page-turn-incoming {
        transform-origin: 12% 28%;
        animation: g01-turn-in-next-mobile .51s cubic-bezier(.2,.68,.18,1) both;
    }
    .page-turn-back .page-turn-outgoing {
        transform-origin: 12% 28%;
        animation: g01-turn-out-back-mobile .43s cubic-bezier(.42,.06,.61,.98) both;
    }
    .page-turn-back .page-turn-incoming {
        transform-origin: 88% 28%;
        animation: g01-turn-in-back-mobile .51s cubic-bezier(.2,.68,.18,1) both;
    }
    .page-content.g01-first-enter {
        transform-origin: 12% 28%;
        animation-name: g01-first-3d-mobile;
        animation-duration: .58s;
    }
}
@keyframes g01-turn-out-next-mobile {
    from { opacity: 1; transform: translateX(0) rotateY(0deg) scale(1); }
    to { opacity: .07; transform: translateX(-7%) rotateY(-39deg) scale(.96); }
}
@keyframes g01-turn-in-next-mobile {
    from { opacity: .14; transform: translateX(8%) rotateY(39deg) scale(.96); }
    to { opacity: 1; transform: translateX(0) rotateY(0deg) scale(1); }
}
@keyframes g01-turn-out-back-mobile {
    from { opacity: 1; transform: translateX(0) rotateY(0deg) scale(1); }
    to { opacity: .07; transform: translateX(7%) rotateY(39deg) scale(.96); }
}
@keyframes g01-turn-in-back-mobile {
    from { opacity: .14; transform: translateX(-8%) rotateY(-39deg) scale(.96); }
    to { opacity: 1; transform: translateX(0) rotateY(0deg) scale(1); }
}
@keyframes g01-first-3d-mobile {
    from { opacity: .07; transform: perspective(950px) translateX(8%) rotateY(39deg) scale(.96); }
    to { opacity: 1; transform: perspective(950px) translateX(0) rotateY(0deg) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
    .page-content.g01-first-enter {
        animation: g01-first-fade .24s ease both;
        will-change: auto;
    }
    .g01-loader-line {
        animation: none;
        transform: none;
    }
}
