/* =============================================================================
   Hawke's Bay Blues Club
   Look: vintage gig poster, indigo ink on warm paper, with amber stage light.
   ============================================================================= */

:root {
	--ink: #27254a;
	--ink-deep: #17162e;
	--ink-soft: #4a4870;
	--paper: #f3efe6;
	--paper-deep: #e6dfcd;
	--card: #fbf9f4;
	--amber: #e9a23b;
	--amber-light: #f4c374;
	--amber-tint: #fbecd0;
	--rust: #a4442a;
	--text: #25233a;
	--muted: #5f5b70;
	--line: rgba(39, 37, 74, 0.18);

	--font-display: 'Rye', Georgia, serif;
	--font-head: 'Oswald', 'Arial Narrow', Arial, sans-serif;
	--font-body: 'Source Serif 4', Georgia, 'Times New Roman', serif;

	--radius: 12px;
	--print-shadow: 5px 5px 0 var(--ink);
}

* { box-sizing: border-box; }

html, body {
	margin: 0;
	padding: 0;
	height: 100%;
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	overflow-x: clip;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.6;
	color: var(--text);
	background-color: var(--paper);
	/* faint paper grain */
	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='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .15 0 0 0 0 .14 0 0 0 0 .29 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body form {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-height: 100vh;
}

.wrap {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 20px;
}

img { max-width: 100%; }

a {
	color: var(--rust);
	text-decoration-color: var(--amber);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

a:hover { color: var(--ink); }

:focus-visible {
	outline: 3px solid var(--amber);
	outline-offset: 2px;
}

/* ----- Header ----- */

.site-header {
	background: var(--ink);
	color: #fff;
	border-bottom: 4px solid var(--amber);
	position: relative;
	z-index: 5;
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px 24px;
	padding-top: 14px;
	padding-bottom: 14px;
}

.brand {
	display: flex;
	align-items: center;
	gap: 14px;
	color: #fff;
	text-decoration: none;
}

/* The club's own wordmark (EFCO Brookshire lettering), from images/brand */
.brand-wordmark {
	display: block;
	height: 60px;
	width: auto;
}

.site-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 2px;
}

.site-nav a {
	font-family: var(--font-head);
	font-weight: 500;
	font-size: 0.92rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #e4e1f2;
	text-decoration: none;
	padding: 8px 10px;
	border-radius: 6px;
	white-space: nowrap;
	transition: color 0.15s, background-color 0.15s;
}

.site-nav a:hover {
	color: var(--amber-light);
	background: rgba(255, 255, 255, 0.06);
}

.site-nav a.active {
	color: var(--amber);
	box-shadow: inset 0 -3px 0 var(--amber);
	border-radius: 6px 6px 0 0;
}

/* ----- Page content & type ----- */

.page-content {
	flex: 1 0 auto;
	width: 100%;
	padding-top: 48px;
	padding-bottom: 72px;
}

.page-content h1 {
	font-family: var(--font-head);
	font-weight: 600;
	font-size: clamp(2.2rem, 5vw, 3.2rem);
	line-height: 1.1;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: var(--ink);
	margin: 0 0 20px;
}

.page-content h1::after {
	content: "";
	display: block;
	width: 72px;
	height: 5px;
	margin-top: 12px;
	background: var(--amber);
	border-radius: 3px;
}

.page-content h2 {
	font-family: var(--font-head);
	font-weight: 500;
	font-size: 1.55rem;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--ink);
	margin: 36px 0 12px;
}

.page-content h3 {
	font-family: var(--font-head);
	font-weight: 500;
	font-size: 1.25rem;
	letter-spacing: 0.03em;
	color: var(--ink);
}

/* Section heading with a rule running off to the right */
.section-title {
	display: flex;
	align-items: center;
	gap: 16px;
}

.section-title::after {
	content: "";
	flex: 1;
	height: 2px;
	background: var(--line);
}

.page-intro {
	font-size: 1.12rem;
	max-width: 46em;
}

.text-link {
	font-family: var(--font-head);
	font-weight: 500;
	font-size: 0.95rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--ink);
}

.photo-credit {
	color: var(--muted);
	font-style: italic;
	font-size: 0.9rem;
}

/* ----- Home hero ----- */

.hero {
	/* break out of the centred column to run edge to edge */
	margin: -48px calc(50% - 50vw) 0;
	padding: 72px 20px 110px;
	color: var(--paper);
	background:
		radial-gradient(circle at 74% 42%, rgba(233, 162, 59, 0.30), transparent 42%),
		repeating-conic-gradient(from 0deg at 74% 42%, rgba(233, 162, 59, 0.09) 0deg 3deg, transparent 3deg 10deg),
		linear-gradient(160deg, #2d2b56 0%, var(--ink-deep) 70%);
}

.hero-inner {
	max-width: 1060px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 48px;
	align-items: center;
}

.hero-eyebrow {
	font-family: var(--font-head);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.35em;
	color: var(--amber);
	margin: 0 0 10px;
}

.page-content .hero-title {
	margin: 0;
	line-height: 1;
}

.page-content .hero-title::after { display: none; }

.hero-title img {
	display: block;
	width: 100%;
	max-width: 540px;
	height: auto;
}

.hero .tagline {
	font-style: italic;
	font-size: 1.3rem;
	color: #dcd8ee;
	margin: 22px 0 8px;
}

.hero-lede {
	color: #c9c5de;
	max-width: 32em;
	margin: 0;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 30px;
}

.cta {
	display: inline-block;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	text-decoration: none;
	padding: 13px 28px;
	border-radius: 999px;
	background: var(--amber);
	color: var(--ink-deep);
	border: 2px solid var(--amber);
	transition: transform 0.15s, background-color 0.15s, color 0.15s, border-color 0.15s;
}

.cta:hover {
	background: var(--amber-light);
	border-color: var(--amber-light);
	color: var(--ink-deep);
	transform: translateY(-2px);
}

.cta-ghost {
	background: transparent;
	color: var(--paper);
	border-color: rgba(243, 239, 230, 0.55);
}

.cta-ghost:hover {
	background: transparent;
	border-color: var(--amber);
	color: var(--amber);
}

/* Gig photos pinned up like prints */
.hero-photos {
	position: relative;
	min-height: 400px;
}

.print {
	position: absolute;
	width: 76%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	background: var(--card);
	border: 10px solid var(--card);
	border-bottom-width: 34px;
	border-radius: 3px;
	box-shadow: 0 22px 40px rgba(0, 0, 0, 0.45);
}

.print-back {
	top: 0;
	right: 0;
	transform: rotate(4deg);
}

.print-front {
	bottom: 0;
	left: 0;
	transform: rotate(-5deg);
}

/* Sunburst badge, after the $5 burst on the club's poster */
.burst {
	position: absolute;
	top: -26px;
	left: 2%;
	width: 124px;
	height: 124px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background:
		radial-gradient(circle, var(--amber) 0 55%, transparent 56%),
		repeating-conic-gradient(var(--amber) 0deg 5deg, transparent 5deg 12deg);
	transform: rotate(-12deg);
	z-index: 2;
}

.burst span {
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 1.1rem;
	line-height: 1.05;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	text-align: center;
	color: var(--ink-deep);
}

/* ----- Gig "poster band": date | location | time ----- */

.gig-band {
	background: var(--card);
	border: 3px solid var(--ink);
	border-radius: 14px;
	box-shadow: var(--print-shadow);
	margin: 28px 0;
	overflow: hidden;
}

.gig-band-feature {
	position: relative;
	z-index: 2;
	margin-top: -64px;
	box-shadow: 7px 7px 0 var(--amber), 0 18px 40px rgba(23, 22, 46, 0.25);
}

.gig-band-label {
	margin: 0;
	padding: 8px 16px;
	background: var(--ink);
	color: var(--paper);
	font-family: var(--font-head);
	font-weight: 500;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.35em;
	text-align: center;
}

.gig-band-grid {
	display: grid;
	grid-template-columns: 150px 1fr 160px;
}

.gig-date,
.gig-time {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 18px 12px;
}

.gig-main {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 18px 24px;
	border-left: 3px solid var(--ink);
	border-right: 3px solid var(--ink);
}

.gig-day {
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 3.4rem;
	line-height: 1;
	color: var(--ink);
}

.gig-month {
	font-family: var(--font-head);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--ink);
	margin-top: 4px;
}

.gig-weekday {
	font-size: 0.9rem;
	color: var(--muted);
}

.gig-kicker {
	font-family: var(--font-head);
	font-size: 0.72rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	color: var(--muted);
}

.gig-venue {
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 1.6rem;
	line-height: 1.15;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--ink);
}

.page-content .gig-title {
	font-family: var(--font-body);
	font-weight: 600;
	font-style: italic;
	font-size: 1.15rem;
	text-transform: none;
	letter-spacing: 0;
	color: var(--rust);
	margin: 4px 0 0;
}

.gig-hour {
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 3rem;
	line-height: 1;
	color: var(--ink);
}

.gig-hour small {
	font-size: 0.42em;
	margin-left: 3px;
	letter-spacing: 0.05em;
}

.gig-band-foot {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px 24px;
	padding: 16px 24px;
	border-top: 3px solid var(--ink);
}

.gig-band-foot p {
	margin: 0;
	flex: 1 1 320px;
}

.gig-photo {
	width: 240px;
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	border: 2px solid var(--ink);
	order: 2;
}

.gig-band-past {
	opacity: 0.7;
	box-shadow: 3px 3px 0 var(--line);
	border-color: var(--ink-soft);
}

.gig-band-past .gig-date::after {
	content: "Past gig";
	margin-top: 6px;
	padding: 1px 8px;
	border: 2px solid var(--rust);
	border-radius: 4px;
	font-family: var(--font-head);
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: var(--rust);
	transform: rotate(-4deg);
}

/* ----- Home body ----- */

.home-body {
	margin-top: 24px;
}

.home-columns {
	display: grid;
	grid-template-columns: 3fr 2fr;
	gap: 48px;
	align-items: start;
}

.involve-list {
	list-style: none;
	padding: 0;
	margin: 20px 0 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.involve-list a {
	display: block;
	height: 100%;
	padding: 14px 16px;
	background: var(--card);
	border: 2px solid var(--ink);
	border-radius: 10px;
	color: var(--text);
	text-decoration: none;
	transition: transform 0.15s, box-shadow 0.15s, background-color 0.15s;
}

.involve-list a:hover {
	background: var(--amber-tint);
	transform: translate(-2px, -2px);
	box-shadow: 4px 4px 0 var(--ink);
}

.involve-list strong {
	display: block;
	font-family: var(--font-head);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--ink);
}

.involve-list span {
	display: block;
	font-size: 0.93rem;
	color: var(--muted);
	margin-top: 2px;
}

/* Link to the club's Facebook page */
.facebook-card {
	margin: 20px 0;
	padding: 22px 26px;
	background: var(--card);
	border: 2px solid var(--ink);
	border-radius: var(--radius);
	box-shadow: var(--print-shadow);
}

.facebook-card p {
	margin-top: 0;
}

.facebook-card .cta {
	padding: 13px 22px;
	text-align: center;
}

/* ----- Cards ----- */

.event-card,
.contact-box {
	background: var(--card);
	border: 2px solid var(--ink);
	border-radius: var(--radius);
	box-shadow: var(--print-shadow);
	padding: 22px 26px;
	margin: 28px 0;
}

.contact-box { max-width: 520px; }

.event-card h3,
.contact-box h2 {
	margin-top: 0;
}

.contact-box h2 {
	font-size: 1.15rem;
	letter-spacing: 0.12em;
	color: var(--muted);
	margin-bottom: 2px;
}

.contact-box p { margin-top: 0; }

.event-card .event-meta {
	font-family: var(--font-head);
	font-weight: 500;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--rust);
}

.news-body {
	white-space: pre-wrap;
}

/* ----- Photo gallery ----- */

.gallery {
	display: flex;
	gap: 22px;
	flex-wrap: wrap;
	margin: 26px 0;
}

.gallery img,
.gallery-item img {
	display: block;
	width: 100%;
	height: 220px;
	object-fit: cover;
	background: var(--card);
	border: 7px solid var(--card);
	border-radius: 3px;
	box-shadow: 0 8px 20px rgba(23, 22, 46, 0.22);
	transition: transform 0.2s;
}

.gallery > .photo-link {
	width: calc(33.333% - 15px);
	min-width: 220px;
	flex: 1 1 220px;
}

.gallery > .photo-link:nth-child(odd) img:hover,
.gallery-item:nth-child(odd) img:hover { transform: rotate(-1.5deg) scale(1.02); }

.gallery > .photo-link:nth-child(even) img:hover,
.gallery-item:nth-child(even) img:hover { transform: rotate(1.5deg) scale(1.02); }

/* home page featured photos: one row, each photo whole at its own shape. Default.aspx.vb
   sets each link's flex-grow to the photo's width/height ratio and caps the row's width. */
.gallery-featured {
	flex-wrap: nowrap;
	margin-left: auto;
	margin-right: auto;
}

.gallery-featured > .photo-link {
	width: auto;
	min-width: 0;
}

.gallery-featured img {
	height: auto;
}

@media (max-width: 600px) {
	.gallery-featured {
		flex-direction: column;
	}

	.gallery-featured > .photo-link {
		flex: none !important;
		width: 100%;
	}
}

/* clicking a photo opens it full size (see the photo viewer in Site.master) */
.photo-link {
	display: block;
	cursor: zoom-in;
}

.photo-link:focus-visible {
	outline: 3px solid var(--amber);
	outline-offset: 3px;
}

/* the admin gallery shows each photo whole inside its tile */
.gallery-item img {
	object-fit: contain;
}

/* the public gallery shows each photo whole: rows of equal height, each photo at its own width */
.gallery-full .gallery-item {
	display: flex;
	flex-direction: column;
	width: auto;
	min-width: 0;
	flex: 0 0 auto;
}

.gallery-full .gallery-item img {
	width: auto;
	height: 280px;
	max-width: 100%;
}

/* a caption wraps to the photo's width instead of widening it */
.gallery-full .gallery-item figcaption {
	width: 0;
	min-width: 100%;
}

@media (max-width: 600px) {
	.gallery-full .gallery-item {
		width: 100%;
	}

	.gallery-full .gallery-item img {
		width: 100%;
		height: auto;
	}
}

/* full-size photo viewer */
.photo-viewer {
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	margin: 0;
	padding: 16px;
	border: none;
	background: transparent;
	box-sizing: border-box;
}

.photo-viewer[open] {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.photo-viewer::backdrop {
	background: rgba(23, 22, 46, 0.92);
}

.photo-viewer img {
	display: block;
	max-width: 100%;
	max-height: calc(100% - 80px);
	object-fit: contain;
	border: 7px solid var(--card);
	border-radius: 3px;
	background: var(--card);
}

.photo-viewer-caption {
	margin: 0;
	color: var(--paper);
	text-align: center;
}

.photo-viewer button {
	position: absolute;
	width: 48px;
	height: 48px;
	border: 2px solid var(--ink);
	border-radius: 50%;
	background: var(--card);
	color: var(--ink);
	font-size: 1.6rem;
	line-height: 1;
	cursor: pointer;
}

.photo-viewer button:hover,
.photo-viewer button:focus-visible {
	background: var(--amber);
}

.photo-viewer-close { top: 16px; right: 16px; }
.photo-viewer-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.photo-viewer-next { right: 16px; top: 50%; transform: translateY(-50%); }

.gallery-event-heading {
	margin-top: 30px;
	border-left: 5px solid var(--amber);
	padding-left: 12px;
	text-transform: uppercase;
}

.gallery-item {
	width: calc(33.333% - 15px);
	min-width: 220px;
	flex: 1 1 220px;
	margin: 0;
}

.gallery-item figcaption {
	font-size: 0.9rem;
	color: var(--muted);
	margin-top: 8px;
}

.gallery-item .btn {
	margin-top: 6px;
	font-size: 0.85em;
	padding: 6px 14px;
}

.featured-badge {
	display: inline-block;
	margin-top: 6px;
	padding: 2px 10px;
	background: var(--amber);
	color: var(--ink-deep);
	font-family: var(--font-head);
	font-size: 0.75em;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	border-radius: 999px;
}

.youtube-link a {
	font-weight: 600;
	overflow-wrap: anywhere;
}

.video-grid {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
	margin: 20px 0;
}

.video-item {
	flex: 1 1 320px;
	min-width: 280px;
	max-width: 520px;
}

.video-embed {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	border: 3px solid var(--ink);
	border-radius: var(--radius);
	box-shadow: var(--print-shadow);
	background: var(--ink-deep);
}

.video-embed iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.video-title {
	margin: 12px 0 0;
	font-family: var(--font-head);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--ink);
}

/* ----- Buttons ----- */

.btn {
	display: inline-block;
	padding: 10px 22px;
	background: var(--amber);
	color: var(--ink-deep);
	text-decoration: none;
	border: 2px solid var(--ink);
	border-radius: 999px;
	box-shadow: 3px 3px 0 var(--ink);
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 0.95rem;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	cursor: pointer;
	transition: transform 0.1s, box-shadow 0.1s, background-color 0.15s;
}

.btn:hover {
	background: var(--amber-light);
	color: var(--ink-deep);
	transform: translate(-1px, -1px);
	box-shadow: 4px 4px 0 var(--ink);
}

.btn:active {
	transform: translate(2px, 2px);
	box-shadow: 1px 1px 0 var(--ink);
}

.btn-secondary {
	background: var(--paper-deep);
}

.btn-secondary:hover {
	background: #d9d0b9;
}

.btn-danger {
	background: #b23a2e;
	color: #fff;
}

.btn-danger:hover {
	background: #962c22;
	color: #fff;
}

/* ----- Forms ----- */

.form-row {
	margin-bottom: 18px;
}

.form-row label {
	display: block;
	font-family: var(--font-head);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--ink);
	margin-bottom: 5px;
}

.page-content input[type="text"],
.page-content input[type="email"],
.page-content input[type="password"],
.page-content input[type="number"],
.page-content input[type="tel"],
.page-content input[type="date"],
.page-content input[type="datetime-local"],
.page-content textarea,
.page-content select {
	padding: 10px 12px;
	font-family: var(--font-body);
	font-size: 1rem;
	color: var(--text);
	background: #fff;
	border: 2px solid rgba(39, 37, 74, 0.35);
	border-radius: 8px;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.page-content input:focus,
.page-content textarea:focus,
.page-content select:focus {
	outline: none;
	border-color: var(--ink);
	box-shadow: 0 0 0 3px rgba(233, 162, 59, 0.45);
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="password"],
.form-row textarea {
	width: 100%;
	max-width: 520px;
}

.form-row textarea {
	min-height: 110px;
}

/* Labels for groups of checkboxes/radios (a <label> would point at a single input) */
.form-label {
	display: block;
	font-family: var(--font-head);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--ink);
	margin-bottom: 8px;
}

.form-error {
	display: block;
	margin: 0 0 20px;
	padding: 12px 16px;
	max-width: 620px;
	background: #f8e1da;
	border-left: 5px solid var(--rust);
	border-radius: 6px;
	color: #7a2a17;
	font-weight: 600;
}

.form-section {
	max-width: 760px;
	margin: 0 0 28px;
	padding: 18px 24px 6px;
	background: var(--card);
	border: 2px solid var(--line);
	border-radius: var(--radius);
}

.form-section legend {
	padding: 4px 12px;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 1.05rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--paper);
	background: var(--ink);
	border-radius: 6px;
}

.form-section > .field-hint {
	margin: 6px 0 16px;
}

/* CheckBoxList / RadioButtonList rendered as <ul> */
.choice-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 6px 18px;
}

.choice-list li,
.choice-single {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	line-height: 1.35;
}

.choice-list input,
.choice-single input {
	flex: none;
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	accent-color: var(--ink);
}

.form-row .choice-list label,
.form-row .choice-single label,
.choice-single label {
	display: inline;
	margin: 0;
	font-family: var(--font-body);
	font-weight: normal;
	font-size: 1rem;
	text-transform: none;
	letter-spacing: 0;
	color: var(--text);
	cursor: pointer;
}

.privacy-agree .choice-single label { font-weight: 600; }

.privacy-section p {
	font-style: italic;
	color: var(--ink-soft);
	margin: 0 0 12px;
}

.privacy-agree {
	margin: 18px 0 16px;
	padding: 12px 14px;
	background: var(--amber-tint);
	border-radius: 8px;
	font-weight: 600;
}

/* Tips box at the top of an admin editing page */
.admin-help {
	max-width: 760px;
	margin: 0 0 24px;
	padding: 12px 18px;
	background: var(--amber-tint);
	border-left: 5px solid var(--amber);
	border-radius: 6px;
}

.admin-help p { margin: 0 0 4px; }
.admin-help ul { margin: 0; padding-left: 20px; }

/* Membership page: committee-edited intro, with an optional details box alongside */
.membership-intro {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
	gap: 32px;
	align-items: start;
	margin-bottom: 36px;
}

.membership-intro-text p { margin-top: 0; }

.membership-intro-text:only-child {
	grid-column: 1 / -1;
	max-width: 760px;
}

.membership-details {
	background: var(--card);
	border: 2px solid var(--ink);
	border-radius: var(--radius);
	box-shadow: var(--print-shadow);
	padding: 20px 24px;
	border-top: 8px solid var(--amber);
}

.membership-details p:first-child { margin-top: 0; }
.membership-details p:last-child,
.membership-details ul:last-child { margin-bottom: 0; }

.membership-details ul { padding-left: 20px; }

.field-hint {
	color: var(--muted);
	font-family: var(--font-body);
	font-size: 0.85em;
	font-weight: normal;
	text-transform: none;
	letter-spacing: 0;
}

.current-photo {
	max-width: 200px;
	display: block;
	margin: 8px 0;
	border-radius: 6px;
	border: 2px solid var(--ink);
}

/* ----- Merch ----- */

.cart-summary {
	background: var(--amber-tint);
	border: 2px solid var(--ink);
	border-radius: var(--radius);
	padding: 14px 20px;
	margin: 20px 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	font-family: var(--font-head);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.merch-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	margin: 24px 0;
}

.merch-card {
	display: flex;
	flex-direction: column;
	background: var(--card);
	border: 2px solid var(--ink);
	border-radius: var(--radius);
	box-shadow: var(--print-shadow);
	flex: 1 1 260px;
	max-width: 320px;
	padding: 18px;
}

.merch-card img {
	width: 100%;
	height: 210px;
	object-fit: cover;
	border-radius: 8px;
	margin-bottom: 12px;
}

.page-content .merch-card h3 {
	margin: 0 0 6px;
	font-size: 1.3rem;
	text-transform: uppercase;
}

.merch-card p { margin: 0 0 10px; }

.merch-price {
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 1.5rem;
	color: var(--rust);
	margin-top: auto !important;
}

.merch-add-row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 6px;
}

.page-content .merch-add-row input[type="text"] {
	width: 58px;
	padding: 8px;
	text-align: center;
}

.bank-details {
	background: var(--card);
	border: 2px dashed var(--ink);
	border-radius: var(--radius);
	padding: 22px 26px;
	margin: 24px 0;
}

.bank-details h3 {
	margin-top: 0;
	text-transform: uppercase;
}

.placeholder-note {
	color: var(--rust);
	font-style: italic;
}

/* ----- Contact ----- */

.map-embed {
	max-width: 760px;
	margin: 28px 0;
	border: 3px solid var(--ink);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--print-shadow);
}

.map-embed iframe {
	display: block;
}

/* ----- Sponsors ----- */

.sponsor-grid {
	display: grid;
	gap: 24px;
	margin: 28px 0;
}

.sponsor-grid-large { grid-template-columns: 1fr; gap: 30px; }
.sponsor-grid-medium { grid-template-columns: repeat(2, 1fr); }
.sponsor-grid-small { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 18px; }

.sponsor-card {
	display: flex;
	flex-direction: column;
	background: var(--card);
	border: 2px solid var(--ink);
	border-radius: var(--radius);
	box-shadow: var(--print-shadow);
	overflow: hidden;
}

.sponsor-large {
	flex-direction: row;
	border-width: 3px;
	border-radius: 14px;
	box-shadow: 7px 7px 0 var(--amber), 0 14px 30px rgba(23, 22, 46, 0.18);
}

/* Logos sit on white so any brand colours look right */
.sponsor-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border-bottom: 2px solid var(--ink);
	padding: 20px;
	height: 170px;
}

.sponsor-logo a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	text-decoration: none;
}

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

.sponsor-large .sponsor-logo {
	flex: 0 0 320px;
	height: auto;
	min-height: 230px;
	padding: 28px;
	border-bottom: none;
	border-right: 3px solid var(--ink);
}

.sponsor-large .sponsor-logo img { max-height: 190px; }

.sponsor-small .sponsor-logo {
	height: 110px;
	padding: 14px;
}

.sponsor-logo-text {
	font-family: var(--font-display);
	font-size: 1.6rem;
	line-height: 1.15;
	text-align: center;
	color: var(--ink);
}

.sponsor-small .sponsor-logo-text { font-size: 1.1rem; }

.sponsor-body {
	padding: 18px 22px 20px;
}

.sponsor-large .sponsor-body {
	align-self: center;
	padding: 26px 32px;
}

.sponsor-small .sponsor-body {
	padding: 10px 12px 12px;
	text-align: center;
}

.page-content .sponsor-name {
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 1.35rem;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	margin: 0 0 8px;
}

.page-content .sponsor-large .sponsor-name { font-size: 1.9rem; }
.page-content .sponsor-small .sponsor-name { font-size: 0.95rem; margin: 0; }

.sponsor-name a {
	color: var(--ink);
	text-decoration: none;
}

.sponsor-name a:hover {
	text-decoration: underline;
	text-decoration-color: var(--amber);
}

.sponsor-description {
	white-space: pre-line;
	margin: 0 0 12px;
}

.sponsor-large .sponsor-description { font-size: 1.08rem; }

.sponsor-cta {
	margin-top: 44px;
	padding: 28px 32px;
	border-radius: 14px;
	color: var(--paper);
	background:
		radial-gradient(circle at 90% 10%, rgba(233, 162, 59, 0.28), transparent 45%),
		linear-gradient(160deg, #2d2b56 0%, var(--ink-deep) 80%);
}

.page-content .sponsor-cta h2 {
	color: var(--paper);
	margin-top: 0;
}

.sponsor-cta p { color: #d4d0e6; max-width: 40em; }

/* Admin: sponsors list */
.sponsor-admin-logo {
	display: block;
	max-width: 90px;
	max-height: 50px;
	object-fit: contain;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 4px;
	padding: 2px;
}

.btn-small {
	padding: 5px 12px;
	font-size: 0.8rem;
	box-shadow: 2px 2px 0 var(--ink);
	margin: 2px 0;
}

.sponsor-current-logo {
	background: #fff;
	object-fit: contain;
	max-height: 120px;
	padding: 6px;
}

.remove-logo-row { margin-top: 8px; }

/* ----- Footer ----- */

.site-footer {
	flex-shrink: 0;
	background:
		radial-gradient(ellipse at 50% 0%, rgba(233, 162, 59, 0.14), transparent 60%),
		var(--ink-deep);
	color: #bdb9d3;
	text-align: center;
	padding: 44px 20px 28px;
	border-top: 4px solid var(--amber);
	font-size: 0.95rem;
}

.site-footer p { margin: 0 0 8px; }

.footer-brand img {
	display: block;
	margin: 0 auto 6px;
	width: 168px;
	height: auto;
}

.site-footer .footer-quote {
	font-style: italic;
	color: var(--amber);
	margin-bottom: 18px;
}

.footer-links {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px 14px;
}

.footer-links span { color: var(--amber); }

.site-footer a {
	color: var(--amber-light);
}

.site-footer a:hover { color: #fff; }

.footer-copy {
	margin-top: 20px !important;
	font-size: 0.82rem;
	color: #8f8ba8;
}

.footer-admin-link a {
	color: #6d6989;
	font-size: 0.78rem;
}

.footer-admin-link a:hover {
	color: var(--amber);
}

/* ----- Admin ----- */

.admin-bar {
	background: var(--amber);
	color: var(--ink-deep);
	padding: 8px 20px;
	text-align: right;
	font-family: var(--font-head);
	font-size: 0.9rem;
	letter-spacing: 0.03em;
}

.admin-bar a {
	color: var(--ink-deep);
	margin-left: 14px;
}

/* "X was deleted. [Undo]" banner, shown straight after a delete */
.undo-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px 18px;
	padding: 12px 20px;
	background: var(--ink);
	color: var(--paper);
	font-size: 1.05rem;
	border-bottom: 3px solid var(--amber);
}

.undo-bar strong { color: var(--amber-light); }

.undo-bar a { color: var(--paper); }

.undo-bar .btn { box-shadow: 3px 3px 0 var(--ink-deep); }

.form-success {
	display: block;
	margin: 0 0 20px;
	padding: 12px 16px;
	max-width: 620px;
	background: #e1f0dc;
	border-left: 5px solid #3c7a2e;
	border-radius: 6px;
	color: #2a5a20;
	font-weight: 600;
}

/* "Earlier versions" picker on the About and Membership edit pages */
.history-box {
	max-width: 760px;
	margin: 0 0 24px;
	padding: 12px 18px 4px;
	background: var(--card);
	border: 2px dashed var(--line);
	border-radius: 8px;
}

.history-box label {
	display: block;
	font-family: var(--font-head);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--ink);
	margin-bottom: 6px;
}

.history-box select {
	max-width: 100%;
	margin: 0 8px 6px 0;
}

/* Preview of a deleted photo or logo on Recently Deleted */
.bin-thumb {
	display: block;
	width: 90px;
	max-height: 70px;
	object-fit: contain;
	margin-bottom: 6px;
	border: 1px solid var(--line);
	border-radius: 4px;
	background: #fff;
}

table.admin-table {
	width: 100%;
	border-collapse: collapse;
	background: var(--card);
	border: 2px solid var(--ink);
	margin: 20px 0;
}

table.admin-table th, table.admin-table td {
	text-align: left;
	padding: 10px 12px;
	border-bottom: 1px solid var(--line);
}

table.admin-table th {
	background: var(--ink);
	color: var(--paper);
	font-family: var(--font-head);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 0.9rem;
}

table.admin-table tr:nth-child(even) td {
	background: rgba(230, 223, 205, 0.4);
}

/* Analytics */
.stat-tiles {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin: 20px 0 30px;
}

.stat-tile {
	background: var(--card);
	border: 2px solid var(--ink);
	border-top: 6px solid var(--amber);
	border-radius: var(--radius);
	padding: 16px 20px;
	flex: 1 1 160px;
	min-width: 150px;
}

.stat-number {
	font-family: var(--font-head);
	font-size: 2.2em;
	font-weight: 600;
	color: var(--ink);
	line-height: 1.1;
}

.stat-label {
	color: var(--muted);
	font-family: var(--font-head);
	font-size: 0.85em;
	margin-top: 4px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.bar-chart {
	margin: 16px 0 30px;
}

.bar-row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 6px;
	font-size: 0.9em;
}

.bar-label {
	width: 70px;
	flex-shrink: 0;
	color: var(--muted);
}

.bar-track {
	flex: 1 1 auto;
	background: var(--paper-deep);
	border-radius: 4px;
	height: 18px;
	overflow: hidden;
}

.bar-fill {
	background: var(--amber);
	height: 100%;
	border-radius: 4px;
	min-width: 2px;
}

.bar-value {
	width: 36px;
	flex-shrink: 0;
	text-align: right;
	color: var(--ink);
	font-weight: bold;
}

/* ----- Responsive ----- */

@media (max-width: 900px) {
	.hero-inner,
	.home-columns {
		grid-template-columns: 1fr;
	}

	.hero {
		padding-top: 52px;
		text-align: center;
	}

	.hero-actions { justify-content: center; }

	.hero-title img { margin: 0 auto; }

	.hero-lede { margin: 0 auto; }

	.hero-photos {
		min-height: 0;
		height: 70vw;
		max-height: 420px;
		max-width: 520px;
		width: 100%;
		margin: 0 auto;
	}
}

@media (max-width: 760px) {
	.header-inner {
		flex-direction: column;
		align-items: center;
	}

	.site-nav {
		justify-content: center;
	}

	.brand-wordmark { height: 52px; }

	.site-nav a {
		font-size: 0.85rem;
		padding: 6px 8px;
	}

	.gig-band-grid {
		grid-template-columns: 104px 1fr;
	}

	.gig-main { border-right: none; }

	.gig-day { font-size: 2.8rem; }

	.gig-venue { font-size: 1.3rem; }

	.gig-time {
		grid-column: 1 / -1;
		flex-direction: row;
		justify-content: center;
		gap: 12px;
		padding: 10px 12px;
		border-top: 3px solid var(--ink);
	}

	.gig-hour { font-size: 2rem; }

	.involve-list { grid-template-columns: 1fr; }

	.membership-intro { grid-template-columns: 1fr; gap: 20px; }

	.form-section { padding: 14px 16px 4px; }

	.sponsor-grid-medium { grid-template-columns: 1fr; }
	.sponsor-grid-small { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }

	.sponsor-large { flex-direction: column; }

	.sponsor-large .sponsor-logo {
		flex-basis: auto;
		min-height: 180px;
		border-right: none;
		border-bottom: 3px solid var(--ink);
	}

	.page-content .sponsor-large .sponsor-name { font-size: 1.5rem; }

	.sponsor-cta { padding: 22px 20px; }

	.burst {
		width: 96px;
		height: 96px;
		top: -18px;
	}

	.burst span { font-size: 0.9rem; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		transition: none !important;
	}
}
