/* Neon Black. Tokens first; every component below reads from them. */

@font-face { font-family: 'Knewave'; font-weight: 400; font-display: swap; src: url(../fonts/knewave-400.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 600; font-display: swap; src: url(../fonts/barlow-condensed-600.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-display: swap; src: url(../fonts/barlow-condensed-700.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 800; font-display: swap; src: url(../fonts/barlow-condensed-800.woff2) format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 400; font-display: swap; src: url(../fonts/dm-sans-400.woff2) format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 600; font-display: swap; src: url(../fonts/dm-sans-600.woff2) format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 700; font-display: swap; src: url(../fonts/dm-sans-700.woff2) format('woff2'); }

:root {
	/* Colour. Contrast measured, see docs/brand/design-decisions.md. */
	--black: #101010;
	--black-2: #1a1a1a;
	--paper: #e8e6df;
	--ink: #101010;
	--ink-soft: #55534e;     /* on paper, 6.2:1 */
	--muted: #a5a39e;        /* on black, 7.6:1 */
	--line: rgb(255 255 255 / .15);
	--line-dark: rgb(16 16 16 / .2);
	--red: #ee1832;          /* brand: logo red, display type, rules */
	--red-text: #ff3b50;     /* small text on black, 5.4:1 */
	--red-fill: #d4102b;     /* behind white button text, 5.4:1 */
	--red-fill-hover: #b90e27;
	--red-paper: #c20f2a;    /* red on paper, 5.0:1 */
	--white: #fff;

	/* Type. House scale 64 48 40 32 24 18 16; display sizes are the one recorded exception. */
	--font-display: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
	--font-brush: 'Knewave', 'Barlow Condensed', Impact, sans-serif;
	--font-body: 'DM Sans', Arial, sans-serif;
	--fs-display: 128px;
	--fs-64: 64px;
	--fs-48: 48px;
	--fs-40: 40px;
	--fs-32: 32px;
	--fs-24: 24px;
	--fs-18: 18px;
	--fs-16: 16px;
	--fs-label: 13px;

	/* Space and shape. */
	--gutter: 6vw;
	--max: 1440px;
	--section: 112px;
	--radius: 0;
	--header-h: 94px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--black); color: var(--paper); font: var(--fs-16)/1.6 var(--font-body); overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }
::selection { background: var(--red-fill); color: var(--white); }
:focus-visible { outline: 2px solid var(--red-text); outline-offset: 4px; }
.paper :focus-visible { outline-color: var(--red-paper); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 100; background: var(--red-fill); color: var(--white); padding: 12px 16px; font-weight: 700; }
.skip:focus { top: 12px; }

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

/* Headings */
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; line-height: .95; letter-spacing: -.01em; margin: 0; overflow-wrap: break-word; }
h1 { font-size: var(--fs-display); }
h2 { font-size: var(--fs-64); }
h3 { font-size: var(--fs-32); line-height: 1.05; }
h1 em, h2 em { font-style: normal; color: var(--red); }
.paper h1 em, .paper h2 em { color: var(--red-paper); }

.kicker { display: flex; align-items: center; gap: 14px; margin: 0 0 24px; font-size: var(--fs-label); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.kicker::before { content: ''; flex: 0 0 28px; height: 2px; background: var(--red); }

p { margin: 0 0 1em; }
.prose { color: var(--muted); max-width: 660px; }
.prose p:last-child { margin-bottom: 0; }
.prose-large { font-size: var(--fs-18); }
.prose-article { color: var(--paper); font-size: var(--fs-18); max-width: 720px; }
.prose-article h2 { font-size: var(--fs-40); margin: 1.4em 0 .5em; }
.prose-article h3 { font-size: var(--fs-24); margin: 1.4em 0 .5em; }
.prose-article a { color: var(--red-text); }
.prose-article img, .prose-article iframe { max-width: 100%; }
.prose-article blockquote { margin: 1.5em 0; padding-left: 24px; border-left: 2px solid var(--red); font-size: var(--fs-24); }
.prose > .text-link { margin-top: 24px; }

/* Links and buttons */
.text-link { display: inline-block; padding: 8px 0; color: var(--paper); border-bottom: 2px solid var(--red); font-size: var(--fs-label); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.text-link:hover { color: var(--red-text); }
.paper .text-link { color: var(--ink); border-color: var(--red-paper); }
.paper .text-link:hover { color: var(--red-paper); }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 26px; border: 1px solid var(--line); font-size: var(--fs-label); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; transition: background-color .2s, border-color .2s; }
.button:hover { background: rgb(255 255 255 / .08); border-color: var(--paper); }
.button-primary { background: var(--red-fill); border-color: var(--red-fill); color: var(--white); }
.button-primary:hover { background: var(--red-fill-hover); border-color: var(--red-fill-hover); }
.button-small { min-height: 44px; padding: 10px 20px; }
.actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); position: relative; z-index: 10; }
.site-header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { flex: 0 0 auto; }
.brand img { width: 170px; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { position: relative; padding: 8px 0; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.site-nav a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--red); transition: width .2s; }
.site-nav a:hover::after, .site-nav a[aria-current]::after { width: 100%; }
.menu-toggle { display: none; min-height: 44px; padding: 8px 16px; background: none; border: 1px solid var(--line); color: var(--paper); cursor: pointer; }

/* Home hero */
.hero { position: relative; overflow: hidden; isolation: isolate; }
/* Background art from the original design, darkened so type stays readable. */
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .64; background: linear-gradient(90deg, rgb(16 16 16 / .66) 0%, rgb(16 16 16 / .19) 65%), linear-gradient(0deg, var(--black) 0%, transparent 24%, transparent 75%, rgb(16 16 16 / .6) 100%), url(../img/bg-ruins.webp) center 44% / cover no-repeat; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 4%; min-height: 640px; padding-top: 64px; padding-bottom: 80px; }
.hero h1 { font-family: var(--font-brush); font-weight: 400; font-size: 96px; line-height: 1.15; letter-spacing: -.04em; text-transform: uppercase; transform: rotate(-3deg); transform-origin: left center; margin: 8px 0 32px; }
.hero-text { color: var(--muted); font-size: var(--fs-18); max-width: 420px; }
.hero-logo img { width: 100%; max-width: 720px; margin-left: auto; transform: rotate(-6deg); filter: drop-shadow(0 20px 35px rgb(0 0 0 / .8)); }

/* Sections */
.section { padding: var(--section) 0; }
/* Two dark sections in a row share one gap; after a pale band, the full gap returns. */
.section:not(.paper) + .section:not(.paper):not(.section-quiet) { padding-top: 0; }
.intro { border-top: 1px solid var(--line); padding-top: var(--section) !important; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 8%; align-items: start; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 48px; }
.section-title { font-size: var(--fs-48); margin-bottom: 40px; }
.section-quiet { border-top: 1px solid var(--line); }
.empty { font-size: var(--fs-18); color: var(--muted); max-width: 620px; border-left: 2px solid var(--red); padding-left: 20px; }
.paper { background: var(--paper); color: var(--ink); }
.paper .empty, .paper p { color: var(--ink-soft); }
.paper .empty { border-color: var(--red-paper); }

/* Page heading */
.page-hero { border-bottom: 1px solid var(--line); padding: 80px 0 72px; position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before, .closing::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5; background: linear-gradient(90deg, rgb(16 16 16 / .5), rgb(16 16 16 / .2)), linear-gradient(0deg, rgb(16 16 16 / .8), transparent 50%, rgb(16 16 16 / .53)), url(../img/bg-stone.webp) center 60% / cover no-repeat; }
.page-hero::before { background-position: center, center, center 40%; opacity: .38; }
.page-hero h1 { font-size: var(--fs-display); }
.page-hero-intro { color: var(--muted); font-size: var(--fs-18); max-width: 600px; margin-top: 28px; }

/* Gigs */
.gig-list { border-top: 1px solid var(--line); }
.gig { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 32px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); }
.gig-date { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: end; font-family: var(--font-display); text-transform: uppercase; }
.gig-num { grid-column: 1; grid-row: 1 / span 2; font-size: var(--fs-64); font-weight: 800; line-height: .8; }
.gig-day, .gig-month { grid-column: 2; }
.gig-day { color: var(--red-text); font-size: var(--fs-16); font-weight: 700; letter-spacing: .08em; }
.gig-month { color: var(--muted); font-size: var(--fs-16); font-weight: 600; letter-spacing: .04em; }
.gig h3 a { text-decoration: none; }
.gig h3 a:hover { color: var(--red-text); }
.gig-where p { margin: 6px 0 0; color: var(--muted); }
.gig-with { display: block; font-size: 14px; }
.gig-status { display: inline-block; font-size: var(--fs-label); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red-text); }
.gig-status.is-good { color: var(--paper); }
.gig.is-past { opacity: .75; }
.gig.is-past .gig-day, .gig.is-past .gig-status { color: var(--muted); }
.gig.is-cancelled h3 { text-decoration: line-through; text-decoration-color: var(--red); }

/* News */
.news-list { border-top: 1px solid var(--line-dark); }
.news-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 32px; padding: 28px 0; border-bottom: 1px solid var(--line-dark); }
.news-row time { padding-top: 8px; font-size: var(--fs-label); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.news-row .news-title { font-size: var(--fs-40); }
.news-row .news-title a { text-decoration: none; }
.news-row .news-title a:hover { color: var(--red-paper); }
.news-row p { margin: 10px 0 0; max-width: 680px; }
.post-image { margin-top: 48px; }
.post-nav { padding-bottom: var(--section); }
.nav-links { display: flex; gap: 24px; margin-top: 40px; font-weight: 700; }
.nav-links .current { color: var(--red-paper); }

/* Video: a thumbnail until played, then YouTube. */
.video { position: relative; aspect-ratio: 16 / 9; background: var(--black-2); overflow: hidden; }
.video img, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video-play { position: absolute; inset: 0; width: 100%; background: rgb(0 0 0 / .25); border: 0; cursor: pointer; }
.video-play::after { content: ''; position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--red-fill) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='white'/%3E%3C/svg%3E") 56% 50% / 36px no-repeat; transition: transform .2s; }
.video-play:hover::after { transform: translate(-50%, -50%) scale(1.08); }
.video-fallback { position: absolute; left: -9999px; }
.js .video-fallback { display: none; }
.video-feature { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: center; }
.video-feature h3 { margin-bottom: 16px; }
.video-feature .prose, .video-feature p { color: var(--muted); }
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 32px; }
.video-title { font-size: var(--fs-24); margin-top: 20px; }
.video-title a { text-decoration: none; }
.video-date { color: var(--muted); font-size: 14px; margin-top: 8px; }
.video-single .prose { margin: 32px 0; }

/* Band page */
.members { border-top: 1px solid var(--line); padding-top: var(--section) !important; }
.member { display: grid; grid-template-columns: 1fr; gap: 40px; padding: 40px 0; border-top: 1px solid var(--line); }
.member.has-photo { grid-template-columns: 320px minmax(0, 1fr); }
.member h3 { font-size: var(--fs-48); margin-bottom: 20px; }
.member-role { margin: 0 0 12px; color: var(--red-text); font-size: var(--fs-label); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.member .prose { max-width: 760px; }
.statement { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: var(--fs-48); line-height: 1.05; color: var(--ink) !important; max-width: 1100px; margin: 0; }

/* Merchandise */
.shop { display: grid; gap: 32px; justify-items: start; margin-bottom: 72px; }
.shop-image { display: block; width: 100%; border: 1px solid var(--line); }
.shop-image img { width: 100%; transition: opacity .2s; }
.shop-image:hover img { opacity: .88; }
.merch-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.merch-item { display: block; text-decoration: none; }
.merch-photo { aspect-ratio: 1; display: grid; place-items: center; background: var(--black-2); border: 1px solid var(--line); margin-bottom: 20px; overflow: hidden; }
.merch-photo img { width: 100%; height: 100%; object-fit: cover; }
.merch-photo .merch-placeholder { width: 60%; height: auto; opacity: .35; }
.merch-kind { margin: 0 0 8px; color: var(--muted); font-size: var(--fs-label); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.merch-note { margin: 8px 0 0; color: var(--red-text); font-size: 14px; font-weight: 600; }
a.merch-item:hover h3 { color: var(--red-text); }

/* Press kit, contact, gig details */
.facts { margin: 40px 0 32px; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }
.press-logo { background: var(--black-2); padding: 56px 32px; margin-bottom: 24px; }
.downloads { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
.rights { max-width: 520px; margin-bottom: 56px; color: var(--muted); font-size: 14px; line-height: 1.55; border-left: 2px solid var(--line); padding-left: 16px; }
.rights p { margin-bottom: .6em; }
.downloads + h3, .contact-blocks h3 { margin-bottom: 16px; }
.contact-email { display: inline-block; margin-top: 24px; font-family: var(--font-display); font-weight: 700; font-size: var(--fs-40); line-height: 1.15; text-decoration: none; border-bottom: 2px solid var(--red); overflow-wrap: anywhere; }
.contact-email:hover { color: var(--red-text); }
.contact-blocks { display: grid; gap: 56px; }
.contact-blocks .prose { margin-bottom: 24px; }
/* Vertical rhythm between stacked blocks, wherever they meet. */
.gig-aside > * + * { margin-top: 24px; }
.gig-cta:empty { display: none; }
h2 + .prose, h3 + .prose, h2 + .contact-email { margin-top: 24px; }
.prose + .text-link, .prose + .button, .button + .prose, .gig-status + .prose, .facts + .text-link { margin-top: 24px; }
.prose:empty { display: none; }
.split > h2 + .prose { margin-top: 0; }
.split > .facts:first-child { margin-top: 0; }

/* Closing band */
.closing { border-top: 1px solid var(--line); position: relative; overflow: hidden; isolation: isolate; }

.closing-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-top: 88px; padding-bottom: 88px; }
.closing h2 { font-size: var(--fs-64); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; }
.site-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.footer-brand img { width: 130px; }
.socials { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; }
.socials a, .footer-meta a { font-size: var(--fs-label); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.socials a:hover, .footer-meta a:hover { color: var(--red-text); }
.footer-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px; }
.footer-meta small { color: var(--muted); font-size: var(--fs-label); letter-spacing: .06em; }

/* Up to small laptop: the nav is tight at seven items. */
@media (max-width: 1100px) {
	:root { --fs-display: 96px; }
	.site-nav { gap: 22px; }
	.hero h1 { font-size: 80px; }
}

@media (max-width: 900px) {
	:root { --header-h: 80px; --section: 72px; --fs-display: 64px; }
	h2 { font-size: var(--fs-48); }
	.brand img { width: 140px; }
	.menu-toggle { display: block; }
	.site-nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 24px; background: var(--black-2); border-bottom: 1px solid var(--line); }
	.site-nav.is-open { display: flex; }
	.site-nav a { padding: 14px 0; font-size: 14px; border-bottom: 1px solid var(--line); }
	.site-nav a::after { display: none; }
	.site-nav a[aria-current] { color: var(--red-text); }

	.hero-inner { grid-template-columns: 1fr; min-height: 0; padding-top: 48px; padding-bottom: 56px; gap: 40px; }
	.hero h1 { font-size: 64px; }
	.hero-logo img { margin: 0 auto; max-width: 520px; }
	.hero::before { opacity: .48; background-image: linear-gradient(90deg, rgb(16 16 16 / .66) 0%, rgb(16 16 16 / .19) 65%), linear-gradient(0deg, var(--black) 0%, transparent 24%, transparent 75%, rgb(16 16 16 / .6) 100%), url(../img/bg-ruins-768.webp); background-position: center, center, right center; }
	.page-hero::before, .closing::before { opacity: .32; background-image: linear-gradient(90deg, rgb(16 16 16 / .5), rgb(16 16 16 / .2)), linear-gradient(0deg, rgb(16 16 16 / .8), transparent 50%, rgb(16 16 16 / .53)), url(../img/bg-stone-768.webp); }

	.split, .video-feature { grid-template-columns: 1fr; gap: 32px; }
	.section-head { flex-direction: column; align-items: start; margin-bottom: 32px; }
	.section-title { font-size: var(--fs-40); }
	.gig { grid-template-columns: 110px minmax(0, 1fr); gap: 16px 20px; }
	.gig-action { grid-column: 2; }
	.gig-num { font-size: var(--fs-48); }
	.news-row { grid-template-columns: 1fr; gap: 8px; }
	.news-row time { padding-top: 0; }
	.news-row .news-title { font-size: var(--fs-32); }
	.member.has-photo { grid-template-columns: 1fr; }
	.member-photo { max-width: 360px; }
	.member h3 { font-size: var(--fs-40); }
	.statement { font-size: var(--fs-32); }
	.merch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
	.video-grid { grid-template-columns: 1fr; }
	.closing-inner { flex-direction: column; align-items: start; padding-top: 64px; padding-bottom: 64px; }
	.closing h2 { font-size: var(--fs-48); }
	.contact-email { font-size: var(--fs-32); }
	.page-hero { padding: 56px 0 48px; }
}

@media (max-width: 520px) {
	:root { --fs-display: 48px; --gutter: 20px; }
	h2 { font-size: var(--fs-40); }
	.hero h1 { font-size: 48px; }
	.hero-text, .page-hero-intro, .prose-large, .prose-article { font-size: var(--fs-16); }
	.actions .button { flex: 1 1 100%; }
	.gig { grid-template-columns: 1fr; gap: 12px; }
	.gig-action { grid-column: auto; }
	.gig-date { grid-template-columns: auto auto; justify-content: start; }
	.gig h3 { font-size: var(--fs-24); }
	.news-row .news-title { font-size: var(--fs-24); }
	.merch-grid { grid-template-columns: 1fr; }
	.facts div { grid-template-columns: 1fr; gap: 4px; }
	.closing h2 { font-size: var(--fs-40); }
	.contact-email { font-size: var(--fs-24); }
	.statement { font-size: var(--fs-24); }
	.site-footer-inner { flex-direction: column; align-items: start; }
}

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