/* ==========================================================================
   BIAŁA WILCZYCA — main.css
   Identyfikacja: „Noc watahy” — noc, księżyc, pazur, światło sceniczne.
   Paleta:  --noc (tło) · --kość (tekst) · --stal (przygaszony) · --bursztyn (akcent)
   Typografia: Big Shoulders (display) · Archivo (tekst) · IBM Plex Mono (daty/etykiety)
   ========================================================================== */

/* ---------- Tokeny ---------- */
:root {
  --noc: #0b0708;          /* ciepła czerń — tło logo */
  --noc-2: #171012;        /* panele, karty */
  --noc-3: #221619;        /* hover paneli */
  --kosc: #e8d5b0;         /* kość / krem liternictwa z logo */
  --stal: #a5927a;         /* przygaszony ciepły — tekst drugorzędny */
  --ksiezyc: #f3e6c8;      /* jaśniejszy krem — wyróżnienia */
  --bursztyn: #d63b1c;     /* krwawa czerwień księżyca z logo — akcent CTA */
  --bursztyn-2: #ef5028;
  --linia: rgba(232, 213, 176, 0.16);

  --f-display: "Big Shoulders", "Arial Narrow", sans-serif;
  --f-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Consolas, monospace;

  --max-w: 1160px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 4px;

  --fs-hero: clamp(3.4rem, 13vw, 11rem);
  --fs-h1: clamp(2.6rem, 7vw, 5rem);
  --fs-h2: clamp(1.9rem, 4.5vw, 3rem);
  --fs-h3: clamp(1.25rem, 2.4vw, 1.6rem);
}

/* ---------- Reset / baza ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--noc);
  color: var(--kosc);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible {
  outline: 2px solid var(--bursztyn);
  outline-offset: 3px;
  border-radius: 2px;
}
::selection { background: var(--bursztyn); color: #fff7ea; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--bursztyn); color: #fff7ea;
  padding: 0.6rem 1rem; z-index: 100; font-weight: 600;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

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

/* ziarno analogowe — tanie, jedna warstwa */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 5; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Typografia ---------- */
h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 0 0.6em;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: 0.03em; }
p { margin: 0 0 1.1em; max-width: 62ch; }
.lead { font-size: 1.2rem; color: var(--ksiezyc); }
.muted { color: var(--stal); }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bursztyn);
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin: 0 0 1rem;
}
/* pazur — trzy cięcia, znak rozpoznawczy marki */
.eyebrow::before {
  content: ""; width: 22px; height: 14px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 14'%3E%3Cg stroke='%23d63b1c' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M3 13 8 1'/%3E%3Cpath d='M10 13 15 1'/%3E%3Cpath d='M17 13 22 1'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;
}

/* ---------- Układ ---------- */
.wrap { max-width: var(--max-w); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 6vw, 4.5rem); }

.claw-divider {
  border: 0; height: 20px; margin: 0 auto; max-width: var(--max-w);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20'%3E%3Cg stroke='%23a5927a' stroke-width='2' stroke-linecap='round' opacity='0.45'%3E%3Cpath d='M5 18 12 2'/%3E%3Cpath d='M13 18 20 2'/%3E%3Cpath d='M21 18 28 2'/%3E%3C/g%3E%3C/svg%3E") center/30px 20px no-repeat;
}

/* ---------- Nagłówek / nawigacja ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--noc) 86%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linia);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 68px;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.65rem;
  font-family: var(--f-display); font-weight: 800; font-size: 1.3rem;
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
}
.brand img { width: 38px; height: 38px; flex: none; border-radius: 50%; }

.nav-list {
  display: flex; gap: clamp(0.9rem, 2.5vw, 2rem);
  list-style: none; margin: 0; padding: 0;
}
.nav-list a {
  font-family: var(--f-mono); font-size: 0.82rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; color: var(--stal);
  padding: 0.45rem 0.15rem; position: relative;
}
.nav-list a:hover { color: var(--kosc); }
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--bursztyn); transition: right 0.25s ease;
}
.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after { right: 0; }
.nav-list a[aria-current="page"] { color: var(--kosc); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--linia);
  color: var(--kosc); border-radius: var(--radius);
  padding: 0.55rem 0.7rem; cursor: pointer;
  font-family: var(--f-mono); font-size: 0.8rem; letter-spacing: 0.1em;
}

@media (max-width: 780px) {
  .nav-toggle { display: inline-block; }
  .nav-list {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 0.5rem 0 1rem;
    background: var(--noc-2); border-bottom: 1px solid var(--linia);
    display: none;
  }
  .nav-list.is-open { display: flex; }
  .nav-list a { display: block; padding: 0.85rem var(--gutter); font-size: 0.95rem; }
  .nav-list a::after { display: none; }
  .nav-list a[aria-current="page"] { color: var(--bursztyn); }
}

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--f-mono); font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none;
  padding: 0.85rem 1.5rem; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--bursztyn); color: #fff7ea; }
.btn--primary:hover { background: var(--bursztyn-2); }
.btn--ghost { border-color: var(--linia); color: var(--kosc); background: transparent; }
.btn--ghost:hover { border-color: var(--bursztyn); color: var(--bursztyn); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: min(92vh, 860px);
  display: grid; align-items: center;
  border-bottom: 1px solid var(--linia);
}
.hero .wrap { position: relative; z-index: 2; padding-block: clamp(5rem, 12vh, 8rem); }

.hero-logo {
  position: absolute; z-index: 1; pointer-events: none;
  width: min(78vmin, 660px); height: auto;
  right: max(-6vmin, -50px); top: 50%; transform: translateY(-52%);
  /* czarny kwadrat logo wtapia się w tło; maska zmiękcza krawędzie */
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 66%, transparent 86%);
  mask-image: radial-gradient(circle at 50% 50%, #000 66%, transparent 86%);
  filter: drop-shadow(0 0 90px rgba(214, 59, 28, 0.35));
}

.hero-kicker {
  font-family: var(--f-mono); color: var(--stal);
  letter-spacing: 0.26em; text-transform: uppercase; font-size: 0.8rem;
  margin: 0 0 1.2rem;
}
.hero-title {
  font-family: var(--f-display); font-weight: 900;
  font-size: var(--fs-hero); line-height: 0.86;
  text-transform: uppercase; margin: 0 0 1.4rem;
  display: grid;
}
.hero-title .line-2 { color: transparent; -webkit-text-stroke: 2px var(--kosc); }
.hero-sub { max-width: 46ch; color: var(--ksiezyc); font-size: 1.15rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }

@media (max-width: 700px) {
  .hero-logo { right: -26vmin; opacity: 0.5; width: 82vmin; }
  .hero-title .line-2 { -webkit-text-stroke-width: 1.4px; }
}

/* ---------- Karty koncertów (setlista biletowa) ---------- */
.gig-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linia); }
.gig {
  display: grid; grid-template-columns: 110px 1fr auto; gap: 1.2rem;
  align-items: center; padding: 1.2rem 0.2rem;
  border-bottom: 1px solid var(--linia);
  transition: background 0.2s ease;
}
.gig:hover { background: var(--noc-2); }
.gig-date {
  font-family: var(--f-mono); color: var(--bursztyn);
  font-size: 0.95rem; line-height: 1.35; text-transform: uppercase;
}
.gig-date strong { display: block; font-size: 1.5rem; font-weight: 600; color: var(--kosc); }
.gig-title { font-family: var(--f-display); font-size: 1.35rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; margin: 0 0 0.15rem; }
.gig-venue { color: var(--stal); font-size: 0.95rem; margin: 0; }
.gig .btn { justify-self: end; }
@media (max-width: 640px) {
  .gig { grid-template-columns: 84px 1fr; }
  .gig .btn { grid-column: 2; justify-self: start; }
}
.gig--past { opacity: 0.6; }
.gig--past .gig-date { color: var(--stal); }

/* ---------- Muzyka ---------- */
.release-grid {
  display: grid; gap: 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.release {
  background: var(--noc-2); border: 1px solid var(--linia);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.release:hover { transform: translateY(-4px); border-color: var(--bursztyn); }
.release-cover { aspect-ratio: 1; background: var(--noc-3); }
.release-cover img, .release-cover svg { width: 100%; height: 100%; object-fit: cover; }
.release-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.release-meta { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stal); }
.release-title { font-family: var(--f-display); font-size: 1.45rem; font-weight: 800; text-transform: uppercase; margin: 0; }
.release-links { margin-top: auto; padding-top: 0.8rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.release-links a {
  font-family: var(--f-mono); font-size: 0.78rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--bursztyn); text-decoration: none;
}
.release-links a:hover { text-decoration: underline; text-underline-offset: 4px; }

.embed-frame {
  position: relative; border: 1px solid var(--linia); border-radius: var(--radius);
  overflow: hidden; background: var(--noc-2); aspect-ratio: 16 / 9;
}
.embed-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Zespół ---------- */
.member-grid { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.member { text-align: left; }
.member-photo {
  aspect-ratio: 4 / 5; background: var(--noc-2);
  border: 1px solid var(--linia); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 0.9rem;
}
.member-photo img, .member-photo svg { width: 100%; height: 100%; object-fit: cover; }
.member h3 { margin: 0 0 0.15rem; }
.member p { color: var(--stal); font-family: var(--f-mono); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; }

/* ---------- Galeria ---------- */
.gallery { display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.gallery figure { margin: 0; border: 1px solid var(--linia); border-radius: var(--radius); overflow: hidden; background: var(--noc-2); }
.gallery img, .gallery svg { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 0.35s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stal); padding: 0.55rem 0.75rem; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; gap: 2.5rem; grid-template-columns: 1.1fr 0.9fr; align-items: start; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--noc-2); border: 1px solid var(--linia);
  border-radius: var(--radius); padding: 1.8rem;
}
.contact-card dt { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--stal); margin-top: 1.1rem; }
.contact-card dt:first-child { margin-top: 0; }
.contact-card dd { margin: 0.25rem 0 0; font-size: 1.15rem; }
.contact-card a { color: var(--bursztyn); text-decoration: none; }
.contact-card a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Pasek social ---------- */
.social-row { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.social-row a {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1px solid var(--linia); border-radius: var(--radius);
  padding: 0.7rem 1.1rem; text-decoration: none;
  font-family: var(--f-mono); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--kosc); transition: border-color 0.2s ease, color 0.2s ease;
}
.social-row a:hover { border-color: var(--bursztyn); color: var(--bursztyn); }
.social-row svg { width: 18px; height: 18px; }

/* ---------- CTA pełnej szerokości ---------- */
.cta-band {
  background: linear-gradient(180deg, var(--noc-2), var(--noc));
  border-block: 1px solid var(--linia);
  text-align: center;
}
.cta-band h2 { margin-bottom: 0.8rem; }
.cta-band .btn { margin-top: 1rem; }

/* ---------- Stopka ---------- */
.site-footer { border-top: 1px solid var(--linia); padding-block: 2.5rem; color: var(--stal); font-size: 0.9rem; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; justify-content: space-between; align-items: center; }
.footer-nav { display: flex; gap: 1.4rem; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.footer-nav a { color: var(--stal); text-decoration: none; font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; }
.footer-nav a:hover { color: var(--bursztyn); }

/* ---------- Animacje wejścia ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.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; }
}

/* ---------- Druk ---------- */
@media print {
  body::after, .hero-logo, .nav-toggle { display: none; }
  body { background: #fff; color: #000; }
}
