/* =========================================================
   Robert Wiórkiewicz — Strona Artystyczna (v8)
   Motyw docelowy: Nocturne Cinema + Mikrointerakcje i Animacje
   ========================================================= */

:root {
  --bg: #070910;
  --bg-elevated: #0d111d;
  --bg-card: rgba(18, 24, 40, 0.72);
  --bg-glass: rgba(7, 9, 16, 0.85);
  --ink: #f0f4ff;
  --ink-muted: #98a3c0;
  --accent: #7c9cff;
  --accent-light: #b8caff;
  --accent-soft: rgba(124, 156, 255, 0.35);
  --accent-glow: rgba(124, 156, 255, 0.16);
  --secondary-glow: rgba(139, 92, 246, 0.14);
  --line: rgba(240, 244, 255, 0.1);
  --shadow: 0 24px 55px rgba(0, 0, 0, 0.7);

  --font-display: "Syne", "Plus Jakarta Sans", sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --radius: 14px;
  --radius-lg: 22px;
}

/* ---------- Reset i baza ---------- */

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--accent-light);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #070910;
  padding: 0.75rem 1.25rem;
  z-index: 999;
  font-weight: 700;
  border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus {
  left: 0;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.55em;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.text-gradient {
  background: linear-gradient(135deg, var(--ink) 0%, var(--accent-light) 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Tło ambientowe (Światła sceniczne) ---------- */

.ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.85;
  animation: floatAmbient 18s ease-in-out infinite alternate;
}

.ambient-glow--1 {
  width: 55vw;
  height: 55vw;
  max-width: 700px;
  max-height: 700px;
  top: -15%;
  right: -10%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
}

.ambient-glow--2 {
  width: 50vw;
  height: 50vw;
  max-width: 650px;
  max-height: 650px;
  bottom: -10%;
  left: -12%;
  background: radial-gradient(circle, var(--secondary-glow) 0%, transparent 70%);
  animation-delay: -9s;
}

@keyframes floatAmbient {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-30px, 25px) scale(1.08); }
}

/* ---------- Eyebrow & Animowany Equalizer ---------- */

.eyebrow-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  padding: 0.35rem 0.9rem;
  background: var(--accent-glow);
  border: 1px solid var(--accent-soft);
  border-radius: 999px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin: 0;
}

.section-heading .eyebrow {
  margin-bottom: 0.75rem;
}

.eq-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 13px;
}

.eq-bars span {
  width: 2.5px;
  background: var(--accent);
  border-radius: 2px;
  animation: eqPulse 1.2s ease-in-out infinite;
}

.eq-bars span:nth-child(1) { height: 6px; animation-delay: 0s; }
.eq-bars span:nth-child(2) { height: 13px; animation-delay: 0.2s; }
.eq-bars span:nth-child(3) { height: 8px; animation-delay: 0.4s; }
.eq-bars span:nth-child(4) { height: 11px; animation-delay: 0.1s; }

@keyframes eqPulse {
  0%, 100% { transform: scaleY(0.45); }
  50% { transform: scaleY(1); }
}

/* ---------- Pięciolinia — element sygnaturowy sekcji ---------- */

.staff-wrap {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 0.5rem 0;
}

.staff-divider {
  width: 100%;
  height: 34px;
  display: block;
  opacity: 0.5;
}

.staff-divider line {
  stroke: var(--accent);
  stroke-width: 1;
  stroke-opacity: 0.55;
}

.staff-divider .staff-note {
  fill: var(--accent-light);
  filter: drop-shadow(0 0 6px var(--accent));
  animation: noteGlow 4s ease-in-out infinite;
}

@keyframes noteGlow {
  0%, 100% { r: 3.5; opacity: 0.75; }
  50% { r: 5; opacity: 1; }
}

/* ---------- Nagłówek / Nawigacja ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1160px;
  margin: 0 auto;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-glow);
  border: 1px solid var(--accent-soft);
  color: var(--accent);
  font-size: 0.95rem;
}

.nav-brand:hover {
  color: var(--accent-light);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  width: 44px;
  height: 40px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: var(--ink-muted);
  font-size: 0.93rem;
  font-weight: 500;
  position: relative;
  padding: 0.25rem 0;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a[aria-current="page"] {
  color: var(--ink);
}

.nav-menu a:hover::after,
.nav-menu a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-menu .nav-yt {
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--accent-soft);
  border-radius: 999px;
  color: var(--accent-light);
  font-size: 0.85rem;
}

.nav-menu .nav-yt::after {
  display: none;
}

.nav-menu .nav-yt:hover {
  background: var(--accent-glow);
}

@media (max-width: 880px) {
  .nav-toggle {
    display: block;
  }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: var(--shadow);
  }
  .nav-menu.is-open {
    max-height: 460px;
  }
  .nav-menu a,
  .nav-menu .nav-yt {
    display: block;
    padding: 0.95rem 1.5rem;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
  }
  .nav-menu a::after {
    display: none;
  }
}

/* ---------- Hero ---------- */

.hero,
.service-hero {
  padding: 6rem 0 5.5rem;
  position: relative;
}

.hero-inner,
.service-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3.5rem;
}

.hero-text,
.service-hero-text {
  max-width: 640px;
}

.hero h1 {
  font-size: clamp(3rem, 6.5vw, 5.2rem);
  line-height: 1.04;
  margin-bottom: 0.45em;
}

.service-hero h1 {
  font-size: clamp(2.5rem, 5.2vw, 4rem);
  margin-bottom: 0.45em;
}

.hero-lede,
.service-hero .lede {
  color: var(--ink-muted);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  margin: 0 0 2rem;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Wizualizacja winylowa wokół zdjęcia */
.hero-visual {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vinyl-halo {
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 1px dashed var(--accent-soft);
  box-shadow: 0 0 60px var(--accent-glow), inset 0 0 30px var(--accent-glow);
  animation: spinSlow 36s linear infinite;
  pointer-events: none;
}

.vinyl-halo::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-photo,
.service-photo {
  position: relative;
  width: clamp(190px, 24vw, 300px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--accent-soft);
  box-shadow: var(--shadow);
  background: var(--bg-elevated);
}

.hero-photo img,
.service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-visual:hover img {
  transform: scale(1.05);
}

@media (max-width: 760px) {
  .hero, .service-hero {
    padding: 4rem 0 3.5rem;
  }
  .hero-inner, .service-hero-inner {
    flex-direction: column-reverse;
    text-align: center;
    gap: 2.25rem;
  }
  .hero-text, .service-hero-text {
    text-align: center;
  }
  .hero-lede, .service-hero .lede {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-photo, .service-photo {
    width: 180px;
  }
}

/* ---------- Przyciski ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
  color: #070910;
  border: 0;
  box-shadow: 0 8px 25px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px var(--accent-soft);
  color: #070910;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--accent-soft);
  color: var(--ink);
}

.btn-secondary:hover {
  background: var(--accent-glow);
  border-color: var(--accent);
  color: var(--accent-light);
  transform: translateY(-2px);
}

/* ---------- Sekcje ogólne ---------- */

.section {
  padding: 5.5rem 0;
  position: relative;
}

.section--alt {
  background: linear-gradient(180deg, rgba(255,255,255,0.015) 0%, var(--bg-elevated) 50%, rgba(255,255,255,0.015) 100%);
}

.section-heading {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-heading h2 {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  margin-bottom: 0.4em;
}

.section-heading p {
  color: var(--ink-muted);
  margin: 0;
  font-size: 1.05rem;
}

/* ---------- O mnie ---------- */

.about {
  display: grid;
  grid-template-columns: minmax(250px, 360px) 1fr;
  gap: 3.5rem;
  align-items: start;
}

.about-portrait {
  margin: 0;
  position: relative;
}

.about-portrait img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.about-badge {
  margin-top: 1rem;
  padding: 0.65rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--accent-soft);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-light);
  text-align: center;
}

.about-content p {
  color: var(--ink-muted);
  margin: 0 0 1.2em;
}

.about-content .about-lead {
  font-size: 1.15rem;
  color: var(--ink);
}

.about-content strong {
  color: var(--ink);
}

@media (max-width: 820px) {
  .about {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .about-portrait {
    max-width: 320px;
    margin: 0 auto;
  }
}

/* ---------- Statystyki ---------- */

.stat-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.stat-band--compact {
  margin-top: 2rem;
  gap: 1rem;
}

.stat-item {
  padding: 1.75rem 1.25rem;
  border: 1px solid var(--accent-soft);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 0.45rem;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  color: var(--ink-muted);
  font-size: 0.88rem;
}

/* ---------- Publikacje (Siatka okładek) ---------- */

.pub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.65rem;
}

.pub-card {
  margin: 0;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.pub-card.is-hidden {
  display: none;
}

.pub-card.is-newly-revealed {
  animation: pubCardFadeIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes pubCardFadeIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.pub-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-soft);
  box-shadow: var(--shadow);
}

.pub-card .pub-img {
  aspect-ratio: 1 / 1;
  background: #04060a;
  overflow: hidden;
  position: relative;
}

.pub-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pub-card:hover img {
  transform: scale(1.06);
}

.pub-card figcaption {
  padding: 1rem 1.1rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-muted);
  line-height: 1.45;
  flex-grow: 1;
  display: flex;
  align-items: center;
}

.pub-card:hover figcaption {
  color: var(--ink);
}

.pub-actions {
  margin-top: 2.75rem;
  text-align: center;
}

@media (max-width: 520px) {
  .pub-grid {
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
    gap: 1rem;
  }
  .pub-card figcaption {
    padding: 0.75rem;
    font-size: 0.83rem;
  }
}

/* ---------- Do posłuchania: Wideo + Fala dźwiękowa na przycisku Play ---------- */

.video-list {
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
}

.video-item {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.75rem;
  align-items: center;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.video-item:hover {
  border-color: var(--accent-soft);
}

.video-item:nth-child(even) {
  grid-template-columns: 1fr 1.15fr;
}

.video-item:nth-child(even) .video-frame {
  order: 2;
}

.video-item:nth-child(even) .video-info {
  text-align: right;
}

.video-tag {
  display: inline-block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.45rem;
  font-weight: 600;
}

.video-info h3 {
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  margin-bottom: 0.45rem;
}

.video-info h3 a {
  color: var(--ink);
}

.video-info h3 a:hover {
  color: var(--accent-light);
}

.video-credits {
  color: var(--ink-muted);
  font-size: 0.94rem;
  margin: 0 0 0.6em;
}

.video-performers {
  color: var(--ink-muted);
  font-size: 0.95rem;
  margin: 0;
}

.video-performers strong {
  color: var(--ink);
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.video-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  transition: transform 0.5s ease, opacity 0.3s ease;
}

.video-frame:hover img {
  transform: scale(1.04);
  opacity: 0.95;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  position: absolute;
  inset: 0;
}

.play-button {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: radial-gradient(circle, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 100%);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-button .play-icon {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.7);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

/* Subtelnie pulsujący pierścień fali dźwiękowej wokół przycisku Play */
.play-button .play-icon::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-light);
  opacity: 0;
  animation: playRipple 2.8s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  pointer-events: none;
}

@keyframes playRipple {
  0% {
    transform: scale(0.95);
    opacity: 0.75;
  }
  75%, 100% {
    transform: scale(1.48);
    opacity: 0;
  }
}

.play-button .play-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--accent-light);
  margin-left: 3px;
}

.play-button:hover .play-icon {
  transform: scale(1.12);
  background: var(--accent);
  box-shadow: 0 0 35px var(--accent-soft);
}

.play-button:hover .play-icon svg {
  fill: #070910;
}

@media (max-width: 820px) {
  .video-item,
  .video-item:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 1.35rem;
    padding: 1.15rem;
  }
  .video-item:nth-child(even) .video-frame {
    order: 0;
  }
  .video-item .video-info,
  .video-item:nth-child(even) .video-info {
    text-align: left;
  }
}

/* ---------- Do posłuchania: Audio + Wizualizacja Na Żywo ---------- */

.audio-section {
  margin-top: 4.5rem;
  padding-top: 3.5rem;
  border-top: 1px solid var(--line);
}

.audio-header {
  margin-bottom: 2rem;
}

.audio-header h3 {
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
}

.audio-header p {
  color: var(--ink-muted);
  margin: 0;
  font-size: 0.95rem;
}

.audio-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1.5rem;
}

.audio-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  display: flex;
  gap: 1.15rem;
  align-items: center;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.audio-card:hover,
.audio-card.is-playing {
  border-color: var(--accent);
  box-shadow: 0 12px 30px var(--accent-glow);
}

.audio-card.is-playing {
  transform: translateY(-3px);
}

.audio-card img {
  width: 84px;
  height: 84px;
  border-radius: var(--radius);
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--line);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

/* Pulsująca okładka podczas odtwarzania MP3 */
.audio-card.is-playing img {
  border-color: var(--accent);
  animation: coverBeat 1.6s ease-in-out infinite;
}

@keyframes coverBeat {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(124, 156, 255, 0.45);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 0 22px 4px rgba(124, 156, 255, 0.28);
  }
}

.audio-body {
  flex: 1;
  min-width: 0;
}

.audio-card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.2em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Equalizer obok tytułu utworu — aktywny tylko gdy muzyka gra */
.audio-eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 13px;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.audio-card.is-playing .audio-eq {
  opacity: 1;
  transform: scale(1);
}

.audio-eq span {
  width: 2.5px;
  background: var(--accent-light);
  border-radius: 2px;
  height: 4px;
}

.audio-card.is-playing .audio-eq span {
  animation: eqPulse 0.9s ease-in-out infinite;
}

.audio-card.is-playing .audio-eq span:nth-child(1) { height: 7px; animation-delay: 0s; }
.audio-card.is-playing .audio-eq span:nth-child(2) { height: 13px; animation-delay: 0.18s; }
.audio-card.is-playing .audio-eq span:nth-child(3) { height: 9px; animation-delay: 0.35s; }
.audio-card.is-playing .audio-eq span:nth-child(4) { height: 11px; animation-delay: 0.1s; }

.audio-card .audio-credits {
  color: var(--ink-muted);
  font-size: 0.83rem;
  margin: 0 0 0.75em;
}

.audio-card audio {
  width: 100%;
  height: 36px;
}

@media (max-width: 480px) {
  .audio-card {
    flex-direction: column;
    text-align: center;
  }
  .audio-card h3 {
    justify-content: center;
  }
}

/* ---------- Karty usług / Klienci / Zaufanie ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-soft);
}

.feature-card .icon {
  width: 46px;
  height: 46px;
  margin-bottom: 1.15rem;
  color: var(--accent-light);
  background: var(--accent-glow);
  border: 1px solid var(--accent-soft);
  border-radius: 12px;
  padding: 10px;
}

.feature-card .icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.45em;
}

.feature-card p {
  color: var(--ink-muted);
  font-size: 0.94rem;
  margin: 0;
}

.clients-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.client-box {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.client-box h3 {
  font-size: 1.15rem;
  color: var(--accent-light);
  margin-bottom: 0.85em;
}

.client-box ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink-muted);
}

.client-box li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
}

.client-box li:last-child {
  border-bottom: 0;
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
}

.trust-item .check {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  color: var(--accent-light);
}

.trust-item .check svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

/* Animacja rysowania "ptaszka" (checkmark) po wjechaniu sekcji */
.js-enabled .trust-item .check path {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  transition: stroke-dashoffset 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
}

.js-enabled .trust-list.is-visible .trust-item .check path,
.js-enabled .trust-item.is-visible .check path {
  stroke-dashoffset: 0;
}

.trust-item p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.94rem;
}

.trust-item strong {
  color: var(--ink);
}

/* ---------- Kontakt / CTA ---------- */

.contact-card {
  background: linear-gradient(145deg, var(--bg-card), rgba(0, 0, 0, 0.4));
  border: 1px solid var(--accent-soft);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  box-shadow: var(--shadow);
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.contact-card .section-heading {
  margin-bottom: 1.5rem;
}

.contact {
  max-width: 620px;
  margin: 0 auto;
}

.contact p,
.cta-band p {
  color: var(--ink-muted);
  margin: 0 auto 1.75rem;
  max-width: 580px;
}

.contact-email,
#contact-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: "Fraunces", Georgia, serif;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #070910;
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
  border: 0;
  border-radius: var(--radius);
  padding: 0.85rem 2rem;
  box-shadow: 0 10px 30px var(--accent-glow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-email:hover,
#contact-email:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px var(--accent-soft);
  color: #070910;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* ---------- Stopka ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 3rem 0;
  background: var(--bg-elevated);
  position: relative;
  z-index: 2;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu a {
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.footer-menu a:hover {
  color: var(--accent-light);
}

.footer-social {
  display: flex;
  gap: 0.85rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-muted);
  transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.footer-social a:hover {
  color: var(--accent-light);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-copy {
  width: 100%;
  text-align: center;
  color: var(--ink-muted);
  font-size: 0.82rem;
  margin: 1.75rem 0 0;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

/* ---------- Strona polityki cookies ---------- */

.legal {
  padding: 5rem 0;
  max-width: 760px;
  margin: 0 auto;
}

.legal h1 {
  font-size: 2.5rem;
}

.legal h2 {
  font-size: 1.4rem;
  margin-top: 2em;
}

.legal p, .legal li {
  color: var(--ink-muted);
}

/* ---------- Baner cookies ---------- */

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1.25rem;
  z-index: 300;
  max-width: 580px;
  margin: 0 auto;
  background: var(--bg-elevated);
  border: 1px solid var(--accent-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
  flex: 1 1 260px;
}

.cookie-banner button {
  background: var(--accent);
  color: #070910;
  border: 0;
  border-radius: var(--radius);
  padding: 0.55rem 1.3rem;
  font-weight: 700;
  cursor: pointer;
}

.cookie-banner[hidden] {
  display: none;
}

/* ---------- Animacje pojawiania się podczas przewijania (Scroll Reveal + Stagger) ---------- */

.js-enabled .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--stagger-delay, 0ms);
}

.js-enabled .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  /* Wyjątek dla subtelnych animacji muzycznych — działają zawsze */
  .eq-bars span,
  .audio-card.is-playing .audio-eq span {
    animation: eqPulse 1.2s ease-in-out infinite !important;
  }
  .staff-divider .staff-note {
    animation: noteGlow 4s ease-in-out infinite !important;
  }
  .vinyl-halo {
    animation: spinSlow 36s linear infinite !important;
  }
  .ambient-glow {
    animation: floatAmbient 18s ease-in-out infinite alternate !important;
  }
  .js-enabled .reveal {
    opacity: 1;
    transform: none;
  }
  .js-enabled .trust-item .check path {
    stroke-dashoffset: 0;
  }
}