#footer .iexplorer-badge {
	width: 88px;
	height: 31px;
	max-width: 100%;
	max-height: 100%;
	display: inline-block;
}
html, body {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

#footer {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
	display: flex;
	flex-direction: column;
	min-height: 0 !important;
	height: auto !important;
}

#footer > * {
	margin: 0 !important;
}

/* Center footer contents and prevent oversized images */
#footer{
	align-items: center;
	text-align: center;
	gap: 6px;
}

/* Limit the header/rainbow image so it can't create a huge footer */
#footer > img:first-of-type{
	max-height: 120px;
	width: auto;
	display: block;
}

/* Ensure other footer images stay constrained (except explicitly positioned ones) */
#footer img{max-width:100%;height:auto;display:inline-block}

/* Specific spacing requested by user */
#footer > img:first-of-type{
	/* rainbow line */
	max-height: 120px;
	/* reduce extra bottom gap to avoid blank space under footer */
	margin-bottom: 0 !important;
}

#page-counter{
	/* small top+bottom gap so the IE badge is spaced nicely without a large footer gap */
	margin: 18px 0 !important;
}

#footer .iexplorer-badge{
	margin-bottom: 0 !important;
}

/* Keep the absolutely positioned trashcan unaffected */
#footer #footer-trashcan{margin:0 !important}
@charset "utf-8";
/* CSS Document */

html{
	overflow-x: clip;
}

html, body{
		-webkit-font-smoothing:antialiased;
		font-family: "Comic Sans MS", sans-serif;
		line-height:1.4;
		margin: 0;
		padding: 0;
		max-width:100%;
		cursor: none; /* hide native cursor; we'll render a custom animated cursor */
}

.center{
	text-align: center;
}
.intro{
	font-size:4em;
}

.acid-trail,
.heat-trail{
 	margin: 60px 0 40px;
 	font-size: 120px;
 	letter-spacing: 4px;
 	color: #ffffff;
 	font-family: "Cooper Black", "CooperBlack", "Georgia", serif;
 	position: absolute;
 	/* center the title and constrain to content width */
 	left: 50%;
 	transform: translateX(-50%);
 	width: min(100%, 1600px);
 	max-width: 100%;
 	white-space: nowrap;
 	pointer-events: none;
 	z-index: 50;
 	line-height: 1.2;
}

/* Slightly smaller title for the videos section to avoid horizontal scrollbar */
#heat-trail-videos.heat-trail{
	font-size: 96px;
	letter-spacing: 3px;
}



.heat-trail:not(.trail):not(.lead){
	color: #ffffff !important;
	z-index: 1;
	/* Hide original heading immediately so it doesn't flash before JS positions trails */
	opacity: 0 !important;
	pointer-events: none !important;
}

.heat-trail.trail{
	color: inherit;
}

.acid-trail.trail{
	opacity: 0.8;
	animation: skullTrailFade 700ms ease-out forwards;
}

.heat-trail.trail{
	opacity: 1;
	animation: none;
	z-index: 0;
}

#heat-trail-layer{
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	/* Start hidden to prevent flash of mispositioned trails before layout settles */
	visibility: hidden;
}
#heat-trail-layer.ready{
	visibility: visible;
}

#main > *:not(#heat-trail-layer):not(.heat-trail){
	position: relative;
	z-index: 2;
}


#heat-trail-anchor{
	display: block;
	width: 0;
	height: 150px;
	overflow: hidden;
	margin-bottom: 60px;
}

#heat-trail-anchor-arcade{
	display: block;
	width: 0;
	height: 150px;
	overflow: hidden;
}

#heat-trail-anchor-2{
	display: block;
	width: 0;
	height: 150px;
	overflow: hidden;
}

#heat-trail-anchor-videos{
	display: block;
	width: 0;
	height: 150px;
	overflow: hidden;
}

@keyframes skullTrailFade{
	from{opacity:0.8}
	to{opacity:0}
}

.max { 
    display: block;
	width: 100%;
    word-wrap: break-word;
}
.bg1{
	background-image: url("../img/bg1.gif");
	background-repeat: repeat;
	background-position: top left;
	background-size: auto;
}
.bg2{
	--bg-current: url("../img/bg2.gif");
	--bg-next: url("../img/bg-water.gif");
	--bg-next-opacity: 0;
	position: relative;
	z-index: 0;
	background-image: var(--bg-current, url("../img/bg2.gif"));
	background-repeat: repeat;
	background-position: top left;
	background-size: auto;
}

.bg2::before{
	content: "";
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	background-image: var(--bg-next, url("../img/bg-water.gif"));
	background-repeat: repeat;
	background-position: top left;
	background-size: auto;
	opacity: var(--bg-next-opacity);
	transition: opacity 120ms linear;
	will-change: opacity;
	transform: translateZ(0);
	pointer-events: none;
	z-index: 0;
}

#main,
#footer{
	position: relative;
	z-index: 1;
	background: transparent;
}
a{
	color: #000000;
}
#wm-ipp #wm-ipp-inside {
  margin: 0 6px;
  border:5px solid #000;
  border-top:none;
  background-color:rgba(255,255,255,0.9);
  -moz-box-shadow:1px 1px 4px #333;
  -webkit-box-shadow:1px 1px 4px #333;
  box-shadow:1px 1px 4px #333;
  border-radius:0 0 8px 8px;
}
.container {
    width: 1000px;
    height: 100%;
    border: 2px solid black;
    box-sizing: border-box;
}
h1, h2, h3, p, a {
  color: yellow;
}
span.line{
  color: red;
}
.cursor{
    cursor: url(https://i.imgur.com/RUE567I.gif), auto;
}

/* @group Blink */
.blink {
	-webkit-animation: blink .75s linear infinite;
	-moz-animation: blink .75s linear infinite;
	-ms-animation: blink .75s linear infinite;
	-o-animation: blink .75s linear infinite;
	 animation: blink .75s linear infinite;
}
@-webkit-keyframes blink {
	0% { opacity: 1; }
	50% { opacity: 1; }
	50.01% { opacity: 0; }
	100% { opacity: 0; }
}
@-moz-keyframes blink {
	0% { opacity: 1; }
	50% { opacity: 1; }
	50.01% { opacity: 0; }
	100% { opacity: 0; }
}
@-ms-keyframes blink {
	0% { opacity: 1; }
	50% { opacity: 1; }
	50.01% { opacity: 0; }
	100% { opacity: 0; }
}
@-o-keyframes blink {
	0% { opacity: 1; }
	50% { opacity: 1; }
	50.01% { opacity: 0; }
	100% { opacity: 0; }
}
@keyframes blink {
	0% { opacity: 1; }
	50% { opacity: 1; }
	50.01% { opacity: 0; }
	100% { opacity: 0; }
}
/* @end */

/* Custom animated cursor element */
#custom-cursor{
	position: fixed;
	top: 0;
	left: 0;
	width: auto; /* size will be set from image natural dimensions */
	height: auto;
	pointer-events: none;
	transform: translate3d(-50%, -50%, 0);
	will-change: transform;
	z-index: 9999;
	display: none; /* hidden until JS initializes */
}
#custom-cursor img{
	width: 100%;
	height: 100%;
	display: block;
	pointer-events: none; /* ensure images don't block clicks */
}

/* Individual trail pieces */
.cursor-trail{
	position: fixed;
	top: 0;
	left: 0;
	width: auto; /* size will be set from image natural dimensions */
	height: auto;
	pointer-events: none;
	transform: translate3d(-50%, -50%, 0);
	will-change: transform, opacity;
	z-index: 9998;
	opacity: 0.95; /* more visible trail */
	transition: opacity 200ms linear;
}
.cursor-trail img{ width:100%; height:100%; display:block; pointer-events: none; }

/* Hide custom cursor on touch devices where a native cursor isn't used */
@media (hover: none), (pointer: coarse) {
	#custom-cursor{ display: none !important; }
	html, body { cursor: auto; }
}

/* Calibration overlay */
#cursor-calibrator{
	position: fixed;
	right: 12px;
	bottom: 12px;
	background: rgba(0,0,0,0.75);
	color: #fff;
	font-family: Arial, sans-serif;
	font-size: 12px;
	padding: 8px 10px;
	border-radius: 6px;
	z-index: 10001;
	pointer-events: auto;
	user-select: none;
}
#cursor-calibrator button{ margin-left:6px; font-size:11px; }

/*for footer*/
#main{
	min-height: 0 !important;
	height: auto !important;
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
	flex: 1 0 auto; /* allow main to grow and push footer to bottom */
}

body{
	display: flex !important;
	flex-direction: column !important;
	min-height: 100vh;
}

.site-header{
	position: relative;
	width: 100%;
	height: 250px;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 110;
	pointer-events: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

/* ---- header nav links ---- */
.header-nav{
	display: flex;
	align-items: center;
	gap: 32px;
	pointer-events: auto;
	z-index: 130;
	flex: 1;
	max-width: calc((1250px - 220px) / 2);
}

#header-nav{
	justify-content: flex-start;
}

#header-nav-right{
	justify-content: flex-end;
	gap: 40px;
}

.header-link{
	font-family: "Cooper Black", "CooperBlack", "Georgia", serif;
	font-size: 24px;
	text-decoration: none;
	text-transform: lowercase;
	letter-spacing: 1px;
	cursor: pointer;
	user-select: none;
	transition: color 0s;
	animation: navHeatCycle 2.4s linear infinite alternate;
}

/* Stagger the 6 links so they don't all flash the same color */
.header-link:nth-child(1){ animation-delay: 0s; }
.header-link:nth-child(2){ animation-delay: -0.4s; }
.header-link:nth-child(3){ animation-delay: -0.8s; }
#header-nav-right .header-link:nth-child(1){ animation-delay: -1.2s; }
#header-nav-right .header-link:nth-child(2){ animation-delay: -1.6s; }
#header-nav-right .header-link:nth-child(3){ animation-delay: -2.0s; }

.header-link:hover{
	color: #ffffff !important;
	animation: none;
}

@keyframes navHeatCycle{
	0%      { color: #fbf97e; }
	5.56%   { color: #f7f849; }
	11.11%  { color: #e9fe21; }
	16.67%  { color: #e4ff01; }
	22.22%  { color: #ecef00; }
	27.78%  { color: #f9d400; }
	33.33%  { color: #ffb400; }
	38.89%  { color: #ff8800; }
	44.44%  { color: #ff5800; }
	50.00%  { color: #f13f04; }
	55.56%  { color: #e53316; }
	61.11%  { color: #e4273d; }
	66.67%  { color: #fa1677; }
	72.22%  { color: #fe00a3; }
	77.78%  { color: #a400bd; }
	83.33%  { color: #710ea6; }
	88.89%  { color: #331c75; }
	94.44%  { color: #001a54; }
	100%    { color: #001a54; }
}

/* ---- header lightning divider ---- */
.header-lightning{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 35px;
	background: url('../img/header-lightning2.gif') repeat-x left center;
	background-size: auto 35px;
	z-index: 140;
	pointer-events: none;
}

#main > .site-header{
	position: relative !important;
	top: auto !important;
	left: auto !important;
	right: auto !important;
	bottom: auto !important;
	inset: auto !important;
}

.wiz-intro{
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 22px;
	margin-bottom: 24px;
	margin-top: -50px;
	position: relative;
	z-index: 100;
}

.wiz-glitch{
	position: relative;
	width: min(92vw, 1400px);
	line-height: 0;
}

.wiz-layer{
	display: block;
	width: 100%;
	height: auto;
}

.wiz-main{
	position: relative;
	z-index: 1;
}

.wiz-purple,
.wiz-green{
	position: absolute;
	inset: 0;
	opacity: 0.6;
	pointer-events: none;
	will-change: transform, opacity;
	animation-duration: 90ms;
	animation-timing-function: steps(1, end);
	animation-iteration-count: infinite;
	animation-direction: alternate;
}

.wiz-purple{
	z-index: 2;
	mix-blend-mode: screen;
	animation-name: wizGlitchPurple;
}

.wiz-green{
	z-index: 3;
	mix-blend-mode: screen;
	animation-name: wizGlitchGreen;
}

.wiz-copy{
	margin: 0;
	font-family: "Comic Sans MS", "Comic Sans", cursive;
	font-size: clamp(16px, 1.35vw, 24px);
	color: yellow;
	text-align: center;
}

.wiz-copy-lead{
	display: inline-block;
	font-family: "Cooper Black", "CooperBlack", "Georgia", serif;
	font-size: 1.75em;
	color: #ffffff;
}

@keyframes wizGlitchPurple{
	0% { transform: translateX(2px); opacity: 0.55; }
	20% { transform: translateX(-4px); opacity: 0.6; }
	35% { transform: translateX(8px); opacity: 0.7; }
	55% { transform: translateX(18px); opacity: 0.56; }
	70% { transform: translateX(5px); opacity: 0.5; }
	100% { transform: translateX(10px); opacity: 0.66; }
}

@keyframes wizGlitchGreen{
	0% { transform: translateX(5px); opacity: 0.45; }
	20% { transform: translateX(12px); opacity: 0.52; }
	35% { transform: translateX(-2px); opacity: 0.62; }
	55% { transform: translateX(-14px); opacity: 0.47; }
	70% { transform: translateX(3px); opacity: 0.5; }
	100% { transform: translateX(-4px); opacity: 0.58; }
}

.logo-orbit{
	position: relative;
	width: 220px;
	height: 220px;
	will-change: transform;
	transform: translate3d(0, 0, 0);
	pointer-events: none;
	z-index: 120;
}

.site-logo{
	width: 250px;
	height: 250px;
	max-width: 250px;
	max-height: 250px;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	image-rendering: auto;
	filter: none;
	z-index: 130;
	/* Hide the static white logo — the first heat-trail SVG clone (#ffffff)
	   serves as the leading logo and follows the orbit path precisely. */
	opacity: 0 !important;
	pointer-events: none !important;
}

.logo-trail-svg{
	/* anchor the trail SVG inside the header instead of the viewport
	   so it scrolls away with the header like before */
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	pointer-events: none;
	filter: none;
	opacity: 1;
	will-change: transform;
	z-index: 20;
}

#footer{
	position: relative;
	overflow: hidden;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
}
#homepage-spacer-fix { display: none !important; height: 0 !important; margin: 0 !important; padding: 0 !important; }

#footer p{
	margin: 0;
}

#footer br{
	display: none;
}

#footer-trashcan{
	position: absolute;
	top: 8px;
	right: 14px;
	width: 55px;
	height: 55px;
	image-rendering: pixelated;
	user-select: none;
	pointer-events: none;
	z-index: 4;
}

/* Portfolio grid */
.portfolio-grid{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	margin: 18px auto;
	max-width: 680px;
	padding: 6px;
}

/* Temporary: hide the portfolio grid while working */
.portfolio-tile{
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 6px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* Tattoo collage */
.tattoo-collage{
	width: 100%;
	margin: 16px auto 28px;
	position: relative; /* allow absolute decorations to sit on top */
	column-width: 350px;
	column-gap: 8px;
	max-width: 1600px;
}

.tattoo-collage:nth-of-type(2){
	margin-top: 60px;
}

#heat-trail-2 + .tattoo-collage{
	margin-top: 80px;
}

#heat-trail-arcade + .tattoo-collage{
	margin-top: 80px;
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	justify-content: center;
	overflow-x: visible;
	max-width: 1900px;
}

#heat-trail-videos + .tattoo-collage{
	margin-top: 80px;
}

#heat-trail-arcade + .tattoo-collage img{
	max-width: 150px;
}

.tattoo-collage img{
	width: 100%;
	height: auto;
	display: block;
	break-inside: avoid;
	margin: 0 0 16px;
	border-radius: 6px;
	background: transparent;
}

.secret-drag-tile{
	position: relative;
	display: block;
	break-inside: avoid;
	margin: 0 0 16px;
}

.secret-drag-tile .secret-under-image{
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	object-fit: contain !important;
	border-radius: 6px;
	opacity: 0;
	pointer-events: none;
	z-index: 1;
}

.secret-drag-tile.is-dragging .secret-under-image{
	opacity: 1;
}

.secret-drag-tile .secret-top-image{
	position: relative;
	z-index: 2;
	margin: 0;
	touch-action: none;
	cursor: grab;
	will-change: transform;
}

.secret-drag-tile.is-dragging .secret-top-image{
	cursor: grabbing;
}

/* Computer link in collage should display at natural size */
.tattoo-collage a.computer-link{
	display: inline-block;
	position: relative;
	margin: 150px 0 16px;
	break-inside: avoid;
	width: auto !important;
}

.tattoo-collage a.computer-link .computer{
	display: block;
	width: auto;
	height: auto;
	transform-origin: center center;
}

.tattoo-collage a.computer-link .portal-overlay{
	position: absolute;
	left: 50%;
	top: 50%;
	width: 365px;
	height: 363px;
	transform: translate(-50%, -50%) rotate(0deg);
	transform-origin: center center;
	pointer-events: none;
	opacity: 0;
	transition: opacity 200ms ease;
	z-index: 2;
}

.tattoo-collage a.computer-link:hover .portal-overlay{
	opacity: 1;
	animation: spin-portal 7s linear infinite;
}

.tattoo-collage a.computer-link:hover img.computer{
	animation: spin 2s linear infinite;
}

/* Video thumbnail styles */
.video-thumbnail{
	position: relative;
	display: inline-block;
	width: 100%;
	aspect-ratio: 16 / 9;
	break-inside: avoid;
	margin: 0 0 16px;
	cursor: pointer;
	overflow: hidden;
	border-radius: 6px;
	background: #1a1a1a;
}

.video-poster{
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	transition: opacity 200ms ease;
	background: #1a1a1a;
}

.video-thumbnail:hover .video-poster{
	opacity: 0.8;
}

.video-play-icon{
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	font-size: 64px;
	color: #fff;
	text-shadow: 0 2px 8px rgba(0,0,0,0.7);
	pointer-events: none;
	transition: transform 200ms ease;
}

.video-thumbnail:hover .video-play-icon{
	transform: translate(-50%, -50%) scale(1.1);
}

/* Video lightbox modal */
.video-lightbox{
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(0,0,0,0.85);
	z-index: 99999;
	transition: opacity 0.3s ease;
	cursor: pointer;
}

.video-lightbox.visible{
	display: flex;
	opacity: 1;
}

.video-lightbox-content{
	position: relative;
	max-width: 90vw;
	max-height: 90vh;
	cursor: default;
}

.video-lightbox video{
	max-width: 90vw;
	max-height: 90vh;
	min-width: min(800px, 90vw);
	width: auto;
	height: auto;
	display: block;
	border: 2px solid #6e00ff;
	box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.video-lightbox-close{
	position: absolute;
	top: -40px;
	right: 0;
	background: transparent;
	border: none;
	color: #90ff00;
	font-size: 36px;
	cursor: pointer;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 200ms ease;
}

.video-lightbox-close:hover{
	transform: scale(1.2);
}

.portfolio-tile.tile1{ background: #FF6B6B; }
.portfolio-tile.tile2{ background: #FFD93D; }
.portfolio-tile.tile3{ background: #6BCB77; }
.portfolio-tile.tile4{ background: #4D96FF; }
.portfolio-tile.tile5{ background: #9B5DE5; }
.portfolio-tile.tile6{ background: #F15BB5; }
.portfolio-tile.tile7{ background: #00B4D8; }
.portfolio-tile.tile8{ background: #FFA69E; }
.portfolio-tile.tile9{ background: #8AC926; }

@media (max-width: 520px) {
	.portfolio-grid{ grid-template-columns: repeat(2, 1fr); }
}

/* Placeholder shown when dragging a tile */
.portfolio-placeholder{
	border-radius:6px;
	background: rgba(0,0,0,0.08);
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
}

/* Slot wrapper for tile6 so a secret image can sit underneath */
.portfolio-slot{
	position: relative;
	border-radius: 6px;
	aspect-ratio: 1 / 1;
	overflow: hidden;
}
.portfolio-slot .portfolio-tile{ position: relative; z-index: 2; width:100%; height:100%; }
.secret-image{
	position: absolute;
	inset: 0;
	display:flex;
	align-items:center;
	justify-content:center;
	z-index: 1;
	color: rgba(255,255,255,0.9);
	background: linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.35));
	font-weight: bold;
	letter-spacing: 0.6px;
}

/* Decoration styles removed per user request. */
/* Any `.decoration` rules were intentionally deleted to provide a clean slate while
   leaving the image assets in `img/decoration/` untouched. */

/* Footer: center IE explorer badge with 20px top margin */
#footer .iexplorer-badge{
	display: block;
	margin: 20px auto 0;
}

/* Ensure footer images don't add unexpected bottom gap */
#footer > img { display: block; margin: 0 auto; padding: 0; }

/* Remove any accidental bottom padding on body */
body { margin-bottom: 0 !important; padding-bottom: 0 !important; }

#footer-baby{
	position: absolute;
	left: 0;
	top: 0;
	width: 48px;
	height: 48px;
	background-image: url("../img/baby-sprite.png");
	background-repeat: no-repeat;
	background-size: auto;
	image-rendering: pixelated;
	will-change: transform;
	pointer-events: auto;
	touch-action: none;
	cursor: grab;
	user-select: none;
	z-index: 5;
}

#footer-baby.is-held{
	cursor: grabbing;
}

.audio-toggle{
	position: absolute;
	top: 14px;
	right: 78px;
	width: 44px;
	height: 44px;
	background-image: url("../img/audiocontrols.png");
	background-repeat: no-repeat;
	background-size: 100% 200%;
	background-position: 0 0;
	border: none;
	padding: 0;
	cursor: pointer;
	image-rendering: pixelated;
	z-index: 6;
}

.audio-toggle.is-off{
	background-position: 0 100%;
}

.audio-toggle.hidden{
	display: none;
}

/* Page counter (image digits) placed between computer and IE badge */
#page-counter{
	display: inline-block;
	text-align: center;
	margin: 8px 0;
}
#page-counter img.page-counter-digit{
	display: inline-block;
	vertical-align: middle;
	margin: 0 2px;
	height: auto; /* use image natural height */
	width: auto;  /* use image natural width */
}

/* Footer: spin on hover for computer image (no glow) */
#footer img.computer{
	display: inline-block;
	transform-origin: center;
}
#footer img.computer:hover{
	animation: spin 2s linear infinite;
}

/* Wrapper for computer so we can overlay a portal image on hover */
#footer a.computer-link{
	display: inline-block;
	position: relative;
	margin: 20px 0; /* larger margins so the portal has room */
}

#footer a.computer-link .computer{
	display: block;
	transform-origin: center center;
}

/* Portal overlay: use the portal's actual size and center it exactly */
#footer a.computer-link .portal-overlay{
	position: absolute;
	left: 50%;
	top: 50%;
	width: 365px;
	height: 363px;
	transform: translate(-50%, -50%) rotate(0deg);
	transform-origin: center center;
	pointer-events: none;
	opacity: 0;
	transition: opacity 200ms ease;
	z-index: 2;
}

/* Keyframes that preserve the translate so the portal stays centered while rotating */
@keyframes spin-portal {
	from { transform: translate(-50%, -50%) rotate(0deg); }
	to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Show portal and spin it slower than the computer when hovering the link */
#footer a.computer-link:hover .portal-overlay{
	opacity: 1;
	animation: spin-portal 7s linear infinite;
}

/* Ensure computer spins when hovering the link (not just the image) */
#footer a.computer-link:hover img.computer{
	animation: spin 2s linear infinite;
}
@keyframes spin {
	to { transform: rotate(360deg); }
}

/* In-page modal overlay styled to use 98.css window inside */
.modal-overlay{
	position: fixed !important;
	inset: 0 !important;
	display: none !important;
	align-items: center !important;
	justify-content: center !important;
	background: rgba(0,0,0,0.45) !important;
	z-index: 100000 !important;
	transition: opacity .18s ease !important;
	visibility: hidden !important;
}
.modal-overlay.visible{ 
	display: flex !important;
	opacity: 1 !important;
	visibility: visible !important;
}
.modal-overlay .window{ width: 740px; max-width: calc(100% - 40px); box-sizing: border-box; }
.modal-overlay .title-bar{ cursor: move; }

/* ── Contact modal — hot pink accent ──────────────────────────── */
.contact-window { width: 600px !important; }
.contact-body {
	background: #0a0a0a;
	padding: 20px !important;
	font-family: "Comic Sans MS", "Comic Sans", cursive;
	color: #e9e9e9;
}
.contact-hint {
	color: #ff69b4;
	margin: 0 0 16px;
	font-size: 14px;
}
.contact-form label {
	display: block;
	margin-bottom: 12px;
	color: #e9e9e9;
	font-size: 13px;
}
.contact-form input[type="email"],
.contact-form input[type="text"],
.contact-form textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 8px;
	border: 1px solid #ff1493;
	background: #0f0f0f;
	color: #eee;
	font-family: inherit;
	font-size: 13px;
	margin-top: 4px;
}
.contact-form input[type="email"]:focus,
.contact-form input[type="text"]:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: #ff69b4;
	box-shadow: 0 0 6px rgba(255,20,147,0.4);
}
.contact-form textarea {
	min-height: 100px;
	resize: vertical;
}
.contact-captcha-row {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 10px 0;
	flex-wrap: wrap;
}
.contact-captcha-label {
	color: #e9e9e9;
	font-size: 13px;
	width: 100%;
}
.contact-captcha-image {
	height: 50px;
	width: auto;
	border: 1px solid #ff1493;
	border-radius: 3px;
	image-rendering: auto;
}
#contact-captcha-answer {
	width: 140px;
	padding: 6px;
	border: 1px solid #ff1493;
	background: #0f0f0f;
	color: #eee;
	font-family: monospace;
	font-size: 16px;
	text-transform: uppercase;
	letter-spacing: 3px;
}
#contact-captcha-refresh {
	padding: 6px 8px;
	border: 1px solid #ff1493;
	background: #111;
	color: #ff69b4;
	cursor: pointer;
	font-size: 14px;
}
#contact-captcha-refresh:hover { background: #1a1a1a; }
@keyframes contact-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
#contact-captcha-refresh.spin { animation: contact-spin 0.6s linear; }

.contact-form-actions {
	margin-top: 12px;
}
.contact-submit {
	background: #ff1493 !important;
	color: #fff !important;
	border: 1px solid #ff69b4 !important;
	padding: 8px 24px;
	cursor: pointer;
	font-family: inherit;
	font-size: 14px;
	font-weight: bold;
}
.contact-submit:hover {
	background: #ff69b4 !important;
}
.contact-status {
	margin-top: 10px;
	font-size: 13px;
	min-height: 18px;
	color: #ff69b4;
}
.contact-status.success { color: #39ff14; }
.contact-status.error { color: #ff4444; }
.contact-alt-email {
	color: #888;
	font-size: 12px;
	margin: 14px 0 0;
	text-align: center;
}

/* Small, scoped override to ensure final footer gap is 5-10px on homepage only
   Scoped to `body.center` to avoid affecting other pages that may include legacy rules. */
body.center #footer{
	padding-bottom: 8px !important;
}

body.center #footer .iexplorer-badge{
	display: block !important;
	margin: 0 auto 8px !important;
}

/* Diagnostic decoration grid (used for verifying all decoration gifs are present) */
#dec-test-grid{
	display:flex;
	flex-wrap:wrap;
	gap:8px;
	padding:8px 6px;
	align-items:center;
	justify-content:flex-start;
	background: rgba(0,0,0,0.03);
	border-bottom: 1px dashed rgba(255,255,255,0.04);
}
.dec-test-cell{ width:72px; height:72px; display:flex; align-items:center; justify-content:center; box-sizing:border-box; }
/* Diagnostic grid no longer styles `.decoration` elements since decorations were removed.
	The grid cell sizing remains in case you want to repurpose the diagnostic component. */
.dec-test-cell img{ max-width:64px; max-height:64px; width:auto; height:auto; display:block; }

/* --- Force non-responsive layout but avoid intermittent horizontal scrollbar --- */
html, body {
	min-width: 1200px !important;
	/* clip instead of showing a scrollbar when tiny overflow occurs */
	overflow-x: clip !important;
}

/* Use border-box globally to avoid 100vw overflow caused by element widths */
html { box-sizing: border-box; }
, *:before, *:after { box-sizing: inherit; }

/* Utility: elements marked with `hidden` should be removed from layout */
.hidden { display: none !important; }

/* Prevent images from scaling responsively so collage layout remains fixed */
img {
	max-width: none !important;
	height: auto !important;
}

/* Ensure diagnostic grid remains interactive but is not used as a content target */
#dec-test-grid img { pointer-events: auto; }

/* (removed forced header override — header will use its original positioning) */

/* Temporary debug helpers: add `debug-footer` to the <body> to outline footer children
   Usage: open DevTools Console and run `document.body.classList.add('debug-footer')`
   Remove it with `document.body.classList.remove('debug-footer')` when done. */
body.debug-footer #footer > *{
	outline: 2px solid rgba(255,0,0,0.6);
}
body.debug-footer #footer{
	outline: 2px dashed rgba(0,255,0,0.6);
}


/* === Static layout overrides ===
   Locks the site to fixed widths and prevents responsive rules from collapsing collages
   into narrow grids. These rules intentionally use `!important` to override media
   queries elsewhere in the codebase. */

/* Force the page canvas to a desktop width but center it on any screen */
html, body {
	overflow-x: clip !important;
}

#main {
	width: 1920px !important;
	max-width: 1920px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
}

#footer {
	width: 100% !important;
	max-width: 100% !important;
	margin-left: auto !important;
	margin-right: auto !important;
	position: relative;
}

/* Tattoo / illustration / video collages: fixed container width */
.tattoo-collage {
	width: 1600px !important;
	max-width: 1600px !important;
	column-width: 350px !important;
	column-gap: 8px !important;
	display: block !important;
}

/* Arcade section uses the same collage class — keep images in a single horizontal row */
#heat-trail-arcade + .tattoo-collage {
	width: 1650px !important;
	max-width: 1650px !important;
	display: flex !important;
	flex-wrap: nowrap !important;
	gap: 16px !important;
	align-items: flex-start !important;
	justify-content: flex-start !important;
	overflow: visible !important;
	padding: 8px 12px !important;
}

/* Ensure arcade thumbnails stay reasonably sized while container remains wide */
#heat-trail-arcade + .tattoo-collage img {
	max-width: 150px !important;
	width: auto !important;
	flex: 0 0 auto !important;
}

/* Keep images from breaking inside column containers */
.tattoo-collage img{
	display: block !important;
	break-inside: avoid !important;
}

/* Decoration GIF overlays — override collage image rules so they display at natural size */
.tattoo-collage img.dec-decoration {
	position: absolute !important;
	width: auto !important;
	height: auto !important;
	max-width: none !important;
	max-height: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: 0 !important;
	break-inside: auto !important;
	display: block !important;
	z-index: 50;
	pointer-events: auto;
}

/* Decoration overlays inside the intro section */
.wiz-intro img.dec-decoration {
	position: absolute !important;
	width: auto !important;
	height: auto !important;
	max-width: none !important;
	max-height: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: 0 !important;
	display: block !important;
	z-index: 50;
	pointer-events: auto;
}


