:root {
  color-scheme: dark;
  --text: #d7dadd;
  --muted: #a5afb6;
  --line: #333b40;
  --blue: #8cccf0;
}
* { box-sizing: border-box; }
body { margin: 0; background: #000; color: var(--text); font: 16px/1.6 Arial, Helvetica, sans-serif; }
a { color: var(--blue); text-underline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; border: 0; }
h1, h2, h3 { margin: 0; color: #e8edf0; line-height: 1.25; }
h2 { font-size: 26px; }
h1 { font-size: 26px; }
h3 { font-size: 17px; }
p { margin: 0 0 20px; }
p:last-child { margin-bottom: 0; }
ul { padding-left: 22px; margin: 16px 0; }
li { margin-bottom: 5px; }
:focus { outline: 2px solid var(--blue); outline-offset: 3px; }
@supports selector(:focus-visible) {
  :focus:not(:focus-visible) { outline: none; }
  :focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
}
[hidden] { display: none !important; }
button, a { touch-action: manipulation; }
button { min-height: 44px; padding: 11px 18px; border: 1px solid #4e5e68; background: #182b37; color: #edf5fa; font: 700 14px/1.4 Arial, sans-serif; cursor: pointer; }
button:hover { background: #263f4f; }
button:disabled { background: #222a30; color: #b6c1c8; cursor: default; }
.button-link { display: inline-block; min-height: 44px; padding: 10px 16px; border: 1px solid #5686a1; background: #182b37; color: #edf5fa; font-weight: bold; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip { position: fixed; top: -70px; left: 16px; z-index: 10; padding: 12px; background: #000; }
.skip:focus { top: 10px; }
.stars { min-height: 100vh; background: #000 url('assets/background.jpg') center top no-repeat; }
.wrapper { width: 100%; max-width: 950px; margin: auto; padding: 15px 0 24px; }
.header { height: 139px; }
.brand { display: block; width: 100%; height: 110px; }
main { margin: 20px 0 28px; }
.page-panel { padding: 28px; border: 1px solid var(--line); background: #080a0c; }
.page-heading { margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.page-banner { width: 100%; margin-bottom: 24px; }
.home-hero { display: grid; grid-template-columns: 300px minmax(0, 1fr); align-items: stretch; border: 1px solid var(--line); background: #080a0c; }
.welcome-copy { padding: 25px 24px; }
.welcome-copy h1 { font-size: 24px; line-height: 1.35; margin-bottom: 18px; }
.welcome-copy p { font-size: 15px; line-height: 1.6; margin-bottom: 0; }
.band-link { display: inline-block; width: 164px; margin-top: 18px; }
.band-link img { width: 100%; }
.performance-photo { position: relative; overflow: hidden; min-width: 0; min-height: 0; }
.performance-photo img { position: absolute; top: 0; left: -48.387%; width: 148.387%; max-width: none; height: 100%; object-fit: cover; object-position: right center; }
.sponsors { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; margin-top: 20px; padding: 18px; border: 1px solid var(--line); background: #080a0c; }
.sponsors a { flex: 1 0 90px; max-width: 110px; }
.sponsors img { width: 110px; height: 62px; object-fit: contain; }
.intro-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.intro-copy { min-width: 0; }
.intro-media { width: 100%; border: 1px solid var(--line); }
.biography-story { margin-top: 24px; }
.biography-story p img { width: min(100%, 420px); margin: 0 0 18px; }
.influence-list { display: inline-block; vertical-align: top; width: 49%; padding-right: 16px; }
.equipment-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.equipment-layout > img { width: 100%; border: 1px solid var(--line); }
.equipment-list ul { font-size: 15px; }
.albums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 22px; }
.album { margin: 0; min-width: 0; padding: 16px 12px; border: 1px solid var(--line); background: #11181c; }
.album img { width: 86px; max-width: 100%; margin: 0 auto; aspect-ratio: 1; object-fit: contain; background: #101417; border: 1px solid var(--line); }
.album figcaption { margin-top: 12px; font-size: 14px; line-height: 1.4; text-align: center; }
.gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.gallery a { display: block; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border: 1px solid var(--line); }
.gallery a:hover { filter: brightness(1.15); }
.media-player { display: block; width: 100%; aspect-ratio: 16/9; border: 1px solid var(--line); background: #000; }
.media-note { margin-top: 16px; font-size: 14px; color: var(--muted); }
.media-list [aria-pressed="true"] { border-color: var(--blue); }
#performance-title { margin: 14px 0 0; }
.media-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.media-list a, .media-list button { display: block; min-width: 0; padding: 12px; border: 1px solid var(--line); background: #11181c; color: var(--text); font: 14px/1.5 Arial, sans-serif; text-align: left; text-decoration: none; }
.media-list img { width: 100%; aspect-ratio: 16/9; object-fit: cover; margin-bottom: 10px; }
.audio-title { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.audio-clips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 20px; }
.audio-clips audio { display: block; width: 100%; margin-top: 10px; }
.contact-layout { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.contact-layout .intro-media { aspect-ratio: 3/4; object-fit: cover; }
.formelement { margin: 0 0 20px; }
.formelement label { display: block; margin-bottom: 7px; font-size: 14px; }
.formelement input, .formelement textarea { display: block; width: 100%; min-height: 46px; padding: 10px 12px; color: var(--text); background: #12181c; border: 1px solid #47535b; border-radius: 0; font: inherit; }
.formelement textarea { resize: vertical; }
.form-note { font-size: 13px; line-height: 1.6; color: var(--muted); margin-bottom: 18px; }
#contact-errors { padding: 14px; margin-bottom: 20px; border: 2px solid #efa8a8; background: #281a1c; color: #ffe1e1; }
#contact-errors p { margin-bottom: 8px; }
#contact-errors ul { margin: 0; }
.formelement [aria-invalid="true"] { border: 2px solid #efa8a8; }
#contact-status:empty { display: none; }
#contact-status { margin-top: 16px; font-size: 14px; }
.footer { padding: 20px 0 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer nav { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-bottom: 16px; }
.footer nav a { min-height: 32px; padding: 5px 0; color: #ccd6dc; text-decoration: none; }
.footer nav a:hover { color: #fff; text-decoration: underline; }
.footer-link, .text-button { min-height: 44px; padding: 5px 0; border: 0; background: transparent; color: var(--blue); font: inherit; text-align: left; text-decoration: underline; }
.footer-link:hover, .text-button:hover { background: transparent; color: #fff; }
.footer-link { color: #ccd6dc; font-size: 13px; }
#cookie-status:empty { display: none; }
.notice-page h2 { font-size: 21px; margin: 28px 0 12px; }
.notice-page p, .notice-page li { overflow-wrap: anywhere; }
.cookie-panel { position: fixed; z-index: 20; inset: auto 0 0; max-height: 75vh; overflow-y: auto; border-top: 2px solid #627884; background: #10181e; box-shadow: 0 -6px 24px #000b; color: #e8edf0; }
.cookie-inner { width: 100%; max-width: 1000px; padding: 22px 24px; margin: auto; }
.cookie-summary { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 24px; align-items: center; }
.cookie-panel h2 { font-size: 21px; margin-bottom: 8px; }
.cookie-panel h3 { font-size: 18px; margin-bottom: 8px; }
.cookie-panel p { font-size: 14px; line-height: 1.6; margin-bottom: 12px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.cookie-actions button { white-space: normal; }
.cookie-details { border-top: 1px solid #627884; margin-top: 18px; padding-top: 18px; }
.cookie-category { display: grid; grid-template-columns: minmax(0,1fr) 24px; align-items: center; gap: 16px; border-top: 1px solid #47535b; padding: 12px 0; }
.cookie-category label { font-size: 14px; }
.cookie-category span { display: block; font-size: 13px; color: #bfcbd3; margin-top: 3px; }
.cookie-category input { width: 20px; height: 20px; margin: 0; }
body.cookie-notice-open { padding-bottom: 240px; }
body.cookie-details-open { padding-bottom: 75vh; }
html.cookie-notice-open { scroll-padding-bottom: 250px; }
html.cookie-details-open { scroll-padding-bottom: 75vh; }
.copyright { line-height: 1.7; }
.copyright a { color: var(--muted); }
dialog { max-width: 95vw; max-height: 95vh; padding: 44px 18px 16px; border: 1px solid #555; background: #080a0c; color: var(--text); }
dialog::backdrop { background: #000d; }
dialog img { max-height: 75vh; margin: auto; }
dialog:not([open]) { display: none; }
.close { position: absolute; right: 0; top: 0; width: 44px; padding: 0; border: 0; background: none; color: white; font-size: 28px; }
.viewer-controls { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 14px; }
.viewer-controls button { min-width: 44px; }
@media (max-width: 950px) {
  .wrapper { padding-left: 14px; padding-right: 14px; }
  .stars { background-size: 1600px auto; }
  .home-hero { grid-template-columns: 280px minmax(0, 1fr); }
  .page-panel { padding: 24px; }
  .intro-layout, .equipment-layout { gap: 24px; }
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .cookie-summary { grid-template-columns: minmax(0,1fr); gap: 8px; }
  .cookie-inner { padding: 18px 16px; }
  .cookie-actions { justify-content: flex-start; }
  body.cookie-notice-open { padding-bottom: 330px; }
  body.cookie-details-open { padding-bottom: 75vh; }
  html.cookie-notice-open { scroll-padding-bottom: 340px; }
  html.cookie-details-open { scroll-padding-bottom: 75vh; }
  .home-hero, .intro-layout, .equipment-layout { grid-template-columns: minmax(0, 1fr); }
  .performance-photo { order: -1; }
  /* Keep the actual image in flow: Safari need not infer a grid row height
     from aspect-ratio on a container containing only an absolute child. */
  .performance-photo img { position: relative; top: auto; height: auto; }
  .welcome-copy { padding: 24px; }
  .welcome-copy h1 { font-size: 24px; }
  .intro-media { order: -1; aspect-ratio: 16/9; object-fit: cover; object-position: center 42%; }
  .contact-layout .intro-media { aspect-ratio: 16/9; object-position: center 40%; }
  .biography-story { margin-top: 20px; }
  .media-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .stars { background-size: 1000px auto; }
  .header { height: 92px; }
  .brand { height: 85px; }
  .wrapper { padding: 15px 12px 24px; }
  main { margin: 16px 0 24px; }
  .page-panel { padding: 20px; }
  .page-heading { margin-bottom: 20px; padding-bottom: 14px; font-size: 24px; }
  .welcome-copy { padding: 20px; }
  .welcome-copy h1 { font-size: 23px; }
  .welcome-copy p { font-size: 16px; }
  .band-link { width: 148px; margin-top: 16px; }
  .sponsors { gap: 12px; padding: 14px; margin-top: 16px; }
  .sponsors a { flex-basis: 80px; max-width: 94px; }
  .sponsors img { height: 53px; }
  .albums { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .influence-list { width: 100%; padding-right: 0; }
  .audio-clips { grid-template-columns: minmax(0, 1fr); }
  .footer nav { gap: 0 16px; }
  .footer nav a { min-height: 44px; padding: 10px 0; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
@media (forced-colors: active) {
  .navigation a[aria-current="page"], .media-list [aria-pressed="true"] { border-bottom: 3px solid Highlight; }
}
@media (max-width: 360px) {
  .page-panel { padding: 16px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .media-list { grid-template-columns: minmax(0, 1fr); }
}
