/* BS8 Music Crew — public site styles (built on the Bike Shed engine) */
:root {
  --accent: #141414;
  --bg: #f3f1ec;
  --surface: #ffffff;
  --card: #e6e3dc;
  --ink: #141414;
  --muted: #5f5d58;
  --line: #d9d5cc;
  --radius: 4px;
  --display: "Archivo", "Arial Black", Impact, system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; }
main { flex: 1; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 900; font-stretch: 112%; line-height: .98; letter-spacing: -0.02em; text-transform: uppercase; }
h1 { font-size: clamp(2.2rem, 6vw, 4.2rem); margin: 0 0 1.2rem; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 3rem 0 .8rem; }
h3 { font-size: 1.35rem; margin: 1.6rem 0 .4rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--surface); padding: .5rem 1rem; z-index: 10; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.eyebrow, .svc-label, .hc-top, .meta, .card time { font: 600 .72rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; }

/* Header */
.site-header { background: var(--header-bg, var(--bg)); position: relative; z-index: 5; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 84px; flex-wrap: wrap; border-bottom: 1px solid var(--ink); }
.brand { text-decoration: none; color: var(--ink); display: flex; align-items: center; gap: .9rem; padding: .7rem 0; }
.brand-name { font-family: var(--display); font-weight: 900; font-size: 1.4rem; text-transform: uppercase; }
.brand-tag { font-size: .8rem; color: var(--muted); }
.brand .logo { height: 46px; width: auto; }
.brand-sub { font: 700 .66rem/1.25 var(--sans); letter-spacing: .16em; text-transform: uppercase; max-width: 6em; }
.site-nav { display: flex; gap: .3rem; align-items: center; flex-wrap: wrap; }
.site-nav a { color: var(--ink); text-decoration: none; padding: .5rem .85rem; border-radius: 999px; font-weight: 600; font-size: .85rem; }
.site-nav a:hover { background: var(--card); }
.site-nav a[aria-current] { background: var(--card); }
.site-nav a.nav-insta span, .site-nav a.nav-cta span { font-size: .85em; }
.site-nav a.nav-cta { order: 99; background: var(--ink); color: var(--bg); padding: .7rem 1.3rem; margin-left: .4rem; }
.site-nav a.nav-cta:hover { background: #333; }
.nav-toggle { display: none; }
.site-header.dark .header-inner { border-bottom-color: rgba(255,255,255,.3); }
.site-header.dark .brand, .site-header.dark .site-nav a { color: #fff; }
.site-header.dark .site-nav a.nav-cta { background: #fff; color: var(--header-bg); }
.site-header.dark .brand .logo { filter: invert(1); }
@media (max-width: 760px) {
  .nav-toggle { display: block; background: none; border: 1px solid var(--ink); color: inherit; border-radius: 999px; padding: .45rem 1rem; font: 600 .9rem var(--sans); }
  .site-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding-bottom: 1rem; }
  .site-nav.open { display: flex; }
  .site-nav a.nav-cta { order: 0; margin: .3rem 0 0; text-align: center; }
  .brand .logo { height: 38px; }
}

/* Hero */
.hero { padding: clamp(2rem, 6vw, 4.5rem) 0 clamp(2.5rem, 6vw, 4rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.hero .eyebrow { display: flex; align-items: center; gap: .6rem; margin: 0 0 1.3rem; }
.hero .eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.7rem); margin: 0 0 1.4rem; }
.hero .lede { max-width: 34ch; margin: 0 0 1.8rem; }
.pill, .contact-form .button { display: inline-flex; align-items: center; gap: 1.6rem; background: var(--ink); color: var(--bg); text-decoration: none; border: 0; border-radius: 999px; padding: .85rem 1.4rem; font: 600 .9rem var(--sans); cursor: pointer; }
.pill:hover, .contact-form .button:hover { background: #333; }
.hero-card { position: relative; background: var(--card); aspect-ratio: 1 / 1.03; padding: clamp(1rem, 2.4vw, 1.6rem); display: flex; flex-direction: column; overflow: hidden; }
.hero-card .hc-top { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .8rem; border-bottom: 2px solid var(--ink); position: relative; z-index: 1; }
.hc-mid { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 0; }
.hc-logo { width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.hc-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; position: relative; z-index: 1; }
.hc-bottom p { margin: 0; font: 900 clamp(1.2rem, 2.3vw, 1.75rem)/1 var(--display); font-stretch: 112%; text-transform: uppercase; letter-spacing: -0.01em; }
.hc-arrow { flex: none; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; text-decoration: none; font-size: 1.3rem; outline: 1px solid var(--ink); outline-offset: 3px; }
.hc-arrow:hover { background: var(--ink); color: var(--bg); }
.hero-card.has-image { color: #fff; }
.hero-card .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-card.has-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.05) 35%, rgba(0,0,0,.6)); }
.hero-card.has-image .hc-top { border-bottom-color: #fff; }
.hero-card.has-image .hc-arrow { border-color: #fff; outline-color: #fff; color: #fff; }
@media (max-width: 820px) { .hero-grid { grid-template-columns: 1fr; } .hero-card { max-width: 520px; } }

/* Ticker (full width band) */
.ticker { width: 100vw; margin: 0 0 3rem calc(50% - 50vw); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--card); overflow: hidden; padding: 1.1rem 0; }
.ticker-track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker-row { display: flex; align-items: center; }
.ticker span { font: 900 clamp(1.1rem, 2.4vw, 1.6rem)/1 var(--display); font-stretch: 112%; text-transform: uppercase; padding: 0 1.4rem; white-space: nowrap; }
.ticker i { font-style: normal; font-size: 1rem; }
@keyframes ticker { to { transform: translateX(-25%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* Body text */
.page-body { padding-top: 2.5rem; padding-bottom: 3.5rem; }
.home-body { padding-top: 0; }
.page-body p, .page-body li { max-width: 68ch; }
.page-body > h1 + p, .home-body h2 + p { color: var(--muted); }
.page-body blockquote { margin: 2rem 0; padding: 0; border: 0; font: 900 clamp(1.6rem, 4vw, 2.6rem)/1 var(--display); font-stretch: 112%; text-transform: uppercase; }
.page-body blockquote p { margin: 0; }
.page-body hr { border: 0; border-top: 1px solid var(--ink); margin: 2.5rem 0; }
.page-body img, .page-body video { margin: 1rem 0; }
.page-body video { width: 100%; background: #000; }
figure.wide { margin: 2rem 0; }
figure.wide img, figure.wide video { width: 100%; margin: 0; }
figcaption { color: var(--muted); font-size: .9rem; margin-top: .5rem; }
.meta, .crumb { color: var(--muted); margin: -.4rem 0 1.4rem; }
.crumb { margin: 0 0 .8rem; }
.crumb a { text-decoration: none; }

/* Service cards */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); border-top: 1px solid var(--ink); margin: 2rem 0 3rem; }
.svc { padding: 1.6rem 1.6rem 1.8rem 0; display: flex; flex-direction: column; gap: .3rem; }
.svc + .svc { border-left: 1px solid var(--ink); padding-left: 1.6rem; }
.svc h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: .4rem 0 .5rem; }
.svc p { margin: 0 0 1.2rem; color: var(--muted); flex: 1; }
.svc-link { font-weight: 600; font-size: .9rem; text-decoration: none; }
.svc-link:hover { text-decoration: underline; }
@media (max-width: 820px) { .svc { padding: 1.4rem 0; } .svc + .svc { border-left: 0; padding-left: 0; border-top: 1px solid var(--ink); } }

/* Bands on home */
.band { padding-top: 1rem; padding-bottom: 3rem; }
.band-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--ink); padding-top: 1.6rem; margin-bottom: 1.4rem; }
.band-head h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.band-head a { font-weight: 600; text-decoration: none; white-space: nowrap; font-size: .9rem; }

/* News cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.4rem; align-items: start; }
.card { background: var(--surface); border: 1px solid var(--ink); display: flex; flex-direction: column; overflow: hidden; }
.card-img { overflow: hidden; }
.card-img img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; transition: transform .3s; }
.card:hover .card-img img { transform: scale(1.03); }
.card-body { padding: 1rem 1.2rem 1.3rem; }
.card time { color: var(--muted); }
.card h3 { margin: .4rem 0 .5rem; font-size: 1.3rem; }
.card h3 a { text-decoration: none; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }
.pager { display: flex; gap: .4rem; margin-top: 2rem; }
.pager a, .pager span { padding: .3rem .8rem; border-radius: 999px; border: 1px solid var(--ink); text-decoration: none; }
.pager span { background: var(--ink); color: var(--bg); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding-bottom: 3rem; }
.post-nav a { display: block; border: 1px solid var(--ink); background: var(--surface); padding: .8rem 1rem; text-decoration: none; font-weight: 600; }
.post-nav small { display: block; color: var(--muted); font-weight: 400; }
.post-nav .right { text-align: right; grid-column: 2; }

/* Gallery (photos and videos) */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; }
.chips a { border: 1px solid var(--ink); padding: .35rem 1rem; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .85rem; }
.chips a[aria-current] { background: var(--ink); color: var(--bg); }
.chips small { opacity: .7; font-weight: 400; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .7rem; }
.photo-grid.compact { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.photo-grid.embedded { margin: 2rem 0; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.photo { position: relative; display: block; overflow: hidden; background: var(--card); }
.photo img, .photo video { width: 100%; aspect-ratio: 1; object-fit: cover; margin: 0 !important; transition: transform .3s; }
.photo:hover img, .photo:hover video { transform: scale(1.04); }
.photo .play { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: rgba(20,20,20,.75); border: 2px solid #fff; pointer-events: none; transition: transform .2s; }
.photo .play::after { content: ""; position: absolute; left: 22px; top: 16px; border-style: solid; border-width: 11px 0 11px 17px; border-color: transparent transparent transparent #fff; }
.photo:hover .play { transform: scale(1.08); }
.photo span { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem .7rem .5rem; color: #fff; font-size: .85rem; line-height: 1.3; background: linear-gradient(transparent, rgba(0,0,0,.75)); opacity: 0; transition: opacity .2s; }
.photo:hover span, .photo:focus span { opacity: 1; }
@media (hover: none) { .photo span { opacity: 1; } }
@media (max-width: 600px) { .photo-grid, .photo-grid.compact, .photo-grid.embedded { grid-template-columns: repeat(2, 1fr); gap: .45rem; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(12,12,12,.95); z-index: 50; display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 92vw; max-height: 88vh; display: flex; flex-direction: column; align-items: center; }
.lightbox img, .lightbox video { max-width: 92vw; max-height: 80vh; width: auto; }
.lightbox video { background: #000; }
.lightbox [hidden] { display: none !important; }
.lightbox figcaption { color: #ddd; text-align: center; padding-top: .7rem; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 999px; width: 48px; height: 48px; font-size: 2rem; line-height: 1; cursor: pointer; z-index: 2; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* Footer */
.site-footer { background: var(--ink); color: var(--bg); padding: 2.2rem 0; margin-top: 2rem; font-size: .9rem; }
.site-footer a { color: var(--bg); }
.footer-inner { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.site-footer strong { font: 900 1.2rem var(--display); font-stretch: 112%; text-transform: uppercase; }
.footer-text { opacity: .7; letter-spacing: .08em; text-transform: uppercase; font-size: .75rem; margin-top: .3rem; }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: .15rem; opacity: .85; }
@media (max-width: 600px) { .footer-right { align-items: flex-start; } }

.map { margin: 2rem 0; overflow: hidden; border: 1px solid var(--ink); aspect-ratio: 16 / 9; background: var(--card); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Contact / enquiry form */
.contact-form { background: var(--card); padding: clamp(1.2rem, 3vw, 2rem); margin: 2rem 0; scroll-margin-top: 100px; position: relative; }
.contact-form h3 { margin: 0 0 1.2rem; font-size: clamp(1.4rem, 3vw, 2rem); }
.contact-form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 1rem; }
.contact-form label small { font-weight: 400; color: var(--muted); }
.contact-form input, .contact-form textarea { display: block; width: 100%; margin-top: .35rem; padding: .7rem .8rem; font: 400 1rem/1.5 var(--sans); color: var(--ink); background: var(--bg); border: 1px solid var(--ink); border-radius: 0; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.contact-form textarea { resize: vertical; min-height: 150px; }
.services { border: 0; padding: 0; margin: 0 0 1.2rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.services legend { font-weight: 600; font-size: .9rem; margin-bottom: .5rem; padding: 0; }
.contact-form label.tick { margin: 0; cursor: pointer; }
.tick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tick span { display: inline-block; border: 1px solid var(--ink); border-radius: 999px; padding: .5rem 1rem; background: var(--bg); }
.tick input:checked + span { background: var(--ink); color: var(--bg); }
.tick input:checked + span::before { content: "✓ "; }
.tick input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-errors { background: #f6dcd8; color: #7a1610; padding: .6rem 1rem; margin-bottom: 1rem; font-size: .95rem; }
.form-errors ul { margin: 0; padding-left: 1.1rem; }
.contact-form.sent { border-left: 4px solid var(--ink); }
.contact-form.sent p { margin: 0; }
.page-body ul.hours { list-style: none; padding: 0; max-width: 360px; }