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

@font-face {
	font-family: "Michroma";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src:
		local("Michroma"),
		local("Michroma"),
		url("../../font/Michroma-Regular.ttf") format("truetype");
}

@font-face {
	font-family: "Michroma";
	font-style: normal;
	font-weight: 900;
	font-display: swap;
	src:
		local("Michroma"),
		local("Michroma"),
		url("../../font/Michroma-Regular.ttf") format("truetype");
}

@font-face {
	font-family: "Michroma";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src:
		local("Michroma"),
		local("Michroma"),
		url("../../font/Michroma-Regular.ttf") format("truetype");
}

@font-face {
	font-family: "Michroma";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src:
		local("Michroma"),
		local("Michroma"),
		url("../../font/Michroma-Regular.ttf") format("truetype");
}

@font-face {
	font-family: "OCR-a___";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src:
		local("OCR A Std"),
		local("OCR-a___"),
		url("../../font/OCR-a___.ttf") format("truetype");
}

html,
body {
	height: 100%;
}

body {
	font-family: "OCR-a___", "Courier New", monospace;
	line-height: 1.6;
	color: #333;
	background-color: #f7f7f7;
	min-height: 100%;
	display: flex;
	flex-direction: column;
	overflow-x: hidden;
	cursor: none !important;
}

body.mobile-bg-blur-enabled {
	position: relative;
	z-index: 0;
	background-image: none !important;
	background-attachment: scroll !important;
}

@media (max-width: 760px) {
	body.mobile-bg-blur-enabled::before {
		content: "";
		position: fixed;
		inset: 0;
		background-image: var(--mobile-bg-image);
		background-position: var(--mobile-bg-position, center);
		background-size: var(--mobile-bg-size, cover);
		background-repeat: no-repeat;
		filter: blur(6px);
		transform: scale(1.05);
		pointer-events: none;
		z-index: -1;
	}
}

body.page-transition {
	opacity: 0;
	transition: opacity 0.28s ease;
}

body.page-transition.page-ready {
	opacity: 1;
}

body.page-fade-out {
	opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
	body.page-transition {
		opacity: 1;
		transition: none;
	}

	body.page-fade-out {
		opacity: 1;
	}
}

body * {
	cursor: none !important;
}

.site-cursor {
	position: fixed;
	top: 0;
	left: 0;
	width: 1%;
	height: auto;
	aspect-ratio: 1 / 1;
	border: 1px solid rgba(255, 255, 255, 0.85);
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.12) 48%, rgba(255, 255, 255, 0) 72%);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0 12px rgba(255, 255, 255, 0.24);
	transform: translate3d(-50%, -50%, 0);
	opacity: 0;
	pointer-events: none;
	z-index: 9999;
	transition: opacity 0.18s ease;
	mix-blend-mode: screen;
	will-change: transform, opacity;
	backdrop-filter: invert(1);
	-webkit-backdrop-filter: invert(1);
}

.site-cursor::before,
.site-cursor::after {
	content: "";
	position: absolute;
	inset: -18%;
	border-radius: 50%;
	border: 1px solid transparent;
	opacity: 0;
}

.site-cursor.is-visible {
	opacity: 1;
}

.site-cursor.is-glitch {
	animation: cursor-glitch-core 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), -3px 0 12px rgba(168, 85, 247, 0.65), 3px 0 12px rgba(209, 21, 21, 0.55);
}

.site-cursor.is-glitch::before,
.site-cursor.is-glitch::after {
	opacity: 0.95;
	animation: cursor-glitch-ring 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.site-cursor.is-glitch::before {
	border-color: #df9ace;
	transform: translate(-3px, 1px);
}

.site-cursor.is-glitch::after {
	border-color: rgba(209, 21, 21, 0.7);
	transform: translate(3px, -1px);
	animation-direction: reverse;
}

header {
	background-color: #33333300;
	color: #fff;
	text-align: center;
	padding: 2% 1.5%;
}

nav {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 12%;
	text-align: center;
	padding: 3.5% 1.5% 1.5%;
	font-family: "Michroma", sans-serif;
	position: relative;
}

nav::before {
	content: '';
	position: absolute;
	top: 65%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 60%;
	height: 40%;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 50px;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
	z-index: -1;
	pointer-events: none;
}

nav a {
	text-decoration: none;
	margin: 0;
	font-weight: 600;
	font-size: 115%;
	position: relative;
	display: inline-block;
}

.nav-mobile-links {
	display: contents;
}

.nav-toggle {
	display: none;
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: 0.7rem;
	background: rgba(255, 255, 255, 0.18);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	color: #ffffff;
	padding: .8rem;
	line-height: 1;
	cursor: pointer;
	position: relative;
	z-index: 3;
	align-items: center;
	justify-content: center;
}

.nav-toggle-icon {
	display: block;
	width: 1.3rem;
	height: 1rem;
	position: relative;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after,
.nav-toggle-icon {
	background: #ffffff;
	border-radius: 999px;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
	content: "";
	position: absolute;
	left: 0;
	width: 1.3rem;
	height: 0.12rem;
}

.nav-toggle-icon {
	height: 0.12rem;
	margin: 0.25rem 0;
	transition: background-color 0.24s ease, transform 0.24s ease;
}

.nav-toggle-icon::before {
	top: -0.36rem;
	transition: transform 0.24s ease, top 0.24s ease;
}

.nav-toggle-icon::after {
	top: 0.36rem;
	transition: transform 0.24s ease, top 0.24s ease;
}

.nav-mobile-overlay {
	position: fixed;
	inset: 0;
	background: rgba(8, 8, 12, 0.4);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.24s ease;
	z-index: 55;
}

.nav-mobile-overlay.is-visible {
	opacity: 1;
	pointer-events: auto;
}

nav a:hover {
	text-decoration: none;
}

nav a:hover::before,
nav a:hover::after,
nav a.nav-glitch-active::before,
nav a.nav-glitch-active::after {
	content: attr(data-text);
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: transparent;
	pointer-events: none;
}

nav a:hover::before,
nav a.nav-glitch-active::before {
	color: #df9ace;
	animation: nav-glitch-text 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

nav a:hover::after,
nav a.nav-glitch-active::after {
	color: #d11515;
	animation: nav-glitch-text 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) reverse both;
}

@keyframes nav-glitch-text {
	0% {
		transform: translate(0);
		clip-path: inset(0 0 0 0);
	}
	20% {
		transform: translate(-3px, 2px);
		clip-path: inset(50% 0 20% 0);
	}
	40% {
		transform: translate(2px, -1px);
		clip-path: inset(20% 0 60% 0);
	}
	60% {
		transform: translate(-2px, 1px);
		clip-path: inset(80% 0 5% 0);
	}
	80% {
		transform: translate(2px, -2px);
		clip-path: inset(30% 0 45% 0);
	}
	100% {
		transform: translate(0);
		clip-path: inset(0 0 0 0);
	}
}

@keyframes cursor-glitch-core {
	0% {
		transform: translate3d(-50%, -50%, 0) scale(1);
	}
	20% {
		transform: translate3d(calc(-50% - 3px), calc(-50% + 2px), 0) scale(1.12, 0.92);
	}
	40% {
		transform: translate3d(calc(-50% + 3px), calc(-50% - 2px), 0) scale(0.92, 1.12);
	}
	60% {
		transform: translate3d(calc(-50% - 2px), calc(-50% + 1px), 0) scale(1.08);
	}
	80% {
		transform: translate3d(calc(-50% + 2px), calc(-50% - 2px), 0) scale(0.96);
	}
	100% {
		transform: translate3d(-50%, -50%, 0) scale(1);
	}
}

@keyframes cursor-glitch-ring {
	0% {
		clip-path: inset(0 0 0 0);
	}
	25% {
		clip-path: inset(62% 0 10% 0);
	}
	50% {
		clip-path: inset(16% 0 58% 0);
	}
	75% {
		clip-path: inset(78% 0 4% 0);
	}
	100% {
		clip-path: inset(0 0 0 0);
	}
}

main {
	flex: 1 0 auto;
	min-height: 0;
}

.back-link-wrap {
	position: fixed;
	right: 1.1rem;
	bottom: calc(1.05rem + env(safe-area-inset-bottom));
	z-index: 30;
}

.back-link {
	display: inline-flex;
	align-items: center;
	padding: 0.52rem 0.95rem;
	border: 1px solid rgba(0, 0, 0, 0.32);
	border-radius: 999px;
	text-decoration: none;
	font-family: "Michroma", sans-serif;
	font-size: clamp(0.72rem, 1.3vw, 0.86rem);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #1f1f1f;
	background: rgba(255, 255, 255, 0.75);
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
	transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.back-link:hover,
.back-link:focus-visible {
	transform: translateX(-3px);
	background: rgba(255, 255, 255, 0.8);
	border-color: rgba(0, 0, 0, 0.55);
	outline: none;
}

@media (max-width: 620px) {
	body {
		padding-top: calc(4.4rem + env(safe-area-inset-top));
	}

	.back-link-wrap {
		right: 0.7rem;
		bottom: calc(0.7rem + env(safe-area-inset-bottom));
	}

	nav {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 60;
		justify-content: flex-end;
		align-items: flex-end;
		padding: calc(1rem + env(safe-area-inset-top)) 1rem;
	}

	nav::before {
		display: none;
	}

	.nav-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		position: fixed;
		top: calc(1rem + env(safe-area-inset-top));
		right: 1rem;
		z-index: 65;
	}

	.nav-mobile-links {
		display: flex;
		position: fixed;
		inset: 0;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 0.7rem;
		width: 100vw;
		max-width: 100vw;
		background: transparent;
		padding: calc(4.6rem + env(safe-area-inset-top)) 1rem 1.5rem;
		transform: scale(0.88);
		transform-origin: center center;
		opacity: 0;
		pointer-events: none;
		transition: transform 0.26s ease, opacity 0.26s ease;
	}

	nav a {
		width: auto;
		display: inline-block;
		text-align: center;
		font-size: 1.28rem;
		padding: 0.5rem 0.2rem;
		opacity: 0;
		transform: scale(0.9);
		transition: opacity 0.2s ease, transform 0.2s ease;
	}

	nav.nav-mobile-open .nav-mobile-links {
		transform: scale(1);
		opacity: 1;
		pointer-events: auto;
	}

	nav.nav-mobile-open a {
		opacity: 1;
		transform: scale(1);
	}

	nav.nav-mobile-open .nav-toggle-icon {
		background-color: transparent;
	}

	nav.nav-mobile-open .nav-toggle-icon::before {
		top: 0;
		transform: rotate(45deg);
	}

	nav.nav-mobile-open .nav-toggle-icon::after {
		top: 0;
		transform: rotate(-45deg);
	}

	nav a:hover::before,
	nav a:hover::after,
	nav a.nav-glitch-active::before,
	nav a.nav-glitch-active::after {
		content: none !important;
		animation: none !important;
	}

}

footer {
	text-align: center;
	padding: 1rem 1.5% calc(1.1rem + env(safe-area-inset-bottom));
	margin-top: auto;
	font-family: "Michroma", sans-serif;
	position: relative;
	z-index: 2;
}

.site-photo-viewer-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	opacity: 0;
	transition: opacity 260ms ease;
	z-index: 80;
}

.site-photo-viewer-overlay.is-visible {
	opacity: 1;
}

.site-photo-viewer {
	position: fixed;
	top: 50%;
	left: 50%;
	width: min(76vw, 70rem);
	height: min(74vh, 50rem);
	display: grid;
	place-items: center;
	padding: 0.75rem;
	overflow: hidden;
	border-radius: 1.1rem;
	border: 1px solid rgba(255, 255, 255, 0.28);
	background: linear-gradient(145deg, rgba(39, 18, 12, 0.66), rgba(8, 8, 8, 0.62));
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	box-shadow: 0 24px 46px rgba(0, 0, 0, 0.45);
	transform: translate(-50%, calc(-50% + 2.4rem));
	opacity: 0;
	pointer-events: none;
	transition: transform 280ms ease, opacity 280ms ease;
	z-index: 90;
}

.site-photo-viewer.is-open {
	transform: translate(-50%, -50%);
	opacity: 1;
	pointer-events: auto;
}

.site-photo-viewer-image {
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	min-width: 0;
	min-height: 0;
	object-fit: contain;
	display: block;
	border-radius: 0.75rem;
	background: rgba(0, 0, 0, 0.45);
}

body.site-photo-viewer-open {
	overflow: hidden;
}




