/* Blechschinda – site styles
   Colors come from the original site: navy header/footer, bright blue accent,
   and the gold of the logo lettering. */

:root {
  --navy: #023861;
  --navy-deep: #01243f;
  --blue: #0490f9;
  --blue-dark: #0378d0;
  --link: #3c50b7;
  --gold: #ffdf80;
  --ink: #16212e;
  --muted: #566273;
  --line: #dfe4ea;
  --surface: #ffffff;
  --page: #e9edf1;

  --font-sans: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Roboto Slab", Georgia, serif;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgb(2 36 63 / .06), 0 8px 24px rgb(2 36 63 / .08);
  --shadow-lg: 0 2px 4px rgb(2 36 63 / .08), 0 18px 40px rgb(2 36 63 / .16);
  --header-h: 72px;
  --container: 1160px;
}

/* ---------- Base ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--page) url(/media/background.webp) center / cover fixed;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--surface); color: var(--navy); padding: .5rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container.narrow { max-width: 820px; }

.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 .5rem;
}
.eyebrow-gold { color: var(--gold); }

.badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgb(4 144 249 / .12);
  padding: .25rem .7rem;
  border-radius: 999px;
  margin: 0 0 .75rem;
}

.intro { font-size: 1.125rem; color: var(--muted); margin-bottom: 2rem; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font: 600 1rem/1 var(--font-sans);
  padding: .95rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-ghost { color: #fff; border-color: rgb(255 255 255 / .7); }
.btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  color: #fff;
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgb(1 36 63 / .35); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  height: var(--header-h);
}

.brand img { width: 200px; height: auto; border-radius: 6px; }

.site-nav { display: flex; align-items: center; gap: 1.75rem; }

.nav-list { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  position: relative;
  display: block;
  padding: .5rem .85rem;
  color: #fff;
  font-weight: 500;
  font-size: .975rem;
  text-decoration: none;
}
.nav-list a::after {
  content: "";
  position: absolute; left: .85rem; right: .85rem; bottom: .2rem;
  height: 2px; border-radius: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform .25s;
}
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.nav-list a[aria-current="page"] { color: var(--gold); }

.social { display: flex; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.social a {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  color: #fff;
  background: rgb(255 255 255 / .08);
  transition: background-color .2s, color .2s;
}
.social a:hover { background: var(--blue); color: #fff; }
.social .icon { width: 18px; height: 18px; }

.nav-toggle {
  display: none;
  background: none; border: 0; color: #fff; cursor: pointer;
  padding: .5rem; margin-right: -.5rem;
}
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: inline; }

@media (max-width: 1024px) {
  :root { --header-h: 64px; }
  .brand img { width: 168px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 1rem;
    padding: .5rem 1.25rem 1.5rem;
    background: var(--navy);
    box-shadow: 0 16px 24px rgb(1 36 63 / .35);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .nav-list { flex-direction: column; }
  .nav-list a { padding: .85rem 0; font-size: 1.125rem; border-bottom: 1px solid rgb(255 255 255 / .1); }
  .nav-list a::after { display: none; }
}

/* ---------- Hero (home) ---------- */

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex; align-items: flex-end;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 35%;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgb(1 36 63 / .95) 0%, rgb(1 36 63 / .7) 22%, rgb(1 36 63 / 0) 50%),
    linear-gradient(to right, rgb(1 36 63 / .35), rgb(1 36 63 / 0) 60%);
}
.hero-content {
  display: grid; grid-template-columns: auto minmax(0, 30rem); gap: 1rem 3rem; align-items: end;
  padding-block: 3rem 4.5rem;
}
.hero-heading { min-width: 0; }
.hero-title {
  color: #fff;
  font-size: clamp(2.75rem, 7vw, 5rem);
  letter-spacing: -.01em;
  margin: 0;
  text-shadow: 0 2px 24px rgb(1 36 63 / .4);
}
.hero-lead { font-size: 1.1rem; color: rgb(255 255 255 / .92); margin-bottom: 1.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; padding-bottom: 4rem; }
  .hero-img { object-position: 40% 15%; }
  .hero::after {
    background: linear-gradient(to top, rgb(1 36 63 / .97) 0%, rgb(1 36 63 / .88) 40%, rgb(1 36 63 / 0) 68%);
  }
  .hero-lead { font-size: 1rem; }
  .hero-actions .btn { padding: .85rem 1.1rem; font-size: .95rem; }
}
.hero-scroll {
  position: absolute; left: 50%; bottom: 1.25rem; translate: -50% 0;
  color: rgb(255 255 255 / .8);
  animation: bob 2.4s ease-in-out infinite;
}
.hero-scroll .icon { width: 32px; height: 32px; }
@keyframes bob { 50% { transform: translateY(6px); } }

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

.section { padding-block: clamp(4rem, 8vw, 6.5rem); }
.section-head { margin-bottom: 2rem; }
.section-head h2 { margin-bottom: 0; }
.section-head-center { text-align: center; margin-bottom: 3rem; }

.section-navy { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: rgb(255 255 255 / .88); }
.section-navy h2 { color: #fff; }
.section-navy a { color: #fff; }
.section-navy a:hover { color: var(--gold); }

/* About */
.about {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: center;
}
.about-media { margin: 0; position: relative; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; }
.about-text { padding: clamp(1.75rem, 4vw, 2.75rem); }
.about-text p { hyphens: auto; }
.signature { font-family: var(--font-serif); font-weight: 600; color: var(--navy); font-size: 1.15rem; margin: 0; }

.lang-switch {
  display: inline-flex; padding: 4px; margin-bottom: 1.5rem;
  background: var(--page); border-radius: 999px;
}
.lang-switch button {
  font: 600 .875rem/1 var(--font-sans);
  border: 0; border-radius: 999px; cursor: pointer;
  padding: .6rem 1rem;
  color: var(--muted); background: transparent;
  transition: background-color .2s, color .2s;
}
.lang-switch button[aria-pressed="true"] { background: var(--navy); color: #fff; }

@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* Musicians */
.musicians { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (max-width: 680px) { .musicians { grid-template-columns: 1fr; } }
.musician { overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.musician:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.musician img { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; }
.musician-body { padding: 1.5rem 1.5rem 1.75rem; }
.musician h3 { margin-bottom: .5rem; }
.musician p:last-child { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.65; }
@media (min-width: 1000px) {
  .musician { display: grid; grid-template-columns: 42% 1fr; }
  .musician img { aspect-ratio: auto; height: 100%; min-height: 260px; }
}

/* Photo strip */
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); }
.photo-strip img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 700px) {
  .photo-strip { grid-template-columns: 1fr; }
  .photo-strip img:not(:first-child) { display: none; }
}

/* Contact */
.contact { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.contact-intro p { font-size: 1.125rem; margin-bottom: 2rem; max-width: 34rem; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.contact-list li {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.25rem 1.5rem;
  background: rgb(255 255 255 / .06);
  border: 1px solid rgb(255 255 255 / .1);
  border-radius: var(--radius);
}
.contact-list strong { color: #fff; }
.contact-icon {
  display: grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 12px;
  background: rgb(255 255 255 / .1); color: #fff;
  border: 1px solid rgb(255 255 255 / .16);
}
.contact-icon .icon { width: 20px; height: 20px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

/* ---------- Page banner (sub pages) ---------- */

.page-banner {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
}
.page-banner.has-photo { min-height: clamp(220px, 34vw, 360px); display: flex; align-items: flex-end; }
.page-banner-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-banner.has-photo::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgb(1 36 63 / .9), rgb(1 36 63 / .25));
}
.page-banner-content { padding-block: 3rem 2.5rem; width: min(100% - 2.5rem, var(--container)); }
.page-banner h1 { color: #fff; margin: 0; }

/* ---------- Gigs ---------- */

.gigs-note {
  display: flex; gap: .75rem; align-items: center;
  padding: 1rem 1.25rem; margin-bottom: 1.5rem;
  border-radius: var(--radius-sm);
  background: rgb(4 144 249 / .1); color: var(--navy); font-weight: 500;
}
.gigs-note[hidden] { display: none; }
.gigs { list-style: none; margin: 0 0 3rem; padding: 0; display: grid; gap: .75rem; }
.gig {
  display: flex; align-items: center; gap: 1.25rem;
  padding: 1rem 1.25rem;
  border-left: 4px solid transparent;
  transition: transform .2s, box-shadow .2s;
}
.gig:hover { transform: translateX(4px); box-shadow: var(--shadow-lg); }
.gig-date {
  display: grid; place-content: center; justify-items: center; gap: .35rem; flex: none;
  width: 68px; height: 68px;
  border-radius: 14px;
  background: var(--navy); color: #fff;
  line-height: 1;
}
.gig-day { font: 700 1.6rem/1 var(--font-serif); }
.gig-month { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.gig-info { flex: 1; min-width: 0; }
.gig-name { font-size: 1.15rem; margin: 0 0 .15rem; }
.gig-meta { margin: 0; color: var(--muted); font-size: .95rem; }
.gig-status:empty { display: none; }
.gig-status {
  flex: none;
  font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .3rem .7rem; border-radius: 999px;
}

.gig.is-next { border-left-color: var(--blue); }
.gig.is-next .gig-date { background: var(--blue); }
.gig.is-next .gig-month { color: #fff; }
.gig.is-next .gig-status { background: var(--blue); color: #fff; }

.gig.is-past { background: rgb(255 255 255 / .6); box-shadow: none; }
.gig.is-past .gig-date { background: #9aa6b4; }
.gig.is-past .gig-month { color: #fff; }
.gig.is-past .gig-name { color: var(--muted); }
.gig.is-past .gig-status { background: var(--line); color: var(--muted); }

@media (max-width: 560px) {
  .gig { gap: 1rem; padding: .85rem 1rem; }
  .gig-date { width: 58px; height: 58px; }
  .gig-day { font-size: 1.35rem; }
  .gig-status { display: none; }
}

.cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 2rem;
  background: linear-gradient(160deg, var(--navy), var(--navy-deep));
  color: rgb(255 255 255 / .85);
}
.cta h2 { color: #fff; font-size: 1.5rem; margin-bottom: .25rem; }
.cta p { margin: 0; }

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

.gallery { list-style: none; margin: 0; padding: 0; columns: 3 280px; column-gap: 1rem; }
.gallery li { break-inside: avoid; margin-bottom: 1rem; }
.gallery-item {
  display: block; overflow: hidden;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}
.gallery-item img { width: 100%; transition: transform .4s ease, filter .4s; }
.gallery-item:hover img { transform: scale(1.04); filter: brightness(1.05); }

.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgb(1 20 36 / .94);
  color: #fff;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: transparent; }
.lightbox-img {
  max-width: calc(100vw - 9rem); max-height: calc(100vh - 6rem);
  width: auto; height: auto;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgb(0 0 0 / .5);
}
.lightbox-btn {
  position: absolute;
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  border: 0; cursor: pointer;
  background: rgb(255 255 255 / .12); color: #fff;
  transition: background-color .2s;
}
.lightbox-btn:hover { background: var(--blue); }
.lightbox-close { top: 1.25rem; right: 1.25rem; }
.lightbox-prev { left: 1.25rem; top: 50%; translate: 0 -50%; }
.lightbox-next { right: 1.25rem; top: 50%; translate: 0 -50%; }
.lightbox-count { position: absolute; bottom: 1rem; left: 0; right: 0; text-align: center; margin: 0; font-size: .9rem; color: rgb(255 255 255 / .7); }
@media (max-width: 700px) {
  .lightbox-img { max-width: 100vw; border-radius: 0; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 1rem; translate: none; }
  .lightbox-count { bottom: 2rem; }
}

/* ---------- Downloads ---------- */

.downloads-intro {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem;
  margin-bottom: 2.5rem;
}
.downloads-intro .intro { margin: 0; max-width: 46rem; }
.downloads-title { font-size: 1.5rem; margin: 0 0 1.25rem; }
.downloads-grid {
  list-style: none; margin: 0 0 3.5rem; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.5rem;
}
.download { overflow: hidden; display: flex; flex-direction: column; }
.download-preview { aspect-ratio: 3 / 2; background: var(--page); display: grid; place-items: center; overflow: hidden; }
.download-preview img { width: 100%; height: 100%; object-fit: cover; }
.downloads-grid-logos .download-preview img { width: auto; height: auto; max-width: 78%; max-height: 70%; object-fit: contain; }
.preview-blau { background: var(--navy); }
/* checkerboard shows the logo is transparent */
.preview-transparent {
  background-color: #33475b;
  background-image:
    linear-gradient(45deg, #3d5368 25%, transparent 25%, transparent 75%, #3d5368 75%),
    linear-gradient(45deg, #3d5368 25%, transparent 25%, transparent 75%, #3d5368 75%);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
}
.download-body { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.25rem; }
.download-body h3 { font-size: 1.05rem; margin: 0 0 .15rem; }
.download-body p { margin: 0; font-size: .875rem; color: var(--muted); }
.download-btn {
  display: grid; place-items: center; flex: none;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color: #fff;
  transition: background-color .2s, transform .2s;
}
.download-btn:hover { background: var(--blue-dark); color: #fff; transform: translateY(-2px); }
.download-btn .icon { width: 20px; height: 20px; }

/* ---------- Prose (legal pages) ---------- */

.prose { padding: clamp(1.75rem, 5vw, 3rem); overflow-wrap: break-word; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.75em; }
.prose > :first-child { margin-top: 0; }
.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: .35rem; }

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

.site-footer { background: var(--navy-deep); color: rgb(255 255 255 / .75); font-size: .975rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 2.5rem;
  padding-block: 3.5rem 3rem;
}
.footer-brand img { width: 220px; height: auto; margin-bottom: 1rem; }
.footer-title {
  font: 700 .8125rem/1 var(--font-sans);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.footer-col ul:not(.social) { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: .5rem; }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / .1); font-size: .875rem; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; padding-block: 1.25rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Motion ---------- */

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* iOS ignores background-attachment: fixed */
@supports (-webkit-touch-callout: none) {
  body { background-attachment: scroll; }
}
