/* ==========================================================================
   Iron Mullet: tour shirt / gig poster theme
   ========================================================================== */

/* Fonts (self-hosted, OFL) ------------------------------------------------ */
@font-face { font-family: "Bebas Neue"; src: url("../fonts/bebas-neue.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Special Elite"; src: url("../fonts/special-elite.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Oswald"; src: url("../fonts/oswald.woff2") format("woff2"); font-weight: 200 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Permanent Marker"; src: url("../fonts/permanent-marker.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

/* Tokens ---------------------------------------------------------------- */
:root {
	--ink: #141210;
	--ink-2: #2b2622;
	--ink-3: #3a342e;
	--muted: #5a5148;
	--paper: #ece4d2;
	--bone: #d9d1bf;
	--red: #b3171f;
	--red-hot: #e0473f;
	--white: #ffffff;

	--font-display: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
	--font-type: "Special Elite", "Courier New", monospace;
	--font-body: "Oswald", "Arial Narrow", Arial, sans-serif;
	--font-marker: "Permanent Marker", "Comic Sans MS", cursive;

	--wrap: 1320px;
	--gutter: 24px;
	--section: clamp(64px, 9vw, 100px);
}

/* Base -------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
section[id] { scroll-margin-top: 90px; }
body {
	margin: 0;
	background: var(--ink);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 18px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}
:where(h1, h2, h3, h4, p, ul, ol, figure, blockquote) { margin: 0; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--red); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--red-hot); outline-offset: 3px; }
::selection { background: var(--red); color: var(--paper); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; margin: 0;
	top: 8px; left: 8px; z-index: 100;
	padding: 12px 18px;
	background: var(--paper); color: var(--ink);
	font-family: var(--font-type);
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* Surfaces */
.paper {
	background-color: var(--paper);
	background-image: radial-gradient(rgba(20, 18, 16, .07) 1px, transparent 1.2px);
	background-size: 5px 5px;
	color: var(--ink);
}
.ink-section { background: var(--ink); color: var(--paper); }

/* Type helpers */
.display {
	font-family: var(--font-display);
	font-weight: 400;
	line-height: .9;
	letter-spacing: .01em;
	text-transform: none;
}
.display--hero { font-size: clamp(64px, 9vw, 138px); line-height: .86; }
.display--xl { font-size: clamp(56px, 7vw, 100px); margin-bottom: 36px; }
.display--lg { font-size: clamp(44px, 5vw, 64px); margin-bottom: 24px; }
.display--paper { color: var(--paper); }
.type { font-family: var(--font-type); }
.kicker { font-size: 18px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.lead { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.6; font-weight: 400; }
.lead--bone { color: var(--bone); }
.lead--paper { color: var(--paper); }
.link-hot { color: var(--red-hot); }
.link-hot:hover { color: var(--paper); }

/* Buttons */
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 48px;
	padding: 10px 28px;
	font-family: var(--font-display);
	font-size: 28px;
	letter-spacing: .06em;
	line-height: 1;
	text-decoration: none;
	border: 3px solid transparent;
	cursor: pointer;
	transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--red { background: var(--red); color: var(--paper); }
.btn--red:hover { background: var(--red-hot); color: var(--white); }
.btn--ghost { border-color: var(--paper); color: var(--paper); background: transparent; }
.btn--ghost:hover { background: var(--paper); color: var(--ink); }

/* Header / nav ---------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 6px solid var(--ink); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; position: relative; } }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 10px; padding-bottom: 10px; }
.nav__logo { display: flex; align-items: center; }
.nav__logo-img { height: 64px; width: auto; }
.nav__menu {
	list-style: none; margin: 0; padding: 0;
	display: flex; flex-wrap: wrap; align-items: center; gap: 6px 26px;
	font-family: var(--font-type); font-size: 18px; text-transform: uppercase;
}
.nav__menu a { color: var(--ink); text-decoration: none; padding: 10px 0; display: inline-block; }
.nav__menu a:hover, .nav__menu .current-menu-item > a:not([href*="#"]) { color: var(--red); text-decoration: underline; text-underline-offset: 5px; }
.nav__menu .menu-item--cta > a, .nav__menu li:last-child > a { color: var(--red); }
.nav__toggle {
	display: none;
	align-items: center; gap: 10px;
	min-height: 48px; padding: 8px 14px;
	background: var(--ink); color: var(--paper);
	border: 0; cursor: pointer;
	font-family: var(--font-type); font-size: 16px; text-transform: uppercase;
}
.nav__toggle-bars, .nav__toggle-bars::before, .nav__toggle-bars::after {
	display: block; width: 22px; height: 3px; background: currentColor; position: relative; content: "";
}
.nav__toggle-bars::before { position: absolute; top: -7px; }
.nav__toggle-bars::after { position: absolute; top: 7px; }

@media (max-width: 900px) {
	.nav__logo-img { height: 52px; }
	.js .nav__toggle { display: inline-flex; }
	.js .nav__panel { display: none; width: 100%; }
	.js .nav.is-open .nav__panel { display: block; }
	.nav__menu { flex-direction: column; align-items: stretch; gap: 0; width: 100%; padding-bottom: 8px; }
	.nav__menu a { display: block; padding: 14px 0; border-top: 2px dashed rgba(20, 18, 16, .3); }
}

/* Hero ------------------------------------------------------------------ */
.hero { padding: 64px 0 90px; }
.hero__inner { display: flex; flex-wrap: wrap; gap: 48px; align-items: stretch; }
.hero__poster {
	flex: 1 1 560px; min-width: 0;
	position: relative; overflow: hidden;
	border: 6px solid var(--paper);
	background: var(--red);
	min-height: 420px;
}
.hero__photo {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	filter: grayscale(1) contrast(1.5);
	mix-blend-mode: multiply;
}
.hero__halftone {
	position: absolute; inset: 0;
	background-image: radial-gradient(rgba(0, 0, 0, .55) 1.1px, transparent 1.4px);
	background-size: 6px 6px;
	pointer-events: none;
}
.hero__logo {
	position: absolute; left: 50%; bottom: 24px;
	width: 74%; max-width: 620px;
	transform: translateX(-50%) rotate(-3deg);
	filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .45));
}
.hero__poster--empty .hero__logo { bottom: 50%; transform: translate(-50%, 50%) rotate(-3deg); }
.hero__copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.hero__eyebrow { font-size: 20px; letter-spacing: .1em; text-transform: uppercase; color: var(--red-hot); margin-bottom: 14px; }

/* Setlist --------------------------------------------------------------- */
.setlist { padding: var(--section) 0; border-top: 2px dashed rgba(236, 228, 210, .18); }
.setlist__inner { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.setlist__copy { flex: 1 1 420px; min-width: 0; }
.setlist__copy .display { margin-bottom: 18px; }
.setlist__rotation { margin-top: 22px; font-size: 18px; color: var(--red-hot); }
.setlist__sheet {
	flex: 0 1 440px; min-width: 0;
	position: relative;
	padding: 40px 40px 34px;
	transform: rotate(2deg);
	box-shadow: 0 18px 40px rgba(0, 0, 0, .5);
}
.setlist__tape {
	position: absolute; top: -14px; left: 50%;
	width: 120px; height: 30px;
	background: rgba(236, 228, 210, .75);
	box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
	transform: translateX(-50%) rotate(-4deg);
}
.setlist__songs { list-style: none; padding: 0; font-family: var(--font-marker); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.45; }
.setlist__song--encore { color: var(--red); }

/* Crew / passes --------------------------------------------------------- */
.crew { padding: var(--section) 0; }
.crew--page { padding-top: 70px; }
.pass-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 30px; }
@media (min-width: 1100px) { .pass-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pass {
	display: flex; flex-direction: column;
	padding: 12px;
	background: var(--white);
	border: 3px solid var(--ink);
	color: var(--ink);
	text-decoration: none;
	transition: transform .18s ease, box-shadow .18s ease;
}
.pass:hover { color: var(--ink); transform: rotate(-1.2deg) translateY(-4px); box-shadow: 0 14px 28px rgba(20, 18, 16, .25); }
.pass__band {
	display: block;
	background: var(--red); color: var(--paper);
	font-family: var(--font-display); font-size: 22px; letter-spacing: .14em;
	text-align: center; text-transform: uppercase;
	padding: 4px 0;
}
.pass__band--lg { font-size: 26px; padding: 6px 0; }
.pass__photo {
	display: block; width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover; object-position: top;
	margin-top: 12px;
	filter: grayscale(1) contrast(1.2);
	transition: filter .25s ease;
}
.pass:hover .pass__photo { filter: grayscale(0) contrast(1.05); }
.pass__photo--empty { background: repeating-linear-gradient(-45deg, var(--paper) 0 10px, var(--bone) 10px 20px); }
.pass__nick { margin-top: 12px; font-family: var(--font-marker); font-size: 22px; line-height: 1.15; color: var(--red); }
.pass__name { font-family: var(--font-display); font-size: 36px; line-height: 1; }
.pass__nick + .pass__name { margin-top: 2px; }
.pass__photo + .pass__name { margin-top: 12px; }
.pass__after { font-family: var(--font-marker); font-size: 22px; line-height: 1.15; color: var(--red); margin-top: 2px; }
.profile__after { font-family: var(--font-marker); font-size: clamp(26px, 3vw, 34px); line-height: 1.1; color: var(--red); margin-top: 6px; }
.pass__role { margin-top: 2px; font-family: var(--font-type); font-size: 15px; text-transform: uppercase; }
.pass__bio { margin-top: 12px; font-size: 16px; line-height: 1.5; color: var(--ink-3); flex: 1 1 auto; }
.pass__more { margin-top: 14px; font-family: var(--font-type); font-size: 16px; text-transform: uppercase; color: var(--red); }

/* Videos / tapes -------------------------------------------------------- */
.tapes { background: var(--red); padding: var(--section) 0; }
.tapes--page { min-height: 60vh; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 10px 24px; margin-bottom: 36px; }
.section-head .display { margin-bottom: 0; }
.section-head__link { color: var(--paper); font-size: 18px; text-transform: uppercase; }
.section-head__link:hover { color: var(--ink); }
.tape-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 26px; }
@media (min-width: 1100px) { .tape-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tape { display: block; background: var(--ink); color: var(--paper); padding: 12px; text-decoration: none; transition: transform .18s ease; }
.tape:hover { color: var(--paper); transform: translateY(-4px); }
.tape__frame { display: block; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.tape__img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.15) saturate(.8); transition: filter .2s ease; }
.tape:hover .tape__img { filter: contrast(1.1) saturate(1); }
.tape__label { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; font-family: var(--font-type); font-size: 18px; }
.tape__play { color: var(--red-hot); white-space: nowrap; text-transform: uppercase; }
.pager { margin-top: 40px; color: var(--paper); }
.pager a, .pager .current { color: var(--paper); margin-right: 14px; }

/* Single video */
.watch { background: var(--ink); padding: 60px 0 var(--section); }
.watch .display { margin-bottom: 30px; }
.watch__player { position: relative; aspect-ratio: 16 / 9; background: #000; border: 6px solid var(--paper); }
.watch__player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Booking --------------------------------------------------------------- */
.book { padding: var(--section) 0; }
.book__inner { display: flex; flex-wrap: wrap; gap: 56px; }
.book__intro { flex: 1 1 380px; min-width: 0; }
.book__intro .display { margin-bottom: 16px; }
.book__intro .lead { max-width: 440px; margin-bottom: 18px; }
.book__intro .type { font-size: 18px; color: var(--bone); }
.book__form {
	flex: 1 1 520px; min-width: 0;
	padding: 32px;
	display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 4px; }
.field--full { grid-column: 1 / -1; }
.field__label { font-family: var(--font-type); font-size: 16px; text-transform: uppercase; }
.field input, .field textarea {
	width: 100%;
	background: transparent;
	border: 0; border-bottom: 2px solid var(--ink);
	border-radius: 0;
	padding: 10px 2px;
	font-family: var(--font-body); font-size: 18px; color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--red); background: rgba(255, 255, 255, .35); }
.field textarea { resize: vertical; min-height: 110px; }
.book__form .btn { justify-self: start; }
.book__status { grid-column: 1 / -1; padding: 12px 16px; font-family: var(--font-type); font-size: 17px; }
.book__status--ok { background: var(--ink); color: var(--paper); }
.book__status--err { background: var(--red); color: var(--paper); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Profile --------------------------------------------------------------- */
.profile { padding: 60px 0 var(--section); }
.back-link { font-size: 18px; text-decoration: none; }
.back-link:hover { text-decoration: underline; }
.back-link--paper { color: var(--paper); display: inline-block; margin-bottom: 20px; }
.back-link--paper:hover { color: var(--red-hot); }
.profile__inner { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.profile__pass {
	flex: 0 1 400px; min-width: 0;
	background: var(--white); border: 3px solid var(--ink);
	padding: 14px;
	transform: rotate(-2deg);
	box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
}
.profile__photo { display: block; width: 100%; aspect-ratio: 540 / 865; object-fit: cover; margin-top: 14px; }
.profile__pass-foot { display: block; margin-top: 12px; text-align: center; font-size: 16px; text-transform: uppercase; }
.profile__body { flex: 1 1 520px; min-width: 0; }
.profile__nick { font-family: var(--font-marker); font-size: clamp(26px, 3vw, 34px); line-height: 1.1; color: var(--red); }
.profile__name { margin-top: 6px; }
.profile__role { margin: 10px 0 30px; font-size: 20px; text-transform: uppercase; }

.prose { font-size: 19px; line-height: 1.65; color: var(--ink-2); max-width: 760px; }
.prose > * + * { margin-top: 18px; }
.prose--wide { max-width: none; }
.prose--paper { color: var(--bone); margin-top: 30px; }
.prose a { color: var(--red); }
.prose h2, .prose h3 { font-family: var(--font-display); font-weight: 400; line-height: 1; color: var(--ink); }
.prose h2 { font-size: 44px; } .prose h3 { font-size: 34px; }
.prose ul, .prose ol { padding-left: 1.3em; }

/* WordPress galleries (Photos page) */
.prose .wp-block-gallery, .prose .gallery { margin-top: 30px; }
.prose .wp-block-gallery img, .prose .gallery img { border: 3px solid var(--ink); background: var(--white); }
.prose figcaption { font-family: var(--font-type); font-size: 15px; }
.alignwide { max-width: none; }
.aligncenter { margin-left: auto; margin-right: auto; }

/* More of the crew chips */
.more-crew { padding: 70px 0; }
.chip-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.chip {
	display: inline-block;
	border: 2px solid var(--paper); color: var(--paper);
	padding: 8px 18px;
	font-family: var(--font-display); font-size: 26px; letter-spacing: .04em;
	text-decoration: none;
}
.chip:hover { background: var(--paper); color: var(--ink); }

/* Generic page / 404 */
.page-body { padding: 70px 0 var(--section); min-height: 50vh; }
.notfound .lead { margin: 20px 0 30px; max-width: 560px; }

/* Footer ---------------------------------------------------------------- */
.site-footer { border-top: 6px solid var(--ink); padding: 34px 0; }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 30px; font-family: var(--font-type); font-size: 16px; }
.site-footer__links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.site-footer__links a { color: var(--ink); }
.site-footer__links a:hover { color: var(--red); }
.site-footer__copy { color: var(--muted); }
.site-footer__copy a { color: var(--ink); }
.site-footer__copy a:hover { color: var(--red); }

/* Phones ---------------------------------------------------------------- */
@media (max-width: 600px) {
	:root { --gutter: 16px; }
	.hero { padding-top: 32px; }
	.hero__poster { min-height: 360px; }
	.setlist__sheet { padding: 32px 24px 26px; transform: rotate(1deg); }
	.book__form { padding: 22px; }
	.profile__pass { transform: none; }
	.btn { font-size: 24px; }
}

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
	.pass:hover, .tape:hover, .btn:hover { transform: none; }
}
