/* Marek Zettel — wspólny arkusz stylów.
   Kierunek: industrialny rock ze Śląska — grafit, żar huty, plakatowa typografia.
   Bez zewnętrznych fontów: nagłówki korzystają z systemowych krojów zwężonych. */
:root {
  --bg: #0e0d0c;
  --bg-2: #171513;
  --surface: rgba(255, 244, 230, 0.05);
  --surface-strong: rgba(255, 244, 230, 0.1);
  --line: rgba(255, 244, 230, 0.12);
  --text: #f4efe8;
  --text-2: #b9b0a5;
  --accent: #ff6b2c;
  --accent-2: #ffb347;
  --accent-ink: #1a0800;
  --green: #1ed760;
  --green-ink: #04210f;
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 64px;
  --display: "Bahnschrift", "DIN Condensed", "Oswald", "Roboto Condensed", "Arial Narrow", "sans-serif-condensed", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* Delikatne ziarno jak na odbitce fotograficznej */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.05;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body > * { position: relative; z-index: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.skip { position: absolute; left: 12px; top: -60px; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 10px; z-index: 100; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* Typografia: zwężone, plakatowe nagłówki */
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; font-stretch: condensed; text-transform: uppercase; text-wrap: balance; }
h1 { font-size: clamp(3.4rem, 12vw, 8.5rem); line-height: 0.88; letter-spacing: -0.01em; }
h2 { font-size: clamp(2.4rem, 6.5vw, 4.75rem); line-height: 0.95; letter-spacing: -0.005em; }
h3 { font-size: 1.5rem; line-height: 1.1; letter-spacing: 0.01em; }
p { margin: 0 0 1em; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.lead { font-size: clamp(1.15rem, 2.2vw, 1.45rem); line-height: 1.5; color: var(--text-2); max-width: 36em; }
.hl { color: var(--accent); }

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
section { padding: clamp(72px, 11vw, 150px) 0; }

/* Nawigacja */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: rgba(14, 13, 12, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-stretch: condensed; font-weight: 700; text-transform: uppercase; font-size: 1.35rem; letter-spacing: 0.04em; }
.brand::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px var(--accent); }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav ul a { display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-size: 0.92rem; font-weight: 500; color: var(--text-2); transition: background 150ms ease-out, color 150ms ease-out; }
.nav ul a:hover, .nav ul a[aria-current] { color: var(--text); background: var(--surface-strong); }
.nav ul a[aria-current="page"] { color: var(--accent); }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); width: 44px; height: 44px; border-radius: 12px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: currentColor; margin: 5px auto; border-radius: 2px; transition: transform 300ms var(--ease), opacity 200ms; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Przyciski */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; font-weight: 700; font-size: 0.98rem; letter-spacing: 0.02em; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit; transition: transform 120ms ease-out, background 150ms ease-out, box-shadow 200ms, border-color 150ms; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(0.96); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { box-shadow: 0 10px 34px rgba(255, 107, 44, 0.4); }
.btn-spotify { background: var(--green); color: var(--green-ink); }
.btn-spotify:hover { box-shadow: 0 10px 34px rgba(30, 215, 96, 0.35); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { background: var(--surface); border-color: rgba(255, 244, 230, 0.3); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* Hero */
.hero { position: relative; padding: clamp(40px, 7vw, 90px) 0 clamp(64px, 9vw, 120px); overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: auto -20% -40% -20%; height: 90%; z-index: -1;
  background: radial-gradient(60% 60% at 70% 80%, rgba(255, 107, 44, 0.32), transparent 70%),
              radial-gradient(40% 50% at 20% 100%, rgba(255, 179, 71, 0.16), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(32px, 5vw, 72px); align-items: end; }
.hero h1 { margin-bottom: 28px; }
.hero h1 .outline { display: block; color: var(--accent); text-shadow: 0 0 60px rgba(255, 107, 44, 0.35); }
.place { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--text-2); font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase; margin-top: 36px; }
.place span + span::before { content: "/"; margin-right: 18px; color: var(--accent); }
.portrait { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-2); box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: contrast(1.05) saturate(0.9); }
.portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(14, 13, 12, 0.85)); }
.portrait .badge { position: absolute; left: 18px; bottom: 18px; z-index: 1; display: flex; flex-direction: column; gap: 2px; }
.portrait .badge b { font-family: var(--display); font-stretch: condensed; text-transform: uppercase; font-size: 1.6rem; line-height: 1; }
.portrait .badge small { color: var(--text-2); font-size: 0.82rem; letter-spacing: 0.08em; }

/* Pasek tematów */
.ticker { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding: 0; }
.ticker ul { display: flex; gap: 0; width: max-content; margin: 0; padding: 18px 0; list-style: none; animation: ticker 40s linear infinite; }
.ticker li { font-family: var(--display); font-stretch: condensed; text-transform: uppercase; font-size: 1.6rem; font-weight: 700; letter-spacing: 0.04em; color: var(--text-2); white-space: nowrap; }
.ticker li::after { content: "✦"; color: var(--accent); margin: 0 28px; font-size: 1rem; vertical-align: middle; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Karty */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; transition: border-color 200ms, transform 200ms var(--ease); }
.card:hover { border-color: rgba(255, 107, 44, 0.45); transform: translateY(-3px); }
.card .num { font-family: var(--display); font-stretch: condensed; font-size: 3rem; line-height: 1; font-weight: 700; color: rgba(255, 107, 44, 0.55); display: block; margin-bottom: 22px; }
.card .kicker { color: var(--accent); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; display: block; margin-bottom: 8px; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--text-2); margin: 0; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: end; }
.about-text { font-size: 1.2rem; line-height: 1.6; color: var(--text-2); margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; padding: 0; list-style: none; }
.tags li { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.85rem; color: var(--text-2); }

/* Muzyka */
.album { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 6vw, 80px); align-items: center; margin-top: 56px; }
.poster { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); aspect-ratio: 4 / 5; background: var(--bg-2); transform: rotate(-1.5deg); transition: transform 400ms var(--ease); }
.poster:hover { transform: rotate(0); }
.poster img { width: 100%; height: 100%; object-fit: cover; }
.tracks { list-style: none; margin: 0; padding: 0; counter-reset: t; border-top: 1px solid var(--line); }
.tracks li { border-bottom: 1px solid var(--line); }
.tracks a { display: flex; align-items: center; gap: 18px; padding: 14px 10px; min-height: 56px; text-decoration: none; border-radius: 10px; font-weight: 500; transition: background 120ms ease-out, color 120ms ease-out, padding 200ms var(--ease); -webkit-tap-highlight-color: transparent; }
.tracks a::before { counter-increment: t; content: counter(t, decimal-leading-zero); width: 2em; color: var(--text-2); font-variant-numeric: tabular-nums; font-size: 0.85rem; }
.tracks a::after { content: "↗"; margin-left: auto; color: var(--text-2); transition: color 120ms, transform 200ms var(--ease); }
.tracks a:hover { background: var(--surface); color: var(--accent); }
.tracks a:hover::after { color: var(--accent); transform: translate(2px, -2px); }
.meta { color: var(--text-2); font-size: 0.95rem; }
.inf { margin-top: 24px; }

/* Cytat */
.quote-sec { text-align: center; position: relative; }
blockquote { margin: 0 auto; font-family: var(--display); font-stretch: condensed; text-transform: uppercase; font-weight: 700; font-size: clamp(2rem, 5.5vw, 4.2rem); line-height: 1; max-width: 18em; text-wrap: balance; }
blockquote::before { content: "„"; display: block; color: var(--accent); font-size: 1.6em; line-height: 0.6; margin-bottom: 0.2em; }
.quote-sec cite { display: block; margin-top: 24px; color: var(--text-2); font-style: normal; letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.82rem; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(24px, 5vw, 72px); }
.faq { max-width: 46em; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 24px 44px 24px 0; font-size: 1.15rem; font-weight: 600; position: relative; transition: color 150ms; }
summary:hover { color: var(--accent); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.7rem; font-weight: 300; color: var(--accent); transition: transform 300ms var(--ease); }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { color: var(--text-2); padding-bottom: 24px; margin: 0; }

/* Kontakt */
.contact { position: relative; overflow: hidden; isolation: isolate; background: var(--bg-2); border: 1px solid var(--line); border-radius: 28px; padding: clamp(36px, 7vw, 88px); text-align: center; }
.contact::before { content: ""; position: absolute; inset: 40% -10% -60% -10%; z-index: -1; background: radial-gradient(50% 60% at 50% 50%, rgba(255, 107, 44, 0.25), transparent 70%); }
.contact .eyebrow { justify-content: center; }
.contact h2 { margin-bottom: 18px; }
.contact .lead { margin-inline: auto; }
.contact .btn-row { justify-content: center; }
.social { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 26px; margin-top: 32px; padding: 0; list-style: none; }
.social a { color: var(--text-2); text-decoration: none; padding: 8px 2px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.85rem; }
.social a:hover { color: var(--accent); }

footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--text-2); font-size: 0.9rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center; }
footer ul { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }

/* Podstrony */
.page { padding: clamp(48px, 8vw, 96px) 0; }
.page h1 { font-size: clamp(3rem, 9vw, 6rem); margin-bottom: 24px; }
.page .prose h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin: 2em 0 0.6em; }
.page .prose { max-width: 46em; }
.page .prose p, .page .prose li { color: var(--text-2); }
.page .prose strong { color: var(--text); }
.page .prose a { color: var(--accent); }
.crumbs { font-size: 0.85rem; color: var(--text-2); margin-bottom: 28px; letter-spacing: 0.04em; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }

/* Dyskografia */
.disco-head { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.disco-head .lead { margin: 0; }
.disco-stats { display: flex; gap: 36px; list-style: none; margin: 0; padding: 0; justify-self: end; }
.disco-stats b { display: block; font-family: var(--display); font-stretch: condensed; font-size: 3.2rem; line-height: 1; color: var(--accent); }
.disco-stats span { color: var(--text-2); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; }

.release-feature { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(20px, 3vw, 32px); background: var(--bg-2); border: 1px solid var(--line); border-radius: 28px; margin-bottom: 20px; }
.release-feature h2 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin: 6px 0 16px; }

.releases { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.release { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 14px; transition: border-color 200ms, transform 250ms var(--ease), background 200ms; }
.release:hover { border-color: rgba(255, 107, 44, 0.45); background: var(--surface-strong); }
.release-body { padding: 18px 8px 8px; display: flex; flex-direction: column; flex: 1; }
.release h3 { font-size: 1.8rem; margin: 4px 0 6px; }
.release .type { color: var(--accent); font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; }
.release p { color: var(--text-2); font-size: 0.95rem; margin: 0 0 18px; }
.release .actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.release .btn { min-height: 44px; padding: 0 18px; font-size: 0.9rem; }

/* Okładka z odtwarzaczem wczytywanym dopiero po kliknięciu */
.cover { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: #000; }
.cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease), filter 300ms; }
.cover .play { position: absolute; inset: 0; display: grid; place-items: center; border: 0; padding: 0; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.55)); color: #fff; cursor: pointer; font: inherit; }
.cover .play span { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--green); color: var(--green-ink); box-shadow: 0 12px 34px rgba(0, 0, 0, 0.5); transform: scale(0.92); opacity: 0.92; transition: transform 200ms var(--ease), opacity 200ms; }
.cover .play svg { width: 30px; height: 30px; margin-left: 4px; }
.cover:hover img { transform: scale(1.04); }
.cover:hover .play span, .cover .play:focus-visible span { transform: scale(1); opacity: 1; }
.cover .play:focus-visible { outline: 3px solid var(--accent-2); outline-offset: -3px; }
.cover iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #121212; }
.cover.is-playing { aspect-ratio: auto; height: 352px; }
.embed-note { color: var(--text-2); font-size: 0.82rem; margin-top: 28px; }

/* Zapowiedź dyskografii na stronie głównej */
.more { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 48px; padding: 24px 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.more p { margin: 0; font-family: var(--display); font-stretch: condensed; text-transform: uppercase; font-size: 1.6rem; font-weight: 700; }

/* Wejście sekcji: tylko opacity + transform */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Responsywność */
@media (max-width: 960px) {
  .hero-grid, .album, .about-grid, .faq-grid, .disco-head, .release-feature { grid-template-columns: 1fr; }
  .disco-stats { justify-self: start; }
  .portrait { max-width: 460px; }
  .poster { max-width: 400px; }
  .cards { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav ul {
    position: absolute; left: 0; right: 0; top: var(--nav-h); flex-direction: column; gap: 0; padding: 8px 20px 20px;
    background: rgba(14, 13, 12, 0.96); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--line);
    opacity: 0; transform: translateY(-8px); pointer-events: none; visibility: hidden;
    transition: opacity 250ms var(--ease), transform 250ms var(--ease), visibility 0s 250ms;
  }
  .nav ul.open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition-delay: 0s; }
  .nav ul a { padding: 14px 8px; font-size: 1.1rem; border-radius: 10px; }
}
@media (max-width: 480px) {
  .btn-row .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .disco-stats { gap: 24px; }
}

/* Preferencje dostępności */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .ticker ul { animation: none; }
  .reveal { transform: none; transition: opacity 200ms ease; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav, .nav ul { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--bg); }
}
@media (prefers-contrast: more) {
  :root { --line: rgba(255, 244, 230, 0.5); --text-2: #e8e1d8; }
  .nav, .nav ul { background: var(--bg); }
}
@media print {
  .nav, .btn-row, .skip, .ticker { display: none; }
  body { background: #fff; color: #000; }
  body::before { display: none; }
  .lead, .card p, details p { color: #333; }
}
