@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Space+Grotesk:wght@400;500;600&display=swap');

:root {
	color-scheme: dark;
	--bg: #050308;
	--bg-panel: rgba(12, 10, 18, 0.85);
	--bg-panel-strong: rgba(18, 15, 30, 0.9);
	--border: rgba(255, 255, 255, 0.12);
	--border-strong: rgba(255, 255, 255, 0.32);
	--text: #f1ecff;
	--text-muted: rgba(241, 236, 255, 0.75);
	--accent: #ff7cc5;
	--accent-muted: rgba(255, 124, 197, 0.25);
	--panel-radius: 28px;
	--transition-fast: 200ms ease;
	--panel-inset-desktop: 24px;
	--panel-inset-mobile: 16px;
	font-family: 'Space Grotesk', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html,
body {
	height: 100%;
	margin: 0;
	padding: 0;
	background: radial-gradient(circle at 30% 20%, rgba(255, 124, 197, 0.12), transparent 55%),
		radial-gradient(circle at 80% 0%, rgba(98, 156, 255, 0.1), transparent 50%), var(--bg);
	color: var(--text);
	overflow: hidden;
}

body {
	font-size: 16px;
	line-height: 1.6;
}

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

button {
	font: inherit;
	cursor: pointer;
	background: none;
	border: none;
	color: inherit;
	/* minimum width for button */
	min-width: 50px;
}

.app-shell {
	position: static;
}

@media (max-width: 900px) {
	.app-shell {
		position: static;
	}
}

.panel {
	background: var(--bg-panel);
	border: 1px solid var(--border);
	border-radius: var(--panel-radius);
	padding: 2rem;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
	backdrop-filter: blur(18px);
}

.primary-panel {
	position: fixed;
	top: 2%;
	left: 2%;
	width: 96vw;
	height: 96vh;
	padding: 2rem;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	min-height: 0;
}

.primary-header {
	display: flex;
	flex-direction: row;
	gap: 1rem;
	align-items: flex-start;
	justify-content: space-between;
	min-height: 0;
}

.brand-block {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.brand-title {
	font-size: clamp(2rem, 3vw, 3rem);
	font-weight: 600;
	letter-spacing: -0.02em;
}

.brand-owner {
	text-transform: uppercase;
	font-size: 0.85rem;
	letter-spacing: 0.3em;
	color: var(--text-muted);
}

.hero-copy {
	color: var(--text-muted);
	font-size: 1rem;
}

.menu-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
	justify-content: flex-end;
	flex: 1;
}

.menu-bar ul {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	justify-content: flex-end;
}

.menu-button {
	padding: 0.65rem 1.35rem;
	border-radius: 999px;
	border: 1px solid transparent;
	background: rgba(255, 255, 255, 0.05);
	color: var(--text-muted);
	transition: all var(--transition-fast);
}

.menu-button.is-active {
	border-color: var(--border-strong);
	background: var(--accent-muted);
	color: var(--text);
}

.layout-switch {
	display: inline-flex;
	background: rgba(255, 255, 255, 0.04);
	border-radius: 999px;
	padding: 0.3rem;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.layout-switch button {
	padding: 0.35rem 0.85rem;
	border-radius: 999px;
	min-width: 6rem;
	font-size: 0.85rem;
	color: var(--text-muted);
}

.layout-switch button.is-active {
	background: rgba(255, 255, 255, 0.15);
	color: var(--text);
}

.section-display {
	position: relative;
	border: 1px solid var(--border);
	border-radius: var(--panel-radius);
	background: var(--bg-panel-strong);
	min-height: 0;
	flex: 1;
	overflow: hidden;
}

.section-panel {
	display: none;
	position: absolute;
	inset: 0;
}

.section-panel-inner::-webkit-scrollbar {
	width: 6px;
}

.section-panel-inner::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.05);
	border-radius: 999px;
}

.section-panel-inner::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.35);
	border-radius: 999px;
}

.section-panel.is-active {
	display: block;
	z-index: 1;
}

.section-panel-inner {
	position: absolute;
	inset: 0;
	padding: 2rem;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.section-body {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.section-body p {
	margin: 0 0 1rem;
	color: var(--text-muted);
	font-size: 1rem;
}

.rich-text a {
	color: var(--accent);
}

.rich-text ul,
.rich-text ol {
	margin: 0 0 1rem 1.25rem;
	padding: 0;
}

.panel-body ul {
	margin: 0;
	padding-left: 1.25rem;
	color: var(--text-muted);
}

.panel-body li {
	margin-bottom: 0.65rem;
}

.section-panel header h2 {
	margin: 0;
	font-size: 1.5rem;
	letter-spacing: -0.01em;
}

.section-label {
	text-transform: uppercase;
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	color: var(--text-muted);
	margin-bottom: 0.5rem;
	display: inline-block;
}

.section-panel header p {
	margin: 0.5rem 0 0;
	color: var(--text-muted);
}

.callout-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.callout-list li {
	padding: 0.65rem 0.85rem;
	background: rgba(255, 255, 255, 0.04);
	border-radius: 0.75rem;
	border: 1px solid rgba(255, 255, 255, 0.08);
	font-size: 0.95rem;
}

.social-links {
	display: flex;
	gap: 1rem;
	font-size: 0.95rem;
	color: var(--text-muted);
	flex-wrap: wrap;
}

.social-links a {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	transition: color var(--transition-fast);
}

.social-links a:hover {
	color: var(--text);
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.form-row {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.form-row label {
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--text-muted);
}

.form-row input,
.form-row select,
.form-row textarea {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 0.85rem;
	padding: 0.85rem 1rem;
	color: var(--text);
	font: inherit;
	resize: vertical;
}

.form-row textarea {
	min-height: 120px;
}

.form-actions {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.btn-primary {
	border-radius: 999px;
	background: var(--accent);
	border: none;
	padding: 0.9rem 1.25rem;
	color: #0a0612;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.15em;
}

.consent-copy {
	font-size: 0.8rem;
	color: var(--text-muted);
}

.form-status {
	font-size: 0.85rem;
	color: var(--text);
	min-height: 1em;
}

@media (max-width: 900px) {
	.app-shell {
		padding: 1rem;
	}

	.primary-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.menu-bar,
	.menu-bar ul {
		justify-content: flex-start;
	}
}
.menu-button.layout-toggle-button {
	background: rgba(255, 255, 255, 0.09);
}

.menu-button.layout-toggle-button:hover {
	background: rgba(255, 255, 255, 0.18);
}
