/* aMuSing - styles
   Muted denim blue (stage light), soft sand (accent), deep blue (text).
   Fonts are downloaded to /fonts/ by fetch-assets.sh; without them the system fonts apply. */

@font-face { font-family: "Bricolage Grotesque"; font-weight: 700; font-style: normal; font-display: swap;
  src: url(fonts/bricolage-grotesque-700.woff2) format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 800; font-style: normal; font-display: swap;
  src: url(fonts/bricolage-grotesque-800.woff2) format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 400; font-style: normal; font-display: swap;
  src: url(fonts/source-serif-4-400.woff2) format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 400; font-style: italic; font-display: swap;
  src: url(fonts/source-serif-4-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 600; font-style: normal; font-display: swap;
  src: url(fonts/source-serif-4-600.woff2) format("woff2"); }

:root {
  --blue: #3e5f8a;
  --navy: #1e2c44;
  --ink: #111;
  --amber: #e8c77a;
  --paper: #f7f6f2;
  --mist: #e7eaee;
  --muted: #56617a;
  --line: #d4d9e0;
  --display: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --text: "Source Serif 4", Georgia, "Times New Roman", serif;
  --wide: 72rem;
  --narrow: 44rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font-family: var(--text);
  font-size: 1.125rem;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); text-underline-offset: .2em; }
a:hover { color: var(--navy); }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.top :focus-visible, .hero :focus-visible, .foot :focus-visible { outline-color: var(--amber); }

h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .6em; }
h1 { font-size: clamp(2.25rem, 6vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.15rem); margin-top: 1.6em; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 2.5rem, var(--wide)); margin-inline: auto; }
.wrap.narrow { width: min(100% - 2.5rem, var(--narrow)); }

.skip { position: absolute; left: -999px; top: 0; background: var(--amber); color: var(--navy); padding: .6rem 1rem; z-index: 10; }
.skip:focus { left: 0; }

/* ---------- Header with menu button ---------- */

.top { background: var(--blue); color: #fff; position: relative; z-index: 20; }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .7rem; }
.brand { display: block; line-height: 0; }
.brand img { height: 2.8rem; width: auto; }
/* On the home page the large logo in the hero replaces the small brand. */
.home .brand { visibility: hidden; }

.menu-toggle {
  display: none; align-items: center; gap: .55rem; cursor: pointer;
  background: var(--amber); color: var(--ink); border: 3px solid var(--ink); border-radius: .6rem;
  padding: .45rem .85rem; font: 700 1rem var(--display); box-shadow: 3px 3px 0 var(--ink);
}
.js .menu-toggle { display: inline-flex; }
.menu-toggle:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.menu-icon, .menu-icon span, .menu-icon::before, .menu-icon::after { display: block; width: 1.3rem; height: 3px; background: currentColor; border-radius: 2px; }
.menu-icon { position: relative; background: none; height: 1rem; }
.menu-icon span, .menu-icon::before, .menu-icon::after { position: absolute; left: 0; content: ""; transition: transform .2s, opacity .2s; }
.menu-icon::before { top: 0; }
.menu-icon span { top: calc(50% - 1.5px); }
.menu-icon::after { bottom: 0; }
.menu-toggle[aria-expanded="true"] .menu-icon::before { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon span { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-icon::after { transform: translateY(-6.5px) rotate(-45deg); }

/* Without JavaScript the menu is a plain list below the header; with it, a dropdown. */
.menu { padding-bottom: 1rem; }
.js .menu { display: none; position: absolute; top: calc(100% - .4rem); left: 0; right: 0; padding: 0; }
.js .menu.is-open { display: block; }
.menu .wrap { display: flex; justify-content: flex-end; }
.menu ul {
  list-style: none; margin: 0; padding: .5rem; min-width: min(100%, 16rem);
  background: #fff; border: 3px solid var(--ink); border-radius: .8rem; box-shadow: 6px 6px 0 var(--ink);
}
.menu a { display: block; padding: .6rem .9rem; border-radius: .45rem; font: 700 1.15rem var(--display); color: var(--navy); text-decoration: none; }
.menu a:hover { background: var(--amber); color: var(--ink); }
.menu a[aria-current="page"] { background: var(--mist); }
.menu a:focus-visible { outline-color: var(--blue); }

/* ---------- Home page: comic hero ---------- */

.hero {
  position: relative; overflow: hidden; color: #fff; padding: 0 0 3.5rem;
  background:
    radial-gradient(circle, rgba(255, 255, 255, .16) 1.4px, transparent 1.6px) 0 0 / 14px 14px,
    repeating-conic-gradient(from 0deg at 50% 120%, rgba(255, 255, 255, .07) 0 5deg, transparent 5deg 10deg),
    var(--blue);
}
.home .top { background: transparent; }
.home .hero { margin-top: -4.2rem; padding-top: 4.2rem; }
.hero-logo { margin: .5rem 0 0; line-height: 0; }
.hero-logo img { width: min(100%, 34rem); transform: rotate(-3deg); filter: drop-shadow(6px 6px 0 rgba(15, 27, 77, .45)); }
.tagline {
  display: inline-block; margin: 1rem 0 0 .5rem; padding: .2em .8em; transform: rotate(1.5deg);
  background: var(--amber); color: var(--ink); border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
  font: 800 clamp(1.05rem, 3vw, 1.5rem) var(--display);
}

.hero .wrap { display: grid; gap: 1.5rem; align-items: end; }
@media (min-width: 56rem) {
  .hero .wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 2rem; }
  .hero-text { align-self: center; }
}
.hero-band { display: block; margin-top: 1rem; }
.hero-band img { width: 100%; filter: drop-shadow(8px 8px 0 rgba(15, 27, 77, .45)); transition: transform .2s; }
.hero-band:hover img { transform: translateY(-4px); }

@media (prefers-reduced-motion: no-preference) {
  .hero-band img { animation: pop .6s cubic-bezier(.2, 1.3, .4, 1) .15s backwards; }
  @keyframes pop { from { opacity: 0; scale: .7; } }
}

/* ---------- Sections ---------- */

/* Plain pages (Termine, Band, Galerie, ...) need room below the header */
main > div.wrap { padding: 3rem 0 4rem; }

.block { padding: 3.5rem 0; }
.block h2 { margin-top: 0; }
.tint { background: var(--mist); }
.more { margin-top: 1.5rem; font-family: var(--display); font-weight: 700; }

.btn {
  display: inline-block; background: var(--amber); color: var(--navy); font-family: var(--display); font-weight: 700;
  text-decoration: none; padding: .7em 1.4em; border-radius: 999px; border: 2px solid var(--amber);
}
.btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn.alt { background: transparent; border-color: var(--navy); }
.btn.alt:hover { background: var(--navy); color: #fff; }

.booking { background: var(--blue); color: #fff; }
.booking a:not(.btn) { color: #fff; }
.booking p { max-width: 38rem; }
.booking .btn:hover { background: #fff; border-color: #fff; color: var(--navy); }

.release-teaser { display: grid; gap: 2rem; align-items: center; }
.release-teaser img { width: min(100%, 18rem); border-radius: .5rem; }
@media (min-width: 46rem) { .release-teaser { grid-template-columns: 18rem 1fr; gap: 3rem; } }


/* ---------- Concert lists ---------- */

.shows { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .8rem; }
.show a {
  display: grid; grid-template-columns: 5.5rem 1fr; gap: 1.2rem; align-items: center;
  padding: 1rem 1.3rem; background: #fff; border: 2px solid var(--line); border-radius: .75rem;
  color: inherit; text-decoration: none; transition: border-color .15s;
}
.show a:hover { border-color: var(--blue); }
.when { display: grid; justify-items: center; line-height: 1; font-family: var(--display); }
.when .d { font-size: 3rem; font-weight: 800; color: var(--blue); }
.when .m { font-size: .95rem; font-weight: 700; margin-top: .3rem; text-align: center; }
.what h3 { margin: 0 0 .3rem; }
.what p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.45; }
.badge { display: inline-block; margin-top: .5rem; background: var(--amber); color: var(--navy); font-family: var(--display); font-weight: 700; font-size: .9rem; padding: .1em .7em; border-radius: 999px; }
.is-cancelled h3 { text-decoration: line-through; text-decoration-thickness: 2px; }
.is-cancelled .when .d { color: var(--muted); }

.empty { background: #fff; border: 2px dashed var(--line); border-radius: .75rem; padding: 1.6rem 1.6rem .6rem; }
.empty-lead { font-family: var(--display); font-weight: 800; font-size: 1.6rem; line-height: 1.2; }

.past { list-style: none; margin: 0 0 1rem; padding: 0; border-top: 2px solid var(--line); }
.past li { border-bottom: 1px solid var(--line); }
.past a { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; padding: .7rem .2rem; color: inherit; text-decoration: none; }
.past a:hover span { color: var(--blue); text-decoration: underline; }
.past time { font-family: var(--display); font-weight: 700; color: var(--muted); font-size: 1rem; }
@media (max-width: 30rem) { .past a { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Single concert, text pages ---------- */

.concert, .page { padding: 3rem 0 4rem; }
.crumb { font-family: var(--display); font-weight: 700; margin-bottom: 1.2rem; }
.when-line { font-family: var(--display); font-weight: 700; font-size: 1.4rem; margin-bottom: .2rem; }
.place { font-size: 1.15rem; color: var(--muted); }
.notice { background: var(--mist); border-left: 6px solid var(--blue); padding: .8rem 1.1rem; border-radius: 0 .5rem .5rem 0; }
.notice.warn { background: #fff1cf; border-left-color: var(--amber); font-weight: 600; }
.prose h2 { margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose blockquote { margin: 1em 0; padding-left: 1rem; border-left: 4px solid var(--line); color: var(--muted); }
.page h1 { margin-bottom: .8em; }

/* ---------- Band ---------- */

.faces-strip { list-style: none; margin: 1rem 0 2rem; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 40rem) {
  .faces-strip { gap: .45rem; }
  .faces-strip a { font-size: .72rem; }
  .faces { border-width: 2px; margin-bottom: .3rem; }
}
.faces-strip a { display: block; color: var(--navy); text-decoration: none; font: 800 1.15rem var(--display); text-align: center; }
.faces { position: relative; display: block; aspect-ratio: 1; margin-bottom: .5rem; overflow: hidden; border: 3px solid var(--ink); border-radius: .6rem; }
.faces img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.faces .crazy { opacity: 0; transition: opacity .15s; }
.faces-strip a:hover .crazy, .faces-strip a:focus-visible .crazy { opacity: 1; }
.faces-strip a:hover .name { color: var(--blue); }
.member { scroll-margin-top: 1.5rem; }
.faces-strip { scroll-margin-top: 1.5rem; }
.to-top { display: inline-block; margin-left: .25rem; vertical-align: middle; color: var(--muted); opacity: .55; line-height: 0; }
.to-top svg { width: .8rem; height: .8rem; }
.to-top:hover, .to-top:focus-visible { color: var(--blue); opacity: 1; }

.member { display: grid; gap: 1.5rem; margin: 3.5rem 0 5rem; align-items: end; }
.member figure { margin: 0; background: var(--mist); border-radius: 999px 999px .75rem .75rem; aspect-ratio: 3 / 4; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; padding-top: 1.5rem; }
.member figure img { width: 100%; height: 100%; object-fit: contain; object-position: bottom; }
.member h2 { margin-top: 0; margin-bottom: .1em; font-size: clamp(2rem, 5vw, 3rem); }
.voice { font-family: var(--display); font-weight: 700; color: var(--blue); margin-bottom: .8rem; }
.lead { font-size: 1.3rem; font-weight: 600; line-height: 1.4; }
.member h3 { margin-top: 1.4em; font-size: 1.1rem; }
.member figure { width: min(100%, 20rem); }
@media (min-width: 48rem) {
  /* Same picture size for everyone; every second member has the picture on the right */
  .member { grid-template-columns: 20rem 1fr; gap: 3rem; }
  .member:nth-of-type(even) { grid-template-columns: 1fr 20rem; }
  .member:nth-of-type(even) figure { order: 2; }
}

/* ---------- CDs, videos, press ---------- */

.release { display: grid; gap: 1.5rem; margin: 2rem 0 3rem; }
.release img { width: min(100%, 17rem); border-radius: .5rem; }
@media (min-width: 40rem) { .release { grid-template-columns: 17rem 1fr; gap: 2rem; } }
.release h2 { margin-top: 0; }
.links { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: .5rem; }
.links a { display: inline-block; padding: .35em 1em; border: 2px solid var(--navy); border-radius: 999px; font-family: var(--display); font-weight: 700; color: var(--navy); text-decoration: none; }
.links a:hover { background: var(--navy); color: #fff; }

.tracks { list-style: none; padding: 0 !important; display: grid; gap: .6rem; }
.tracks li { display: grid; gap: .2rem; }
.tracks span { font-family: var(--display); font-weight: 700; font-size: 1rem; }
audio { width: 100%; }

.yt { position: relative; aspect-ratio: 16 / 9; background: var(--navy); border-radius: .75rem; display: grid; place-items: center; align-content: center; gap: .6rem; color: #fff; text-align: center; padding: 1rem; overflow: hidden; margin: 1.5rem 0; }
.yt a { color: var(--amber); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-note { margin: 0; font-size: .95rem; color: #c9d2f5; max-width: 24rem; }
button.btn { cursor: pointer; font-size: 1.05rem; }

.downloads { display: grid; gap: 2rem; margin: 1.5rem 0 2.5rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.downloads figure { margin: 0; }
.downloads img { border-radius: .5rem; border: 1px solid var(--line); margin-bottom: .5rem; }
.downloads figcaption { font-family: var(--display); font-weight: 700; font-size: 1rem; }

/* ---------- Gallery ---------- */

.gallery { columns: 16rem; column-gap: .8rem; margin: 1.5rem 0 3rem; }
.gallery a { display: block; margin-bottom: .8rem; break-inside: avoid; }
.gallery img { width: 100%; border-radius: .5rem; }
.gallery a:hover img { outline: 3px solid var(--blue); outline-offset: 2px; }

/* ---------- Footer ---------- */

.foot { border-top: 2px solid rgba(255, 255, 255, .25); background: var(--blue); color: #fff; padding: 2.5rem 0; font-size: 1rem; line-height: 1.5; }
.foot a { color: #fff; }
.foot a:hover { color: var(--amber); }
.foot-grid { display: grid; gap: 2rem; }
.foot-name { font-family: var(--display); font-weight: 800; font-size: 1.5rem; margin-bottom: .4rem; }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; }
.foot .legal { flex-direction: column; gap: .3rem; }
@media (min-width: 50rem) { .foot-grid { grid-template-columns: 1fr 1.5fr auto; align-items: start; } }

code { font-size: .9em; background: var(--mist); padding: .1em .35em; border-radius: .25rem; }
