/* mateuszprzybysz.pl — styl „Alchemia Page” (listopad 2026)
   Czerń z siatką 84 px, szkło, grotesk Geist, miedziany akcent ↘. */

:root {
  color-scheme: dark;
  --bg: #050505;
  --text: #ececec;
  --dim: #b3b3b3;
  --mute: #767676;
  --line: rgba(255, 255, 255, .09);
  --red: #e07a4a;   /* miedź */
  --amber: #e3b468; /* ciepłe złoto podtytułów */
  --navy-glow: rgba(40, 60, 130, .5);
  --grid: 84px;
  --font: 'Geist', 'Inter', 'Segoe UI', system-ui, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: var(--grid) var(--grid);
  background-position: center top;
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(120% 90% at 50% 40%, transparent 35%, rgba(5, 5, 5, .85) 100%);
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, blockquote, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
main { overflow-x: clip; }
main > section { position: relative; scroll-margin-top: 96px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
strong { font-weight: 600; color: var(--text); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: clamp(80px, 10vw, 140px); }
.center { text-align: center; }
.muted { color: var(--mute); }
.small { font-size: .85rem; line-height: 1.55; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: #fff; color: #000; }
.skip-link:focus { top: 12px; }

/* ---------- Typografia ---------- */
h1, h2, h3 { font-weight: 500; letter-spacing: -.035em; color: #f2f2f2; }
h2 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); font-weight: 400; line-height: 1.04; color: #d9d9d9; max-width: 18ch; text-wrap: balance; }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.45rem); line-height: 1.25; letter-spacing: -.02em; }
.arw { display: inline-block; width: .5em; height: .5em; margin-left: .2em; vertical-align: .02em; fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: square; }
.caps { color: var(--mute); font-size: .7rem; font-weight: 500; letter-spacing: .32em; line-height: 1.7; text-transform: uppercase; }
.caps strong { color: var(--text); font-weight: 600; }
.lead { margin-top: 26px; max-width: 54ch; color: var(--dim); font-size: 1.12rem; }
.text-link, .check a { color: var(--text); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 4px; }
.text-link:hover, .check a:hover { text-decoration-color: var(--red); }
.sec-head .caps { margin-bottom: 22px; }

/* ---------- Szkło ---------- */
.glass {
  position: relative;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .012) 60%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 40px 80px -40px rgba(0, 0, 0, .9);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

/* ---------- Przyciski (G1 — mrożone szkło) ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 500 .9rem/1.2 var(--font);
  letter-spacing: -.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, box-shadow .25s, transform .2s;
}
.pill-white { background: rgba(255, 255, 255, .82); border-color: rgba(255, 255, 255, .9); color: #0a0a0a; -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); box-shadow: inset 0 1px 0 #fff, 0 0 30px rgba(255, 255, 255, .18), 0 10px 30px -10px rgba(0, 0, 0, .8); }
.pill-white:hover { background: rgba(255, 255, 255, .92); transform: translateY(-1px); box-shadow: inset 0 1px 0 #fff, 0 0 42px rgba(255, 255, 255, .26), 0 12px 32px -10px rgba(0, 0, 0, .8); }
.pill-dark { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: var(--text); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 10px 30px -10px rgba(0, 0, 0, .8); }
.pill-dark:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3); transform: translateY(-1px); }
.pill:active { transform: scale(.98); }
.pill-lg { min-height: 54px; padding: 0 30px; font-size: 1rem; }
.pill-block { width: 100%; }
.pill svg { width: 18px; height: 18px; flex: none; }
/* Ikona „play” w przycisku YouTube w hero — w zaokrąglonym kwadracie po lewej, jak koszyk na landingu. */
#hero-yt { padding-left: 9px; gap: 14px; }
#hero-yt .ico { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(0, 0, 0, .1); border-radius: 11px; background: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(0, 0, 0, .06)); box-shadow: inset 0 1px 0 #fff, 0 2px 6px rgba(0, 0, 0, .12); transform: rotate(-10deg); transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
#hero-yt:hover .ico { transform: translateX(-2px) rotate(-16deg); }
#hero-yt .ico svg { width: 16px; height: 16px; fill: #0a0a0a; }

/* ---------- Nawigacja: pływająca szklana pigułka ---------- */
.header { position: sticky; top: 0; z-index: 30; padding: 16px var(--gutter) 0; pointer-events: none; }
.nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: rgba(14, 14, 14, .72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 20px 40px -20px rgba(0, 0, 0, .9);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  pointer-events: auto;
}
.brand { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: #161616; border: 1px solid rgba(255, 255, 255, .1); }
.brand img { width: 22px; height: 22px; mix-blend-mode: screen; filter: brightness(.95) contrast(1.4); }
.nav-links { display: flex; gap: 2px; padding-inline: 8px; }
.nav-links a { padding: 9px 14px; border: 1px solid transparent; border-radius: 999px; color: #9a9a9a; font-size: .875rem; font-weight: 400; text-decoration: none; transition: color .2s, border-color .2s, background-color .2s; }
.nav-links a:hover { color: #fff; border-color: rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .04); }
.nav-buy { min-height: 40px; padding: 0 18px; }
.menu-toggle { display: none; min-height: 40px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; background: transparent; color: var(--text); font: 500 .875rem var(--font); cursor: pointer; }
@media (max-width: 860px) {
  .nav { width: 100%; }
  .nav .nav-buy { margin-left: auto; }
  .menu-toggle { display: inline-flex; align-items: center; }
  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 24px;
    background: rgba(14, 14, 14, .94);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
  }
  .js .nav-links:not(.is-open) { display: none; }
  .nav-links a { padding: 14px 16px; font-size: 1rem; color: var(--text); }
}
@media (max-width: 380px) { .nav-buy { padding: 0 14px; font-size: .82rem; } }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(48px, 8vw, 110px) 28px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr); align-items: center; gap: clamp(24px, 4vw, 56px); }
.meta { display: flex; flex-wrap: wrap; margin-bottom: 28px; color: var(--dim); font-size: .95rem; }
.meta span + span::before { content: "|"; margin-inline: 12px; color: var(--mute); }
.hero .eyebrow { margin-bottom: 18px; }
h1 { font-size: clamp(2.7rem, 4.6vw, 4.4rem); font-weight: 600; line-height: .98; letter-spacing: -.05em; }
.hero-choice { white-space: nowrap; }
.hero-rotator { display: inline-grid; vertical-align: bottom; color: var(--red); }
.hero-rotator-word { grid-area: 1 / 1; }
.hero-rotator-word:not(.hero-rotator-final) { visibility: hidden; }
.js .hero-rotator-word { visibility: visible; opacity: 0; transform: translateY(-.5em); filter: blur(6px); transition: opacity .35s, transform .45s cubic-bezier(.2, .8, .2, 1), filter .35s; }
.js .hero-rotator-word.is-active { opacity: 1; transform: none; filter: none; }
.js .hero-rotator-word.is-out { opacity: 0; transform: translateY(.5em); filter: blur(6px); }
.hero-lead { margin-top: 30px; max-width: 46ch; color: var(--dim); font-size: 1.15rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.hero-note { margin-top: 22px; color: #8e8e8e; font-size: .85rem; }

.hero-art { position: relative; display: grid; place-items: center; min-height: 520px; }
.hero-art::before { content: ""; position: absolute; width: 90%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, var(--navy-glow), transparent); pointer-events: none; }
.hero-halftone { position: relative; width: 118%; max-width: none; opacity: .92; pointer-events: none; }
.hero-art figcaption { position: absolute; right: 0; bottom: 6%; z-index: 2; text-align: right; color: var(--dim); }
.hero-foot { display: flex; justify-content: space-between; gap: 20px; margin-top: clamp(32px, 5vw, 64px); }
@media (prefers-reduced-motion: no-preference) {
  .hero-halftone { animation: dots-in 1.6s ease-out both; }
}
@keyframes dots-in { from { opacity: 0; transform: scale(.97); } to { opacity: .92; transform: none; } }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-art { min-height: 320px; order: -1; margin-bottom: 8px; }
  .hero-halftone { width: min(100%, 440px); }
  .hero-art figcaption { bottom: 0; }
}
@media (max-width: 560px) {
  .hero { padding-top: 24px; }
  .hero-art { min-height: 0; padding-block: 12px 36px; }
  .hero-halftone { width: min(78%, 300px); }
  h1 { font-size: clamp(2.3rem, 10.4vw, 3rem); }
  .hero-choice { white-space: normal; }
  .hero-lead { font-size: 1.05rem; }
  .hero-actions .pill { width: 100%; }
  .hero-foot .caps { font-size: .62rem; letter-spacing: .24em; }
}

/* ---------- Dwie kolumny ---------- */
.two { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.two > .sec-head { position: sticky; top: 120px; }
@media (max-width: 860px) {
  .two { grid-template-columns: minmax(0, 1fr); }
  .two > .sec-head { position: static; }
}
.head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 40px; }

/* Alchemiczne znaki w tle: ☉ z prawej, 🜂 z lewej, ♂ (bez strzałki) z prawej. */
#odcinki::after, #kim-jestem::after, #kanaly::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 520px;
  aspect-ratio: 1;
  background: center / contain no-repeat;
  pointer-events: none;
}
#odcinki::after { right: -190px; top: 120px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 520 520'%3E%3Ccircle cx='260' cy='260' r='215' fill='none' stroke='%23141414' stroke-width='90'/%3E%3Ccircle cx='260' cy='260' r='58' fill='%23141414'/%3E%3C/svg%3E"); }
#kim-jestem::after { left: -200px; top: 50%; transform: translateY(-50%) rotate(-8deg); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 520 520'%3E%3Cpolygon points='260,50 475,432 45,432' fill='none' stroke='%23141414' stroke-width='80' stroke-linejoin='round'/%3E%3C/svg%3E"); }
#kanaly::after { right: -170px; bottom: -150px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 520 520'%3E%3Ccircle cx='215' cy='305' r='150' fill='none' stroke='%23141414' stroke-width='80'/%3E%3Cpath d='M321 199L470 50' stroke='%23141414' stroke-width='80' stroke-linecap='round'/%3E%3C/svg%3E"); }
@media (max-width: 760px) {
  #odcinki::after, #kim-jestem::after, #kanaly::after { width: 320px; }
  #odcinki::after { right: -150px; }
  #kim-jestem::after { left: -170px; }
  #kanaly::after { right: -130px; bottom: -90px; }
}

/* ---------- Odcinki: lekkie odtwarzacze (miniatura → iframe po kliknięciu) ---------- */
/* Karty odcinków: 65% pierwotnej szerokości (−35%) na każdej szerokości ekranu. */
.eps { --ep-scale: .65; --cols: 2; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, calc((100% - (var(--cols) - 1) * 14px) / var(--cols) * var(--ep-scale)))); gap: 14px; margin-top: clamp(40px, 5vw, 64px); }
.eps { justify-content: center; }
.eps-2 { --cols: 2; }
/* Nagłówki odcinków wyśrodkowane razem z kartami. */
#odcinki .head-row { flex-direction: column; align-items: center; text-align: center; gap: 22px; }
#odcinki .sec-head { text-align: center; }
#odcinki .sec-head h2 { margin-inline: auto; }
.eps-3 { --cols: 3; }
.ep { display: flex; flex-direction: column; padding: 10px; border-radius: 22px; }
.ep-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 14px; background: #0d0d0d; }
.ep-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ep-play { position: absolute; inset: 0; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.ep-play img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) brightness(.82); transition: filter .3s, transform .6s cubic-bezier(.2, .8, .2, 1); }
.ep-play::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 50%;
  background: rgba(255, 255, 255, .82) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.5v13l11-6.5z' fill='%230a0a0a'/%3E%3C/svg%3E") 54% 50% / 24px no-repeat;
  box-shadow: inset 0 1px 0 #fff, 0 0 30px rgba(255, 255, 255, .22), 0 10px 30px -10px rgba(0, 0, 0, .8);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transition: transform .25s;
}
.ep-play:hover img, .ep-play:focus-visible img { filter: none; transform: scale(1.03); }
.ep-play:hover::after { transform: scale(1.06); }
.ep-meta { padding: 18px 12px 12px; }
.ep-meta .caps { color: var(--red); margin-bottom: 8px; }
.ep-meta h3 { font-size: clamp(1.05rem, 1.4vw, 1.25rem); font-weight: 500; line-height: 1.35; text-wrap: pretty; }
.eps-3 .ep-meta h3 { font-size: 1.05rem; }
.sub-head { margin-top: clamp(72px, 9vw, 120px); }
.sub-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
@media (prefers-reduced-motion: reduce) { .ep-play img, .ep-play::after { transition: none; } }
@media (max-width: 960px) { .eps-3 { --cols: 2; } }
@media (max-width: 640px) { .eps-2, .eps-3 { --cols: 1; } }

/* ---------- Kim jestem ---------- */
.about-copy > p { color: var(--dim); }
.about-copy > p + p { margin-top: 20px; }
.about-quote { margin: 32px 0; padding: 22px 24px; border-left: 1px solid var(--red); color: #e6e6e6; font-size: 1.15rem; line-height: 1.5; letter-spacing: -.01em; }
.book-card { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 44px); margin-top: 44px; padding: clamp(22px, 3vw, 36px); overflow: hidden; }
.book-art { position: relative; display: grid; place-items: center; }
.book-art::before { content: ""; position: absolute; width: 180%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, var(--navy-glow), transparent); pointer-events: none; }
.book-art img { position: relative; width: 100%; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .85)) drop-shadow(0 0 1px rgba(255, 255, 255, .2)); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.book-card:hover .book-art img { transform: translateY(-4px); }
.book-copy .caps { color: var(--red); }
.book-copy h3 { margin-top: 10px; font-size: clamp(1.5rem, 2.2vw, 1.9rem); }
.book-copy p:not(.caps) { margin-top: 10px; color: var(--dim); font-size: 1rem; }
.book-copy .pill { margin-top: 24px; }
@media (max-width: 560px) {
  .book-card { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .book-art img { width: min(60%, 200px); }
  .book-copy .pill { width: 100%; }
}

/* ---------- Iskra / newsletter ---------- */
.spark { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); padding: clamp(28px, 5vw, 64px); border-radius: 32px; overflow: hidden; }
.spark::before { content: ""; position: absolute; left: -12%; bottom: -30%; z-index: -1; width: 70%; aspect-ratio: 1; background: url("https://mateuszprzybysz.pl/alchemiapotencjalu/assets/butterfly-halftone.png") center / contain no-repeat; opacity: .14; transform: rotate(12deg); pointer-events: none; }
.spark h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
.spark-copy .caps { margin-bottom: 20px; color: var(--red); }
.spark-copy > p:not(.caps):not(.small) { margin-top: 22px; color: var(--dim); }
.spark-copy .small { margin-top: 16px; }
.spark-points { display: grid; gap: 10px; margin-top: 26px; }
.spark-points li { position: relative; padding-left: 36px; color: var(--dim); font-size: .98rem; }
.spark-points li::before { content: "✓"; position: absolute; left: 0; top: 2px; display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 50%; background: #121212; color: #fff; font-size: .72rem; }
.field { display: grid; gap: 8px; margin-bottom: 16px; }
.field label { font-size: .9rem; font-weight: 500; }
.field input { min-height: 54px; padding: 0 18px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; background: rgba(0, 0, 0, .5); color: var(--text); font: 400 1rem var(--font); }
.field input::placeholder { color: #5c5c5c; }
.field input:focus { outline: none; border-color: rgba(255, 255, 255, .5); box-shadow: 0 0 0 4px rgba(255, 255, 255, .06); }
.check { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; margin: 4px 0 22px; color: var(--dim); font-size: .84rem; line-height: 1.55; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: #fff; }
.ml-form .small { margin-top: 14px; }
.ml-form [type="submit"][disabled] { opacity: .6; cursor: progress; }

/* ---------- Newsletter: szklana belka pod hero ---------- */
.nl-sec { padding-block: clamp(24px, 4vw, 48px) 0; }
.nl-bar { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: center; gap: clamp(24px, 4vw, 56px); padding: clamp(24px, 3vw, 36px); border-radius: 28px; }
.nl-copy .caps { margin-bottom: 10px; color: var(--red); }
.nl-copy h2 { max-width: 16ch; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.nl-fields { display: flex; gap: 10px; }
.nl-fields input { flex: 1; min-width: 0; min-height: 54px; padding: 0 18px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; background: rgba(0, 0, 0, .5); color: var(--text); font: 400 1rem var(--font); }
.nl-fields input::placeholder { color: #6a6a6a; }
.nl-fields input:focus { outline: none; border-color: rgba(255, 255, 255, .5); box-shadow: 0 0 0 4px rgba(255, 255, 255, .06); }
.nl-bar .check { margin: 14px 0 0; }
@media (max-width: 860px) { .nl-bar { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .nl-fields { flex-direction: column; }
  .nl-fields .pill { width: 100%; }
}
.form-status { padding: 22px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 18px; color: var(--dim); }
.form-status strong { display: block; margin-bottom: 6px; color: var(--text); font-size: 1.1rem; font-weight: 500; }
.form-status.success { border-color: rgba(255, 255, 255, .4); }
.form-status.error { border-color: var(--red); }
@media (max-width: 860px) { .spark { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Kanały ---------- */
.socials { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: clamp(40px, 5vw, 64px); }
.social { display: flex; flex-direction: column; gap: 46px; padding: 24px; border-radius: 22px; text-decoration: none; transition: border-color .2s, transform .25s cubic-bezier(.2, .8, .2, 1); }
.social:hover { border-color: rgba(255, 255, 255, .28); transform: translateY(-2px); }
.social-top { display: flex; align-items: center; justify-content: space-between; }
.social-ico { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 50%; background: #0b0b0b; }
.social-ico svg { width: 20px; height: 20px; fill: none; stroke: var(--text); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.social .arw { width: 14px; height: 14px; margin: 0; transition: transform .25s; }
.social:hover .arw { transform: rotate(-90deg); }
.social h3 { font-size: 1.3rem; }
.social p { margin-top: 4px; color: var(--mute); font-size: .88rem; }
@media (prefers-reduced-motion: reduce) { .social, .social .arw { transition: none; } }
@media (max-width: 960px) { .socials { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .socials { gap: 10px; }
  .social { gap: 22px; padding: 18px; border-radius: 18px; }
  .social h3 { font-size: 1.1rem; }
  .social p { font-size: .78rem; overflow-wrap: anywhere; }
}

/* ---------- Stopka ---------- */
.footer { padding-block: 40px; border-top: 1px solid var(--line); background: rgba(5, 5, 5, .7); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer-links a { color: var(--mute); font-size: .85rem; text-decoration: none; }
.footer-links a:hover { color: var(--text); }

@media print {
  .header, .hero-halftone { display: none !important; }
  body { background: #fff; color: #111; }
}
