@charset "utf-8";
/* CSS Document 

TemplateMo 616 Split Index

https://templatemo.com/tm-616-split-index

*/

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

:root {
	/* MARK: - Ocean Palette / Океаническая цветовая палитра */
	--paper: #061325;
	--ocean-deep: #030C18;
	--ocean-navy: #071930;
	--ocean-marine: #0D2C52;
	--ocean-surface: #103663;
	--ink: #F0F6FC;
	--ink-light: #8BA6C4;
	--ink-muted: #5F7D9E;
	--accent: #38BDF8;
	--accent-hover: #7DD3FC;
	--accent-subtle: rgba(56, 189, 248, 0.15);
	--ocean-border: rgba(139, 166, 196, 0.14);
	--ocean-border-strong: rgba(56, 189, 248, 0.35);
	--ocean-glass: rgba(7, 25, 48, 0.72);
	--ocean-glass-hover: rgba(13, 44, 82, 0.85);
	--grain-opacity: 0.025;
	--transition-panel: 0.55s cubic-bezier(0.23, 1, 0.32, 1);
}

html {
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	background: radial-gradient(130% 90% at 85% 15%, #0D2C52 0%, #071930 45%, #030C18 100%);
	background-color: var(--paper);
	color: var(--ink);
	font-family: 'Instrument Sans', sans-serif;
	overflow: hidden;
	height: 100vh;
	width: 100vw;
	position: relative;
}

/* ── Grain Overlay ── */
body::before {
	content: '';
	position: fixed;
	inset: 0;
	z-index: 9999;
	pointer-events: none;
	opacity: var(--grain-opacity);
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	background-repeat: repeat;
	background-size: 180px;
}

/* ── Site Header ── */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.2rem 3rem;
	pointer-events: none;
	animation: fadeIn 0.5s ease backwards;
	background: linear-gradient(to bottom, rgba(3, 12, 24, 0.85) 0%, rgba(6, 19, 37, 0.55) 70%, transparent 100%);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.site-header>* {
	pointer-events: auto;
}

.site-brand {
	display: flex;
	align-items: baseline;
	gap: 1rem;
}

.site-title {
	font-family: 'Playfair Display', serif;
	font-weight: 900;
	font-size: 1.15rem;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--ink);
	text-decoration: none;
	line-height: 1;
	cursor: pointer;
	text-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
}

.site-divider-v {
	width: 1px;
	height: 14px;
	background: var(--ocean-border);
	flex-shrink: 0;
}

.site-tagline {
	font-family: 'DM Mono', monospace;
	font-weight: 300;
	font-size: 0.62rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink-light);
	line-height: 1;
}

/* MARK: - Back to Main Portfolio Link */
.site-back-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-family: 'DM Mono', monospace;
	font-size: 0.7rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ink);
	text-decoration: none;
	padding: 0.35rem 0.75rem;
	border: 1px solid var(--ocean-border-strong);
	border-radius: 4px;
	transition: all 0.25s ease;
	background: var(--ocean-glass);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	margin-left: 0.75rem;
}

.site-back-link:hover {
	background: var(--accent);
	color: var(--ocean-deep);
	border-color: var(--accent);
	box-shadow: 0 0 16px rgba(56, 189, 248, 0.4);
}

.site-header-nav {
	display: flex;
	gap: 0.35rem;
}

.site-header-nav a {
	font-family: 'Instrument Sans', sans-serif;
	font-weight: 500;
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ink-light);
	text-decoration: none;
	position: relative;
	padding: 0.35rem 0.7rem;
	transition: color 0.35s ease;
	cursor: pointer;
	border-radius: 4px;
}

.site-header-nav a::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(56, 189, 248, 0.15);
	border-radius: 4px;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
	z-index: -1;
}

.site-header-nav a:hover {
	color: var(--ink);
}

.site-header-nav a:hover::before {
	transform: scaleX(1);
	transform-origin: left;
}

.site-header-nav a.nav-active {
	color: var(--accent);
}

.site-header-nav a.nav-active::before {
	background: rgba(56, 189, 248, 0.18);
	box-shadow: inset 0 0 0 1px var(--ocean-border-strong);
	transform: scaleX(1);
}

/* ── Site Footer ── */
.site-footer {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 3rem;
	pointer-events: none;
	animation: fadeIn 0.5s ease backwards;
	background: linear-gradient(to top, rgba(3, 12, 24, 0.85) 0%, rgba(6, 19, 37, 0.5) 70%, transparent 100%);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.site-footer>* {
	pointer-events: auto;
}

.site-footer span,
.site-footer a {
	font-family: 'DM Mono', monospace;
	font-weight: 300;
	font-size: 0.6rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink-light);
	text-decoration: none;
}

.footer-links {
	display: flex;
	align-items: center;
	gap: 0.6rem;
}

.footer-dot {
	font-size: 0.7rem;
	opacity: 0.4;
	color: var(--ink-muted);
}

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

/* ── Main Split Layout ── */
.split-container {
	display: flex;
	height: 100vh;
	width: 100vw;
	padding-top: 3.2rem;
	padding-bottom: 2.5rem;
}

/* ── Divider ── */
.split-divider {
	width: 1px;
	align-self: stretch;
	background: var(--ocean-border);
	position: relative;
	z-index: 3;
	flex-shrink: 0;
}

/* ══════════════════════════════════════
     LEFT SIDE — Panel System
     ══════════════════════════════════════ */
.left-side {
	width: 50vw;
	position: relative;
	overflow: hidden;
}

.panel {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	padding: 0;
	opacity: 0;
	transform: translateY(20px);
	transition: opacity var(--transition-panel),
		transform var(--transition-panel);
	pointer-events: none;
	overflow-y: auto;
	scrollbar-width: none !important;
	-ms-overflow-style: none !important;
}

.panel::-webkit-scrollbar {
	display: none !important;
	width: 0 !important;
	height: 0 !important;
}

#panel-work {
	justify-content: center;
	padding: 1rem 0;
}

.panel.panel-active {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
	z-index: 2;
}

/* ── Panel: Work ── */
.panel-header {
	padding: 0 3rem 1.5rem;
}

.panel-header span {
	font-family: 'DM Mono', monospace;
	font-weight: 300;
	font-size: 0.7rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--ink-light);
}

.project-list {
	list-style: none;
	border-top: 1px solid var(--ocean-border);
}

.project-item {
	border-bottom: 1px solid var(--ocean-border);
	cursor: pointer;
	position: relative;
	overflow: hidden;
}

.project-item::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(14, 116, 144, 0.28) 0%, rgba(12, 36, 64, 0.85) 100%);
	border-left: 3px solid var(--accent);
	transform: scaleY(0);
	transform-origin: bottom;
	transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1);
	z-index: 0;
}

.project-item:hover::before,
.project-item.active::before {
	transform: scaleY(1);
}

.project-link {
	display: flex;
	align-items: baseline;
	gap: 1.5rem;
	padding: 1.15rem 3rem;
	text-decoration: none;
	color: inherit;
	position: relative;
	z-index: 1;
	transition: color 0.3s ease;
}

.project-item:hover .project-link,
.project-item.active .project-link {
	color: #FFFFFF;
}

.project-number {
	font-family: 'DM Mono', monospace;
	font-weight: 400;
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	color: var(--accent);
	opacity: 0.75;
	min-width: 2rem;
	transition: opacity 0.3s ease, color 0.3s ease;
}

.project-item:hover .project-number,
.project-item.active .project-number {
	opacity: 1;
	color: var(--accent-hover);
}

.project-title {
	font-family: 'Playfair Display', serif;
	font-weight: 800;
	font-size: clamp(1.4rem, 2.2vw, 2.1rem);
	text-transform: uppercase;
	letter-spacing: 0.02em;
	line-height: 1.1;
	color: var(--ink);
	transition: color 0.3s ease;
}

.project-category {
	font-family: 'DM Mono', monospace;
	font-weight: 300;
	font-size: 0.65rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink-light);
	opacity: 0.65;
	margin-left: auto;
	transition: opacity 0.3s ease, color 0.3s ease;
}

.project-item:hover .project-category,
.project-item.active .project-category {
	opacity: 1;
	color: #BAE6FD;
}

.project-arrow {
	width: 0;
	overflow: hidden;
	transition: width 0.35s cubic-bezier(0.23, 1, 0.32, 1);
	display: flex;
	align-items: center;
}

.project-arrow svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	stroke: var(--accent);
	fill: none;
	stroke-width: 1.5;
}

.project-item:hover .project-arrow {
	width: 24px;
}

.panel-footer {
	padding: 1.5rem 3rem 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.panel-footer span {
	font-family: 'DM Mono', monospace;
	font-weight: 300;
	font-size: 0.65rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink-light);
}

/* ── Panel: About ── */
.about-content {
	padding: 2rem 3rem;
}

.about-label {
	font-family: 'DM Mono', monospace;
	font-weight: 300;
	font-size: 0.68rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--ink-light);
	margin-bottom: 2rem;
	display: block;
}

.about-headline {
	font-family: 'Playfair Display', serif;
	font-weight: 800;
	font-size: clamp(1.8rem, 3vw, 2.8rem);
	line-height: 1.15;
	margin-bottom: 2rem;
	max-width: 420px;
}

.about-headline em {
	font-style: italic;
	font-weight: 700;
	color: var(--accent);
}

.about-body {
	font-family: 'Instrument Sans', sans-serif;
	font-weight: 400;
	font-size: 0.88rem;
	line-height: 1.7;
	color: var(--ink-light);
	max-width: 400px;
	margin-bottom: 2.5rem;
}

.about-stats {
	display: flex;
	gap: 3rem;
	padding-top: 2rem;
	border-top: 1px solid var(--ocean-border);
}

.stat-item {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
}

.stat-number {
	font-family: 'Playfair Display', serif;
	font-weight: 800;
	font-size: 1.8rem;
	line-height: 1;
	color: var(--ink);
	text-shadow: 0 0 20px rgba(56, 189, 248, 0.25);
}

.stat-label {
	font-family: 'DM Mono', monospace;
	font-weight: 300;
	font-size: 0.6rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink-light);
}

/* ── Panel: Contact ── */
.contact-content {
	padding: 2rem 3rem;
}

.contact-label {
	font-family: 'DM Mono', monospace;
	font-weight: 300;
	font-size: 0.68rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--ink-light);
	margin-bottom: 2rem;
	display: block;
}

.contact-headline {
	font-family: 'Playfair Display', serif;
	font-weight: 800;
	font-size: clamp(1.8rem, 3vw, 2.8rem);
	line-height: 1.15;
	margin-bottom: 2.5rem;
	color: var(--ink);
}

.contact-headline em {
	font-style: italic;
	font-weight: 700;
	color: var(--accent);
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	max-width: 400px;
}

.form-group {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.form-group label {
	font-family: 'DM Mono', monospace;
	font-weight: 400;
	font-size: 0.62rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink-light);
}

.form-group input,
.form-group textarea {
	background: transparent;
	border: none;
	border-bottom: 1px solid var(--ocean-border);
	padding: 0.6rem 0;
	font-family: 'Instrument Sans', sans-serif;
	font-size: 0.9rem;
	color: var(--ink);
	outline: none;
	transition: border-color 0.3s ease;
	resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
	border-bottom-color: var(--accent);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
	color: var(--ink-muted);
	opacity: 0.7;
}

.form-group textarea {
	min-height: 80px;
}

.form-submit {
	align-self: flex-start;
	margin-top: 0.5rem;
	padding: 0.75rem 2.5rem;
	background: var(--accent);
	color: var(--ocean-deep);
	border: none;
	border-radius: 4px;
	font-family: 'Instrument Sans', sans-serif;
	font-weight: 700;
	font-size: 0.72rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	cursor: pointer;
	position: relative;
	overflow: hidden;
	transition: all 0.35s ease;
	box-shadow: 0 4px 16px rgba(56, 189, 248, 0.25);
}

.form-submit:hover {
	background: var(--accent-hover);
	box-shadow: 0 6px 24px rgba(56, 189, 248, 0.4);
	transform: translateY(-1px);
}

.contact-details {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid var(--ocean-border);
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
	max-width: 400px;
}

.contact-details a {
	font-family: 'Instrument Sans', sans-serif;
	font-weight: 400;
	font-size: 0.85rem;
	color: var(--ink-light);
	text-decoration: none;
	transition: color 0.3s ease;
}

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

.contact-details span {
	font-family: 'DM Mono', monospace;
	font-weight: 300;
	font-size: 0.58rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink-light);
	opacity: 0.6;
}

/* ══════════════════════════════════════
     RIGHT SIDE — Canvas
     ══════════════════════════════════════ */
/* ══════════════════════════════════════
     RIGHT SIDE — Canvas
     ══════════════════════════════════════ */
.canvas-side {
	width: 50vw;
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	background: radial-gradient(circle at 50% 45%, rgba(14, 116, 144, 0.16) 0%, rgba(7, 25, 48, 0.65) 60%, rgba(3, 12, 24, 0.95) 100%), linear-gradient(160deg, #061528 0%, #09203C 50%, #030B17 100%);
}

.canvas-placeholder {
	position: absolute;
	inset: 2.2rem;
	border-radius: 20px;
	border: 1.5px dashed var(--ocean-border);
	background: rgba(7, 25, 48, 0.35);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	transition: opacity 0.5s ease;
	z-index: 1;
}

.canvas-placeholder.hidden {
	opacity: 0;
	pointer-events: none;
}

.placeholder-icon {
	width: 52px;
	height: 52px;
	border: 1.5px solid var(--ocean-border-strong);
	background: rgba(14, 42, 75, 0.5);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 0 20px rgba(56, 189, 248, 0.15);
}

.placeholder-icon svg {
	width: 20px;
	height: 20px;
	stroke: var(--accent);
	fill: none;
	stroke-width: 1.5;
}

.placeholder-text {
	font-family: 'DM Mono', monospace;
	font-size: 0.68rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--ink-light);
}

/* MARK: - Warm Sand Card Canvas / Подложка теплого песочного цвета под карточки мокапов */
.canvas-image,
.canvas-context {
	position: absolute;
	inset: 2.2rem;
	opacity: 0;
	transform: scale(1.04);
	transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1),
		transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
	z-index: 0;
	background: radial-gradient(135% 115% at 50% 25%, #F4EFEB 0%, #E9E1D5 50%, #DDD2C4 100%);
	border-radius: 20px;
	border: 1px solid rgba(200, 187, 170, 0.45);
	box-shadow: 0 24px 60px -15px rgba(2, 10, 20, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.4) inset;
	overflow: hidden;
	padding: 1.5rem 1.5rem 4.8rem;
}

.canvas-image.visible,
.canvas-context.visible {
	opacity: 1;
	transform: scale(1);
	z-index: 2;
}

.canvas-image img,
.canvas-context img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center center;
	display: block;
	filter: drop-shadow(0 14px 30px rgba(45, 35, 25, 0.16));
}

.canvas-caption {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 1.3rem 2rem 1.2rem;
	background: linear-gradient(to top, rgba(220, 209, 194, 0.98) 0%, rgba(232, 223, 211, 0.88) 60%, transparent 100%);
	border-top: 1px solid rgba(195, 181, 163, 0.35);
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.5s ease 0.15s, transform 0.5s ease 0.15s;
}

.canvas-image.visible .canvas-caption,
.canvas-context.visible .canvas-caption {
	opacity: 1;
	transform: translateY(0);
}

.canvas-caption-title {
	font-family: 'Instrument Sans', sans-serif;
	font-weight: 700;
	font-size: 0.82rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #172554;
}

.canvas-caption-year {
	font-family: 'DM Mono', monospace;
	font-weight: 400;
	font-size: 0.68rem;
	color: #475569;
	margin-top: 0.2rem;
}

.canvas-context-quote {
	font-family: 'Playfair Display', serif;
	font-weight: 700;
	font-style: italic;
	font-size: clamp(1rem, 1.5vw, 1.3rem);
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.9);
	max-width: 360px;
}

.canvas-context-attr {
	font-family: 'DM Mono', monospace;
	font-weight: 300;
	font-size: 0.6rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.5);
	margin-top: 0.8rem;
}

/* ── Animations ── */
@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes fadeSlideUp {
	from {
		opacity: 0;
		transform: translateY(16px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.panel-active .project-item {
	animation: fadeSlideUp 0.6s cubic-bezier(0.23, 1, 0.32, 1) backwards;
}

.panel-active .project-item:nth-child(1) {
	animation-delay: 0.08s;
}

.panel-active .project-item:nth-child(2) {
	animation-delay: 0.12s;
}

.panel-active .project-item:nth-child(3) {
	animation-delay: 0.16s;
}

.panel-active .project-item:nth-child(4) {
	animation-delay: 0.20s;
}

.panel-active .project-item:nth-child(5) {
	animation-delay: 0.24s;
}

.panel-active .project-item:nth-child(6) {
	animation-delay: 0.28s;
}

.panel-active .project-item:nth-child(7) {
	animation-delay: 0.32s;
}

.panel-active .project-item:nth-child(8) {
	animation-delay: 0.36s;
}

/* ── Mobile Responsive ── */
@media (max-width: 900px) {
	body {
		overflow-y: auto;
		overflow-x: hidden;
		height: auto;
	}

	.site-header {
		padding: 1rem 1.5rem;
	}

	.site-header-nav {
		gap: 0.2rem;
	}

	.site-header-nav a {
		font-size: 0.62rem;
		padding: 0.3rem 0.5rem;
	}

	.site-tagline {
		display: none;
	}

	.site-footer {
		position: relative;
		padding: 1.5rem;
	}

	.split-container {
		flex-direction: column;
		height: auto;
		min-height: 100vh;
		padding-top: 3.5rem;
		padding-bottom: 0;
	}

	.left-side {
		width: 100%;
		min-height: 50vh;
		position: relative;
	}

	.panel {
		position: relative;
		display: none;
	}

	.panel.panel-active {
		display: flex;
	}

	.panel-header,
	.panel-footer {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}

	.project-link {
		padding: 1rem 1.5rem;
	}

	.project-title {
		font-size: clamp(1.2rem, 5vw, 1.6rem);
	}

	.project-category {
		display: none;
	}

	.about-content,
	.contact-content {
		padding: 1.5rem;
	}

	.about-stats {
		gap: 2rem;
	}

	.split-divider {
		width: 100%;
		height: 1px;
	}

	.canvas-side {
		width: 100%;
		min-height: 50vh;
	}

	.canvas-image,
	.canvas-context {
		inset: 1rem;
	}
}

/* =========================================================================
   MARK: - NIGHTWELL NATIVE APP STYLES & COMPONENTS
   ========================================================================= */

/* Canvas Warm Ocean Depth / Океанический градиент канваса */
.canvas-side {
	background: radial-gradient(circle at 50% 45%, rgba(14, 116, 144, 0.18) 0%, rgba(7, 25, 48, 0.7) 60%, rgba(3, 12, 24, 0.96) 100%), linear-gradient(160deg, #061528 0%, #09203C 50%, #030B17 100%) !important;
}

.canvas-image img,
.canvas-context img {
	background: transparent;
}

/* MARK: - FAQ Details Accordions / Аккордеон вопросов в океаническом стиле */
.faq-list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin: 1.5rem 0;
	width: 100%;
}

.faq-item {
	border: 1px solid var(--ocean-border);
	border-radius: 8px;
	background: rgba(10, 31, 56, 0.55);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	overflow: hidden;
	transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:hover {
	border-color: var(--ocean-border-strong);
	background: rgba(14, 42, 75, 0.65);
}

.faq-item[open] {
	background: rgba(14, 42, 75, 0.85);
	border-color: var(--accent);
	box-shadow: 0 4px 20px rgba(3, 12, 24, 0.4);
}

.faq-item summary {
	padding: 0.95rem 1.25rem;
	font-family: 'Instrument Sans', sans-serif;
	font-weight: 600;
	font-size: 0.88rem;
	color: var(--ink);
	cursor: pointer;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	user-select: none;
	transition: color 0.2s ease;
}

.faq-item summary:hover {
	color: var(--accent-hover);
}

.faq-item summary::-webkit-details-marker {
	display: none;
}

.faq-item summary::after {
	content: '+';
	font-family: 'DM Mono', monospace;
	font-size: 1.15rem;
	font-weight: 400;
	color: var(--accent);
	transition: transform 0.25s ease;
}

.faq-item[open] summary::after {
	content: '−';
	transform: rotate(180deg);
}

.faq-answer {
	padding: 0 1.25rem 1.1rem;
	font-family: 'Instrument Sans', sans-serif;
	font-size: 0.84rem;
	line-height: 1.65;
	color: var(--ink-light);
	border-top: 1px solid rgba(139, 166, 196, 0.1);
	padding-top: 0.75rem;
}

/* MARK: - Badges & Coming Soon Button / Кнопка App Store */
.app-store-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.6rem 1.2rem;
	background: rgba(56, 189, 248, 0.08);
	color: var(--ink-light);
	border: 1px solid rgba(56, 189, 248, 0.25);
	border-radius: 24px;
	font-family: 'DM Mono', monospace;
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: default;
	margin-top: 1rem;
}

/* Header App Store Button / Кнопка App Store в шапке Nightwell */
.header-appstore-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	background: rgba(56, 189, 248, 0.12);
	border: 1px solid rgba(56, 189, 248, 0.35);
	border-radius: 20px;
	padding: 0.35rem 0.85rem;
	color: #FFFFFF;
	font-family: 'DM Mono', monospace;
	font-size: 0.68rem;
	letter-spacing: 0.04em;
	text-decoration: none;
	transition: all 0.25s ease;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.header-appstore-btn:hover {
	background: var(--accent);
	color: #030c18;
	border-color: var(--accent);
	box-shadow: 0 4px 14px rgba(56, 189, 248, 0.35);
	transform: translateY(-1px);
}

.header-appstore-btn svg {
	width: 13px;
	height: 13px;
	fill: currentColor;
	flex-shrink: 0;
}

/* App Store Badge Link in Panel Footer */
.app-store-badge-btn {
	display: inline-flex;
	align-items: center;
	transition: transform 0.25s ease, filter 0.25s ease;
	text-decoration: none;
}

.app-store-badge-btn:hover {
	transform: scale(1.05);
	filter: drop-shadow(0 4px 14px rgba(56, 189, 248, 0.45));
}

.header-apple-logo {
	height: 14px;
	width: auto;
	display: inline-block;
	vertical-align: middle;
	object-fit: contain;
}

.app-store-badge-img {
	height: 38px;
	width: auto;
	display: block;
	border-radius: 0;
}


/* MARK: - Language Switcher / Переключатель языка с высоким контрастом */
.lang-switch {
	display: inline-flex;
	align-items: center;
	border: 1px solid rgba(56, 189, 248, 0.3);
	border-radius: 6px;
	overflow: hidden;
	margin-left: 0.5rem;
	background: rgba(7, 25, 48, 0.85);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.lang-btn {
	background: transparent;
	border: none;
	padding: 0.4rem 0.7rem;
	font-family: 'DM Mono', monospace;
	font-size: 0.7rem;
	font-weight: 500;
	color: #94AEC7;
	cursor: pointer;
	transition: all 0.25s ease;
}

.lang-btn:hover {
	color: #FFFFFF;
	background: rgba(56, 189, 248, 0.12);
}

.lang-btn.active {
	background: var(--accent);
	color: var(--ocean-deep) !important;
	font-weight: 700;
	box-shadow: 0 0 12px rgba(56, 189, 248, 0.45);
}

/* MARK: - Screenshots Gallery Filter / Фильтры скриншотов в стеклянном стиле */
.screens-header-sticky {
	position: sticky;
	top: 0;
	z-index: 10;
	background: linear-gradient(180deg, rgba(6, 19, 37, 0.98) 0%, rgba(6, 19, 37, 0.92) 85%, rgba(6, 19, 37, 0.8) 100%);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	padding: 5.5rem 3rem 0.8rem;
	border-bottom: 1px solid var(--ocean-border);
}

.screens-nav {
	display: flex;
	gap: 0.5rem;
	padding: 0.5rem 0 0.2rem;
	flex-wrap: wrap;
}

.screen-filter-btn {
	background: rgba(10, 31, 56, 0.65);
	border: 1px solid var(--ocean-border-strong);
	border-radius: 20px;
	padding: 0.4rem 0.95rem;
	font-family: 'DM Mono', monospace;
	font-size: 0.68rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--ink-light);
	cursor: pointer;
	transition: all 0.25s ease;
}

.screen-filter-btn:hover {
	color: var(--ink);
	border-color: var(--accent);
	background: rgba(56, 189, 248, 0.15);
}

.screen-filter-btn.active {
	background: var(--accent);
	color: var(--ocean-deep) !important;
	border-color: var(--accent);
	font-weight: 700;
	box-shadow: 0 0 14px rgba(56, 189, 248, 0.35);
}

/* Hide scrollbars across all components while preserving scroll */
.no-scrollbar,
.about-content,
.contact-content,
.project-list {
	scrollbar-width: none !important;
	-ms-overflow-style: none !important;
}

.no-scrollbar::-webkit-scrollbar,
.about-content::-webkit-scrollbar,
.contact-content::-webkit-scrollbar,
.project-list::-webkit-scrollbar {
	display: none !important;
	width: 0 !important;
	height: 0 !important;
}

#panel-about .about-content,
#panel-support .contact-content,
#panel-privacy .about-content {
	padding-top: 5.5rem !important;
}

/* =========================================================================
   MARK: - Mobile Menu (Burger) / Мобильное меню (бургер)
   RU: Вкладки уходят в бургер на экранах до 1100px; на телефонах в шапке
       остаются только бренд и бургер. Язык и ссылка на портфолио — в меню.
   EN: Tabs collapse into a burger up to 1100px; on phones only the brand and
       the burger remain in the header. Language and portfolio link live in the menu.
   ========================================================================= */
.hamburger-btn {
	display: none;
	flex-shrink: 0;
	width: 34px;
	height: 34px;
	margin-left: 0.5rem;
	align-items: center;
	justify-content: center;
	background: var(--ocean-glass);
	border: 1px solid var(--ocean-border-strong);
	border-radius: 6px;
	color: var(--ink);
	cursor: pointer;
}

.mobile-nav-overlay {
	position: fixed;
	inset: 0;
	z-index: 99;
	display: none;
	flex-direction: column;
	gap: 1.1rem;
	padding: 1.5rem 1.8rem 2rem;
	overflow-y: auto;
	background: rgba(3, 12, 24, 0.96);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
}

.mobile-nav-overlay.open {
	display: flex;
}

.mobile-nav-close {
	align-self: flex-end;
	background: transparent;
	border: none;
	color: var(--ink);
	font-size: 2rem;
	line-height: 1;
	cursor: pointer;
}

.mobile-nav-overlay > a {
	font-size: 1.1rem;
	font-weight: 600;
	padding: 0.55rem 0;
	border-bottom: 1px solid var(--ocean-border);
	color: var(--ink);
	text-decoration: none;
	cursor: pointer;
}

.mobile-nav-overlay > a.nav-active {
	color: var(--accent);
}

.mobile-nav-overlay > a.mobile-nav-soon {
	color: var(--accent);
	border-bottom: none;
}

body.menu-open {
	overflow: hidden;
}

@media (max-width: 1100px) {
	.site-header-nav > a[data-nav] {
		display: none;
	}

	.hamburger-btn {
		display: inline-flex;
	}
}

@media (max-width: 640px) {
	.site-header {
		padding: 0.8rem 1rem;
	}

	.site-back-link,
	.site-header-nav .header-appstore-btn {
		display: none;
	}

	/* RU: язык остаётся рядом с бургером. EN: language switch stays next to the burger. */
	.site-header-nav .lang-switch {
		margin-left: 0;
	}
}
