:root {
	--green: rgb(174, 200, 44);
	--green-dark: rgb(140, 165, 30);
	--black: rgb(0, 0, 0);
	--white: rgb(255, 255, 255);
	--off-white: rgb(255, 254, 243);
	--gray-600: rgb(102, 102, 102);
	--gray-300: rgb(204, 204, 204);
	--orange-accent: rgb(255, 145, 77);
	--cyan-accent: rgb(0, 196, 204);
	--pink-accent: rgb(230, 0, 126);
	--font-display: "Jost", "Inter", "Noto Sans", system-ui, sans-serif;
	--font-body: "Noto Sans", "Inter", system-ui, sans-serif;
	--header-h: 117px;
	--sidebar-w: 48%;
	--main-w: 52%;
}

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

html, body {
	height: 100%;
}

body {
	font-family: var(--font-body);
	color: var(--black);
	background: var(--white);
	line-height: 1.66;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

/* ── HEADER / GREEN BAR ── */
.site-header {
	flex-shrink: 0;
	position: relative;
	z-index: 100;
	height: var(--header-h);
}

.green-bar {
	display: flex;
	align-items: center;
	height: 100%;
	background: var(--green);
	padding: 0 32px;
	position: relative;
}

/* ── LOGO IN HERO (behind #11) ── */
.header-logo {
	height: 1.4em;
	width: auto;
	display: block;
}

.star-unit {
	position: relative;
	display: inline-block;
	color: var(--black);
	vertical-align: middle;
}

.star-unit .header-logo {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 0;
	height: 1.5em;
}

.star-unit > *:not(.header-logo) {
	position: relative;
	z-index: 1;
}

/* ── HERO TEXT IN HEADER ── */
.header-hero {
	font-family: var(--font-display);
	font-size: 91px;
	font-weight: 700;
	color: var(--off-white);
	line-height: 1;
	white-space: nowrap;
	letter-spacing: 0.01em;
}

.header-hero .hh-number {
	color: var(--black);
	position: relative;
	z-index: 1;
}

/* ── NAV ── */
.site-nav {
	display: flex;
	gap: 24px;
	align-items: center;
	margin-left: 32px;
}

.site-nav a {
	text-decoration: none;
	color: var(--off-white);
	font-size: 1.16rem;
	font-weight: 400;
	padding: 0;
	border-radius: 0;
	background: none;
	transition: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
	text-decoration: underline;
}

.site-nav a.active {
	text-decoration: underline;
}

/* ── PER-PAGE NAV THEME ── */
.site-header[data-active-page="home"] .green-bar {
	background: var(--green);
}
.site-header[data-active-page="show"] .green-bar {
	background: var(--orange-accent);
}
.site-header[data-active-page="looking-for"] .green-bar {
	background: var(--cyan-accent);
}
.site-header[data-active-page="songlist"] .green-bar {
	background: var(--pink-accent);
}

/* ── MAIN (flex host for pages) ── */
main {
	flex: 1;
	display: flex;
	overflow: hidden;
	position: relative;
}

/* ── PAGES (slide switcher) ── */
.page {
	display: none;
	align-items: stretch;
	background: var(--white);
	position: relative;
}

.page.active {
	display: flex;
	flex: 1;
	width: 100%;
	min-height: 0;
}

.page-inner {
	display: flex;
	width: 100%;
	flex: 1;
	min-height: 0;
	overflow-y: auto;
}

.page-sidebar {
	width: var(--sidebar-w);
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.page-main {
	width: var(--main-w);
	display: flex;
	flex-direction: column;
	padding: 32px 60px 70px 48px;
}

/* ── SONGLIST: full width on desktop ── */
#songlist .page-inner {
	display: block;
}

#songlist .page-sidebar {
	display: none;
}

#songlist .page-main {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
}

/* ── SIDEBAR PHOTOS ── */
/* ── SIDEBAR PHOTOS (circle cutout) ── */
.sidebar-photo-wrap {
	position: absolute;
	width: 504px;
	height: 504px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	clip-path: circle(50%);
	overflow: hidden;
	z-index: 1;
}

.sidebar-photo {
	position: absolute;
	object-fit: cover;
	width: 100%;
	height: 100%;
}

/* ── FLOURISHES (decorative SVG) ── */
.page-flourish {
	position: absolute;
	z-index: 0;
	pointer-events: none;
}

.page-flourish--about {
	top: 60px;
	left: 60px;
	width: 180px;
	height: 180px;
}

.page-flourish--show {
	top: 60px;
	left: 60px;
	width: 140px;
	height: 140px;
}

.page-flourish--looking {
	bottom: 60px;
	left: 60px;
	width: 180px;
	height: 180px;
}

.deco-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

/* ── SECTION HEADINGS ── */
.about-heading,
.section-heading {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 46.85px;
	letter-spacing: normal;
	line-height: 1.2;
	margin-bottom: 0.5em;
	text-align: center;
}

.about-heading {
	color: var(--green);
}

.heading-show {
	color: var(--orange-accent);
}

.heading-looking {
	color: var(--cyan-accent);
}

.heading-songlist {
	color: var(--pink-accent);
}

/* ── CONTENT ── */
.content p {
	font-size: 1.16rem;
	margin-bottom: 1.2em;
	max-width: 42em;
}

.content strong {
	font-weight: 700;
}

.cta {
	font-weight: 700 !important;
	color: var(--green-dark);
	font-size: 1.15rem !important;
}

.section-intro {
	margin-bottom: 1.5em;
}

/* ── SET BADGES ── */
.set-list {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 20px 0;
	padding: 0;
}

.vibes {
	font-size: 1.15rem !important;
	font-weight: 700 !important;
	letter-spacing: -0.01em;
}

/* ── CRITERIA ── */
.criterion {
	margin-bottom: 32px;
}

.criterion h3 {
	font-size: 1.1rem;
	font-weight: 700;
	margin-bottom: 14px;
	line-height: 1.4;
}

.criterion p {
	font-size: 1.05rem;
	margin-bottom: 10px;
}

/* ── SONG TABLE ── */
.song-table-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border-radius: 8px;
	border: 1px solid var(--gray-300);
	margin-top: 20px;
}

.song-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
}

.song-table th {
	background: var(--black);
	color: var(--off-white);
	font-weight: 600;
	text-align: left;
	padding: 12px 16px;
	position: sticky;
	top: 0;
	font-size: 0.95rem;
}

.song-table td {
	padding: 10px 16px;
	border-bottom: 1px solid #eee;
	vertical-align: top;
}

.song-table tbody tr:hover {
	background: rgba(174, 200, 44, 0.08);
}

.song-table a {
	color: var(--green-dark);
	text-decoration: none;
	font-weight: 500;
}

.song-table a:hover {
	text-decoration: underline;
}

/* ── FOOTER ── */
.site-footer {
  flex-shrink: 0;
  background: var(--black);
  color: var(--off-white);
  padding: 6px 32px;
  text-align: center;
  font-size: 0.67rem;
  line-height: 1.6;
}

.footer-content {
	max-width: 1000px;
	margin: 0 auto;
}

.footer-content p {
	margin: 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
	.header-hero {
		font-size: 72px;
	}
}

@media (max-width: 1024px) {
	.page-inner {
		flex-direction: column;
	}

	.page-sidebar {
		width: 100%;
		min-height: 40vh;
		max-height: 50vh;
	}

	.page-main {
		width: 100%;
		padding: 40px 24px;
	}

	.sidebar-photo-wrap {
		width: 300px;
		height: 300px;
	}

	.site-header .green-bar {
		padding: 0 16px;
	}
}

@media (max-width: 900px) {
	.header-hero {
		font-size: 48px;
	}

	.site-nav a {
		font-size: 1rem;
	}
}

@media (max-width: 768px) {
	:root {
		--header-h: auto;
	}

	.green-bar {
		flex-wrap: wrap;
		height: auto;
		padding: 8px 16px;
		gap: 6px 0;
	}

	.site-nav {
		position: static;
		transform: none;
		opacity: 1;
		pointer-events: auto;
		flex-direction: row;
		flex-wrap: wrap;
		gap: 8px 16px;
		padding: 4px 0 2px;
		background: none;
		margin-left: 0;
		width: 100%;
		justify-content: center;
	}

	.site-nav a {
		padding: 2px 0;
		font-size: 0.9rem;
	}

	.page-sidebar {
		min-height: 35vh;
		max-height: 45vh;
	}

	.page-main {
		padding: 32px 20px;
	}

	.content p {
		font-size: 1rem;
	}

  .about-heading,
  .section-heading {
    font-size: 32px;
    text-align: center;
  }

	.header-hero {
		font-size: 32px;
	}

	.footer-content {
		font-size: 0.67rem;
		padding: 0 12px;
	}
}

@media (max-width: 480px) {
	:root {
		--header-h: 70px;
	}

	.green-bar {
		padding: 0 12px;
	}

	.header-hero {
		font-size: 22px;
	}

	.page-sidebar {
		min-height: 30vh;
		max-height: 40vh;
	}

	.page-main {
		padding: 24px 16px;
	}

	.set-list {
		flex-direction: column;
	}

	.site-footer {
		padding: 10px 16px;
		font-size: 0.6rem;
	}
}
