/* ============================================================
   ROOT TOKENS
   ============================================================ */
:root {
	/* Colour */
	--primary-cyan: #00F0FF;
	--neon-cyan: var(--primary-cyan);          /* alias used by bento/stream components */
	--electric-magenta: #FF00E5;
	--background: #131313;
	--midnight-teal: #0D1B1E;
	--on-background: #e5e2e1;
	--phosphor-white: #E0F7FA;
	--on-surface-variant: #b9cacb;
	--surface: #131313;
	--surface-container: #201f1f;
	--slate-void: #1A1C1E;
	--outline-variant: #3b494b;
	--primary: #dbfcff;
	--on-surface: var(--on-background);       /* alias used by app3 components */

	/* Typography */
	--font-display: 'Space Grotesk', sans-serif;
	--font-headline: 'Space Grotesk', sans-serif;
	--font-body: 'Inter', sans-serif;
	--font-label: 'JetBrains Mono', monospace;

	/* Layout */
	--container-max-width: 1536px;
	--container-padding: 40px;
	--gutter: 24px;
	--section-gap: 120px;

	/* Spacing scale */
	--stack-lg: 32px;
	--stack-md: 16px;
	--stack-sm: 8px;
}

/* ============================================================
   RESET
   ============================================================ */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

/* ============================================================
   BASE
   ============================================================ */
body {
	background-color: var(--background);
	color: var(--phosphor-white);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

::selection {
	background: rgba(0, 240, 255, 0.3);
}

p {
	margin-bottom: 16px;
}

h2 {
	font-size: 48px;
	margin-bottom: 16px;
}

h3 {
	font-family: var(--font-headline);
	font-size: 48px;
	color: var(--phosphor-white);
	line-height: 1.2;
}

h4 {
	font-family: var(--font-label);
	font-size: 12px;
	color: var(--phosphor-white);
	margin-bottom: 4px;
}

.h3-mobile {
	font-family: var(--font-headline);
	font-size: 32px;
	color: var(--phosphor-white);
	font-weight: 600;
}

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */
.font-display {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 72px;
	line-height: 1.1;
	letter-spacing: -0.04em;
}

.font-headline {
	font-family: var(--font-headline);
	font-weight: 600;
	font-size: 48px;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.font-label {
	font-family: var(--font-label);
	font-weight: 500;
	font-size: 12px;
	line-height: 1.4;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.font-body-lg {
	font-size: 18px;
	line-height: 1.6;
	letter-spacing: 0.01em;
}

@media (max-width: 768px) {
	.font-display {
		font-size: 48px;
	}

	.font-headline {
		font-size: 32px;
	}
}

/* ============================================================
   BACKGROUND VIDEO
   ============================================================ */
.bg-video {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
	filter: blur(4px);
	transform: scale(1.05);
	z-index: -1;
}

/* ============================================================
   UTILITIES / OVERLAYS
   ============================================================ */
.film-grain,
.grain-overlay {
	pointer-events: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url('https://grainy-gradients.vercel.app/noise.svg');
	opacity: 0.03;
	z-index: 9999;
}

.glass-panel {
	background: rgba(13, 27, 30, 0.5);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid rgba(0, 240, 255, 0.1);
	border-radius: 0.75rem;
	transition: transform 0.3s ease, border-color 0.3s ease;
}

.circuit-line {
	height: 1px;
	flex-grow: 1;
	background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.3), transparent);
	transition: background 0.3s ease;
}

.material-symbols-outlined {
	font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
	vertical-align: middle;
}

.meta-text {
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--on-surface-variant);
	font-family: var(--font-label);
}

/* ============================================================
   LAYOUT CONTAINERS
   ============================================================ */
.container-2xl {
	max-width: var(--container-max-width);
	margin: 0 auto;
	padding: 0 var(--container-padding);
}

.container {
	max-width: var(--container-max-width);
	margin: 0 auto;
	padding-left: var(--container-padding);
	padding-right: var(--container-padding);
}

.container-xl {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 var(--container-padding);
}

/* Login */

.login-modal-overlay {
	position:fixed;
	top:0;
	left:0;
	width:100%;
	height:100%;
	display:flex;
	flex-direction:column;
	justify-content:center;
	align-items:center;
	background-color:hsl(from var(--background) h s l/0.9);
	z-index:999;
	backdrop-filter:blur(10px);
}

.login-modal {
	padding:50px;
	border-radius:25px;
	height: auto;
	width: 500px;
	background-color: var(--background);
}

.login-modal button {
	padding:5px 10px;
	border-radius:30px;
	background-color: var(--primary);
	color:black;
	text-transform:uppercase;
	cursor:default;
}

.login-modal-close {
	border:1px solid red;
	position: static;
	top:0px;
	left:0px;
}

.login-modal button:hover {
	background-color: hsl(from var(--primary) h s l/0.5);

}
.login-field {
	padding: 15px;
}

.login-field input {
	padding:5px;
	border-radius:15px;
}	
/* ============================================================
   NAVIGATION / HEADER
   ============================================================ */
	/* .header class mirrors the header element for pages that use a class (app4) */
	header,
	.header {
		background-color: rgba(13, 27, 30, 0.4);
		backdrop-filter: blur(24px);
		-webkit-backdrop-filter: blur(24px);
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 50;
		border-bottom: 1px solid rgba(0, 240, 255, 0.1);
		box-shadow: 0 0 20px rgba(0, 240, 255, 0.1);
	}

	.nav-container {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: var(--stack-md) var(--container-padding);
		width: 100%;
		max-width: var(--container-max-width);
		margin: 0 auto;
	}
	/* (header styles are on the combined header, .header rule above) */

	.header-content {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: var(--stack-md) 0;
	}

	nav {
		display: flex;
		justify-content: space-between;
		align-items: center;
		max-width: var(--container-max-width);
		margin: 0 auto;
		padding: 16px var(--container-padding);
	}

	.logo {
		font-family: var(--font-headline);
		font-size: 48px;
		font-weight: 600;
		letter-spacing: -0.02em;
		color: var(--phosphor-white);
		text-decoration: none;
		transition: transform 0.3s ease;
	}

		.logo:hover {
			transform: scale(1.05);
			text-shadow: 0 0 10px var(--primary-cyan);
		}
	/* Nav links — element-style (app.css components) */
	.nav-links {
		display: none;
		gap: var(--gutter);
		align-items: center;
	}
	/* Direct nav anchor styling (app3 components) */
	nav a {
		text-decoration: none;
		color: var(--on-surface-variant);
		transition: color 0.3s ease;
	}

		nav a:hover {
			color: var(--phosphor-white);
		}

		nav a.active {
			color: var(--primary-cyan);
			border-bottom: 1px solid var(--primary-cyan);
			padding-bottom: 4px;
		}

	@media (min-width: 768px) {
		.nav-links {
			display: flex;
		}
	}

	.nav-links a {
		font-family: var(--font-label);
		font-size: 12px;
		text-transform: uppercase;
		letter-spacing: 0.1em;
		color: var(--on-surface-variant);
		text-decoration: none;
		transition: all 0.3s ease;
		padding-bottom: 4px;
	}

		.nav-links a:hover,
		.nav-links a.active {
			color: var(--primary-cyan);
			text-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
		}

		.nav-links a.active {
			border-bottom: 1px solid var(--primary-cyan);
		}
	/* Nav link — class-style (app2 components) */
	.nav-link {
		font-family: var(--font-label);
		font-size: 12px;
		font-weight: 500;
		letter-spacing: 0.1em;
		color: var(--on-surface-variant);
		text-decoration: none;
		transition: color 0.3s ease;
		text-transform: uppercase;
	}

		.nav-link:hover {
			color: var(--phosphor-white);
		}

		.nav-link.active {
			color: var(--primary-cyan);
			border-bottom: 1px solid var(--primary-cyan);
			padding-bottom: 4px;
		}

	.nav-actions {
		display: flex;
		align-items: center;
		gap: var(--stack-md);
	}

		.nav-actions button {
			background: none;
			border: none;
			color: var(--primary-cyan);
			cursor: pointer;
			transform: scale(1.05);
			transition: transform 0.2s;
		}

	.header-actions .material-symbols-outlined {
		color: var(--primary-cyan);
		cursor: pointer;
		transition: all 0.3s ease;
		font-size: 24px;
	}

		.header-actions .material-symbols-outlined:hover {
			text-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
			transform: scale(1.1);
		}
	/* ============================================================
   MAIN CONTENT AREA
   ============================================================ */
	main {
		padding-top: 96px;
		min-height: 100vh;
	}
	/* ============================================================
   HERO — full-page variant
   ============================================================ */
	.hero {
		position: relative;
		height: 100vh;
		display: flex;
		align-items: center;
		justify-content: center;
		overflow: hidden;
		text-align: center;
	}

	.hero-bg {
		position: absolute;
		inset: 0;
		z-index: 0;
	}

		.hero-bg img {
			width: 100%;
			height: 100%;
			object-fit: cover;
			opacity: 0.4;
			mix-blend-mode: screen;
		}

	.hero-overlay {
		position: absolute;
		inset: 0;
		background: linear-gradient(to bottom, var(--background), transparent, var(--background));
	}

	.hero-content {
		position: relative;
		z-index: 10;
		max-width: 896px;
		padding: 0 var(--container-padding);
	}

	.hero-badge {
		display: inline-block;
		border: 1px solid rgba(0, 240, 255, 0.3);
		padding: 4px 16px;
		margin-bottom: 32px;
		background-color: rgba(13, 27, 30, 0.2);
		backdrop-filter: blur(8px);
		font-family: var(--font-label);
		font-size: 12px;
		color: var(--primary-cyan);
		letter-spacing: 0.2em;
	}

	.hero-title {
		font-family: var(--font-display);
		font-size: 72px;
		font-weight: 700;
		color: var(--phosphor-white);
		line-height: 1.1;
		letter-spacing: -0.04em;
		margin-bottom: 16px;
	}

	@media (min-width: 768px) {
		.hero-title {
			font-size: 120px;
		}
	}

	.hero-title span {
		color: var(--primary-cyan);
	}

	.hero-description {
		font-size: 18px;
		color: var(--on-surface-variant);
		max-width: 672px;
		margin: 0 auto 32px;
	}

	.hero-buttons {
		display: flex;
		flex-direction: column;
		gap: 16px;
		justify-content: center;
	}

	@media (min-width: 768px) {
		.hero-buttons {
			flex-direction: row;
		}
	}

	.scroll-indicator {
		position: absolute;
		bottom: 40px;
		left: 50%;
		transform: translateX(-50%);
		animation: bounce 2s infinite;
		opacity: 0.4;
		color: var(--phosphor-white);
	}

	@keyframes bounce {
		0%, 20%, 50%, 80%, 100% {
			transform: translateY(0) translateX(-50%);
		}

		40% {
			transform: translateY(-10px) translateX(-50%);
		}

		60% {
			transform: translateY(-5px) translateX(-50%);
		}
	}
	/* ============================================================
   HERO — banner variant
   ============================================================ */
	.hero-banner {
		position: relative;
		width: 100%;
		height: 60vh;
		overflow: hidden;
	}

	.hero-image {
		width: 100%;
		height: 100%;
		object-fit: cover;
		filter: brightness(0.75);
	}
	/* Hero section — simple page-level intro (app3) */
	.hero-section {
		margin-bottom: var(--stack-lg);
	}

		.hero-section h1 {
			margin-bottom: var(--stack-sm);
			color: var(--phosphor-white);
		}

		.hero-section p {
			color: var(--on-surface-variant);
			max-width: 672px;
		}
	/* Hero sub-elements (app4 — about/story hero) */
	.hero-img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		filter: grayscale(1);
		opacity: 0.6;
	}

	.hero-inner {
		max-width: var(--container-max-width);
		margin: 0 auto;
	}

	.tagline {
		font-family: var(--font-label);
		font-size: 12px;
		color: var(--primary-cyan);
		text-transform: uppercase;
		letter-spacing: 0.2em;
		display: block;
		margin-bottom: var(--stack-sm);
	}

	.text-neon {
		color: var(--primary-cyan);
	}
	/* ============================================================
   SECTION LAYOUT (app4)
   ============================================================ */
	.section {
		padding: var(--section-gap) var(--container-padding);
	}

	.section-container {
		max-width: var(--container-max-width);
		margin: 0 auto;
	}
	/* ============================================================
   STORY GRID & IMAGE COMPONENTS (app4)
   ============================================================ */
	.grid-story {
		display: grid;
		grid-template-columns: 1fr;
		gap: 24px;
		align-items: center;
	}

	@media (min-width: 768px) {
		.grid-story {
			grid-template-columns: repeat(12, 1fr);
		}

		.story-visual {
			grid-column: span 5;
		}

		.story-content {
			grid-column: 7 / span 6;
		}
	}

	.img-frame {
		aspect-ratio: 4 / 5;
		overflow: hidden;
		border-radius: 4px;
		padding: 8px;
	}

		.img-frame img {
			width: 100%;
			height: 100%;
			object-fit: cover;
			opacity: 0.8;
			border-radius: 2px;
		}

	.badge-offset {
		position: absolute;
		bottom: -40px;
		right: -40px;
		width: 192px;
		height: 192px;
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 24px;
	}

	@media (max-width: 767px) {
		.badge-offset {
			display: none !important;
		}
	}

	.headline {
		font-family: var(--font-headline);
		font-size: 48px;
		font-weight: 600;
		margin-bottom: var(--stack-lg);
	}

	.body-lg {
		font-size: 18px;
		color: var(--on-surface-variant);
		display: flex;
		flex-direction: column;
		gap: var(--stack-md);
	}

	.phase-indicator {
		margin-top: var(--stack-lg);
		display: flex;
		align-items: center;
		gap: var(--stack-md);
	}

	.line-short {
		width: 48px;
	}
	/* ============================================================
   DETOUR, IMAGE FRAME & CARD COMPONENTS (app4)
   ============================================================ */
	.detour-section {
		background: rgba(13, 27, 30, 0.1);
	}

	.flex-row-responsive {
		display: flex;
		flex-direction: column-reverse;
		gap: 24px;
		align-items: center;
	}

	@media (min-width: 768px) {
		.flex-row-responsive {
			flex-direction: row;
		}

		.detour-text {
			width: 50%;
		}

		.detour-visual {
			width: 50%;
			display: flex;
			justify-content: flex-end;
		}
	}

	.image-frame-styled {
		position: relative;
		width: 100%;
		max-width: 512px;
		aspect-ratio: 1 / 1;
	}

	.frame-border {
		position: absolute;
		inset: 0;
		border: 1px solid rgba(255, 0, 229, 0.3);
		transform: rotate(3deg);
		border-radius: 8px;
	}

	.frame-img {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
		filter: grayscale(1) brightness(0.75);
		border-radius: 2px;
	}

	.text-center {
		text-align: center;
		margin-bottom: var(--section-gap);
	}

	.grid-cards {
		display: grid;
		grid-template-columns: 1fr;
		gap: var(--stack-lg);
	}

	@media (min-width: 768px) {
		.grid-cards {
			grid-template-columns: repeat(3, 1fr);
		}

		.card-offset {
			margin-top: -48px;
		}
	}

	.card {
		padding: var(--stack-lg);
		transition: border-color 0.5s ease;
	}

		.card:hover {
			border-color: var(--primary-cyan);
		}

	.card-icon {
		color: var(--primary-cyan);
		margin-bottom: var(--stack-md);
	}
	/* ============================================================
   CTA SECTION
   ============================================================ */
	.cta-section {
		margin-top: var(--section-gap);
		text-align: center;
	}

	.cta-title {
		font-family: var(--font-headline);
		font-size: 32px;
		font-weight: 600;
		margin: var(--stack-md) 0;
		color: var(--phosphor-white);
	}

	@media (min-width: 768px) {
		.cta-title {
			font-size: 48px;
		}
	}
	/* ============================================================
   BUTTONS
   ============================================================ */
	.btn {
		padding: 8px var(--gutter);
		border-radius: 0.5rem;
		font-family: var(--font-label);
		font-size: 12px;
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: 0.1em;
		cursor: pointer;
		transition: all 0.3s ease;
		border: none;
		text-decoration: none;
		display: inline-flex;
		align-items: center;
		gap: 8px;
	}

	.btn-primary {
		background-color: var(--electric-magenta);
		color: var(--midnight-teal);
		border-radius: 2px;
	}

		.btn-primary:hover {
			transform: scale(1.05);
			box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
		}

	.btn-outline {
		background-color: rgba(0, 240, 255, 0.05);
		color: var(--phosphor-white);
		border: 1px solid rgba(0, 240, 255, 0.3);
	}

		.btn-outline:hover {
			border-color: var(--primary-cyan);
			background-color: rgba(0, 240, 255, 0.2);
		}

	.btn-magenta {
		background-color: var(--electric-magenta);
		color: var(--background);
		width: 100%;
		justify-content: center;
	}

		.btn-magenta:hover {
			box-shadow: 0 0 15px rgba(255, 0, 229, 0.4);
		}

	.btn-submit {
		background: var(--electric-magenta);
		color: var(--midnight-teal);
		font-weight: 700;
		padding: var(--stack-md) var(--stack-lg);
		border: none;
		border-radius: 0.25rem;
		cursor: pointer;
		text-transform: uppercase;
		letter-spacing: -0.02em;
		transition: all 0.3s ease;
	}

		.btn-submit:hover {
			box-shadow: 0 0 15px rgba(255, 0, 229, 0.4);
		}
	/* ============================================================
   BENTO / CONNECT HUB
   ============================================================ */
	.connect-hub {
		margin-top: var(--section-gap);
		margin-bottom: var(--section-gap);
	}

	.bento-grid {
		display: grid;
		grid-template-columns: 1fr;
		gap: var(--gutter);
	}

	@media (min-width: 768px) {
		.bento-grid {
			grid-template-columns: repeat(12, 1fr);
		}
	}
	/* Audio stream card */
	.audio-stream-card {
		grid-column: span 1;
		padding: var(--stack-lg);
		border-left: 4px solid var(--primary-cyan);
		position: relative;
		overflow: hidden;
	}

	@media (min-width: 768px) {
		.audio-stream-card {
			grid-column: span 8;
		}
	}

	.card-glow {
		position: absolute;
		top: -80px;
		right: -80px;
		width: 256px;
		height: 256px;
		background: rgba(0, 240, 255, 0.05);
		filter: blur(100px);
		border-radius: 50%;
		transition: background 0.5s ease;
	}

	.audio-stream-card:hover .card-glow {
		background: rgba(0, 240, 255, 0.1);
	}

	.card-header {
		display: flex;
		align-items: center;
		gap: var(--stack-md);
		margin-bottom: var(--stack-lg);
	}

		.card-header .material-symbols-outlined {
			color: var(--primary-cyan);
			font-size: 32px;
		}

	.card-title {
		font-family: var(--font-headline);
		font-size: 32px;
		color: var(--phosphor-white);
	}

	@media (min-width: 768px) {
		.card-title {
			font-size: 48px;
		}
	}
	/* Stream placeholder */
	.stream-placeholder {
		position: relative;
		width: 100%;
		aspect-ratio: 16/9;
		background: rgba(0, 0, 0, 0.4);
		border: 1px solid var(--outline-variant);
		border-radius: 0.5rem;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		overflow: hidden;
	}

	@media (min-width: 768px) {
		.stream-placeholder {
			aspect-ratio: 21/9;
		}
	}

	.stream-bg {
		position: absolute;
		inset: 0;
		opacity: 0.2;
		pointer-events: none;
	}

		.stream-bg img {
			width: 100%;
			height: 100%;
			object-fit: cover;
			filter: grayscale(1);
		}

	.stream-controls {
		z-index: 10;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: var(--stack-sm);
	}

	.transmission-label {
		font-family: var(--font-label);
		font-size: 12px;
		color: var(--primary-cyan);
		text-transform: uppercase;
		letter-spacing: 0.2em;
	}
	/* Social cards */
	.social-stack {
		display: flex;
		flex-direction: column;
		gap: var(--gutter);
		grid-column: span 1;
	}

	@media (min-width: 768px) {
		.social-stack {
			grid-column: span 4;
		}
	}

	.social-card {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		height: 100%;
		padding: var(--stack-lg);
		text-decoration: none;
	}

		.social-card:hover {
			transform: translateY(-4px);
		}

		.social-card.instagram:hover {
			border-color: rgba(255, 0, 229, 0.4);
		}

		.social-card.spotify:hover {
			border-color: rgba(0, 240, 255, 0.4);
		}

	.card-top {
		display: flex;
		justify-content: space-between;
		align-items: flex-start;
	}

	.social-icon {
		font-size: 36px;
	}

	.instagram .social-icon {
		color: var(--electric-magenta);
	}

	.spotify .social-icon {
		color: var(--primary-cyan);
	}

	.arrow-icon {
		color: var(--outline-variant);
		transition: color 0.3s ease;
	}

	.social-card:hover .arrow-icon {
		color: inherit;
	}

	.card-bottom p {
		font-family: var(--font-label);
		font-size: 12px;
		color: var(--on-surface-variant);
		text-transform: uppercase;
		margin-bottom: 4px;
	}

	.card-bottom h3 {
		font-family: var(--font-headline);
		font-size: 32px;
		color: var(--phosphor-white);
	}
	/* ============================================================
   RELEASES — BENTO GRID
   ============================================================ */
	.section-releases {
		padding: var(--section-gap) var(--container-padding);
		max-width: var(--container-max-width);
		margin: 0 auto;
	}

	.section-header {
		display: flex;
		align-items: center;
		gap: var(--gutter);
		margin-bottom: 32px;
	}

	.section-title {
		font-family: var(--font-headline);
		font-size: 48px;
		font-weight: 600;
		color: var(--phosphor-white);
		white-space: nowrap;
	}

		.section-title span {
			color: var(--electric-magenta);
		}

	.grid {
		display: grid;
		grid-template-columns: 1fr;
		gap: var(--gutter);
	}

	@media (min-width: 768px) {
		.grid {
			grid-template-columns: repeat(4, 1fr);
		}
	}
	/* Glass card */
	.glass-card {
		background: rgba(13, 27, 30, 0.4);
		backdrop-filter: blur(20px);
		border: 1px solid rgba(185, 202, 203, 0.1);
		border-radius: 0.75rem;
		overflow: hidden;
		position: relative;
		transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
		display: flex;
		flex-direction: column;
	}

		.glass-card:hover {
			border-color: var(--primary-cyan);
			box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
			transform: translateY(-4px);
		}

	.card-img-wrapper {
		position: relative;
		overflow: hidden;
		width: 100%;
	}

		.card-img-wrapper img {
			width: 100%;
			height: 100%;
			object-fit: cover;
			transition: transform 0.7s ease;
		}

	.glass-card:hover .card-img-wrapper img {
		transform: scale(1.1);
	}
	/* Column span utilities for 12-col bento grids */
	.col-span-8 {
		grid-column: span 8;
	}

	.col-span-4 {
		grid-column: span 4;
	}

	@media (max-width: 768px) {
		.col-span-8,
		.col-span-4 {
			grid-column: span 12;
		}
	}
	/* Featured card — two-column layout */
	.featured-card {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}

	@media (max-width: 768px) {
		.featured-card {
			grid-template-columns: 1fr;
		}
	}

	.featured-card .card-content {
		padding: var(--stack-lg);
		display: flex;
		flex-direction: column;
		justify-content: space-between;
	}

	.card-content h2 {
		color: var(--phosphor-white);
		margin-bottom: var(--stack-md);
	}

	.card-content p {
		color: var(--on-surface-variant);
		margin-bottom: var(--stack-lg);
	}

	.tag-label {
		color: var(--primary-cyan);
		margin-bottom: 8px;
		display: block;
	}

	.btn-group {
		display: flex;
		flex-wrap: wrap;
		gap: var(--stack-sm);
	}
	/* Large feature card */
	.card-main {
		grid-column: span 1;
	}

	@media (min-width: 768px) {
		.card-main {
			grid-column: span 2;
			grid-row: span 2;
		}
	}

	.card-main .image-wrap {
		height: 100%;
		min-height: 400px;
		position: relative;
		overflow: hidden;
	}

	.card-main img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center;
		transition: transform 0.7s ease;
	}

	.card-main:hover img {
		transform: scale(1.1);
	}

	.card-overlay {
		position: absolute;
		inset: 0;
		background: linear-gradient(to top, var(--midnight-teal), transparent);
		opacity: 0.8;
	}

	.card-content {
		position: absolute;
		bottom: 0;
		padding: 32px;
	}

	.label-cyan {
		font-family: var(--font-label);
		font-size: 12px;
		color: var(--primary-cyan);
		margin-bottom: 8px;
		display: block;
	}
	/* Horizontal card */
	.card-horizontal {
		grid-column: span 1;
	}

	@media (min-width: 768px) {
		.card-horizontal {
			grid-column: span 2;
		}
	}

	.card-horizontal .flex-container {
		display: flex;
		flex-direction: column;
		height: 100%;
	}

	@media (min-width: 768px) {
		.card-horizontal .flex-container {
			flex-direction: row;
		}
	}

	.card-horizontal .image-side {
		width: 100%;
		height: 256px;
		overflow: hidden;
	}

	@media (min-width: 768px) {
		.card-horizontal .image-side {
			width: 50%;
			height: auto;
		}
	}

	.card-horizontal .image-side img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		transition: transform 0.3s ease;
	}

	.card-horizontal:hover .image-side img {
		transform: scale(1.05);
	}

	.card-horizontal .text-side {
		padding: 32px;
		display: flex;
		flex-direction: column;
		justify-content: center;
	}

	.label-magenta {
		font-family: var(--font-label);
		font-size: 12px;
		color: var(--electric-magenta);
		margin-bottom: 8px;
		display: block;
	}

	.link-arrow {
		color: var(--primary-cyan);
		font-family: var(--font-label);
		font-size: 12px;
		text-decoration: none;
		display: flex;
		align-items: center;
		gap: 8px;
		transition: transform 0.3s ease;
		margin-top: 16px;
	}

		.link-arrow:hover {
			transform: translateX(8px);
		}
	/* Small cards */
	.card-small {
		padding: 16px;
	}

	.aspect-square {
		aspect-ratio: 1 / 1;
		background-color: var(--surface-container);
		overflow: hidden;
		margin-bottom: 16px;
		position: relative;
	}

		.aspect-square img {
			width: 100%;
			height: 100%;
			object-fit: cover;
			transition: all 0.5s ease;
		}

	.card-small:nth-child(4) img {
		filter: grayscale(100%);
		opacity: 0.6;
	}

	.card-small:nth-child(5) img {
		opacity: 0.6;
	}

	.card-small:hover img {
		filter: none;
		opacity: 1;
	}

	.card-small .inner-ring {
		position: absolute;
		inset: 0;
		border: 1px solid rgba(0, 240, 255, 0.1);
		transition: border-color 0.3s ease;
	}

	.card-small:hover .inner-ring {
		border-color: rgba(0, 240, 255, 0.4);
	}

	.card-small:last-child .inner-ring {
		border-color: rgba(255, 0, 229, 0.1);
	}

	.card-small:last-child:hover .inner-ring {
		border-color: rgba(255, 0, 229, 0.4);
	}
	/* ============================================================
   NEWSLETTER
   ============================================================ */
	/* Full-section newsletter (app.css) */
	.section-newsletter {
		padding: var(--section-gap) 0;
		position: relative;
		overflow: hidden;
		border-top: 1px solid rgba(0, 240, 255, 0.05);
		border-bottom: 1px solid rgba(0, 240, 255, 0.05);
	}

	.newsletter-bg {
		position: absolute;
		inset: 0;
		background-color: rgba(13, 27, 30, 0.2);
		backdrop-filter: blur(4px);
		z-index: 0;
	}

	.newsletter-content {
		position: relative;
		z-index: 10;
		max-width: 672px;
		margin: 0 auto;
		text-align: center;
		padding: 0 var(--container-padding);
	}

	.newsletter-form {
		display: flex;
		flex-direction: column;
		gap: 16px;
		margin-top: 32px;
	}

	@media (min-width: 768px) {
		.newsletter-form {
			flex-direction: row;
		}
	}

	.newsletter-input {
		flex-grow: 1;
		background-color: var(--slate-void);
		border: 1px solid var(--outline-variant);
		padding: 12px 16px;
		color: var(--phosphor-white);
		font-family: var(--font-label);
		outline: none;
		transition: all 0.3s ease;
	}

		.newsletter-input:focus {
			border-color: var(--primary-cyan);
			box-shadow: 0 0 5px rgba(0, 240, 255, 0.3);
		}

		.newsletter-input::placeholder {
			color: rgba(185, 202, 203, 0.4);
		}

	.newsletter-btn {
		background-color: var(--primary-cyan);
		color: var(--midnight-teal);
		font-family: var(--font-label);
		font-weight: 700;
		padding: 12px 32px;
		border: none;
		cursor: pointer;
		transition: all 0.3s ease;
	}

		.newsletter-btn:hover {
			box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
		}
	/* Bento-style newsletter card (app2) */
	.newsletter-card {
		grid-column: span 1;
		padding: var(--stack-lg);
		border: 1px solid rgba(255, 0, 229, 0.1);
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: space-between;
		gap: var(--stack-lg);
	}

	@media (min-width: 768px) {
		.newsletter-card {
			grid-column: span 12;
			flex-direction: row;
		}
	}

	.newsletter-text h4 {
		font-family: var(--font-headline);
		font-size: 32px;
		color: var(--phosphor-white);
		margin-bottom: 8px;
	}

	.newsletter-text p {
		font-family: var(--font-body);
		font-size: 16px;
		color: var(--on-surface-variant);
		max-width: 512px;
	}

	.input-field {
		background: rgba(0, 0, 0, 0.6);
		border: 1px solid var(--outline-variant);
		color: var(--phosphor-white);
		font-family: var(--font-label);
		font-size: 12px;
		padding: var(--stack-md) var(--stack-lg);
		border-radius: 0.25rem;
		width: 100%;
		outline: none;
		transition: border-color 0.3s ease;
	}

	@media (min-width: 768px) {
		.input-field {
			width: 320px;
		}
	}

	.input-field:focus {
		border-color: var(--primary-cyan);
	}
	/* ============================================================
   MISC CARD COMPONENTS (app3)
   ============================================================ */
	.mini-card-content {
		padding: var(--stack-lg);
	}

	.overlay-content {
		position: absolute;
		bottom: 0;
		left: 0;
		padding: var(--stack-lg);
		width: 100%;
		background: linear-gradient(to top, var(--midnight-teal), transparent);
	}

	.icon-btn {
		background: none;
		border: none;
		color: var(--primary-cyan);
		cursor: pointer;
		padding: 8px;
		transition: transform 0.2s ease;
	}

		.icon-btn:hover {
			transform: scale(1.1);
			filter: drop-shadow(0 0 8px var(--primary-cyan));
		}
	/* Aspect ratio utilities */
	.aspect-video {
		aspect-ratio: 16/9;
	}
	/* Badge components */
	.badge {
		padding: 2px 8px;
		border-radius: 2px;
		font-size: 10px;
		text-transform: uppercase;
	}

	.badge-cyan {
		border: 1px solid rgba(0, 240, 255, 0.4);
		color: var(--primary-cyan);
	}

	.badge-outline {
		border: 1px solid var(--outline-variant);
		color: var(--on-surface-variant);
	}
	/* Colour utility classes */
	.magenta-border {
		border-color: rgba(255, 0, 229, 0.2);
	}

	.magenta-text {
		color: var(--electric-magenta);
	}
	/* ============================================================
   FOOTER
   ============================================================ */
	footer {
		width: 100%;
		background-color: rgba(13, 27, 30, 0.6);
		backdrop-filter: blur(16px);
		-webkit-backdrop-filter: blur(16px);
		border-top: 1px solid rgba(255, 0, 229, 0.2);
		padding: 32px var(--container-padding);
	}
	/* Container — two-column layout */
	.footer-container {
		max-width: var(--container-max-width);
		margin: 0 auto;
		display: flex;
		flex-direction: column;
		gap: 32px;
		align-items: center;
	}

	@media (min-width: 768px) {
		.footer-container {
			flex-direction: row;
			justify-content: space-between;
		}
	}
	/* Flexible footer content wrapper (app2 variant) */
	.footer-content {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: var(--stack-lg);
	}

	@media (min-width: 768px) {
		.footer-content {
			flex-direction: row;
			justify-content: space-between;
		}
	}

	.footer-logo-block {
		display: flex;
		flex-direction: column;
		gap: 8px;
	}

	.footer-logo {
		font-family: var(--font-headline);
		font-size: 48px;
		font-weight: 600;
		color: var(--electric-magenta);
	}

	.copyright {
		font-family: var(--font-label);
		font-size: 12px;
		color: var(--on-surface-variant);
		opacity: 0.8;
	}

		.copyright:hover {
			opacity: 1;
		}
	/* Social icon links */
	.social-links {
		display: flex;
		gap: var(--gutter);
	}

		.social-links a {
			font-family: var(--font-label);
			font-size: 12px;
			color: var(--on-surface-variant);
			text-decoration: none;
			transition: all 0.3s ease;
		}

			.social-links a:hover {
				color: var(--electric-magenta);
				transform: scale(1.1);
			}
	/* Text footer links — class variant */
	.footer-links {
		display: flex;
		gap: var(--gutter);
	}

		.footer-link,
		.footer-links a {
			font-family: var(--font-label);
			font-size: 12px;
			color: var(--on-surface-variant);
			text-decoration: none;
			transition: all 0.3s ease;
		}

			.footer-link:hover,
			.footer-links a:hover {
				color: var(--electric-magenta);
				transform: scale(1.1);
			}

			.footer-link.highlight {
				color: var(--electric-magenta);
				font-weight: 700;
			}
	/* ============================================================
   QUOTE & ABOUT FOOTER COMPONENTS (app4)
   ============================================================ */
	.quote-container {
		margin: var(--section-gap) auto 0;
		padding: var(--container-padding);
		max-width: 896px;
		position: relative;
	}

	.quote-accent-top {
		position: absolute;
		top: -1px;
		left: 0;
		width: 128px;
		height: 1px;
		background: var(--primary-cyan);
	}

	.quote-accent-bottom {
		position: absolute;
		bottom: -1px;
		right: 0;
		width: 128px;
		height: 1px;
		background: var(--electric-magenta);
	}

	.quote-text {
		font-size: 22px;
		font-style: italic;
		text-align: center;
		color: var(--phosphor-white);
	}

	.quote-author {
		margin-top: var(--stack-lg);
		display: flex;
		justify-content: center;
		font-family: var(--font-label);
		font-size: 12px;
		color: var(--primary-cyan);
		text-transform: uppercase;
		letter-spacing: 0.2em;
	}
	/* .footer class mirrors footer element for pages using a class selector */
	.footer {
		background: rgba(13, 27, 30, 0.6);
		backdrop-filter: blur(20px);
		-webkit-backdrop-filter: blur(20px);
		border-top: 1px solid rgba(255, 0, 229, 0.2);
	}

	.footer-brand {
		display: flex;
		flex-direction: column;
		gap: 8px;
	}

	.footer-copy {
		font-family: var(--font-label);
		font-size: 12px;
		color: var(--on-surface-variant);
	}
