/*
Theme Name: Feedback Music Lounge
Author: Feedback Music Lounge
Description: Custom theme for Feedback Music Lounge, one live music room in historic downtown Dickson, Tennessee. Photography-led, no page builder.
Version: 1.1.13
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: feedback-music-lounge
Tags: entertainment, custom-menu, featured-images, one-column, translation-ready

Fonts are a geometric system stack (Avenir Next, Century Gothic, Segoe UI, Helvetica). No font CDN.
*/

:root {
	color-scheme: dark;
	--fml-bg: #070708;
	--fml-bg-2: #101014;
	--fml-text: #f4f4f6;
	--fml-muted: #c9c9d2;
	--fml-neon: #ff8aa3;
	--fml-neon-deep: #ff5c7e;
	--fml-blue: #8fd4ff;
	--fml-line: rgba(255, 255, 255, 0.14);
	--fml-button: #ff7a96;
	--fml-button-text: #1a050a;
	--fml-font: "Avenir Next", Avenir, "Century Gothic", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--fml-display: "Arial Narrow", "Avenir Next Condensed", "Franklin Gothic Medium", "Century Gothic", "Segoe UI", sans-serif;
	--fml-measure: 42rem;
	--fml-wide: 72rem;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--fml-bg);
	color: var(--fml-text);
	font-family: var(--fml-font);
	font-size: 1.0625rem;
	line-height: 1.6;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--fml-blue);
	text-underline-offset: 0.18em;
}

a:hover {
	color: #d7f1ff;
}

:focus-visible {
	outline: 3px solid var(--fml-blue);
	outline-offset: 3px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.fml-skip {
	position: absolute;
	left: 0.75rem;
	top: 0.75rem;
	z-index: 20;
	background: var(--fml-button);
	color: var(--fml-button-text);
	padding: 0.6rem 0.9rem;
	text-decoration: none;
	transform: translateY(-150%);
}

.fml-skip:focus {
	transform: none;
}

.fml-header {
	background: rgba(0, 0, 0, 0.92);
	border-bottom: 1px solid var(--fml-line);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
}

body.admin-bar .fml-header {
	top: 32px;
}

/* Homepage: no bar over the hero. Centered text links only. */
.home .fml-brand,
.home .fml-nav-toggle {
	display: none;
}

.home .fml-header {
	background: transparent;
	border-bottom-color: transparent;
	box-shadow: none;
}

.home .fml-header-inner {
	justify-content: center;
}

.home .fml-nav {
	display: block;
	width: 100%;
}

.home .fml-nav-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.15rem 1.15rem;
}

.home .fml-nav-list a {
	text-shadow: 0 1px 10px rgba(0, 0, 0, 0.9), 0 0 2px #000;
}

.home .fml-header.is-scrolled {
	background: #070708;
	border-bottom-color: var(--fml-line);
}

/* Subpages keep a solid bar, logo on the left, links on the right. */
body:not(.home) .fml-header {
	background: #070708;
	border-bottom: 1px solid var(--fml-line);
}

body:not(.home) .fml-main {
	padding-top: 6.25rem;
}

@media (max-width: 782px) {
	body.admin-bar .fml-header {
		top: 46px;
	}

	body.admin-bar .fml-hero,
	body.admin-bar .fml-hero-media,
	body.admin-bar .fml-hero-slides,
	body.admin-bar .fml-hero-media img,
	body.admin-bar .fml-hero-img {
		min-height: calc(100vh - 46px);
		min-height: calc(100dvh - 46px);
		height: calc(100vh - 46px);
		height: calc(100dvh - 46px);
	}
}

.fml-header-inner {
	width: min(100% - 2rem, var(--fml-wide));
	margin: 0 auto;
	padding: 0.75rem 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.25rem;
}

.fml-brand {
	display: block;
	line-height: 0;
}

.fml-brand img {
	display: block;
	height: 4.75rem;
	width: auto;
}

.home .fml-brand img {
	height: 3.15rem;
}

.fml-nav-toggle {
	appearance: none;
	background: transparent;
	color: var(--fml-text);
	border: 1px solid var(--fml-line);
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.fml-nav-toggle-bars,
.fml-nav-toggle-bars::before,
.fml-nav-toggle-bars::after {
	display: block;
	width: 1.15rem;
	height: 2px;
	background: var(--fml-text);
	content: "";
	position: relative;
}

.fml-nav-toggle-bars::before {
	position: absolute;
	transform: translateY(-6px);
}

.fml-nav-toggle-bars::after {
	position: absolute;
	transform: translateY(6px);
}

.fml-nav {
	display: none;
	width: 100%;
}

.fml-nav.is-open {
	display: block;
}

.fml-nav-list,
.fml-footer-nav {
	list-style: none;
	margin: 0;
	padding: 0;
}

.fml-nav-list a,
.fml-footer-nav a {
	display: inline-block;
	color: var(--fml-text);
	text-decoration: none;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-size: 0.92rem;
	padding: 0.55rem 0;
	min-height: 2.75rem;
}

.fml-nav-list a:hover,
.fml-footer-nav a:hover,
.fml-nav-list .current-menu-item > a,
.fml-nav-list a[aria-current="page"] {
	color: var(--fml-blue);
}

.fml-main {
	padding-bottom: 3.5rem;
}

.fml-wrap {
	width: min(100% - 2rem, var(--fml-wide));
	margin-inline: auto;
}

.fml-hero {
	position: relative;
	min-height: 100vh;
	min-height: 100dvh;
	display: grid;
	background: #000;
	overflow: hidden;
}

body.admin-bar .fml-hero {
	min-height: calc(100vh - 32px);
	min-height: calc(100dvh - 32px);
}

.fml-hero-media,
.fml-hero-scrim {
	grid-area: 1 / 1;
}

.fml-hero-media {
	z-index: 1;
}

.fml-hero-scrim {
	position: relative;
	z-index: 2;
}

.fml-hero-media {
	position: relative;
	min-height: 100vh;
	min-height: 100dvh;
}

.fml-hero-slides {
	position: relative;
	min-height: 100vh;
	min-height: 100dvh;
}

.fml-hero-media img,
.fml-hero-img {
	width: 100%;
	height: 100vh;
	height: 100dvh;
	object-fit: cover;
	display: block;
	filter: contrast(1.12) saturate(0.78) brightness(0.92);
}

body.admin-bar .fml-hero-media,
body.admin-bar .fml-hero-slides,
body.admin-bar .fml-hero-media img,
body.admin-bar .fml-hero-img {
	min-height: calc(100vh - 32px);
	min-height: calc(100dvh - 32px);
	height: calc(100vh - 32px);
	height: calc(100dvh - 32px);
}

.fml-hero-slides img {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1.1s ease;
}

.fml-hero-slides img.is-active {
	opacity: 1;
	z-index: 1;
}

.fml-hero-media::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	opacity: 0.55;
	mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	background-size: 180px 180px;
}

@media (prefers-reduced-motion: reduce) {
	.fml-hero-slides img {
		transition: none;
	}
}

.fml-hero-scrim {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	padding: 4.75rem 1rem 2.5rem;
	text-align: center;
	/* Light top fade so the transparent wordmark reads. No black plate. */
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.22) 24%, rgba(0, 0, 0, 0.04) 52%, rgba(0, 0, 0, 0.18) 78%, rgba(0, 0, 0, 0.42) 100%);
}

.fml-hero-title {
	margin: 0;
	line-height: 0;
	width: min(92%, 64rem);
}

.fml-hero-scrim .fml-hero-title img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
	max-height: 54vh;
	object-fit: contain;
	object-position: center center;
	filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.55));
}

.fml-kicker {
	margin: 0.85rem 0 0;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--fml-text);
	font-size: 0.82rem;
}

.fml-hero .fml-wave {
	margin-left: auto;
	margin-right: auto;
}

.fml-wave {
	width: min(100%, 16rem);
	height: 3px;
	border: 0;
	margin: 0.9rem 0 0;
	background: linear-gradient(90deg, transparent, #1d6dff 8%, #bfe8ff 50%, #1d6dff 92%, transparent);
	box-shadow: 0 0 14px rgba(90, 180, 255, 0.75);
}

.fml-tonight {
	margin: 1rem 0 0;
	max-width: 40rem;
	color: var(--fml-text);
}

.fml-tonight span {
	display: inline-block;
	margin-right: 0.4rem;
	color: var(--fml-neon);
	font-family: var(--fml-display);
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

h1,
h2,
.fml-card-title {
	font-family: var(--fml-display);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	line-height: 1.15;
	color: var(--fml-neon);
	text-shadow: 0 0 16px rgba(255, 70, 120, 0.28);
}

h1 {
	font-size: clamp(2rem, 6vw, 3.4rem);
	margin: 0;
}

h2,
.fml-card-title {
	font-size: clamp(1.25rem, 3vw, 1.7rem);
	margin: 0 0 0.75rem;
}

.fml-card-title a {
	color: inherit;
	text-decoration: none;
}

.fml-card-title a:hover {
	color: #ffd0db;
}

.fml-page-head {
	padding-top: 2rem;
	margin-bottom: 1.5rem;
}

.fml-intro {
	padding-top: 2.25rem;
}

.fml-prose {
	max-width: var(--fml-measure);
	color: var(--fml-text);
}

.fml-prose > *:first-child {
	margin-top: 0;
}

/* About collage. Varied tiles under the text. Empty ACF slots are not printed. */
.fml-about {
	overflow-x: clip;
}

.fml-collage {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: 8.75rem;
	grid-auto-flow: dense;
	gap: 0.4rem;
	width: 100%;
	max-width: 100%;
	margin: 2.25rem 0 0.25rem;
}

.fml-collage-item {
	margin: 0;
	min-width: 0;
	height: 100%;
	overflow: hidden;
	background: #0b0b0d;
}

.fml-collage-item img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 8.75rem;
	object-fit: cover;
	-webkit-mask-image:
		linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%),
		linear-gradient(to bottom, transparent 0%, #000 7%, #000 93%, transparent 100%);
	-webkit-mask-composite: source-in;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-size: 100% 100%;
	mask-image:
		linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%),
		linear-gradient(to bottom, transparent 0%, #000 7%, #000 93%, transparent 100%);
	mask-composite: intersect;
	mask-repeat: no-repeat;
	mask-size: 100% 100%;
}

.fml-collage-item:nth-child(1) {
	grid-column: span 2;
	grid-row: span 2;
}

.fml-collage-item:nth-child(1) img {
	min-height: 17.9rem;
}

.fml-collage-item:nth-child(2) {
	grid-column: span 2;
}

.fml-collage-item:nth-child(5),
.fml-collage-item:nth-child(6) {
	grid-column: span 2;
	grid-row: span 2;
}

.fml-collage-item:nth-child(5) img,
.fml-collage-item:nth-child(6) img {
	min-height: 17.9rem;
}

@media (max-width: 46rem) {
	.fml-collage {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: 10.5rem;
	}

	.fml-collage-item:nth-child(n) {
		grid-column: span 1;
		grid-row: span 1;
	}

	.fml-collage-item:nth-child(n) img {
		min-height: 10.5rem;
	}

	.fml-collage-item:nth-child(1),
	.fml-collage-item:nth-child(6) {
		grid-column: span 2;
	}

	.fml-collage-item:nth-child(1) img,
	.fml-collage-item:nth-child(6) img {
		min-height: 13.5rem;
	}
}


.fml-sections {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

.fml-section-tile {
	aspect-ratio: 1;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	padding: 0;
	background-color: #16161a;
	background-position: center;
	background-size: cover;
	color: var(--fml-text);
	text-decoration: none;
	border: 1px solid rgba(255, 255, 255, 0.72);
	overflow: hidden;
}

.fml-tile-label {
	display: block;
	background: rgba(0, 0, 0, 0.82);
	color: var(--fml-neon);
	font-family: var(--fml-display);
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-size: 0.95rem;
	line-height: 1.2;
	padding: 0.75rem 0.55rem;
	text-align: center;
}

.fml-section-tile:hover {
	color: #fff;
	border-color: #3ecbff;
}

.fml-section-tile:hover .fml-tile-label {
	background: #000;
	color: #fff;
}

@media (min-width: 800px) {
	.fml-sections {
		grid-template-columns: repeat(4, 1fr);
	}
}

.fml-section-head {
	margin: 2.5rem 0 1.25rem;
}

.fml-show-grid {
	display: grid;
	gap: 1.25rem;
}

.fml-card {
	background: var(--fml-bg-2);
	border: 1px solid var(--fml-line);
	overflow: hidden;
}

.fml-card-media {
	display: block;
	aspect-ratio: 16 / 10;
	background: #000;
}

.fml-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.fml-card-body {
	padding: 1rem 1rem 1.15rem;
}

.fml-show-date,
.fml-times-inline,
.fml-door-line,
.fml-door-info,
.fml-passed,
.fml-card-excerpt {
	color: var(--fml-muted);
	margin: 0 0 0.55rem;
}

.fml-show-date {
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-size: 0.82rem;
	color: var(--fml-blue);
}


.fml-social {
	display: flex;
	gap: 0.75rem;
	align-items: center;
}

.fml-social-link {
	display: inline-flex;
	color: var(--fml-text);
}

.fml-social-icon {
	width: 1.35rem;
	height: 1.35rem;
	fill: currentColor;
}

.fml-social-link:hover {
	color: var(--fml-blue);
}

.fml-times,
.fml-hours,
.fml-social,
.fml-footer-nav {
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
}

.fml-show-figure,
.fml-feature {
	margin: 0 0 1.5rem;
}

.fml-show-figure img,
.fml-feature img {
	display: block;
	width: 100%;
	height: auto;
}

.fml-feature figcaption {
	color: var(--fml-muted);
	font-size: 0.92rem;
	margin-top: 0.4rem;
}

.fml-tickets {
	margin-top: 0.85rem;
}

.fml-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.75rem;
	padding: 0.55rem 1.1rem;
	background: var(--fml-button);
	color: var(--fml-button-text);
	text-decoration: none;
	border: 0;
	font: inherit;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
}

.fml-button:hover {
	background: #ffd0db;
	color: var(--fml-button-text);
}

.fml-sold-out {
	display: inline-block;
	margin: 0.4rem 0 0;
	padding: 0.25rem 0.55rem;
	border: 1px solid var(--fml-neon);
	color: var(--fml-neon);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-size: 0.82rem;
}

.fml-more,
.fml-past-link,
.fml-back {
	margin: 1.25rem 0 0;
}

.fml-empty {
	color: var(--fml-muted);
}


.fml-menu-download {
	margin: 0 0 0.5rem;
}

@media (min-width: 860px) {
	.fml-menu {
		column-count: 2;
		column-gap: 3rem;
	}

	.fml-menu-section {
		break-inside: avoid;
	}
}

.fml-menu-section {
	padding: 1.25rem 0 0.5rem;
	border-top: 1px solid var(--fml-line);
}

.fml-menu-note {
	margin: -0.25rem 0 0.8rem;
	color: var(--fml-muted);
	max-width: var(--fml-measure);
}

.fml-menu-list {
	list-style: none;
	margin: 0;
	padding: 0 0 0.75rem;
}

.fml-menu-row {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	align-items: baseline;
}

.fml-menu-name {
	font-weight: 600;
}

.fml-menu-price {
	font-variant-numeric: tabular-nums;
	color: var(--fml-blue);
	white-space: nowrap;
}

.fml-menu-desc {
	margin: 0.15rem 0 0.85rem;
	color: var(--fml-muted);
	max-width: var(--fml-measure);
}

.fml-menu-list li {
	margin-bottom: 0.7rem;
}

.fml-contact {
	display: grid;
	gap: 1.25rem;
	max-width: var(--fml-measure);
}

.fml-contact h2 {
	font-size: 1rem;
	margin-bottom: 0.3rem;
}

.fml-form {
	max-width: 36rem;
	display: grid;
	gap: 0.15rem;
}

.fml-form p {
	margin: 0 0 0.9rem;
}

.fml-form label {
	display: block;
	margin-bottom: 0.3rem;
}

.fml-form input,
.fml-form select,
.fml-form textarea {
	width: 100%;
	background: #0c0c10;
	color: var(--fml-text);
	border: 1px solid #3c3c48;
	padding: 0.7rem 0.75rem;
	font: inherit;
	min-height: 2.75rem;
}

.fml-form input[aria-invalid="true"],
.fml-form textarea[aria-invalid="true"] {
	border-color: var(--fml-neon);
}

.fml-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.fml-form-status {
	padding: 0.8rem 0.9rem;
	background: #102033;
	border: 1px solid var(--fml-blue);
	max-width: 36rem;
}

.fml-form-status.is-error {
	background: #2a1218;
	border-color: var(--fml-neon);
}

.fml-admin-hint {
	color: var(--fml-muted);
	font-size: 0.92rem;
	font-style: italic;
}

.fml-footer {
	background: #000;
	border-top: 1px solid var(--fml-line);
	padding: 2rem 0 2.5rem;
}

.fml-footer-inner {
	width: min(100% - 2rem, var(--fml-wide));
	margin: 0 auto;
	display: grid;
	gap: 1.25rem;
}

.fml-footer a {
	color: var(--fml-text);
}

.fml-footer a:hover {
	color: var(--fml-blue);
}

.fml-footer-note {
	color: var(--fml-muted);
	max-width: var(--fml-measure);
	font-size: 0.95rem;
}

.fml-colophon {
	color: var(--fml-muted);
	font-size: 0.85rem;
	margin: 0;
}

.navigation.pagination,
.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

.page-numbers {
	color: var(--fml-text);
	text-decoration: none;
}

.page-numbers.current {
	color: var(--fml-neon);
}

.wp-block-gallery {
	margin-top: 1.5rem;
}

@media (min-width: 48rem) {
	.fml-brand img {
		height: 6.25rem;
	}

	.home .fml-brand img {
		height: 3.6rem;
	}

	.fml-nav-toggle {
		display: none;
	}

	.fml-nav {
		display: block;
		width: auto;
	}

	.fml-nav-list {
		display: flex;
		flex-wrap: wrap;
		gap: 0.35rem 1.15rem;
		justify-content: flex-end;
	}

	.fml-show-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.fml-hero-scrim {
		padding: 5.5rem 6vw 3rem;
	}

	.home .fml-nav-list {
		gap: 0.35rem 2rem;
	}

	.fml-contact {
		grid-template-columns: 1fr 1fr;
	}

	.fml-footer-inner {
		grid-template-columns: 1.2fr 1fr;
	}

	.fml-footer-note,
	.fml-colophon {
		grid-column: 1 / -1;
	}
}

@media (min-width: 70rem) {
	.fml-show-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.fml-wave {
		box-shadow: none;
	}

	h1,
	h2,
	.fml-card-title {
		text-shadow: none;
	}
}

@media print {
	.fml-header,
	.fml-nav-toggle,
	.fml-footer,
	.fml-button,
	.fml-skip {
		display: none;
	}

	body {
		background: #fff;
		color: #111;
	}

	h1,
	h2,
	.fml-card-title,
	a {
		color: #111;
		text-shadow: none;
	}
}
