/* Colors */
:root {
	--purple: #5d3b8e;
	--dark-purple: #1b0041;
	--beige: #eee3b4;
	--brown: #c8a666;
	--white: #fff;
	--black: #000;
	--brown: #8b4c20;
	--cream: #fbf3b2;
	--midnight: #131443;
}

:root {
	--med: (min-width: 768px);
}

html, body {
	margin: 0;
	padding: 0;
	overflow-x: hidden; /* 🛑 prevent full-page horizontal scroll */
	font-family: sans-serif;
	scroll-behavior: smooth;
}

/* Fonts */
@font-face {
    font-family: 'cooper_lt_btbold';
    src: url('../fonts/cooper-bold-bt-webfont.woff2') format('woff2'),
         url('../fonts/cooper-bold-bt-webfont.woff') format('woff');
    font-display: swap; /* or try 'block' or 'fallback' */
    font-weight: normal;
    font-style: normal;
}

body {
	--cooper: cooper_lt_btbold, serif;
}

/* Font sizes */
@media (max-width: 768px) { 
	html { font-size: 1rem; }
	}
@media (max-width: 1024px) { 
	html { font-size: 1.5rem; }
	}
@media (min-width: 1025px) { 
	html { font-size: 2rem; }
	}
@media (min-width: 1500px) { 
	html { font-size: 3rem; }
	}

/* Links */
a,
a:focus {
  color: #fff;
}
a:hover {
  color: var(--beige);
  /*transition-duration: 1s;
  text-decoration: none;*/
}

.ticket { 
  background: var(--purple);
  color: var(--beige);
  display: inline-block;
  border-radius: 25px;
  padding: 6px 20px;
  transform: scale(120%);
  text-decoration: none;
  width: fit-content;
  margin: 10vw auto 5vw auto;
  @media (min-width: 768px) {
	  margin: 50px auto 80px auto;
  }
}

.ticket:hover {
  text-decoration: none !important;
  background: var(--purple);
  color: var(--white);
}

/* Custom default button */
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
  color: #333;
  text-shadow: none; /* Prevent inheritance from `body` */
  background-color: #fff;
  border: .05rem solid #fff;
}

body {
	background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0)), url(../img/bg25.jpg) repeat center center var(--beige);
	background-size: contain;
	background-attachment: scroll;
	margin: 0 !important;
	font-family: sans-serif;
	min-height: 100vh;
	min-height: 100dvh;
    display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

/* Mobile Nav */
.navbar {
	width: 100%;
	box-sizing: border-box;
	display: flex;
	justify-content: space-between;
	padding: 0.5rem;
	background: transparent;
	position: relative;
	z-index: 11;
	font-family: var(--cooper);
	@media (min-width: 768px) {
		justify-content: center;
	}
}

.brand img {
	height: 25px;
	width: auto;
	@media (min-width: 768px) {
		height: 35px;
		body.home & {
			height: 45px !important;
		}
	} 
}
.mobile-brand {
	@media (min-width:768px) {
		display: none;
		height: 45px;
		body.home & {
			display: block;
		}
	}
}
.full-brand {
	@media (max-width:767px) {
		display: none;
	}
	@media (min-width:768px) {
		height: 25px;
		body.home & {
			display: none;
		}
	}
}

.top-links {
	font-size: .75rem;
	display: flex;
	align-items: center;
	gap:.5rem;
	@media (min-width:768px) {
		gap: 1.5rem;
	}
}

.top-links a {
	background: url(../img/purple-halftone.jpg) repeat;
		background-clip: text;
		-webkit-background-clip: text;
		text-fill-color: transparent;
		-webkit-text-fill-color: transparent;
	text-decoration: none;
	font-weight: 500;
}

/* Hide "extra" links on mobile only */
.top-links a.extra {
	display: inline-block;
}

/* Hamburger */
.hamburger {
	display: none;
	flex-direction: column;
	cursor: pointer;
	gap: 5px;
	width: 30px;
	height: 22px;
	justify-content: center;
	position: absolute;
	top: .5rem;
	right: .5rem;
}

.hamburger span {
	width: 100%;
	height: 3px;
	background: url(../img/purple-halftone.jpg) repeat;
		background-clip: content-box;
		-webkit-background-clip: content-box;
		text-fill-color: transparent;
		-webkit-text-fill-color: transparent;
	border-radius: 2px;
	transition: 0.4s;
	position: absolute;
	left: 0;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }

/* Animate to X */
.hamburger.open span:nth-child(1) {
	transform: rotate(45deg);
	top: 9px;
}
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) {
	transform: rotate(-45deg);
	top: 9px;
}

/* Overlay menu */
.overlay {
	position: fixed;
	inset: 0;
	background: inherit;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1.5rem;
	opacity: 0;
	visibility: hidden;
	transition: 0.3s ease-in-out;
	z-index: 10;
}

.overlay a {
	background: url(../img/purple-halftone.jpg) repeat;
		background-clip: text;
		-webkit-background-clip: text;
		text-fill-color: transparent;
		-webkit-text-fill-color: transparent;
	font-family: var(--cooper);
	font-size: 1.5rem;
	text-decoration: none;
	font-weight: 600;
}

a.donate {
	background: url(../img/purple-halftone.jpg) repeat;
	color: var(--beige);
	text-fill-color: var(--beige);
	-webkit-text-fill-color: var(--beige);
	font-size: inherit;
	
	padding: 6px 20px;
	border-radius: 25px; 
	display: inline-block;
}

.overlay.active {
	opacity: 1;
	visibility: visible;
}

/* Responsive rules */
@media (max-width: 768px) {
	/* Hide extra links inline */
	.top-links a.extra {
		display: none;
	}

	/* Show hamburger */
	.hamburger {
		display: flex;
	}
}


#banner {
	padding: 0;
	width: 100%;
	overflow: hidden;
	contain: layout; /* isolate layout of banner */
}

.scroll-wrapper {
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.scroll-wrapper::-webkit-scrollbar {
	display: none;
}

.scroll-wrapper ul {
	display: flex;
	flex-wrap: nowrap;
	list-style: none;
	padding: 0;
	margin: 0;
	min-width: 100%;
	width: max-content; /* allow horizontal scroll without affecting page width */
	justify-content: center;
	text-align: center;
	font-size: 60%;
}

.scroll-wrapper li {
	flex: 0 0 auto;
	white-space: nowrap;
	padding: 10px 20px;
	margin-right: 0;
	width: 45vw;
	&:nth-child(1) {
		background: transparent;
	}
	&:nth-child(2) {
		background: black;
		color: #fff;
	}
	&:nth-child(3) {
		background: blue;
		color: #fff;
	}
}

#arc {
	z-index: -1;
	width: 50vw;
	height: 50vw;
	position: absolute;
	top: 0;
	left: 0;
	background: url(../img/arc.png) no-repeat top left;
	background-size: 100%;
	transform: rotate(180deg);
	
	@media (min-width: 1025px) {
		width: 33vw;
		height: 33vw;
	}
}

main {
	width: 100vw;
	height: auto;
	padding: 4vw 4vw 0 4vw;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	font-family: var(--cooper);
	font-weight: bold;
	text-transform: uppercase;
	color: var(--purple);
	@media (min-width: 614px) {
		padding: 4vw 10vw 0 10vw;
	}
	@media (min-width: 1025px) {  
		background-size: 33vw, 25vw;
	}
}

header {
	width: 100%;
	img {
		width: 90%;
		height: auto;
		margin: 0 auto;
		@media (min-width:500px) {
			width: 75%;
		}
		@media (min-width:768px) {
			width: 60%;
		}
	}
	h2 {
		font-size: 60%;
		text-align: center;
		margin: 1vw 0;
		background: url(../img/purple-halftone.jpg) repeat;
		background-clip: text;
		-webkit-background-clip: text;
		text-fill-color: transparent;
		-webkit-text-fill-color: transparent;
		@media (min-width: 768px) {
			font-size: 75%;
		}
	}
}

main img {
	width: 100%;
	height: auto;
	margin-bottom: 5vw;
}

#full-lineup {
	/*background-image: url(../img/arc.png), url(../img/power-lines.png);
	background-repeat: no-repeat, no-repeat;
	background-position: bottom right, bottom left;
	background-size: 50vw, 33vw;*/
	width: 100%;
	height: 100%;
	min-height: 100vh;
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 0 0 6vw 0;
	box-sizing: border-box;
}
@media (min-width: 768px) {
	#full-lineup {
		padding: 0 10%;
		background-size: 33vw, 20vw;
	}
}
	
#full-lineup ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	font-size: 60%;
	margin-bottom: 5vw;
}
@media (min-width: 768px) {
	#full-lineup ul {
		margin: 2.5vw 0;
		font-size: 80%;
	}	
}

@media (min-width: 768px) {
	#full-lineup img {
		width: 60%;
		height: auto;
		margin: 0 auto;
	}
}

#full-lineup li:after {
	content: '•';
	font-weight: 700;
	padding: 0 8px;
}
#full-lineup li a {
	background: url(../img/purple-halftone.jpg) repeat;
	background-clip: text;
	-webkit-background-clip: text;
	text-fill-color: transparent;
	-webkit-text-fill-color: transparent;
	text-decoration: none;
}
#full-lineup li a:hover {
	text-decoration: underline;
}
#full-lineup li:last-child:after, #full-lineup li.no-separator::after {
	content: '';
}
#full-lineup p {
	font-size: 50%;
	margin-bottom: 2.5vw;
}
#full-lineup .ticket {
	background: url(../img/purple-halftone.jpg) repeat;
	color: var(--beige);
	text-fill-color: var(--beige);
	-webkit-text-fill-color: var(--beige);
	font-size: 80%;
	margin: 5vw auto;
}
@media (min-width: 768px) {
	#full-lineup .ticket {
		margin: 2.5vw auto;
	}
}

#full-lineup .ticket a {
	color: var(--beige);
}

#full-lineup svg {
	fill: var(--purple);
	width: 24px;
	height: auto;
}
@media (min-width: 768px) {
	#full-lineup svg {
		width: 3vw;
	}
}

#schedule, #artists {
	h3 {
		width: 100%;
		box-sizing: border-box;
		padding: 10px;
		display: inline-block;
		background: url(../img/mimeo-bg.jpg) repeat;
		background-clip: text;
		-webkit-background-clip: text;
		text-fill-color: transparent;
		-webkit-text-fill-color: transparent;
		color: var(--purple);
		font-size: 95%;
		transform: rotate(358deg);
		text-align: center;
		@media (min-width: 674px) {
			font-size: 150%;
		}
		@media (min-width: 768px) {
			font-size: 180%;
		}
	}
}

.schedule-row, .artist-row {
  display: flex;
  gap: 1rem;
  align-items: flex-end;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.venue-block, .artist-block {
  flex: 1 1 100%;
  min-width: 280px; /* ensures good layout on small screens */
  box-sizing: border-box;
}

@media (min-width: 500px) {
  .venue-block {
    flex: 1 1 calc(50% - 1rem);
    min-width: intrinsic;
    max-width: 80%;
  }
}
/*@media (min-width: 635px) {
	.venue-block {
		max-width: 50%;
	}
}*/
@media (min-width: 1024px) {
  .venue-block {
    flex: 1 1 calc(33.333% - 1rem);
    max-width: calc(50% - 1rem);
  }
  .venue-block:nth-child(1), .venue-block:nth-child(2) {
	  flex: 1 1 calc(50% - 1rem);
  }
}
@media (min-width: 1200px) {

}

.venue-block, .artist-block {
	position: relative;
  flex: 1;
  background: transparent;
  box-sizing: border-box;
  padding: 0;
  border: 2px solid transparent;
  border-image: url(../img/mimeo-bg.jpg) 10 repeat;
  outline: 2px solid var(--midnight);
  outline-offset: 2px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  justify-content: space-between;
  min-width: 280px; /* helps layout breathe on small screens */
  &:nth-child(1) { transform: rotate(359deg); }
  &:nth-child(2) { transform: rotate(358.5deg); }
  &:nth-child(3) { transform: rotate(358deg); }
  &:nth-child(4) { transform: rotate(359deg); }
  &:nth-child(5) { transform: rotate(1deg); }
  @media(min-width: 500px) {
	  &:nth-of-type(odd) {
		  margin: 0 0 -16px -17px;
	  }
  }
  ul {
	  list-style-type: none;
	  margin: 0;
	  padding-left: 0;
	  background: url(../img/venue-bg.jpg) repeat;
  }
  li {
	  	background: url(../img/mimeo-bg.jpg) repeat;
	  	background-clip: text;
		-webkit-background-clip: text;
		text-fill-color: transparent;
		-webkit-text-fill-color: transparent;
		text-align: left;
		padding: 5px;
		line-height: 1;
		a {
			text-decoration: none;
		}
		a:hover {
			text-decoration: underline;
			text-decoration-size: 1.5px;
			text-decoration-color: var(--midnight);
		}
  }
  li:first-child {
	  background: url(../img/mimeo-bg.jpg) repeat;
	  position: relative;
	  h4, .detail, .time {
		  background: url(../img/bg25.jpg) repeat;
		  background-clip: text;
		  -webkit-background-clip: text;
		  text-fill-color: transparent;
		  -webkit-text-fill-color: transparent;
	  }
	  h4 {
		  margin: 0;
		  font-size: 70%;
	  }
	  .detail {
		  font-size: 70%;
	  }
	  .time {
		  font-size: 60%;
		  position: absolute;
		  right: 5px;
		  bottom: 5px;
	  }
	  color: var(--cream) !important;
	  a {
		  color: var(--cream);
		  text-decoration: none;
		  :hover {
			  text-decoration: underline;
		  }
	  }
  }
  li.tix { 
	  background: url(../img/mimeo-bg.jpg) repeat;
	  color: var(--beige);
	  text-fill-color: var(--beige);
		-webkit-text-fill-color: var(--beige);
	  display: inherit;
	  border-radius: 25px;
	  padding: 6px 20px;
	  transform: scale(80%);
	  text-decoration: none;
	  width: fit-content;
	  margin: 10px auto;
	  @media (min-width: 768px) {
		  margin: 15px auto;
	  }
	  a:hover {
		  transform: scale(105%)
	}
  }
}

.sold-out {
	position: absolute;
	bottom: -20px;
	right: -20px;
	background: url(../img/purple-halftone.jpg) repeat;
	border-radius: 50%;
	width: 100px;
	height: 100px;
	color: #fff;
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	transform: rotate(10deg);
	line-height: 1.2;
	font-size: 80%;
	z-index: 5;
	@media (min-width: 768px) {
		bottom: -40px;
		width: 150px;
		height: 150px;
	}
}

#artists h3 { width: auto; font-size: 150%; line-height: 1; margin-bottom: 0px; padding-bottom: 0; display: block; }
#artists h4, h5 { 
	background: url(../img/mimeo-bg.jpg) repeat;
		background-clip: text;
		-webkit-background-clip: text;
		text-fill-color: transparent;
		-webkit-text-fill-color: transparent;
		color: var(--purple);
	display: block;
	width: auto;
	font-size: 85%;
	line-height: 1;
	margin-bottom: 0;
	margin-top: 0;
	padding-bottom: 0;
	padding-top: 0;
	transform:rotate(359deg); 
}
#artists h5 { font-size: 70%; margin-bottom: -10px; }
#artists a { text-decoration: none; }
#artists h3.idyk { font-size: 80%; }
#artists img { margin-bottom: 0; }
.artist-block li { padding: 1px; }

.artist-row { 
	width: 60%;
	margin-left: auto;
	margin-right: auto;

	&:nth-child(1n) { transform: rotate(359deg); }
	&:nth-child(2n) { transform: rotate(1.2deg); }
	&:nth-child(3n) { transform: rotate(358deg); }
	&:nth-child(4n) { transform: rotate(2deg); }
	&:nth-child(5n) { transform: rotate(.5deg); }
}


#artists {
	display: flex;
	flex-direction: column;
	@media (min-width: 720px) {
		flex-wrap: wrap;
		flex-direction: row;
		justify-content: center;
		gap: 3rem;
	}
	.artist-row {
		@media (min-width: 720px) {
			flex: 1 1 calc(33% - 3rem); 
			min-width: 200px; 
			max-width: 400px;
			box-sizing: border-box;
		}
	}
}

body.venues #artists .artist-row {
	@media (min-width: 720px) {
		flex: 1 1 calc(50% - 3rem);
		max-width: 500px;
	}
}

.artist-block iframe {
	width: 100%;
	height: 300px;
	@media (min-width:1080px) {
		height: 400px;
	}
}

.map-wrapper {
	position: relative;
	width: 100%;
	height: 300px;
	overflow: hidden;
	@media (min-width:1080px) {
		height: 400px;
	}
}

.map-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	filter: saturate(0%) brightness(.9) contrast(1.2);
}

.map-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top, 
		#000000 0%, 
		#292b8d 25%, 
		#984d90 50%, 
		#d6c05a 75%, 
		#ffffff 100%
	);
	mix-blend-mode: overlay;
	opacity: 0.85;
	pointer-events: none;
}


footer {
	position: relative;
	width: 100%;
	height: auto;
	margin-top: 60px;
	svg {
		height: 50px;
		width: auto;
		margin: 0;
		@media (min-width:768px) {
			height: 40px;
		}
	}
	#contact {
		width: 100%;
		display: flex;
		flex-direction: row;
		margin-bottom: 10vw;
		gap: 3rem;
		justify-content: center;
		text-align: center;
		font-size: 75%;
		@media (min-width: 768px) {
			margin-bottom: 60px;
		}
		a {
			color: var(--purple);
			text-decoration: none;
			font-size: 75%;
			display: flex;
			flex-direction: row;
			gap: .3rem;
			align-items: center;
			&:hover {
				text-decoration: underline;
			}
		}
		p {
			@media (min-width:768px) {
				display: flex;
				flex-direction: row;
			}
		}
	}
	.contact-text {
		display: none;
		@media (min-width: 768px) {
			display: block;
		}
	}
	.fine-print {
		text-align: center;
		font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
		font-weight: 300;
		font-size: 60%;
		text-transform: capitalize
	}
}

#sponsors {
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin: 20px 0 40px 0;
	text-align: center;
	@media (min-width: 709px) {
		flex-direction: row;
		flex-wrap: wrap;
	}
	/*a {
		width: 10%;
		margin: 0 20px;
		@media (min-width: 768px) {
			width: 100px;
		}
		img {
			width: 100%;
			height: auto;
		}
	}*/
}

/* Make the entire logo area clickable */
.logo-link {
	display: inline-block;
	text-decoration: none;
	outline: none;
	cursor: pointer !important;
}
.logo-link:focus-visible {
	outline: 2px solid #005fcc;
	outline-offset: 4px;
}

.knockout {
  position: relative;
  display: inline-block;
  cursor: pointer;
  margin: 0 30px;
  max-width: 100%;
}

/* Default: Fallback first (no masking) — show the PNG normally */
.knockout img {
  height: 100px;   /* fixed height */
  width: auto;     /* width adjusts to each logo’s aspect ratio */
  max-width: 100%;
  display: block;
}
.knockout .mask {
  display: none;   /* hidden in fallback mode */
}

/* Responsive heights */
@media (min-width: 709px) {
  .knockout img { height: 100px; }
}

@media (min-width: 900px) {
  .knockout img { height: 100px; }
}

/* If masking is supported, switch to the knockout effect */
@supports ((-webkit-mask-image: url("")) or (mask-image: url(""))) {
  .knockout {
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
  }

  /* Keep the <img> for sizing but hide it visually (still occupies layout) */
  .knockout img {
    visibility: hidden;
  }

  /* Gradient fill visible only where the mask is opaque */
  .knockout .mask {
    display: block;
    position: absolute;
    inset: 0;
    background: url(../img/purple-halftone.jpg) repeat;
    pointer-events: none; /* ensure clicks hit the anchor */
  }

  /* Optional hover pop */
  .logo-link:hover .mask {
    filter: brightness(1.15);
  }
  .secondary-sponsor {
  	--sponsor-logo-size: 75px;
  }
}

.top-bar {
  position: sticky; top: 0; z-index: 1000;
  width: 100%;
  background: #111; color: #fff;
  display: flex; justify-content: center; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.95rem; font-weight: 500;
}

.top-bar[hidden] { display: none; }

.top-bar a.cta-link { color: #ffd700; font-weight: 600; text-decoration: none; }
.top-bar a.cta-link:hover { text-decoration: underline; }

/* Make sure the close button is always clickable, even if the bar is inside a big link */
.top-bar { position: sticky; } /* positioned ancestor for absolute child */
.top-bar .close-btn {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; cursor: pointer;
  color: #aaa; font-size: 1.25rem; line-height: 1; z-index: 2;
}
.top-bar .close-btn:hover { color: #fff; }

#richman {
	background: url(../img/richman-bg.jpg) repeat #000;
	background-size: contain;
	height: 100%;
	min-height: 100vh;
	width: 100%;
	/*margin-top: -10vw;*/
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 2vw 10vw 10vw 10vw;
	box-sizing: border-box;
	font-family: var(--cooper) !important;
	img {
		max-width: 90vw;
		height: auto;
		margin-bottom: 30px;
		@media (min-width: 768px) {
			max-height: 50vh;
			width: auto;
		}
	}
	h2, h3, h6 {
		text-align: center;
		color: var(--white);
		font-size: .75rem;
		
		font-weight: 100;
	}
	h2 {font-size: .9rem}
	h6 {font-size: .25rem}
	.ticket {
		background: var(--brown);
		color: var(--cream);
		@media (min-width: 768px) {
			transform: scale(75%);
			margin: 30px auto;
		}
	}
}

body.schedule #richman, body.artists #richman, body.venues #richman {
	display: none;
}
body.home #richman {
	display: flex;
}