/* ==========================================================================
   Livewire - main stylesheet
   Midnight + white for most surfaces. The orange > pink > blue gradient is
   reserved for brand moments: primary buttons and Spotlight.
   ========================================================================== */

:root {
  --midnight: #090D15;
  --white: #FFFFFF;
  --voltage: #FF563D;
  --pulse: #F02D83;
  --electric: #4361FF;
  --gradient: linear-gradient(90deg, var(--voltage), var(--pulse) 50%, var(--electric));

  --ink: #151a28;
  --ink-soft: #566074;
  --line: #e3e6ed;
  --grey-50: #f6f7fa;
  --grey-100: #eceef4;
  --midnight-2: #131a2a;

  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'Albert Sans', system-ui, sans-serif;

  --radius: 12px;
  --radius-lg: 18px;
  --container: 1160px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}
img, svg, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--electric); text-underline-offset: 3px; }
a:hover { color: var(--pulse); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -0.01em; color: inherit; }
h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--electric); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--ink-soft); font-size: .92rem; margin-bottom: .25em; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 60ch; }
.mt-lg { margin-top: 3rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--midnight); padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: 700 1rem/1 var(--font-body);
  padding: .95rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
  background-origin: border-box; /* stops the gradient restarting inside the transparent border */
  text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-sm { padding: .65rem 1.1rem; font-size: .92rem; }
.btn-block { display: flex; width: 100%; }
.btn-gradient { background: var(--gradient); background-origin: border-box; color: var(--white); }
.btn-gradient:hover { color: var(--white); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(240,45,131,.35); }
.btn-dark { background: var(--midnight); color: var(--white); }
.btn-dark:hover { background: var(--midnight-2); color: var(--white); }
.btn-outline { background: transparent; color: var(--midnight); border-color: var(--midnight); }
.btn-outline:hover { background: var(--midnight); color: var(--white); }
.btn-white { background: var(--white); color: var(--midnight); border-color: var(--white); }
.btn-white:hover { background: var(--grey-100, #eef0f5); color: var(--midnight); border-color: var(--grey-100, #eef0f5); transform: translateY(-1px); }
.btn-disabled { background: var(--grey-100); color: var(--ink-soft); cursor: not-allowed; }
.text-link { font-weight: 700; text-decoration: none; white-space: nowrap; }
.text-link:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--midnight); border-bottom: 1px solid rgba(255,255,255,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }
.brand img { height: 30px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.nav-links { display: flex; gap: 1.25rem; }
.nav-links a { color: rgba(255,255,255,.82); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--white); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { content: ''; position: absolute; left: 11px; right: 11px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle-bars { top: 21px; }
.nav-toggle-bars::before { top: -7px; left: 0; right: 0; }
.nav-toggle-bars::after { top: 7px; left: 0; right: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Artists | Venues toggle ---------- */
.type-toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--grey-100); }
.type-toggle a { padding: .5rem 1.1rem; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .92rem; color: var(--ink-soft); }
.type-toggle a:hover { color: var(--midnight); }
.type-toggle a.is-active { background: var(--midnight); color: var(--white); }
.type-toggle--header { background: rgba(255,255,255,.1); }
.type-toggle--header a { color: rgba(255,255,255,.8); }
.type-toggle--header a:hover { color: var(--white); }
.type-toggle--header a.is-active { background: var(--white); color: var(--midnight); }

/* ---------- Hero (the one bold moment) ---------- */
.hero { position: relative; overflow: hidden; background: var(--midnight); color: var(--white); padding: 4.5rem 0 7rem; }
.hero-inner { position: relative; z-index: 2; }
.hero h1 { max-width: 14ch; }
.hero-sub { max-width: 52ch; font-size: 1.15rem; color: rgba(255,255,255,.78); margin-bottom: 2rem; }

/* ---------- Search card ---------- */
.search-card { background: var(--white); color: var(--ink); border-radius: var(--radius-lg); padding: 1rem; max-width: 980px; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.search-tabs { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--grey-100); margin-bottom: .9rem; }
.search-tabs label { cursor: pointer; }
.search-tabs input { position: absolute; opacity: 0; pointer-events: none; }
.search-tabs span { display: block; padding: .5rem 1.2rem; border-radius: 999px; font-weight: 700; font-size: .92rem; color: var(--ink-soft); }
.search-tabs input:checked + span { background: var(--midnight); color: var(--white); }
.search-tabs input:focus-visible + span { outline: 3px solid var(--electric); outline-offset: 2px; }
.search-fields, .filter-bar { display: grid; grid-template-columns: 1fr 1fr 1.4fr auto; gap: .75rem; align-items: end; }

/* ---------- Form fields ---------- */
.field { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.field > span { font-size: .85rem; font-weight: 700; color: var(--ink-soft); }
.field select, .field input, .field textarea {
  width: 100%; font: 500 1rem var(--font-body); color: var(--ink);
  padding: .8rem .9rem; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--white);
}
.field select:focus, .field input:focus, .field textarea:focus { outline: none; border-color: var(--electric); box-shadow: 0 0 0 3px rgba(67,97,255,.2); }
.field textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.enquiry-form { display: grid; gap: 1rem; max-width: 640px; }

/* ---------- Sections ---------- */
.section { padding: 4rem 0; }
.section-grey { background: var(--grey-50); }
.section-dark { background: var(--midnight); color: var(--white); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.section-heading h2 { margin-bottom: .15em; }
.section-heading p { margin: 0; color: var(--ink-soft); }
.spotlight-block + .spotlight-block { margin-top: 3.5rem; }

.page-head { background: var(--grey-50); border-bottom: 1px solid var(--line); padding: 2.5rem 0 1.75rem; }
.page-head h1 { font-size: clamp(1.9rem, 4vw, 2.75rem); }
.page-head-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.page-head-row h1 { margin: 0; }
.filter-bar { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1rem; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.filter-bar .field-grow { grid-column: span 2; }
.filter-reset { align-self: center; }
.result-count { color: var(--ink-soft); font-weight: 600; margin-bottom: 1.25rem; }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 1.25rem; }
.card-grid--artist { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.card-grid--venue { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: border-color .15s ease, box-shadow .15s ease; }
.card:hover { border-color: #c9cfdc; box-shadow: 0 10px 28px rgba(9,13,21,.08); }
.card-link { display: block; color: inherit; text-decoration: none; height: 100%; }
.card-media { position: relative; background: var(--midnight-2); overflow: hidden; }
.card-media--square { aspect-ratio: 1 / 1; }
.card-media--wide { aspect-ratio: 16 / 10; }
.card-media img, .card-media picture, .card-media .ph { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: .9rem 1rem 1.1rem; }
.card-title { font-size: 1.1rem; margin: 0 0 .15rem; }
.card-meta { margin: 0; color: var(--ink-soft); font-size: .92rem; }
.card-meta--soft { margin-bottom: .1rem; }
.card-empty { border-style: dashed; background: var(--grey-50); }
.card-empty-inner { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: .6rem; height: 100%; min-height: 220px; padding: 1.5rem; }
.card-empty-title { font: 700 1.15rem var(--font-display); margin: 0; }
.card-empty-text { color: var(--ink-soft); margin: 0; }

.ph { display: grid; place-items: center; background: linear-gradient(160deg, #1a2236, var(--midnight)); }
.ph span { font: 800 clamp(2rem, 6vw, 3.2rem) var(--font-display); color: rgba(255,255,255,.88); letter-spacing: -0.02em; }

.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.chips li, .chips a { display: inline-block; font-size: .8rem; font-weight: 600; padding: .2rem .65rem; border-radius: 999px; background: var(--grey-100); color: var(--ink); text-decoration: none; }
.chips a:hover { background: var(--midnight); color: var(--white); }

.badge-spotlight { position: absolute; top: .7rem; left: .7rem; z-index: 2; display: inline-flex; align-items: center; gap: .35rem; background: var(--gradient); color: var(--white); font: 700 .78rem var(--font-body); padding: .3rem .65rem; border-radius: 999px; }
.profile-title-row .badge-spotlight { position: static; }

.pagination { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 2.5rem; font-weight: 600; }
.pill-links { display: flex; flex-wrap: wrap; gap: .6rem; }
.pill-links a { display: inline-block; padding: .55rem 1.1rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--ink); font-weight: 600; text-decoration: none; }
.pill-links a:hover { background: var(--midnight); color: var(--white); border-color: var(--midnight); }
.empty-state { text-align: center; padding: 3rem 1rem; background: var(--grey-50); border-radius: var(--radius-lg); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.steps li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; }
.step-num { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--midnight); color: var(--white); font: 700 1rem var(--font-display); margin-bottom: .8rem; }
.steps p { margin: 0; color: var(--ink-soft); }

/* ---------- Join CTA ---------- */
.join-cta-head p { color: rgba(255,255,255,.75); }
.join-cta-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.join-card { display: block; background: var(--midnight-2); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); padding: 1.75rem; color: var(--white); text-decoration: none; }
.join-card:hover { color: var(--white); border-color: rgba(255,255,255,.3); }
.join-card p { color: rgba(255,255,255,.72); }

/* ---------- Join / Spotlight / FAQ pages ---------- */
.join-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.join-panel, .price-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem; }
.tick-list { margin: 0 0 1.5rem; }
.tick-list li { padding-left: 1.6rem; position: relative; margin-bottom: .5rem; }
.tick-list li::before { content: ''; position: absolute; left: 0; top: .55em; width: .7rem; height: .4rem; border-left: 3px solid var(--electric); border-bottom: 3px solid var(--electric); transform: rotate(-45deg); }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.price-card { display: flex; flex-direction: column; gap: .25rem; }
.price-card .btn { margin-top: auto; align-self: flex-start; }
.price-card--venue { background: var(--midnight); color: var(--white); border-color: var(--midnight); }
.price-card--venue .muted { color: rgba(255,255,255,.65); }
.price-big { font: 800 2.4rem var(--font-display); margin: 0; }
.price-big span { font: 500 1rem var(--font-body); color: var(--ink-soft); }
.price-card--venue .price-big span { color: rgba(255,255,255,.65); }
.faq { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin: .7rem 0 0; color: var(--ink-soft); }

/* ---------- Profiles ---------- */
.profile-cover { position: relative; height: clamp(180px, 28vw, 320px); background: var(--midnight); overflow: hidden; }
.profile-cover img, .profile-cover picture { width: 100%; height: 100%; object-fit: cover; }
.profile-head { position: relative; display: flex; align-items: flex-end; gap: 1.5rem; margin-top: -56px; padding-bottom: 1.5rem; flex-wrap: wrap; }
.profile-avatar { flex: none; width: clamp(112px, 16vw, 168px); aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; border: 5px solid var(--white); background: var(--midnight-2); box-shadow: 0 8px 24px rgba(9,13,21,.25); }
.profile-avatar img, .profile-avatar picture, .profile-avatar .ph { width: 100%; height: 100%; object-fit: cover; }
.profile-id { flex: 1 1 320px; padding-bottom: .25rem; }
.profile-title-row { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.profile-title-row h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: .1em; color: var(--ink); }
.profile-tagline { font-size: 1.1rem; color: var(--ink-soft); margin-bottom: .4rem; }
.profile-meta { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; color: var(--ink-soft); font-weight: 600; margin: 0; }
.profile-actions { padding-bottom: .25rem; }

.profile-nav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.profile-nav ul { display: flex; gap: .25rem; overflow-x: auto; }
.profile-nav a { display: block; padding: .9rem 1rem; font-weight: 700; font-size: .95rem; color: var(--ink-soft); text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap; }
.profile-nav a:hover { color: var(--ink); }
.profile-nav a.is-current { color: var(--ink); border-bottom-color: var(--pulse); }

.profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 3rem; padding-top: 2rem; padding-bottom: 4rem; align-items: start; }
.profile-layout--single { grid-template-columns: minmax(0, 820px); }
.profile-id .social-links { margin-top: .9rem; gap: .5rem; }
.profile-section { scroll-margin-top: calc(var(--header-h) + 64px); padding-bottom: 2.5rem; }
.profile-section h2 { margin-bottom: .75rem; }
.profile-section > p { max-width: 68ch; }
.subhead { font-size: 1rem; margin: 1.25rem 0 .5rem; }
.notice { background: var(--grey-50); border-left: 4px solid var(--electric); padding: .8rem 1rem; border-radius: 0 var(--radius) var(--radius) 0; max-width: 640px; }

.profile-aside { position: sticky; top: calc(var(--header-h) + 72px); }
.aside-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem; background: var(--white); }
.aside-card h2 { font-size: 1.15rem; }
.aside-card dl { margin: 0 0 1rem; }
.aside-card dt { font-size: .82rem; font-weight: 700; color: var(--ink-soft); margin-top: .75rem; }
.aside-card dd { margin: 0; font-weight: 600; }
.aside-card .btn { margin-top: 1.25rem; }
.social-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid var(--line); color: var(--ink); text-decoration: none; }
.social-links a:hover { border-color: var(--midnight); background: var(--midnight); color: var(--white); }

.music-list { display: grid; gap: 1rem; }
.music-item iframe { border: 0; border-radius: var(--radius); }
.music-buy { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; }
.music-item iframe + .music-buy { margin-top: .5rem; }
.music-title { font-weight: 700; margin: 0; }
.buy-box { display: flex; align-items: center; gap: .9rem; }
.price { font: 700 1.1rem var(--font-display); }
.merch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1rem; }
.merch-item { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.merch-item img, .merch-item picture, .merch-item .ph { width: 100%; height: 100%; object-fit: cover; }
.merch-body { padding: .8rem 1rem 1rem; }
.merch-name { font-weight: 700; margin: 0; }
.merch-body .buy-box { justify-content: space-between; margin-top: .6rem; }

.show-list { display: grid; gap: .75rem; }
.show-row { display: flex; align-items: center; gap: 1rem; border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem 1rem; }
.show-date { flex: none; width: 56px; text-align: center; background: var(--midnight); color: var(--white); border-radius: 10px; padding: .4rem 0; line-height: 1.1; }
.show-day { display: block; font: 800 1.35rem var(--font-display); }
.show-month { display: block; font-size: .78rem; font-weight: 600; opacity: .8; }
.show-info { flex: 1; min-width: 0; }
.show-title { font-weight: 700; margin: 0; }
.show-title a { color: inherit; }
.past-shows { margin-top: 1.5rem; }
.past-shows summary { cursor: pointer; font-weight: 700; margin-bottom: .75rem; }
.show-list--past { opacity: .75; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .75rem; }
.gallery-grid img, .gallery-grid picture { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }

/* ---------- Footer ---------- */
.site-footer { background: var(--midnight); color: rgba(255,255,255,.75); padding-top: 3.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; }
.footer-brand img { height: 26px; width: auto; margin-bottom: 1rem; }
.footer-title { font: 700 1rem var(--font-display); color: var(--white); margin-bottom: .75rem; }
.site-footer li { margin-bottom: .45rem; }
.site-footer a { color: rgba(255,255,255,.75); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-social { display: flex; gap: 1rem; }
.footer-base { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding-top: 1.25rem; padding-bottom: 1.5rem; font-size: .9rem; }
.footer-base p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .profile-layout { grid-template-columns: 1fr; gap: 1rem; }
  .profile-aside { position: static; order: -1; }
  .search-fields { grid-template-columns: 1fr 1fr; }
  .search-fields .field-grow { grid-column: span 2; }
  .search-fields .btn { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: flex-end; text-align: right; gap: 1rem; padding: 1.25rem 20px 1.5rem; background: var(--midnight); border-bottom: 1px solid rgba(255,255,255,.1); }
  .site-nav.is-open { display: flex; }
  .nav-links { flex-direction: column; align-items: flex-end; gap: .5rem; }
  .type-toggle--header { align-self: flex-start; }
}

@media (max-width: 600px) {
  .section { padding: 3rem 0; }
  .hero { padding: 3rem 0 6rem; }
  .search-fields, .form-row { grid-template-columns: 1fr; }
  .search-fields .field-grow, .search-fields .btn { grid-column: auto; }
  .filter-bar .field-grow { grid-column: auto; }
  .section-heading { flex-direction: column; align-items: flex-start; }
  .card-grid--artist, .card-grid--venue { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .profile-head { margin-top: -44px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}

/* ---------- Search + results in one panel ---------- */

.panel-wrap { position: relative; z-index: 3; margin-top: -4.5rem; padding-bottom: 4rem; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: 0 20px 50px rgba(9, 13, 21, .22); }
.panel .search-card, .panel .filter-bar { background: none; border: 0; border-radius: 0; box-shadow: none; padding: 0; max-width: none; }
.panel-results { margin-top: 1.75rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.panel-results .section-heading h2 { font-size: 1.4rem; }

/* Listing pages: title band sits behind the panel */
.page-head--panel { padding-bottom: 5.5rem; background: var(--midnight); border-bottom: 0; color: var(--white); }
.page-head--panel .type-toggle { background: rgba(255, 255, 255, .1); }
.page-head--panel .type-toggle a { color: rgba(255, 255, 255, .8); }
.page-head--panel .type-toggle a:hover { color: var(--white); }
.page-head--panel .type-toggle a.is-active { background: var(--white); color: var(--midnight); }
.page-head--panel .page-head-row { margin-bottom: 0; }
.panel-wrap--listing { margin-top: -3.5rem; }

@media (max-width: 600px) {
  .panel { padding: 1rem; }
  .panel-wrap { margin-top: -3.5rem; }
}

/* ---------- Homepage on light grey ---------- */
body:has(.hero) { background: var(--grey-50); }

/* The "grey" bands flip to white so the sections still alternate */
body:has(.hero) .section-grey { background: var(--white); }



/* Hero: plain background, compact spacing that scales by screen size */
.hero { padding: 3rem 0 2.5rem; }
.hero .hero-sub { margin-bottom: 0; }
.hero-grad { display: inline-block; background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--pulse); padding-bottom: .08em; }
@media (max-width: 900px) { .hero { padding: 2.5rem 0 2rem; } }
@media (max-width: 600px) { .hero { padding: 2rem 0 1.75rem; } }

/* Homepage: search card sits in its own section, no overlap with the hero */
.panel-wrap:not(.panel-wrap--listing) { margin-top: 0; padding-top: 2.5rem; }
.panel-wrap:not(.panel-wrap--listing) .panel { box-shadow: 0 10px 30px rgba(9, 13, 21, .08); }

/* Homepage hero: headline breaks after "homegrown" */
.hero h1 { max-width: none; }
@media (max-width: 700px) {
  .hero h1 { font-size: clamp(2.2rem, 9.6vw, 3.4rem); }
}

/* Homepage hero: eyebrow, perks and calls to action */
.hero .hero-sub { margin-bottom: 1.25rem; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1rem; font-family: var(--font-display); font-weight: 600; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.hero-eyebrow-dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--pulse); box-shadow: 0 0 0 0 rgba(240,45,131,.6); animation: heroPulse 2s infinite; }
@keyframes heroPulse { 70% { box-shadow: 0 0 0 .6rem rgba(240,45,131,0); } 100% { box-shadow: 0 0 0 0 rgba(240,45,131,0); } }
.hero-perks { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; gap: .5rem; max-width: 52ch; }
.hero-perks li { position: relative; padding-left: 1.6rem; color: rgba(255,255,255,.92); font-size: 1rem; line-height: 1.4; }
.hero-perks li::before { content: ""; position: absolute; left: 0; top: .32em; width: .95rem; height: .95rem; border-radius: 50%; background: var(--gradient); }
.hero-perks li::after { content: ""; position: absolute; left: .3rem; top: .52em; width: .22rem; height: .4rem; border: solid var(--midnight); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); color: var(--white); border-color: var(--white); }
@media (max-width: 600px) { .hero-actions .btn { width: 100%; justify-content: center; } .hero-eyebrow { font-size: .7rem; letter-spacing: .04em; } }
@media (prefers-reduced-motion: reduce) { .hero-eyebrow-dot { animation: none; } }

/* Homepage search: artists use the two dropdowns only; venues also get keyword + Search */
@media (min-width: 961px) {
  .search-card[data-search-form][data-mode="artist"] .search-fields { grid-template-columns: repeat(2, minmax(200px, 280px)); }
  .search-card[data-search-form][data-mode="venue"] .search-fields { grid-template-columns: minmax(200px, 280px) 1fr auto; }
}
.search-fields .btn[hidden] { display: none; }

/* Legal pages and footer links */
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; }
.footer-legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; opacity: .85; }
.footer-legal a:hover { opacity: 1; }
.legal h2 { font-size: 1.3rem; margin: 2rem 0 .5rem; }
.legal h2:first-child { margin-top: 0; }
.legal ul { list-style: disc; padding-left: 1.25rem; margin: .5rem 0 1rem; }
.legal li { display: list-item; }
.legal li { margin: .45rem 0; }
.legal-note { font-size: .9rem; color: var(--ink-soft); margin: .25rem 0 1rem; }
