/* Public website styles. Colors and heading font come from the control panel (see :root in index.php). */
:root {
  --bg: #0f0d0b; --bg-alt: #17140f; --surface: #1d1914; --ink: #f2ece2; --muted: #a89e8f;
  --line: rgba(242, 236, 226, .12); --overlay: rgba(10, 8, 6, .55);
  --font-body: "Barlow", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1180px; --gutter: clamp(16px, 4vw, 40px); --radius: 4px;
  --header-h: 72px;
}
.theme-light {
  --bg: #f6f2ea; --bg-alt: #ede6da; --surface: #ffffff; --ink: #1c1814; --muted: #6c6357;
  --line: rgba(28, 24, 20, .12); --overlay: rgba(10, 8, 6, .45);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, iframe { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.02; margin: 0; text-transform: uppercase; letter-spacing: .01em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.center { text-align: center; margin-top: 40px; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Subtle film grain over everything for a rugged, printed feel */
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.theme-light body::after { opacity: .035; mix-blend-mode: multiply; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px; border: 2px solid transparent; border-radius: var(--radius);
  font: 700 15px/1 var(--font-head); text-transform: uppercase; letter-spacing: .1em; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: var(--accent-hover); }
.btn-outline { border-color: currentColor; background: transparent; }
.btn-outline:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 13px; }
.btn-disabled { border-color: var(--line); color: var(--muted); cursor: default; min-height: 40px; padding: 0 18px; font-size: 13px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { font: 700 14px/1 var(--font-head); text-transform: uppercase; letter-spacing: .1em; text-decoration: none; color: var(--accent); white-space: nowrap; }
.link-arrow::after { content: " →"; transition: margin .2s; }
.link-arrow:hover::after { margin-left: 4px; }
.eyebrow { font: 700 14px/1 var(--font-head); text-transform: uppercase; letter-spacing: .22em; color: var(--accent); margin-bottom: 14px; }
.badge { position: absolute; top: 10px; left: 10px; background: var(--accent); color: var(--accent-ink); font: 700 11px/1 var(--font-head); letter-spacing: .1em; text-transform: uppercase; padding: 6px 8px; border-radius: 2px; }

/* Icons */
.brand-icon { width: 20px; height: 20px; }
.icon-links { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.icon-links a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; color: inherit; opacity: .85; transition: opacity .2s, color .2s, background .2s; }
.icon-links a:hover { opacity: 1; color: var(--accent); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h); color: #fff; transition: background .3s, box-shadow .3s, height .3s; }
.site-header.scrolled { background: rgba(12, 10, 8, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 20px; }
.logo { display: flex; align-items: center; text-decoration: none; flex: none; }
.logo img { height: var(--logo-h, 64px); width: auto; max-width: 260px; object-fit: contain; transition: height .3s; }
.site-header.scrolled .logo img { height: calc(var(--logo-h, 64px) * .72); }
.site-header.scrolled { height: calc(var(--header-h) - (var(--logo-h, 64px) * .28)); }
.logo span { font: 700 24px/1 var(--font-head); text-transform: uppercase; letter-spacing: .06em; }
.main-nav { display: flex; align-items: center; gap: 20px; }
.main-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav ul a:not(.btn) { display: block; padding: 10px 12px; font: 600 15px/1 var(--font-head); text-transform: uppercase; letter-spacing: .12em; text-decoration: none; opacity: .9; position: relative; }
.main-nav ul a:not(.btn)::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .25s; }
.main-nav ul a:not(.btn):hover::after, .main-nav ul a.current::after { transform: scaleX(1); }
.nav-shop { margin-left: 8px; }
.nav-social a { width: 34px; height: 34px; }
.nav-social .brand-icon { width: 17px; height: 17px; }
.menu-btn { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; z-index: 60; }
.menu-btn span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px auto; transition: transform .3s, opacity .3s; }
.nav-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .menu-btn span:nth-child(2) { opacity: 0; }
.nav-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: #0c0a08; }
.hero-media, .hero-media picture, .hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-top .hero-media img, .hero-top .hero-media video { object-position: center top; }
.hero-bottom .hero-media img, .hero-bottom .hero-media video { object-position: center bottom; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 45%, rgba(10,8,6,.85) 100%); }
.hero-empty { background: linear-gradient(160deg, #2a2016, #0c0a08 70%); background:
  radial-gradient(ellipse at 70% 20%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 55%),
  radial-gradient(ellipse at 10% 90%, rgba(255,255,255,.06), transparent 50%),
  linear-gradient(160deg, #241d15, #0c0a08 70%); }
.hero-content { position: relative; z-index: 2; padding-top: 140px; padding-bottom: clamp(56px, 10vh, 110px); }
.hero-title { font-size: clamp(56px, 12vw, 168px); line-height: .88; letter-spacing: .005em; margin-bottom: 14px; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero-sub { font: 600 clamp(18px, 2.4vw, 26px)/1.2 var(--font-head); text-transform: uppercase; letter-spacing: .2em; margin-bottom: 30px; opacity: .92; }
.hero .eyebrow { color: #fff; opacity: .85; }
.hero .btn-outline:hover { background: #fff; border-color: #fff; color: #111; }
.hero-links { position: absolute; z-index: 2; right: var(--gutter); bottom: clamp(56px, 10vh, 110px); flex-direction: column; }

.page-notice { background: var(--accent); color: var(--accent-ink); padding: 14px 0; font-weight: 600; text-align: center; }

/* Sections */
.section { padding: clamp(72px, 11vw, 140px) 0; position: relative; }
.section:nth-of-type(even) { background: var(--bg-alt); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.section-head h2, .about-text h2, .contact-info h2, .signup-inner h2 { font-size: clamp(44px, 7vw, 88px); line-height: .9; }

/* Music */
.release-featured { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.cover { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.cover-empty, .product-photo.cover-empty { display: flex; align-items: flex-end; padding: 8%; aspect-ratio: 1 / 1; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent), #15110d 85%); color: #fff; }
.cover-empty span { font: 700 clamp(18px, 2.4vw, 34px)/1 var(--font-head); text-transform: uppercase; }
.release-art a { display: block; transition: transform .3s; }
.release-art a:hover { transform: translateY(-4px) rotate(-.5deg); }
.release-info h3 { font-size: clamp(40px, 6vw, 76px); line-height: .92; margin-bottom: 12px; }
.release-info .btn-row { margin: 26px 0 22px; }
.platforms { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.platforms a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 99px; font-size: 14px; font-weight: 600; text-decoration: none; transition: border-color .2s, color .2s; }
.platforms a:hover { border-color: var(--accent); color: var(--accent); }
.platforms .brand-icon { width: 16px; height: 16px; }
.release-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: clamp(18px, 3vw, 32px); margin-top: clamp(48px, 7vw, 80px); }
.release-card a { text-decoration: none; display: block; }
.release-card-art { position: relative; margin-bottom: 14px; overflow: hidden; border-radius: var(--radius); }
.release-card-art .cover { box-shadow: none; transition: transform .4s; }
.release-card a:hover .cover { transform: scale(1.04); }
.release-card .cover-empty span { font-size: 18px; }
.release-card h3 { font-size: 20px; letter-spacing: .03em; margin-bottom: 2px; }
.release-card p { font-size: 15px; margin: 0; }
.spotify-embed { margin-top: clamp(40px, 6vw, 64px); }
.spotify-embed iframe { border-radius: 12px; border: 0; }

/* Videos */
.video-main, .video-card { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; }
.video-main { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: #000; }
.video-main img, .video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, opacity .3s; }
.video-main:hover img, .video-card:hover img { transform: scale(1.03); opacity: .85; }
.video-main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(0,0,0,.7)); }
.video-title { position: absolute; left: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 28px); z-index: 2; color: #fff; font: 700 clamp(20px, 3vw, 34px)/1.05 var(--font-head); text-transform: uppercase; }
.play { position: absolute; z-index: 2; top: 50%; left: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--accent); transition: transform .25s; }
.play::before { content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%); border-style: solid; border-width: 13px 0 13px 22px; border-color: transparent transparent transparent var(--accent-ink); }
.video-main:hover .play, .video-card:hover .play { transform: scale(1.1); }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: clamp(18px, 3vw, 28px); margin-top: clamp(18px, 3vw, 28px); }
.video-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: #000; margin-bottom: 12px; }
.video-thumb .play { width: 52px; height: 52px; margin: -26px 0 0 -26px; }
.video-thumb .play::before { border-width: 9px 0 9px 15px; }
.video-card-title { font: 600 18px/1.2 var(--font-head); text-transform: uppercase; letter-spacing: .03em; }

/* Shows */
.show-list { list-style: none; margin: 0; padding: 0; }
.show { display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: clamp(16px, 3vw, 36px); padding: 22px 0; border-bottom: 1px solid var(--line); transition: background .2s; }
.show:first-child { padding-top: 0; }
.show-date { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; width: 96px; padding: 12px 0; border: 1px solid var(--line); border-radius: var(--radius); font-family: var(--font-head); text-transform: uppercase; line-height: 1; }
.show-date .m { font-size: 15px; letter-spacing: .18em; color: var(--accent); font-weight: 700; }
.show-date .d { font-size: 44px; font-weight: 700; margin: 4px 0; }
.show-date .w { font-size: 12px; letter-spacing: .18em; color: var(--muted); }
.show-main h3 { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: .02em; margin-bottom: 6px; }
.show-main p { margin: 0; color: var(--muted); }
.show-main .lineup { color: var(--ink); font-size: 15px; font-weight: 600; margin-top: 2px; }
.dot { margin: 0 8px; opacity: .6; }
.show-label { font: 700 13px/1 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.show.sold-out .show-main h3 { text-decoration: line-through; text-decoration-thickness: 2px; opacity: .65; }
.empty-note { font-size: 20px; color: var(--muted); padding: 24px 0; }
.past-shows { margin-top: 36px; color: var(--muted); }
.past-shows summary { cursor: pointer; font: 700 14px/1 var(--font-head); letter-spacing: .12em; text-transform: uppercase; }
.past-shows ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 6px; }
.past-shows li span:first-child { display: inline-block; width: 120px; }
.bit-wrap { min-height: 120px; }

/* Merch */
.merch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: clamp(18px, 3vw, 32px); }
.product a { text-decoration: none; display: block; }
.product-img { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--surface); margin-bottom: 14px; }
.product-photo { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .4s; }
.product a:hover .product-photo { transform: scale(1.05); }
.product .cover-empty span { font-size: 22px; }
.product h3 { font-size: 20px; letter-spacing: .03em; margin-bottom: 4px; }
.price { color: var(--accent); font-weight: 600; margin: 0; }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-grid.no-photo { grid-template-columns: minmax(0, 760px); }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); filter: saturate(.9) contrast(1.05); }
.about-text h2 { margin-bottom: 28px; }
.prose { font-size: 18px; margin-bottom: 28px; }
.prose p:first-child { font-size: 21px; color: var(--ink); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin-top: clamp(48px, 7vw, 88px); }
.gallery-item { padding: 0; border: 0; background: var(--surface); cursor: zoom-in; overflow: hidden; border-radius: var(--radius); aspect-ratio: 1 / 1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, opacity .3s; }
.gallery-item:hover img { transform: scale(1.05); opacity: .9; }

/* Signup */
.section-signup { background: var(--accent) !important; color: var(--accent-ink); padding: clamp(56px, 8vw, 96px) 0; }
.signup-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.signup-inner h2 { font-size: clamp(40px, 5.5vw, 68px); margin-bottom: 12px; }
.signup-inner p { margin: 0; font-size: 18px; }
.signup-form { display: flex; flex-wrap: wrap; gap: 10px; }
.signup-form input { flex: 1 1 160px; min-height: 52px; padding: 0 16px; border: 2px solid transparent; border-radius: var(--radius); font: 500 16px var(--font-body); background: rgba(255,255,255,.95); color: #1a1612; }
.signup-form input.zip { flex: 0 1 100px; }
.signup-form input:focus { outline: none; border-color: var(--accent-ink); }
.signup-form .btn { min-height: 52px; background: #14110d; color: #fff; }
.signup-form .btn:hover { background: #000; }
.signup-form .form-status { flex-basis: 100%; }
.sms { grid-column: 1 / -1; margin: 0; font-weight: 600; }
.sms a { text-decoration: underline; text-underline-offset: 3px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(40px, 7vw, 96px); align-items: start; }
.contact-grid.no-form { grid-template-columns: minmax(0, 720px); }
.contact-info h2 { margin-bottom: 22px; }
.contact-info > p { font-size: 18px; color: var(--muted); }
.contacts { margin: 30px 0; display: grid; gap: 18px; }
.contacts dt { font: 700 13px/1 var(--font-head); letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.contacts dd { margin: 0; font-size: 18px; }
.contacts a { text-decoration: none; border-bottom: 1px solid var(--line); }
.contacts a:hover { border-color: var(--accent); }
.contact-links { margin-left: -10px; }
.contact-form { display: grid; gap: 16px; background: var(--surface); padding: clamp(22px, 4vw, 40px); border-radius: var(--radius); border: 1px solid var(--line); }
.contact-form label { display: grid; gap: 6px; font: 600 13px/1.2 var(--font-head); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg); color: var(--ink); font: 400 16px/1.4 var(--font-body); text-transform: none; letter-spacing: 0; }
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); }
.contact-form .btn { justify-self: start; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-status { margin: 0; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: inherit; }
.form-status.err { color: #e5675a; }
.section-signup .form-status.err { color: #5a0d06; }
form.sending { opacity: .65; pointer-events: none; }

/* Footer */
.site-footer { background: #0a0807; color: #d8d0c3; padding: 64px 0 40px; text-align: center; }
.footer-inner { display: grid; justify-items: center; gap: 24px; }
.footer-logo img { height: auto; max-height: 140px; max-width: 220px; }
.footer-logo span { font-size: 30px; }
.footer-links { justify-content: center; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; }
.footer-nav a { font: 600 14px/1 var(--font-head); text-transform: uppercase; letter-spacing: .14em; text-decoration: none; opacity: .75; }
.footer-nav a:hover { opacity: 1; color: var(--accent); }
.copyright { font-size: 14px; opacity: .55; margin: 0; }

/* Lightbox for videos and photos */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5,4,3,.94); display: flex; align-items: center; justify-content: center; padding: 60px 16px 24px; }
.lightbox[hidden] { display: none; }
.lightbox-body { width: 100%; max-width: 1100px; }
.lightbox-body .frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.lightbox-body iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lightbox-body img { max-height: 82vh; width: auto; margin: 0 auto; }
.lightbox-body p { color: #ddd; text-align: center; margin: 12px 0 0; }
.lightbox-close { position: absolute; top: 12px; right: 16px; width: 48px; height: 48px; border: 0; background: none; color: #fff; font-size: 40px; line-height: 1; cursor: pointer; }
body.lock { overflow: hidden; }

/* Scroll reveal (only when JavaScript is running) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}

/* Tablets and phones */
@media (max-width: 980px) {
  .menu-btn { display: block; }
  .main-nav { position: fixed; inset: 0; z-index: 55; flex-direction: column; justify-content: center; gap: 36px; background: #0c0a08; color: #fff;
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .nav-open .main-nav { opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 6px; }
  .main-nav ul a:not(.btn) { font-size: 30px; padding: 10px; letter-spacing: .08em; }
  .main-nav ul a:not(.btn)::after { display: none; }
  .nav-shop { margin: 14px 0 0; }
  .nav-social a { width: 44px; height: 44px; }
  .hero-links { display: none; }
  .release-featured, .about-grid, .signup-inner, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .release-art { max-width: 520px; }
  .about-photo { max-width: 520px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .logo img { height: min(var(--logo-h, 64px), 56px); }
  .site-header.scrolled .logo img { height: min(calc(var(--logo-h, 64px) * .72), 44px); }
  .logo span { font-size: 20px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-content .btn-row .btn { flex: 1 1 100%; }
  .show { grid-template-columns: 72px 1fr; gap: 16px; }
  .show-date { width: 72px; padding: 10px 0; }
  .show-date .d { font-size: 32px; }
  .show-cta { grid-column: 2; }
  .release-grid, .merch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .release-card h3, .product h3 { font-size: 17px; }
  .video-grid { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .row-2 { grid-template-columns: minmax(0, 1fr); }
  .signup-form input, .signup-form input.zip, .signup-form .btn { flex: 1 1 100%; }
  .play { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
}

/* Floating "back to top" button: appears after scrolling down */
.to-top { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 45;
  display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 20px rgba(0,0,0,.35);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s, transform .25s, visibility .25s, background .2s; }
.to-top svg { width: 22px; height: 22px; }
.to-top:hover { background: var(--accent-hover); transform: translateY(-2px); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.nav-open .to-top, .lock .to-top { opacity: 0; visibility: hidden; }
@media (min-width: 981px) { .to-top { right: 28px; bottom: 28px; } }

/* Inner pages (multi-page mode): shorter banner with the page name */
.page-hero { position: relative; min-height: clamp(260px, 44vh, 440px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: #0c0a08; }
.page-hero .hero-media img { filter: saturate(.85); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.65) 0%, rgba(10,8,6,.55) 45%, rgba(10,8,6,.9) 100%); }
.page-hero-content { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(32px, 6vh, 56px); }
.page-hero h1 { font-size: clamp(52px, 10vw, 128px); line-height: .88; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.page-hero + .section, .page-hero + .page-notice + .section { padding-top: clamp(48px, 7vw, 88px); }
.empty-page { text-align: center; font-size: 20px; color: var(--muted); }
.empty-page .btn { margin-top: 12px; }

/* Logo shown large in the home banner */
.hero-logo { display: block; width: clamp(150px, 22vw, 260px); height: auto; margin-bottom: 22px; filter: drop-shadow(0 6px 24px rgba(0,0,0,.45)); }
.hero-title-logo { margin-bottom: 18px; }
.hero-title-logo .hero-logo { width: clamp(200px, 32vw, 380px); margin: 0; }
@media (max-width: 980px) { .site-header { height: min(var(--header-h), 80px); } .site-header.scrolled { height: 64px; } }

/* Soft fade at the bottom of the banners into the first section's background */
.hero::after, .page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; pointer-events: none;
  height: clamp(140px, 32%, 320px);
  background: linear-gradient(180deg, rgba(23,20,15,0) 0%, rgba(23,20,15,.55) 45%, rgba(23,20,15,.88) 75%, var(--bg-alt) 100%); }
.page-hero::after { height: 55%; }
.theme-light .hero::after, .theme-light .page-hero::after {
  background: linear-gradient(180deg, rgba(237,230,218,0) 0%, rgba(237,230,218,.5) 55%, var(--bg-alt) 100%); }
.hero-links { z-index: 3; }

/* Bigger, easier-to-find close button on the video / photo pop-up */
.lightbox { padding-top: 88px; }
.lightbox-close { top: max(16px, env(safe-area-inset-top)); right: max(16px, env(safe-area-inset-right)); width: auto; height: 56px; padding: 0 22px 0 16px;
  display: inline-flex; align-items: center; gap: 10px; border-radius: 99px; background: var(--accent); color: var(--accent-ink);
  font: 700 16px/1 var(--font-head); letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 6px 24px rgba(0,0,0,.5); transition: background .2s, transform .2s; }
.lightbox-close svg { width: 26px; height: 26px; }
.lightbox-close:hover { background: var(--accent-hover); transform: scale(1.05); }
.lightbox-close:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* Section whose title is hidden because the page banner already shows it */
.section-head.no-title { justify-content: flex-end; border-bottom: 0; padding-bottom: 0; margin-bottom: 24px; min-height: 0; }
.page-hero + .section .section-head.no-title:not(:has(a)) { display: none; }

/* Platform icons under release cards */
.platform-icons { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 10px 0 0; padding: 0; }
.platform-icons a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); transition: border-color .2s, color .2s, background .2s; }
.platform-icons a:hover { border-color: var(--accent); color: var(--accent); }
.platform-icons .brand-icon { width: 16px; height: 16px; }
.release-card h3 a { text-decoration: none; }
.release-card h3 a:hover { color: var(--accent); }
.release-card-art > a { display: block; }

/* Play buttons for songs hosted on the site */
.play-btn .i-pause, .play-btn.is-playing .i-play, .play-btn .t-pause, .play-btn.is-playing .t-play { display: none; }
.play-btn.is-playing .i-pause, .play-btn.is-playing .t-pause { display: inline; }
.play-btn svg { width: 18px; height: 18px; }
.play-btn-round { position: absolute; right: 10px; bottom: 10px; z-index: 2; width: 52px; height: 52px; border: 0; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center; background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 6px 18px rgba(0,0,0,.45); transition: transform .2s, background .2s; }
.play-btn-round svg { width: 22px; height: 22px; }
.play-btn-round .i-play { margin-left: 2px; }
.play-btn-round:hover { transform: scale(1.08); background: var(--accent-hover); }
.play-btn-round.is-playing { animation: cw-pulse 1.8s ease-in-out infinite; }
@keyframes cw-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(0,0,0,.45), 0 0 0 0 var(--accent); } 50% { box-shadow: 0 6px 18px rgba(0,0,0,.45), 0 0 0 8px transparent; } }

/* Bottom music player */
.player { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: auto minmax(0, 220px) auto minmax(0, 1fr) auto; align-items: center; gap: 16px;
  padding: 10px max(16px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  background: rgba(14, 12, 10, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid rgba(255,255,255,.08); color: #f2ece2; }
.player[hidden] { display: none; }
.player-cover { width: 52px; height: 52px; border-radius: 4px; object-fit: cover; background: #222; }
.player-info { min-width: 0; display: grid; }
.player-title { font: 700 17px/1.15 var(--font-head); text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-artist { font-size: 13px; color: #a89e8f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-toggle { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--accent); color: var(--accent-ink); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.player-toggle svg { width: 22px; height: 22px; }
.player-toggle .i-pause, .player.is-playing .player-toggle .i-play { display: none; }
.player.is-playing .player-toggle .i-pause { display: block; }
.player-toggle .i-play { margin-left: 2px; }
.player-progress { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #a89e8f; font-variant-numeric: tabular-nums; }
.player-seek { flex: 1; min-width: 0; height: 24px; margin: 0; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; --pct: 0%; }
.player-seek::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--accent) var(--pct), rgba(255,255,255,.18) var(--pct)); }
.player-seek::-moz-range-track { height: 4px; border-radius: 2px; background: rgba(255,255,255,.18); }
.player-seek::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--accent); }
.player-seek::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5px; border-radius: 50%; background: #fff; border: 0; }
.player-seek::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 0; }
.player-close { width: 44px; height: 44px; border: 0; background: none; color: #f2ece2; cursor: pointer; opacity: .75; display: flex; align-items: center; justify-content: center; }
.player-close:hover { opacity: 1; }
.player-close svg { width: 22px; height: 22px; }
body.has-player { padding-bottom: 80px; }
body.has-player .to-top { bottom: calc(96px + env(safe-area-inset-bottom)); }
@media (max-width: 700px) {
  .player { grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 8px 12px; padding-top: 8px; }
  .player-cover { width: 44px; height: 44px; }
  .player-progress { grid-column: 1 / -1; grid-row: 2; }
  body.has-player { padding-bottom: 118px; }
  body.has-player .to-top { bottom: calc(130px + env(safe-area-inset-bottom)); }
}

/* Release cards: streaming icons stacked beside the cover */
.release-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.release-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "art icons" "title title" "meta meta"; column-gap: 10px; align-content: start; }
.release-card .release-card-art { grid-area: art; }
.release-card h3 { grid-area: title; }
.release-card > p { grid-area: meta; }
.release-card .platform-icons { grid-area: icons; flex-direction: column; flex-wrap: nowrap; align-self: start; margin: 0; gap: 8px; }
@media (max-width: 640px) {
  .release-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
  .release-card { column-gap: 6px; }
  .release-card .platform-icons { gap: 6px; }
  .release-card .platform-icons a { width: 30px; height: 30px; }
  .release-card .platform-icons .brand-icon { width: 14px; height: 14px; }
}

/* Gallery section and photo viewer arrows */
.section-gallery .gallery { margin-top: 0; }
.lightbox-body { position: relative; }
.lb-nav { position: fixed; top: 50%; z-index: 3; width: 56px; height: 56px; margin-top: -28px; border: 0; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.12); color: #fff; transition: background .2s; }
.lb-nav:hover { background: var(--accent); color: var(--accent-ink); }
.lb-nav svg { width: 28px; height: 28px; }
.lb-prev { left: max(12px, env(safe-area-inset-left)); }
.lb-next { right: max(12px, env(safe-area-inset-right)); }
.lb-count { display: block; margin-top: 4px; font-size: 13px; opacity: .6; letter-spacing: .1em; }
@media (max-width: 640px) { .lb-nav { top: auto; bottom: 18px; margin-top: 0; width: 50px; height: 50px; } }

/* Captcha box inside the forms */
.captcha { min-height: 65px; }
.signup-form .captcha { flex-basis: 100%; }

/* Bandsintown widget: keep it on the site's background, never a white box */
.bit-wrap { min-height: 160px; font-family: var(--font-body); }
.bit-wrap .bit-widget, .bit-wrap .bit-widget-container, .bit-wrap .bit-widget > div { background-color: transparent !important; }
