/* Font Face Definition */
@font-face {
	font-family: 'TransportMedium';
	src: url('transportm-webfont.eot');
	src: url('transportm-webfont.eot?#iefix') format('embedded-opentype'),
		 url('transportm-webfont.woff') format('woff'),
		 url('transportm-webfont.ttf') format('truetype'),
		 url('transportm-webfont.svg#TransportMedium') format('svg');
	font-weight: normal;
	font-style: normal;
}

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

html {
	width: 100%;
	height: 100%;
	height: 100vh;
	max-height: 100vh;
	overflow: hidden;
	position: fixed;
}

body {
	width: 100%;
	height: 100%;
	height: 100vh;
	max-height: 100vh;
	background: #f8f8f8;
	overflow: hidden;
	font-family: 'Helvetica Neue', Arial, sans-serif;
	position: fixed;
	overscroll-behavior: none;
	touch-action: manipulation;
}

/* Navigation */
#site-nav {
	position: fixed;
	z-index: 2000;
	top: 32px;
	left: 40px;
}

.nav-link {
	color: #000;
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: 500;
	opacity: 0.9;
	letter-spacing: 0.02em;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	position: relative;
	transition: all 0.25s ease;
}

.nav-link::after {
	content: '';
	position: absolute;
	bottom: -4px;
	left: 0;
	width: 0;
	height: 1px;
	background: #000;
	transition: width 0.3s ease;
}

.nav-arrow {
	display: inline-block;
	transform: translateY(-1px); /* optical correction */
	transition: transform 0.25s ease;
}

.nav-text {
	transition: color 0.25s ease;
}

.nav-link:hover {
	opacity: 1;
}

.nav-link:hover::after {
	width: 100%;
}

.nav-link:hover .nav-arrow {
	transform: translateY(-1px) translateX(-4px);
}

#stage {
	position: fixed;
	inset: 0;
	width: 100vw;
	height: 100vh;
	max-width: 100vw;
	max-height: 100vh;
	overflow: hidden;
}

.name {
	position: absolute;
	white-space: nowrap;
	color: #000;
	opacity: 0;
	pointer-events: none;
	font-family: 'TransportMedium', 'Helvetica Neue', Arial, sans-serif;
	font-weight: normal;
	font-stretch: condensed;
	letter-spacing: -0.02em;
	line-height: 1.1;
	animation: fadeInOut 0.5s ease-in-out forwards;
	text-align: center;
	transform-origin: center center;
	will-change: opacity;
	max-width: none;
	max-height: none;
	overflow: visible;
}

@keyframes fadeInOut {
	0% {
		opacity: 0;
	}
	15% {
		opacity: 1;
	}
	85% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}

/* Responsive */
@media (max-width: 600px) {
	#site-nav { 
		top: 20px; 
		left: 20px;
	}
	.nav-link { 
		font-size: 0.85rem;
		gap: 6px;
	}
}

