* { box-sizing: border-box; }

html, body { width: 100%; height: 100%; }

body {
	margin: 0;
	min-height: 100vh;
	overflow: hidden;
	background: #030303;
	color: #fff;
	font-family: Arial, Helvetica, sans-serif;
}

#liquid-canvas { position: fixed; inset: 0; display: block; width: 100%; height: 100%; opacity: .18; pointer-events: auto; z-index: 0; }

body::before {
	content: "";
	position: fixed;
	inset: 0;
	background: linear-gradient(rgba(255, 20, 20, .045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 20, 20, .045) 1px, transparent 1px);
	background-size: 50px 50px;
	pointer-events: none;
	z-index: 0;
}

.glow {
	position: fixed;
	width: min(700px, 150vw);
	aspect-ratio: 1;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 0, 0, .16), rgba(150, 0, 0, .06) 35%, transparent 70%);
	pointer-events: none;
	z-index: 0;
}

.letter-wrap {
	position: fixed;
	top: max(1rem, env(safe-area-inset-top));
	left: max(1rem, env(safe-area-inset-left));
	width: clamp(2.8rem, 7vw, 4.4rem);
	height: clamp(2.8rem, 7vw, 4.4rem);
	perspective: 900px;
	transform-style: preserve-3d;
	z-index: 20;
	animation: logo-orbit 5s infinite linear;
}

.vinyl-button {
	position: fixed;
	top: max(1.5rem, env(safe-area-inset-top) + .5rem);
	right: max(1.5rem, env(safe-area-inset-right) + .5rem);
	display: flex;
	width: clamp(4rem, 8vw, 5.4rem);
	height: clamp(2.4rem, 6vw, 3.6rem);
	padding: 0 clamp(.5rem, 1.2vw, .7rem) 0 clamp(.25rem, .7vw, .4rem);
	align-items: center;
	justify-content: flex-start;
	gap: clamp(.25rem, .7vw, .4rem);
	border: 1px solid rgba(255, 35, 35, .72);
	background: linear-gradient(145deg, rgba(72, 8, 8, .98), rgba(12, 2, 2, .98));
	box-shadow: inset 0 0 18px rgba(255, 0, 0, .1), 0 8px 0 rgba(73, 0, 0, .72), 0 14px 22px rgba(0, 0, 0, .48);
	cursor: pointer;
	z-index: 20;
	transform: translateZ(0);
}

.vinyl-button::before,
.vinyl-button::after {
	content: "";
	position: absolute;
	display: block;
	pointer-events: none;
	background: linear-gradient(135deg, rgba(120, 10, 10, .9), rgba(18, 2, 2, .96));
	border: 1px solid rgba(255, 35, 35, .5);
	box-shadow: inset 0 0 8px rgba(255, 0, 0, .12);
}

.vinyl-button::before {
	top: -8px;
	left: 0;
	width: calc(100% + 8px);
	height: 8px;
	clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.vinyl-button::after {
	top: -8px;
	right: -8px;
	width: 8px;
	height: calc(100% + 8px);
	clip-path: polygon(0 8px, 0 100%, 100% calc(100% - 8px), 100% 0);
}

.vinyl-button img {
	display: block;
	position: relative;
	z-index: 1;
	width: clamp(2rem, 5vw, 2.9rem);
	height: clamp(2rem, 5vw, 2.9rem);
	margin-left: clamp(.2rem, .6vw, .35rem);
	object-fit: contain;
}

.pitch-fader {
	position: relative;
	top: 4px;
	display: block;
	width: 7px;
	height: 56%;
	margin-left: auto;
	border-left: 1px solid rgba(255, 110, 110, .72);
	border-right: 1px solid rgba(255, 35, 35, .3);
	pointer-events: none;
}

.pitch-fader::before,
.pitch-fader::after {
	content: "";
	position: absolute;
	left: -3px;
	width: 3px;
	height: 1px;
	background: rgba(255, 110, 110, .72);
}

.pitch-fader::before { top: 20%; }
.pitch-fader::after { bottom: 20%; }

.pitch-fader-knob {
	position: absolute;
	top: 48%;
	left: 50%;
	display: block;
	width: 8px;
	height: 4px;
	border: 1px solid #ff2020;
	background: #8d0909;
	box-shadow: 0 0 5px rgba(255, 0, 0, .4);
	transform: translateX(-50%);
}

.vinyl-button:hover,
.vinyl-button:focus-visible { outline: none; transform: translateY(-2px); filter: drop-shadow(0 0 10px rgba(255, 0, 0, .75)); }

.vinyl-tooltip {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	padding: .3rem .6rem;
	white-space: nowrap;
	font-size: .7rem;
	letter-spacing: .04em;
	color: #ffdada;
	background: linear-gradient(145deg, rgba(72, 8, 8, .96), rgba(12, 2, 2, .96));
	border: 1px solid rgba(255, 35, 35, .6);
	box-shadow: 0 6px 14px rgba(0, 0, 0, .4);
	opacity: 0;
	pointer-events: none;
	transform: translateY(-4px);
	transition: opacity .2s ease, transform .2s ease;
}

.vinyl-button:hover .vinyl-tooltip,
.vinyl-button:focus-visible .vinyl-tooltip {
	opacity: 1;
	transform: translateY(0);
}

.letter {
	position: relative;
	position: absolute;
	top: 50%;
	left: 50%;
	font-size: clamp(2rem, 5vw, 3.2rem);
	font-weight: bold;
	line-height: 1;
	color: #f00;
	text-shadow: 0 0 10px #f00, 0 0 20px #900, 0 0 32px #600;
	transform-style: preserve-3d;
	transform-origin: center;
	animation: floaty 2s infinite ease-in-out alternate;
}

.letter.L {
	transform: translate(-50%, -50%) translateX(.28em) rotateY(90deg);
	animation-delay: -1s;
}

.letter.T { transform: translate(-50%, -50%) rotateY(0deg); }

.letter::before {
	content: attr(data-letter);
	position: absolute;
	top: 0;
	left: 0;
	color: #300;
	transform: translateZ(-14px);
	filter: blur(2px);
}

@keyframes logo-orbit {
	0% { transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
	33% { transform: rotateX(120deg) rotateY(120deg) rotateZ(90deg); }
	66% { transform: rotateX(240deg) rotateY(240deg) rotateZ(180deg); }
	100% { transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg); }
}

@keyframes floaty {
	0% { margin-top: -4px; }
	100% { margin-top: 4px; }
}

.number { color: #ff2020; text-shadow: 0 0 10px rgba(255, 0, 0, .8); }
.brand-dot { color: #ff2020; text-shadow: 0 0 10px rgba(255, 0, 0, .8); }
.home-short { display: none; }

.mobile-menu-toggle,
.mobile-menu { display: none; }

.scene {
	position: absolute;
	width: 320px;
	height: 320px;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	perspective: 1200px;
	z-index: 5;
}

.cube {
	position: absolute;
	width: 260px;
	height: 260px;
	top: 30px;
	left: 30px;
	transform-style: preserve-3d;
	cursor: grab;
	user-select: none;
	touch-action: none;
}

.cube:active { cursor: grabbing; }

.face {
	position: absolute;
	width: 260px;
	height: 260px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 25, 25, .65);
	background: linear-gradient(135deg, rgba(255, 0, 0, .10), rgba(80, 0, 0, .13));
	color: #fff;
	font: inherit;
	cursor: pointer;
	transition: opacity .6s ease, box-shadow .35s ease, background .35s ease;
	user-select: none;
	box-shadow: inset 0 0 30px rgba(255, 0, 0, .025);
}

.face:hover { background: linear-gradient(135deg, rgba(255, 20, 20, .18), rgba(80, 0, 0, .15)); box-shadow: 0 0 20px rgba(255, 0, 0, .35), 0 0 50px rgba(255, 0, 0, .15), inset 0 0 25px rgba(255, 0, 0, .08); }
.front { transform: translateZ(130px); }
.back { transform: rotateY(180deg) translateZ(130px); }
.right { transform: rotateY(90deg) translateZ(130px); }
.left { transform: rotateY(-90deg) translateZ(130px); }
.top { transform: rotateX(90deg) translateZ(130px); }
.bottom { transform: rotateX(-90deg) translateZ(130px); }
.number { position: absolute; top: 15px; left: 15px; font-size: 12px; letter-spacing: 2px; }
.title { font-size: 26px; letter-spacing: 4px; text-shadow: 0 0 10px rgba(255, 255, 255, .15); }
.subtitle { margin-top: 12px; opacity: .55; font-size: 10px; letter-spacing: 3px; }
.instructions { position: fixed; bottom: max(20px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); margin: 0; opacity: .5; letter-spacing: 3px; font-size: 10px; white-space: nowrap; z-index: 10; }

.content-section {
	position: fixed;
	top: 50%;
	left: 50%;
	width: min(720px, calc(100% - 3rem));
	transform: translate(-50%, -42%);
	opacity: 1;
	visibility: hidden;
	transition: opacity .65s ease, transform .8s cubic-bezier(.2, .8, .2, 1), visibility .65s;
	z-index: 4;
}

.section-kicker { color: #ff2020; font-size: 11px; letter-spacing: 4px; }
.content-section h1 { margin: 28px 0 24px; color: #fff; font-size: clamp(2.25rem, 7vw, 5rem); letter-spacing: 5px; text-shadow: 0 0 24px rgba(255, 0, 0, .22); }
#game-section h1 { font-size: clamp(1.9rem, 5vw, 3.5rem); }
#game-section #game-title { display: none; }
.content-section p { max-width: 520px; color: rgba(255, 255, 255, .68); font-size: 1rem; line-height: 1.7; }
.content-section#about-section { width: min(900px, calc(100% - 3rem)); }
.content-section#projects-section { width: min(1080px, calc(100% - 3rem)); }
#contact-section.content-section { width: min(680px, calc(100% - 3rem)); }
.content-section#mixes-section { width: min(760px, calc(100% - 3rem)); }
.mixes-player { display: block; width: 100%; height: min(58dvh, 420px); min-height: 280px; margin-top: 1.25rem; border: 0; background: #080808; }
.about-music-link { color: #ff2020; text-decoration-color: rgba(255, 32, 32, .55); text-underline-offset: .2em; }
.about-music-link:hover, .about-music-link:focus-visible { color: #fff; text-decoration-color: #ff2020; outline: none; }

.contact-card-wrapper { display: flex; justify-content: center; flex-wrap: wrap; gap: .8rem; margin: 2.5rem 0 0; }
.contact-card { flex: 0 1 200px; max-width: 200px; border: 1px solid rgba(255, 32, 32, .55); background: linear-gradient(145deg, rgba(72, 8, 8, .9), rgba(12, 2, 2, .96)); box-shadow: inset 0 0 18px rgba(255, 0, 0, .08), 0 6px 0 rgba(73, 0, 0, .62); transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
.contact-card:hover, .contact-card:focus-within { border-color: #ff2020; box-shadow: inset 0 0 18px rgba(255, 0, 0, .16), 0 6px 0 rgba(73, 0, 0, .62), 0 0 18px rgba(255, 0, 0, .22); transform: translateY(-3px); }
.contact-card-link { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: .7rem; padding: .8rem 1rem; color: #fff; text-decoration: none; text-align: left; }
.contact-card-link img { width: 26px; height: 26px; object-fit: contain; margin: 0; flex-shrink: 0; }
.contact-card-link h3 { margin: 0; font-size: .95rem; letter-spacing: 2px; text-shadow: 0 0 14px rgba(255, 0, 0, .2); }
.contact-card-link p { margin: 0; max-width: none; font-size: .78rem; color: rgba(255, 255, 255, .65); word-break: break-word; }

.contact-form { width: 100%; max-width: 560px; margin: 2.5rem auto 0; text-align: left; }
.contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-bottom: .8rem; }
.contact-form-row--stacked { grid-template-columns: 1fr; }
.contact-form input, .contact-form textarea { width: 100%; padding: .75rem .9rem; border: 1px solid rgba(255, 32, 32, .5); background: rgba(12, 2, 2, .85); color: #fff; font: inherit; font-size: .85rem; resize: vertical; transition: border-color .25s ease, box-shadow .25s ease; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255, 255, 255, .4); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: #ff2020; box-shadow: 0 0 14px rgba(255, 0, 0, .22); }
.contact-form-actions { display: flex; justify-content: center; margin-top: .4rem; }
.contact-submit { position: relative; display: grid; place-items: center; width: 58px; height: 58px; padding: 0; border: none; background: none; color: #ff2020; cursor: pointer; transition: color .25s ease, transform .25s ease, filter .25s ease; }
.contact-submit img { width: 34px; height: 34px; object-fit: contain; filter: drop-shadow(0 0 6px rgba(255, 0, 0, .5)); transition: filter .25s ease; }
.contact-submit:hover, .contact-submit:focus-visible { color: #ff5c5c; transform: translateY(-2px); outline: none; }
.contact-submit:hover img, .contact-submit:focus-visible img { filter: drop-shadow(0 0 16px rgba(255, 32, 32, .9)) drop-shadow(0 0 28px rgba(255, 0, 0, .55)); }
.contact-submit-tip { position: absolute; top: calc(100% + 8px); left: 50%; padding: .3rem .6rem; white-space: nowrap; font-size: .65rem; letter-spacing: .08em; color: #ffdada; background: linear-gradient(145deg, rgba(72, 8, 8, .96), rgba(12, 2, 2, .96)); border: 1px solid rgba(255, 35, 35, .6); box-shadow: 0 6px 14px rgba(0, 0, 0, .4); opacity: 0; pointer-events: none; transform: translate(-50%, -4px); transition: opacity .2s ease, transform .2s ease; }
.contact-submit:hover .contact-submit-tip, .contact-submit:focus-visible .contact-submit-tip { opacity: 1; transform: translate(-50%, 0); }

.footer-socials { display: flex; justify-content: center; gap: 1rem; margin: 2.5rem auto 0; }
.footer-social-icon { display: block; width: 22px; height: 22px; object-fit: contain; filter: brightness(0) invert(1); opacity: .75; transition: opacity .25s ease, transform .25s ease, filter .25s ease; }
.footer-socials a:hover .footer-social-icon, .footer-socials a:focus-visible .footer-social-icon { opacity: 1; transform: translateY(-2px); filter: brightness(0) invert(24%) sepia(89%) saturate(6000%) hue-rotate(-4deg); }
.copyright { max-width: none; margin: 1rem auto 0; text-align: center; color: rgba(255, 255, 255, .4); font-size: .75rem; letter-spacing: 1px; }
.about-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 360px); align-items: stretch; gap: clamp(3rem, 8vw, 6rem); }
.about-copy { min-width: 0; }
.about-portrait { position: relative; width: min(100%, 360px); height: auto; aspect-ratio: 5 / 6; align-self: center; overflow: hidden; border: 1px solid rgba(255, 32, 32, .62); background: #090909; box-shadow: 0 0 28px rgba(255, 0, 0, .15), inset 0 0 30px rgba(255, 0, 0, .08); cursor: grab; }
.about-portrait:active { cursor: grabbing; }
#about-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.about-image-fallback { display: none; width: 100%; height: 100%; object-fit: cover; }
.about-skills { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 1rem 1.15rem; margin-top: 2.5rem; }
.skill-badge { position: relative; display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(255, 32, 32, .55); background: linear-gradient(145deg, rgba(72, 8, 8, .98), rgba(12, 2, 2, .98)); box-shadow: inset 0 0 12px rgba(255, 0, 0, .1), 0 5px 0 rgba(73, 0, 0, .72), 0 8px 14px rgba(0, 0, 0, .38); transform-style: preserve-3d; animation: skill-glow 5s ease-in-out infinite; transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
.skill-badge::before, .skill-badge::after { content: ""; position: absolute; display: block; pointer-events: none; background: linear-gradient(135deg, rgba(120, 10, 10, .9), rgba(18, 2, 2, .96)); border: 1px solid rgba(255, 35, 35, .5); box-shadow: inset 0 0 8px rgba(255, 0, 0, .12); }
.skill-badge::before { top: -5px; left: 0; width: calc(100% + 5px); height: 5px; clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%); }
.skill-badge::after { top: -5px; right: -5px; width: 5px; height: calc(100% + 5px); clip-path: polygon(0 5px, 0 100%, 100% calc(100% - 5px), 100% 0); }
.skill-badge:hover, .skill-badge:focus-within { z-index: 20; border-color: #ff2020; box-shadow: inset 0 0 18px rgba(255, 0, 0, .14), 0 6px 0 rgba(73, 0, 0, .72), 0 0 18px rgba(255, 0, 0, .22); transform: translateY(-3px); }
.skill-badge img { display: block; width: 25px; height: 25px; object-fit: contain; }
.skill-label { position: absolute; bottom: calc(100% + .65rem); left: 50%; padding: .4rem .55rem; border: 1px solid rgba(255, 32, 32, .5); background: #080303; color: #fff; font-size: .62rem; letter-spacing: 1px; line-height: 1; white-space: nowrap; opacity: 0; visibility: hidden; transform: translate(-50%, .35rem); transition: opacity .2s ease, transform .2s ease, visibility .2s ease; pointer-events: none; z-index: 4; }
.skill-badge:hover .skill-label, .skill-badge:hover img + .skill-label, .skill-badge:focus-within .skill-label, .skill-badge.is-label-open .skill-label { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

@keyframes skill-glow {
	0%, 100% { box-shadow: inset 0 0 12px rgba(255, 0, 0, .1), 0 5px 0 rgba(73, 0, 0, .72), 0 8px 14px rgba(0, 0, 0, .38); }
	50% { box-shadow: inset 0 0 16px rgba(255, 0, 0, .16), 0 5px 0 rgba(73, 0, 0, .72), 0 0 18px rgba(255, 0, 0, .16); }
}
.skill-badge:nth-child(2) { margin-left: 8px; margin-top: 12px; }
.skill-badge:nth-child(3) { margin-left: 2px; margin-top: -8px; }
.skill-badge:nth-child(4) { margin-left: 10px; margin-top: 7px; }
.skill-badge:nth-child(5) { margin-left: 4px; margin-top: -12px; }
.skill-badge:nth-child(6) { margin-left: 12px; margin-top: 15px; }
.skill-badge:nth-child(7) { margin-left: 1px; margin-top: -6px; }
.skill-badge:nth-child(8) { margin-left: 9px; margin-top: 10px; }
.skill-badge:nth-child(9) { margin-left: 3px; margin-top: -14px; }
.skill-badge:nth-child(10) { margin-left: 11px; margin-top: 6px; }
.skill-badge:nth-child(11) { margin-left: 5px; margin-top: 13px; }
.skill-badge:nth-child(12) { margin-left: 13px; margin-top: -9px; }
.skill-badge:nth-child(13) { margin-left: 2px; margin-top: 11px; }
.skill-badge:nth-child(14) { margin-left: 10px; margin-top: -6px; }
.skill-badge:nth-child(15) { margin-left: 6px; margin-top: 14px; }
.skill-badge:nth-child(16) { margin-left: 8px; margin-top: -11px; }
.skill-badge:nth-child(17) { margin-left: 3px; margin-top: 9px; }
.skill-badge:nth-child(18) { margin-left: 12px; margin-top: -5px; }
.skill-badge:nth-child(19) { margin-left: 5px; margin-top: 10px; }

.projects-layout { display: grid; grid-template-columns: minmax(220px, .75fr) minmax(500px, 1.5fr); align-items: center; gap: clamp(2.5rem, 7vw, 6rem); margin-top: 2rem; }
.project-copy { min-width: 0; }
.project-count { color: #ff2020; font-size: .7rem; letter-spacing: 3px; }
.project-copy h2 { margin: 1.2rem 0 1rem; color: #fff; font-size: clamp(1.25rem, 2.5vw, 2rem); letter-spacing: 3px; text-shadow: 0 0 18px rgba(255, 0, 0, .2); }
.project-copy p { max-width: 280px; }
.project-actions { position: absolute; top: 1.25rem; right: clamp(1.25rem, 4vw, 2.5rem); z-index: 2; display: flex; gap: .7rem; }
.project-link, .project-arrow { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(255, 32, 32, .62); background: linear-gradient(145deg, rgba(55, 8, 8, .92), rgba(10, 2, 2, .96)); color: #fff; font: inherit; font-size: 1.2rem; text-decoration: none; cursor: pointer; box-shadow: inset 0 0 12px rgba(255, 0, 0, .08), 0 5px 0 rgba(73, 0, 0, .62); transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
.project-link:hover, .project-link:focus-visible, .project-arrow:hover, .project-arrow:focus-visible { border-color: #ff2020; box-shadow: inset 0 0 16px rgba(255, 0, 0, .16), 0 5px 0 rgba(73, 0, 0, .62), 0 0 16px rgba(255, 0, 0, .22); transform: translateY(-2px); outline: none; }
.project-link img { width: 20px; height: 20px; object-fit: contain; }
.project-video { display: none; }
.project-showcase { min-width: 0; }
.project-frame { position: relative; min-height: 360px; overflow: hidden; border: 1px solid rgba(255, 32, 32, .7); background-position: center; background-size: cover; box-shadow: inset 0 0 35px rgba(255, 0, 0, .08), 0 0 30px rgba(255, 0, 0, .14); transition: background-image .45s ease; }
.project-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 35%, rgba(0, 0, 0, .12) 48%, rgba(0, 0, 0, .96) 100%); pointer-events: none; }
.project-controls { display: flex; align-items: center; justify-content: flex-end; gap: 1rem; margin-top: 1rem; }
.project-arrow { width: 34px; height: 34px; font-size: 1rem; }
.project-dots { display: flex; gap: .45rem; }

.design-layout { display: grid; grid-template-columns: minmax(500px, 1.5fr) minmax(220px, .75fr); align-items: center; gap: clamp(2.5rem, 7vw, 6rem); margin-top: 2rem; }

.design-lightbox { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; visibility: hidden; opacity: 0; transition: opacity .3s ease, visibility .3s ease; }
.design-lightbox.is-open { visibility: visible; opacity: 1; }
.design-lightbox__backdrop { position: absolute; inset: 0; background: rgba(4, 0, 0, .88); }
.design-lightbox__panel { position: relative; display: grid; grid-template-columns: minmax(340px, 1.4fr) minmax(220px, .8fr); align-items: center; gap: clamp(1.5rem, 4vw, 3rem); width: min(1100px, 92vw); }
.design-lightbox__close { position: absolute; top: -2.6rem; right: 0; display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(255, 32, 32, .62); background: linear-gradient(145deg, rgba(55, 8, 8, .92), rgba(10, 2, 2, .96)); color: #fff; font-size: 1rem; cursor: pointer; }
.design-lightbox__close:hover, .design-lightbox__close:focus-visible { border-color: #ff2020; outline: none; }
.design-showcase { min-width: 0; }
.design-frame { position: relative; min-height: 360px; overflow: hidden; border: 1px solid rgba(255, 32, 32, .7); background-position: center; background-size: cover; box-shadow: inset 0 0 35px rgba(255, 0, 0, .08), 0 0 30px rgba(255, 0, 0, .14); transition: background-image .45s ease; }
.design-frame--full { min-height: min(70vh, 560px); display: grid; place-items: center; border: none; background: none; box-shadow: none; }
.design-frame--full img { display: block; max-width: 100%; max-height: min(70vh, 560px); object-fit: contain; border: 1px solid rgba(255, 32, 32, .7); box-shadow: inset 0 0 35px rgba(255, 0, 0, .08), 0 0 30px rgba(255, 0, 0, .14); }
#design-main-frame { display: block; width: 100%; padding: 0; cursor: pointer; }
.design-frame__hint { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; color: #fff; font-size: .75rem; letter-spacing: 3px; background: rgba(0, 0, 0, 0); opacity: 0; transition: opacity .25s ease, background .25s ease; }
#design-main-frame:hover .design-frame__hint, #design-main-frame:focus-visible .design-frame__hint { opacity: 1; background: rgba(0, 0, 0, .45); }
.design-actions { position: absolute; top: .9rem; right: .9rem; z-index: 2; display: flex; gap: .7rem; }
.design-controls { justify-content: flex-start; }
.design-copy { min-width: 0; }
.design-copy h2 { margin: 1.2rem 0 1rem; color: #fff; font-size: clamp(1.25rem, 2.5vw, 2rem); letter-spacing: 3px; text-shadow: 0 0 18px rgba(255, 0, 0, .2); }
.design-copy p { max-width: 280px; }
.project-dot { width: 7px; height: 7px; padding: 0; border: 1px solid rgba(255, 32, 32, .65); background: transparent; cursor: pointer; transition: background .25s ease, box-shadow .25s ease; }
.project-dot.active, .project-dot:hover { background: #ff2020; box-shadow: 0 0 9px rgba(255, 0, 0, .6); }

.snake-game { width: min(430px, 100%); margin: 1rem auto 0; display: grid; justify-items: center; gap: .8rem; }
#game-section .snake-game { margin-top: 2.5rem; }
.snake-score { display: flex; align-items: baseline; gap: .75rem; color: rgba(255, 255, 255, .55); letter-spacing: 3px; font-size: .65rem; }
.snake-score strong { color: #fff; font-size: 1.65rem; letter-spacing: 2px; text-shadow: 0 0 12px rgba(255, 0, 0, .45); }
.snake-board-wrap { position: relative; width: min(400px, 100%); aspect-ratio: 1; border: 1px solid rgba(255, 25, 25, .65); background: #080808; box-shadow: 0 0 30px rgba(255, 0, 0, .12), inset 0 0 25px rgba(255, 0, 0, .04); }
#snake-canvas { display: block; width: 100%; height: 100%; image-rendering: pixelated; }
.snake-game-over { position: absolute; inset: 0; display: grid; place-items: center; color: #ff2020; background: rgba(3, 3, 3, .72); font-size: 1.1rem; letter-spacing: 4px; opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; }
.snake-game-over.is-visible { opacity: 1; visibility: visible; }
.snake-replay { min-width: 120px; padding: .65rem 1rem; border: 1px solid rgba(255, 25, 25, .65); background: rgba(20, 3, 3, .9); color: #fff; font: inherit; font-size: .65rem; letter-spacing: 3px; cursor: pointer; transition: background .25s ease, box-shadow .25s ease, border-color .25s ease; }
.snake-replay:hover, .snake-replay:focus-visible { border-color: #ff2020; background: rgba(100, 5, 5, .72); box-shadow: 0 0 18px rgba(255, 0, 0, .28); outline: none; }

.scene.nav-open {
	inset: 0;
	width: 100%;
	height: 100%;
	transform: none;
	perspective: none;
	z-index: 15;
}

.nav-open .cube {
	top: max(4.5rem, calc(env(safe-area-inset-top) + 3.5rem));
	left: 50%;
	width: min(900px, calc(100% - 2rem));
	height: 48px;
	display: flex;
	gap: 14px;
	perspective: 700px;
	transform-style: preserve-3d;
	transform: translateX(-50%) !important;
	pointer-events: auto;
}

.nav-open .face {
	position: relative;
	display: block;
	width: 7px;
	height: 56%;
	height: 54px;
	flex: 1 1 0;
	transform: none;
	opacity: 1;
	border: 1px solid rgba(255, 35, 35, .72);
	background: linear-gradient(145deg, rgba(72, 8, 8, .98), rgba(12, 2, 2, .98));
	box-shadow: inset 0 0 18px rgba(255, 0, 0, .1), 0 12px 0 rgba(73, 0, 0, .72), 0 18px 28px rgba(0, 0, 0, .48);
	transform-origin: center bottom;
	left: -3px;
	width: 3px;
}

.nav-open .face::before,
.nav-open .face::after {
	content: "";
	position: absolute;
	display: block;
	pointer-events: none;
	background: linear-gradient(135deg, rgba(120, 10, 10, .9), rgba(18, 2, 2, .96));
	top: 48%;
	box-shadow: inset 0 0 12px rgba(255, 0, 0, .12);
	transform-style: preserve-3d;
	width: 8px;
	height: 4px;
}
.nav-open .face::before {
	top: -12px;
	left: 0;
	width: calc(100% + 12px);
	height: 12px;
	clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}

.nav-open .face::after {
	top: -12px;
	right: -12px;
	width: 12px;
	height: calc(100% + 12px);
	clip-path: polygon(0 12px, 0 100%, 100% calc(100% - 12px), 100% 0);
}

.nav-open.nav-entering .face { animation: nav-link-drop .75s cubic-bezier(.2, .8, .2, 1) both; }
.nav-open.nav-entering .face:nth-child(1) { animation-delay: .08s; }
.nav-open.nav-entering .face:nth-child(2) { animation-delay: .20s; }
.nav-open.nav-entering .face:nth-child(3) { animation-delay: .32s; }
.nav-open.nav-entering .face:nth-child(4) { animation-delay: .44s; }
.nav-open.nav-entering .face:nth-child(5) { animation-delay: .56s; }
.nav-open.nav-entering .face:nth-child(6) { animation-delay: .68s; }
.nav-open.nav-entering .face .title { opacity: 1; animation: none; }

@keyframes nav-link-drop {
	0% { opacity: 0; transform: translateY(calc(-100vh - 60px)) rotateX(-75deg) scale(.86); }
	70% { opacity: 1; transform: translateY(7px) rotateX(8deg) scale(1.02); }
	100% { opacity: 1; transform: translateY(0) rotateX(0deg) scale(1); }
}

.nav-open .face .number { top: 8px; left: 9px; font-size: 8px; }
.nav-open .face .title { font-size: 11px; letter-spacing: 1px; opacity: 1; }
.nav-open.nav-entering .face .title { opacity: 0; animation: nav-link-reveal .25s ease forwards; }
.nav-open .home-full { display: none; }
.nav-open .home-short { display: inline; }
.nav-open .face .subtitle { display: none; }
.nav-open .face.front { flex: 0 0 72px; }
.nav-open .face.front .title { font-size: 14px; }
.nav-open .face:not(.active) {
	box-shadow: inset 0 0 18px rgba(255, 0, 0, .06), 0 12px 0 rgba(73, 0, 0, .72), 0 18px 28px rgba(0, 0, 0, .48);
}

.nav-open .face.active {
	border-color: #ff2020;
	box-shadow: 0 0 18px rgba(255, 0, 0, .52), 0 0 42px rgba(255, 0, 0, .18), inset 0 0 18px rgba(255, 0, 0, .14), 0 12px 0 rgba(73, 0, 0, .72);
}

@keyframes nav-link-reveal {
	from { opacity: 0; transform: translateZ(-18px); }
	to { opacity: 1; transform: translateZ(0); }
}

body.section-open .content-section.active { opacity: 1; visibility: visible; transform: translate(-50%, -50%); }
body.section-open .content-section:not(.active) { opacity: 0; visibility: hidden; transition: none; }
body:not(.section-open) .content-section { opacity: 0; visibility: hidden; transition: none; }
body.section-open .scene { visibility: visible; pointer-events: none; }
body.section-open .instructions { opacity: 0; }
body.section-open .glow { opacity: .55; }

@media (min-width: 601px) {
	.content-section {
		top: 10.5rem;
		transform: translateX(-50%);
	}
	body.section-open .content-section.active { transform: translateX(-50%); }
}

@media (max-width: 600px) {
	.content-section {
		top: max(4.5rem, calc(env(safe-area-inset-top) + 4rem));
		transform: translateX(-50%);
		max-height: calc(100dvh - 7rem);
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		-ms-overflow-style: none;
	}
	.content-section::-webkit-scrollbar { display: none; }
	body.section-open .content-section.active { transform: translateX(-50%); }
	.content-section#about-section { width: calc(100% - 2rem); }
	.content-section#projects-section { width: calc(100% - 2rem); }
	#contact-section.content-section { width: calc(100% - 2rem); }
	#mixes-section.content-section { width: calc(100% - 2rem); }
	.content-section { padding-bottom: 4.75rem; }
	.mixes-player { height: min(48dvh, 340px); min-height: 240px; margin-top: 1rem; }
	.contact-card-wrapper { gap: .6rem; flex-wrap: nowrap; }
	.contact-card { flex: 1 1 0; max-width: none; }
	.contact-card-link { flex-direction: row; justify-content: center; gap: .5rem; padding: .55rem .6rem; text-align: center; }
	.contact-card-link img { width: 20px; height: 20px; margin: 0; }
	.contact-card-link h3 { margin: 0; font-size: .78rem; }
	.contact-card-wrapper { margin-top: 1.5rem; }
	.contact-form { margin-top: 1.5rem; }
	.footer-socials { margin-top: 1.5rem; }
	.copyright { padding-bottom: 1rem; }
	.contact-form-row { grid-template-columns: 1fr; }
	.about-layout { grid-template-columns: 1fr; gap: 2.5rem; }
	.about-portrait { width: min(190px, 60vw); height: auto; aspect-ratio: 5 / 6; margin: 0 auto; align-self: center; }
	.about-music-line { display: none; }
	.content-section h1 { margin: 24px 0 18px; }
	.about-skills { display: flex; justify-content: center; gap: .7rem .75rem; margin-top: 1.5rem; padding-top: 1.35rem; }
	.skill-badge { width: 32px; height: 32px; cursor: pointer; }
	.skill-badge img { width: 18px; height: 18px; }
	.skill-label { display: block; max-width: min(70vw, 9.5rem); white-space: normal; text-align: center; line-height: 1.2; }
	.skill-badge:nth-child(n) { margin: 0; }
	.projects-layout { grid-template-columns: 1fr; gap: 1.5rem; margin-top: 1.5rem; }
	.project-copy h2 { margin: .8rem 0 .7rem; font-size: 1.15rem; }
	.project-copy p { max-width: 100%; font-size: .85rem; }
	.project-actions { right: 1.25rem; }
	.project-frame { min-height: 240px; touch-action: pan-y; }
	.project-controls { justify-content: center; margin-top: .65rem; }

	.design-layout { grid-template-columns: 1fr; gap: 1.5rem; margin-top: 1.5rem; }
	.design-lightbox { padding: 1.25rem; }
	.design-lightbox__panel { grid-template-columns: 1fr; gap: 1.2rem; width: 100%; }
	.design-lightbox__close { top: -2.4rem; right: 0; width: 30px; height: 30px; }
	.design-copy h2 { margin: .8rem 0 .7rem; font-size: 1.15rem; }
	.design-copy p { max-width: 100%; font-size: .85rem; }
	.design-frame { min-height: 220px; }
	#design-main-frame { touch-action: pan-y; }
	.design-frame--full { min-height: min(50vh, 320px); }
	.design-frame--full img { max-height: min(50vh, 320px); }
	.design-controls { justify-content: center; margin-top: .65rem; }
	.design-project-dots, #design-project-dots, #design-dots { flex-wrap: wrap; justify-content: center; }
	.design-controls .project-arrow { width: 40px; height: 40px; font-size: 1.1rem; }

	.mobile-menu-toggle {
		position: fixed;
		top: max(1rem, env(safe-area-inset-top));
		right: max(1rem, env(safe-area-inset-right));
		display: flex;
		width: 42px;
		height: 42px;
		padding: 0;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		border: 0;
		background: transparent;
		color: #fff;
		cursor: pointer;
		z-index: 100;
		transition: transform .3s ease-in-out;
	}
	body:not(.section-open) .mobile-menu-toggle {
		visibility: hidden;
		opacity: 0;
		pointer-events: none;
	}
	.vinyl-button {
		display: flex;
		top: auto;
		right: max(1rem, env(safe-area-inset-right));
		bottom: max(1rem, env(safe-area-inset-bottom));
		width: 3.4rem;
		height: 2.35rem;
		z-index: 25;
	}
	.vinyl-button,
	.mobile-menu button[data-mobile-section="mixes"],
	#mixes-section.content-section { display: none; }
	.vinyl-button .vinyl-tooltip {
		top: auto;
		bottom: calc(100% + 8px);
	}
	body.mobile-menu-open .vinyl-button { visibility: hidden; pointer-events: none; }
	.mobile-menu-toggle::before {
		content: "";
		position: absolute;
		width: 42px;
		height: 42px;
		border: 3px solid transparent;
		border-radius: 50%;
		transition: border-color .3s ease-in-out;
	}
	.mobile-menu-toggle .line {
		display: block;
		width: 27px;
		height: 3px;
		margin: 3px 0;
		border-radius: 2px;
		background: #fff;
		transition: width .3s ease-in-out, opacity .3s ease-in-out, transform .3s ease-in-out;
	}
	.mobile-menu-toggle.is-active { transform: rotate(45deg); }
	.mobile-menu-toggle.is-active::before { border-color: #ff2020; }
	.mobile-menu-toggle.is-active .line { width: 27px; }
	.mobile-menu-toggle.is-active .line:nth-child(2) { opacity: 0; }
	.mobile-menu-toggle.is-active .line:nth-child(1) { transform: translateY(9px); }
	.mobile-menu-toggle.is-active .line:nth-child(3) { transform: translateY(-9px) rotate(90deg); }

	.mobile-menu {
		position: fixed;
		inset: 0;
		display: flex;
		visibility: hidden;
		opacity: 0;
		padding: 7rem 2rem 2rem;
		flex-direction: column;
		justify-content: center;
		gap: .55rem;
		background: rgba(3, 3, 3, .97);
		backdrop-filter: blur(10px);
		z-index: 90;
		transition: opacity .35s ease, visibility .35s ease;
		perspective: 900px;
	}
	.mobile-menu.is-open { visibility: visible; opacity: 1; }
	.mobile-menu button {
		display: flex;
		align-items: center;
		gap: 1rem;
		width: min(260px, 100%);
		min-height: 44px;
		margin: 0 auto;
		padding: .55rem .8rem;
		border: 1px solid rgba(255, 25, 25, .4);
		background: linear-gradient(145deg, rgba(55, 8, 8, .9), rgba(10, 2, 2, .95));
		color: #fff;
		font: inherit;
		text-align: left;
		cursor: pointer;
		position: relative;
		transform: translateX(-28px) rotateX(-78deg);
		transform-origin: center bottom;
		transform-style: preserve-3d;
		backface-visibility: hidden;
		opacity: 0;
		box-shadow: inset 0 0 14px rgba(255, 0, 0, .08), 0 8px 0 rgba(73, 0, 0, .72), 0 14px 22px rgba(0, 0, 0, .48);
		transition: transform .65s cubic-bezier(.2, .8, .2, 1), opacity .35s ease, border-color .25s ease, box-shadow .25s ease;
	}
	.mobile-menu button::before,
	.mobile-menu button::after {
		content: "";
		position: absolute;
		display: block;
		pointer-events: none;
		background: linear-gradient(135deg, rgba(120, 10, 10, .9), rgba(18, 2, 2, .96));
		border: 1px solid rgba(255, 35, 35, .5);
		box-shadow: inset 0 0 12px rgba(255, 0, 0, .12);
	}
	.mobile-menu button::before {
		top: -8px;
		left: 0;
		width: calc(100% + 8px);
		height: 8px;
		clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
	}
	.mobile-menu button::after {
		top: -8px;
		right: -8px;
		width: 8px;
		height: calc(100% + 8px);
		clip-path: polygon(0 8px, 0 100%, 100% calc(100% - 8px), 100% 0);
	}
	.mobile-menu.is-open button { transform: translateX(0) rotateX(0deg); opacity: 1; }
	.mobile-menu.is-open button:nth-child(1) { transition-delay: .05s; }
	.mobile-menu.is-open button:nth-child(2) { transition-delay: .1s; }
	.mobile-menu.is-open button:nth-child(3) { transition-delay: .15s; }
	.mobile-menu.is-open button:nth-child(4) { transition-delay: .2s; }
	.mobile-menu.is-open button:nth-child(5) { transition-delay: .25s; }
	.mobile-menu.is-open button:nth-child(6) { transition-delay: .3s; }
	.mobile-menu.is-open button:nth-child(7) { transition-delay: .35s; }
	.mobile-menu button:hover,
	.mobile-menu button:focus-visible { border-color: #ff2020; box-shadow: 0 0 18px rgba(255, 0, 0, .24), 0 12px 0 rgba(73, 0, 0, .72); outline: none; }
	.mobile-menu button.active { border-color: #ff2020; box-shadow: 0 0 18px rgba(255, 0, 0, .52), 0 0 36px rgba(255, 0, 0, .16), 0 12px 0 rgba(73, 0, 0, .72); }
	.mobile-menu button span { min-width: 24px; color: #ff2020; font-size: .7rem; letter-spacing: 2px; }
	.mobile-menu button strong { font-size: .78rem; letter-spacing: 1.5px; }
	.mobile-menu .brand-dot { color: #ff2020; }
	.mobile-menu .mobile-home-tag { margin-left: .4em; color: #ff2020; font-size: .6rem; }
	body.mobile-menu-open .scene,
	body.mobile-menu-open .letter-wrap,
	body.mobile-menu-open .instructions { visibility: hidden; }
	.nav-open .cube { width: calc(100% - 1rem); gap: 7px; overflow: visible; }
	.nav-open .face .title { font-size: 8px; letter-spacing: .5px; }
	.nav-open .face.front { flex-basis: 54px; }
	.content-section { width: calc(100% - 2rem); }
	.snake-game { margin-top: .5rem; }
	#game-section .snake-game { margin-top: 2rem; }
	.snake-board-wrap { width: min(340px, 100%); }
	#snake-canvas { touch-action: none; }
}

@media (max-width: 600px) {
	.scene { display: block; transform: translate(-50%, -50%) scale(.75); }
	body.section-open .scene { display: none; }
	.instructions { font-size: 8px; }
}

@media (max-width: 600px) {
	body.mobile-menu-open .mobile-menu {
		display: flex;
		visibility: visible;
		opacity: 1;
	}

	body.mobile-menu-open .mobile-menu button {
		opacity: 1;
		transform: translateX(0);
	}
}
