@font-face {
	font-family: Montserrat;
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("/wp-content/themes/zino/assets/fonts/montserrat_normal_400.ttf") format("truetype");
}

@font-face {
	font-family: Montserrat;
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("/wp-content/themes/zino/assets/fonts/montserrat_normal_600.ttf") format("truetype");
}

@font-face {
	font-family: Montserrat;
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("/wp-content/themes/zino/assets/fonts/montserrat_normal_700.ttf") format("truetype");
}

@font-face {
	font-family: Merriweather;
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("/wp-content/themes/zino/assets/fonts/merriweather_normal_700.ttf") format("truetype");
}

:root {
	--bg: #03050a;
	--glass: rgba(8, 12, 22, 0.62);
	--line: rgba(255, 255, 255, 0.12);
	--text: #f4f7fb;
	--muted: rgba(244, 247, 251, 0.68);
	--accent: #4cc9ff;
	--gold: #d4af37;
}

* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	min-height: 100%;
	min-height: 100dvh;
	background: var(--bg);
	color: var(--text);
	font-family: Montserrat, system-ui, sans-serif;
	overflow: hidden;
	-webkit-text-size-adjust: 100%;
}

.skip-link {
	position: absolute;
	left: 1rem;
	top: -4rem;
	z-index: 30;
	padding: 0.6rem 0.9rem;
	background: #111;
	color: #fff;
}

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

.stage {
	position: fixed;
	inset: 0;
	z-index: 0;
}

#world {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
	touch-action: none;
	cursor: grab;
}

#world.is-grabbing {
	cursor: grabbing;
}

#world.is-hot {
	cursor: pointer;
}

#loader {
	position: fixed;
	inset: 0;
	z-index: 20;
	display: grid;
	place-content: center;
	justify-items: center;
	gap: 0.85rem;
	background: radial-gradient(circle at 50% 30%, #152038 0%, #03050a 62%);
	transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loader.is-done {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.loader-mark {
	width: 64px;
	height: 64px;
	display: grid;
	place-items: center;
	border: 1px solid var(--line);
	border-radius: 18px;
	font-weight: 700;
	letter-spacing: 0.04em;
	background: rgba(255, 255, 255, 0.04);
}

.loader-bar {
	width: min(240px, 70vw);
	height: 3px;
	border-radius: 99px;
	background: rgba(255, 255, 255, 0.08);
	overflow: hidden;
}

#loader-fill {
	display: block;
	height: 100%;
	width: 0%;
	background: linear-gradient(90deg, var(--accent), #7cf0d0);
	transition: width 0.2s ease;
}

#fallback {
	position: relative;
	z-index: 5;
	padding: 4rem 1.5rem;
	text-align: center;
}

#fallback[hidden] {
	display: none !important;
}

#fallback a,
.noscript a {
	color: var(--accent);
}

.hud-top,
.hud-intro,
.app-panel,
.hud-hint,
.dock,
.contact-layer {
	position: fixed;
	z-index: 4;
}

.hud-top {
	top: 0;
	left: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.1rem 1.4rem;
	pointer-events: none;
}

.hud-top a {
	pointer-events: auto;
	color: inherit;
	text-decoration: none;
}

.brand {
	font-family: Merriweather, Georgia, serif;
	font-size: 1.35rem;
}

.hud-top nav {
	display: flex;
	gap: 1.1rem;
	padding: 0.45rem 0.8rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--glass);
	backdrop-filter: blur(16px);
	font-size: 0.82rem;
	font-weight: 600;
}

.hud-top nav a:hover,
.hud-top nav a:focus-visible {
	color: var(--accent);
}

.hud-intro {
	left: 1.4rem;
	top: 5.4rem;
	max-width: 22rem;
	pointer-events: none;
	transition: opacity 0.35s ease, transform 0.35s ease;
}

.hud-intro.is-dim {
	opacity: 0;
	transform: translateY(-8px);
	pointer-events: none;
}

.eyebrow {
	margin: 0 0 0.4rem;
	font-size: 0.72rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--accent);
	font-weight: 600;
}

.hud-intro h1 {
	margin: 0;
	font-family: Merriweather, Georgia, serif;
	font-size: clamp(1.8rem, 4vw, 2.7rem);
	line-height: 1.15;
}

.lede {
	margin: 0.7rem 0 0;
	color: var(--muted);
	line-height: 1.5;
	font-size: 0.92rem;
}

.lede-mobile {
	display: none;
}

.app-panel {
	top: 5.2rem;
	right: 1.4rem;
	width: min(320px, calc(100vw - 2rem));
	padding: 1.25rem 1.2rem 1.3rem;
	border: 1px solid var(--line);
	border-radius: 22px;
	background: var(--glass);
	backdrop-filter: blur(22px);
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.app-panel[hidden] {
	display: none;
}

.panel-close {
	position: absolute;
	top: 0.7rem;
	right: 0.75rem;
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	color: inherit;
	font-size: 1.3rem;
	line-height: 1;
	cursor: pointer;
}

#panel-icon {
	width: 72px;
	height: 72px;
	border-radius: 18px;
	object-fit: cover;
	object-position: top center;
	display: block;
}

.panel-kicker {
	margin: 0.85rem 0 0.2rem;
	font-size: 0.7rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--gold);
	font-weight: 600;
}

.app-panel h2 {
	margin: 0;
	font-family: Merriweather, Georgia, serif;
	font-size: 1.45rem;
}

#panel-points {
	margin: 0.85rem 0 1.1rem;
	padding-left: 1.1rem;
	color: var(--muted);
	line-height: 1.55;
	font-size: 0.9rem;
}

.panel-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.65rem 1rem;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.85rem;
	border: 1px solid transparent;
	cursor: pointer;
	font-family: inherit;
}

.btn-primary {
	background: var(--text);
	color: #0b1020;
}

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

.hud-hint {
	left: 50%;
	bottom: 6.4rem;
	transform: translateX(-50%);
	display: flex;
	gap: 0.7rem;
	padding: 0.4rem 0.7rem;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: var(--glass);
	backdrop-filter: blur(16px);
	font-size: 0.72rem;
	letter-spacing: 0.04em;
	color: var(--muted);
	pointer-events: none;
	white-space: nowrap;
}

.hud-hint span + span::before {
	content: "·";
	margin-right: 0.7rem;
	opacity: 0.5;
}

.dock {
	left: 50%;
	bottom: 1.15rem;
	transform: translateX(-50%);
	display: flex;
	gap: 0.55rem;
	padding: 0.5rem;
	border-radius: 22px;
	border: 1px solid var(--line);
	background: var(--glass);
	backdrop-filter: blur(18px);
	max-width: calc(100vw - 1.5rem);
	overflow-x: auto;
}

.dock button {
	width: 52px;
	height: 52px;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 16px;
	background: transparent;
	cursor: pointer;
	flex: 0 0 auto;
	overflow: hidden;
}

.dock button img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.dock button.is-active,
.dock button:hover,
.dock button:focus-visible {
	border-color: var(--accent);
}

.contact-layer {
	inset: 0;
	display: grid;
	place-items: center;
	padding: 1rem;
	background: rgba(3, 5, 10, 0.62);
	backdrop-filter: blur(10px);
	z-index: 12;
}

.contact-layer[hidden] {
	display: none;
}

.contact-card {
	position: relative;
	width: min(520px, 100%);
	max-height: min(90vh, 820px);
	overflow: auto;
	padding: 1.6rem 1.4rem 1.4rem;
	border-radius: 24px;
	border: 1px solid var(--line);
	background: rgba(10, 14, 24, 0.94);
}

.contact-card h2 {
	margin: 0;
	font-family: Merriweather, Georgia, serif;
}

.contact-card > p {
	color: var(--muted);
}

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

.contact-form label {
	display: grid;
	gap: 0.35rem;
	font-size: 0.85rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
	width: 100%;
	padding: 0.7rem 0.8rem;
	border-radius: 10px;
	border: 1px solid var(--line);
	background: rgba(255, 255, 255, 0.04);
	color: var(--text);
	font: inherit;
}

.honey {
	display: none;
}

.contact-form .btn {
	justify-self: start;
	border: 0;
}

.noscript {
	position: relative;
	z-index: 6;
	padding: 2rem;
	text-align: center;
}

@media (max-width: 720px) {
	html,
	body {
		height: 100%;
		height: 100dvh;
		display: flex;
		flex-direction: column;
	}

	.stage {
		position: relative;
		inset: auto;
		flex: 1 1 auto;
		min-height: 0;
		width: 100%;
	}

	.hud-top,
	.hud-intro,
	.dock {
		position: relative;
		inset: auto;
		transform: none;
		z-index: 4;
		flex-shrink: 0;
	}

	.hud-top {
		align-items: center;
		gap: 0.65rem;
		padding: max(0.7rem, env(safe-area-inset-top)) 0.9rem 0.65rem;
	}

	.brand {
		font-size: 1.15rem;
	}

	.hud-top nav {
		gap: 0.45rem;
		padding: 0.35rem 0.6rem;
		font-size: 0.7rem;
		flex-wrap: wrap;
		justify-content: flex-end;
	}

	.hud-intro {
		left: auto;
		top: auto;
		max-width: none;
		padding: 0 0.95rem 0.75rem;
	}

	.hud-intro h1 {
		font-size: 1.45rem;
	}

	.lede {
		display: none;
	}

	.lede-mobile {
		display: block;
		margin-top: 0.35rem;
		font-size: 0.82rem;
	}

	.hud-intro.is-dim {
		opacity: 0.35;
		transform: none;
	}

	.hud-hint {
		display: none;
	}

	.dock {
		left: auto;
		bottom: auto;
		width: 100%;
		max-width: none;
		justify-content: center;
		padding: 0.45rem 0.7rem max(0.7rem, env(safe-area-inset-bottom));
		border-radius: 0;
		border-left: 0;
		border-right: 0;
		border-bottom: 0;
		gap: 0.4rem;
	}

	.dock button {
		width: 44px;
		height: 44px;
		border-radius: 13px;
	}

	.app-panel {
		top: auto;
		right: 0.75rem;
		left: 0.75rem;
		bottom: calc(4.6rem + env(safe-area-inset-bottom));
		width: auto;
		max-height: min(46dvh, 360px);
		overflow: auto;
		-webkit-overflow-scrolling: touch;
		padding: 1rem 1rem 1.05rem;
		border-radius: 18px;
	}

	#panel-icon {
		width: 52px;
		height: 52px;
		border-radius: 14px;
	}

	.panel-kicker {
		margin-top: 0.55rem;
	}

	.app-panel h2 {
		font-size: 1.2rem;
	}

	#panel-points {
		margin: 0.55rem 0 0.85rem;
		font-size: 0.82rem;
	}

	.panel-actions {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}

	.btn {
		min-height: 44px;
		width: 100%;
	}

	.contact-layer {
		padding: max(0.75rem, env(safe-area-inset-top)) 0.75rem max(0.75rem, env(safe-area-inset-bottom));
		align-items: end;
	}

	.contact-card {
		width: 100%;
		max-height: min(86dvh, 760px);
		padding: 1.25rem 1rem 1.1rem;
		border-radius: 20px 20px 16px 16px;
	}
}

@media (max-width: 720px) and (max-height: 520px) {
	.hud-intro .eyebrow,
	.lede-mobile {
		display: none;
	}

	.hud-intro {
		padding-bottom: 0.4rem;
	}

	.hud-intro h1 {
		font-size: 1.15rem;
	}

	.app-panel {
		max-height: 38dvh;
		bottom: calc(3.9rem + env(safe-area-inset-bottom));
	}
}

@media (prefers-reduced-motion: reduce) {
	#loader,
	.hud-intro {
		transition: none;
	}
}
