/* ==========================================================
   ZMIENNE
   ========================================================== */
:root {
  --bg: #0b0b0f;
  --bg-elevated: #14141b;
  --bg-card: #17171f;
  --border: #25252f;
  --text: #ececf1;
  --text-muted: #9a9aab;
  --accent: #7c5cff;
  --accent-2: #00d4ff;
  --accent-grad: linear-gradient(135deg, var(--accent), var(--accent-2));

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Space Grotesk", var(--font-body);
}

/* ==========================================================
   RESET / BAZA
   ========================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.modal-open { overflow: hidden; }

img, video { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

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

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

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

/* ==========================================================
   HEADER
   ========================================================== */
.site-header {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(900px 300px at 85% -50%, rgba(124, 92, 255, 0.22), transparent 70%),
    radial-gradient(700px 260px at 10% -60%, rgba(0, 212, 255, 0.12), transparent 70%);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.brand { max-width: 560px; }

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
}

.logo-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 30%;
  border: 2px solid transparent;
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    var(--accent-grad) border-box;
  box-shadow: 0 8px 24px rgba(124, 92, 255, 0.3);
}

.logo { font-size: 1.9rem; }

.bio {
  margin: 1rem 0 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.social a {
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.25s, border-color 0.25s, background 0.25s, transform 0.25s var(--ease);
}

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

.social .social-cta {
  background: var(--accent-grad);
  border-color: transparent;
  color: #fff;
}

.social .social-cta:hover { filter: brightness(1.1); border-color: transparent; }

/* ==========================================================
   FILTRY
   ========================================================== */
.gallery { padding: 2.5rem 0 4rem; }

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 2rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* --- wyszukiwarka --- */
.search {
  position: relative;
  flex: 0 1 340px;
  min-width: 220px;
}

.search input {
  width: 100%;
  padding: 0.65rem 2.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  font: inherit;
  font-size: 0.92rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.search input::placeholder { color: var(--text-muted); }
.search input::-webkit-search-cancel-button { display: none; }

.search input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.2);
}

.search-icon {
  position: absolute;
  left: 1rem; top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.search-clear {
  position: absolute;
  right: 0.5rem; top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.search-clear:hover { color: var(--text); background: #23232e; }

.result-count {
  margin: -1rem 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.filter-btn {
  padding: 0.55rem 1.2rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.25s, background 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}

.filter-btn:hover {
  color: var(--text);
  border-color: var(--accent);
}

.filter-btn.is-active {
  background: var(--accent-grad);
  border-color: transparent;
  color: #fff;
}

.filter-btn:active { transform: scale(0.96); }

/* ==========================================================
   SIATKA I KARTY
   ========================================================== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: left;
  color: inherit;
  font: inherit;
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px);
  animation: card-in 0.6s var(--ease) forwards;
  transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.35s;
}

@keyframes card-in {
  to { opacity: 1; transform: translateY(0); }
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 92, 255, 0.6);
  box-shadow: 0 18px 40px rgba(124, 92, 255, 0.18);
}

.card-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #1e1e2a, #12121a);
  overflow: hidden;
}

.card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

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

.card-thumb.no-image::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--accent-grad);
  opacity: 0.25;
}

.card-play {
  position: absolute;
  right: 0.9rem; bottom: 0.9rem;
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s, transform 0.3s var(--ease);
}

.card:hover .card-play { opacity: 1; transform: scale(1); }

.card-info { padding: 1rem 1.15rem 1.2rem; }

.card-tag {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: rgba(124, 92, 255, 0.16);
  color: #b9a8ff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.card-title {
  margin: 0.6rem 0 0;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.empty {
  padding: 3rem 0;
  text-align: center;
  color: var(--text-muted);
}

/* ==========================================================
   PORTFOLIA STOCKOWE
   ========================================================== */
.stock {
  padding: 3rem 0 4.5rem;
  border-top: 1px solid var(--border);
}

.section-title {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.section-lead {
  margin: 0.4rem 0 1.75rem;
  color: var(--text-muted);
}

/* osobna podstrona z portfoliami stockowymi */
.stock--page {
  padding-top: 3.5rem;
  border-top: 0;
}

.stock--page .section-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.stock--page .section-lead { font-size: 1.05rem; }

.stock-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.stock-link {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  height: 100%;
  padding: 1.1rem 3rem 1.1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}

.stock-link::after {
  content: "↗";
  position: absolute;
  top: 50%; right: 1.15rem;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: color 0.3s, transform 0.3s var(--ease);
}

.stock-link:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 92, 255, 0.6);
  box-shadow: 0 14px 30px rgba(124, 92, 255, 0.16);
}

.stock-link:hover::after {
  color: var(--accent-2);
  transform: translate(3px, -65%);
}

.stock-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
}

.stock-url {
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* ==========================================================
   MODAL
   ========================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear 0.35s;
}

.modal.is-open {
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(5, 5, 8, 0.78);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.modal.is-open .modal-backdrop { opacity: 1; }

.modal-dialog {
  position: relative;
  width: min(1000px, 100%);
  max-height: 100%;
  overflow-y: auto;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(30px) scale(0.96);
  transition: opacity 0.35s ease, transform 0.45s var(--ease);
}

.modal.is-open .modal-dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 0.9rem; right: 0.9rem;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  color: #fff;
  cursor: pointer;
  transition: background 0.25s, transform 0.3s var(--ease);
}

.modal-close:hover { background: var(--accent); transform: rotate(90deg); }

/* --- media --- */
.modal-media {
  background: #000;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
}

.media-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

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

.media-frame video, .media-frame iframe { background: #000; }
.media-frame img { object-fit: contain; }

.media-thumbs {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem;
  overflow-x: auto;
  background: #08080b;
}

.media-thumbs button {
  position: relative;
  flex: 0 0 auto;
  width: 96px;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: #1a1a22;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.25s, border-color 0.25s;
}

.media-thumbs button:hover { opacity: 1; }
.media-thumbs button.is-active { opacity: 1; border-color: var(--accent-2); }
.media-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.media-thumb-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.35);
}

.media-thumb-play svg {
  width: 26px; height: 26px;
  padding: 6px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
}

/* --- treść --- */
.modal-body { padding: 1.75rem 2rem 2.25rem; }

.modal-category {
  margin: 0;
  color: var(--accent-2);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.modal-title {
  margin: 0.35rem 0 0;
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.9rem;
}

.modal-tags span {
  padding: 0.2rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.modal-description {
  margin-top: 1.25rem;
  color: #c9c9d6;
  max-width: 70ch;
}

.modal-description p,
.modal-description li {
  text-align: justify;
  text-justify: inter-word;
  overflow-wrap: break-word;
}

.modal-description p { margin: 0 0 0.9rem; }

.desc-heading {
  margin: 1.4rem 0 0.6rem;
  color: var(--text);
  font-family: var(--font-head);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.desc-heading:first-child { margin-top: 0; }

.desc-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.desc-list li {
  position: relative;
  margin: 0 0 0.6rem;
  padding-left: 1.4rem;
}

.desc-list li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.62em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-grad);
}

.desc-list strong { color: var(--text); font-weight: 600; }

@media (max-width: 640px) {
  /* na wąskim ekranie justowanie robi dziury – wyrównaj do lewej */
  .modal-description p,
  .modal-description li { text-align: left; }
}

.modal-download {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.modal-download-title {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.3rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 0.25s var(--ease), filter 0.25s, background 0.25s, border-color 0.25s;
}

.btn:hover { transform: translateY(-2px); }

/* wszystkie przyciski są szare (style: primary / secondary / ghost wyglądają tak samo) */
.btn-primary,
.btn-secondary,
.btn-ghost {
  background: #23232e;
  border-color: var(--border);
  color: var(--text);
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-ghost:hover {
  background: #2c2c39;
  border-color: var(--text-muted);
}

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 2.25rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.2fr;
  gap: 2rem 2.5rem;
}

.footer-inner p { margin: 0; }
.footer-inner a:hover { color: var(--text); }

.footer-title {
  margin-bottom: 0.4rem !important;
  color: var(--text);
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
}

.footer-heading {
  margin-bottom: 0.6rem !important;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-inner address {
  font-style: normal;
  line-height: 1.7;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 1.8;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 860px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-col:first-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ==========================================================
   PODSTRONA „O MNIE"
   ========================================================== */
.social a.is-current {
  color: var(--text);
  border-color: var(--accent);
}

.about { padding-bottom: 4.5rem; }

.about-hero {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 3.5rem 0 3rem;
}

.about-photo {
  width: 220px; height: 220px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 30%;
  border: 3px solid transparent;
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    var(--accent-grad) border-box;
  box-shadow: 0 20px 60px rgba(124, 92, 255, 0.28);
}

.about-eyebrow {
  margin: 0;
  color: var(--accent-2);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-title {
  margin: 0.4rem 0 0;
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.about-title span { display: block; color: var(--text-muted); font-size: 0.6em; margin-top: 0.4rem; }

.about-lead {
  margin: 1.25rem 0 0;
  max-width: 62ch;
  color: #c9c9d6;
  font-size: 1.08rem;
}

.about-lead strong { color: var(--text); font-weight: 600; }

.about-stats {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.about-stats li {
  display: flex;
  flex-direction: column;
  padding: 0.8rem 1.1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.about-stats strong {
  font-family: var(--font-head);
  font-size: 1.15rem;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-stats span { color: var(--text-muted); font-size: 0.8rem; }

.about-section {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}

.about-section h2 {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0 0 0.75rem;
  font-family: var(--font-head);
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  letter-spacing: -0.02em;
}

.about-section h2 .num {
  color: var(--accent);
  font-size: 0.85em;
}

.about-section h2 small {
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
}

.about-section > p {
  margin: 0 0 1.5rem;
  max-width: 70ch;
  color: #c9c9d6;
}

.about-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.about-cards.two { grid-template-columns: repeat(2, 1fr); }

.about-cards li {
  padding: 1.25rem 1.35rem 1.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}

.about-cards li:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 92, 255, 0.55);
  box-shadow: 0 14px 30px rgba(124, 92, 255, 0.14);
}

.about-cards h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-head);
  font-size: 1.05rem;
}

.about-cards p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.about-cards a {
  color: var(--accent-2);
  border-bottom: 1px solid rgba(0, 212, 255, 0.35);
  transition: border-color 0.25s;
}

.about-cards a:hover { border-color: var(--accent-2); }

.about-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding: 2rem 2.25rem;
  background:
    radial-gradient(600px 200px at 100% 0%, rgba(124, 92, 255, 0.22), transparent 70%),
    var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 20px;
}

.about-cta h2 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.about-cta p { margin: 0.35rem 0 0; color: var(--text-muted); }

.about-cta-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

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

@media (max-width: 720px) {
  .about-hero {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 2.25rem 0 2rem;
    text-align: left;
  }
  .about-photo { width: 150px; height: 150px; }
  .about-cta { padding: 1.5rem; }
  .about-cta-actions .btn { flex: 1 1 100%; justify-content: center; }
}

/* ==========================================================
   PODSTRONA „REALIZACJE" (w trakcie budowania)
   ========================================================== */
.construction {
  max-width: 620px;
  margin: 0 auto;
  padding: 5rem 0 6rem;
  text-align: center;
}

.construction-icon {
  display: grid;
  place-items: center;
  width: 76px; height: 76px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--accent-2);
  box-shadow: 0 12px 40px rgba(124, 92, 255, 0.2);
}

.construction-title {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.construction-badge {
  display: inline-block;
  margin: 1rem 0 0;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  background: rgba(124, 92, 255, 0.16);
  color: #b9a8ff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.construction-text {
  margin: 1.25rem auto 0;
  max-width: 46ch;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.construction-bar {
  position: relative;
  width: min(320px, 100%);
  height: 8px;
  margin: 2rem auto 0;
  border-radius: 999px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  overflow: hidden;
}

.construction-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    rgba(124, 92, 255, 0.85) 0 10px,
    rgba(0, 212, 255, 0.85) 10px 20px
  );
  background-size: 28px 28px;
  animation: construction-stripes 1.2s linear infinite;
}

@keyframes construction-stripes {
  to { background-position: 28px 0; }
}

.construction-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 2.25rem;
}

/* ==========================================================
   RESPONSYWNOŚĆ
   ========================================================== */
@media (max-width: 640px) {
  .social a { padding: 0.5rem 0.9rem; font-size: 0.88rem; }
  .search { flex: 1 1 100%; }
  .site-header { padding: 2rem 0 1.5rem; }
  .grid { grid-template-columns: 1fr; gap: 1.1rem; }
  .modal { padding: 0; align-items: end; }
  .modal-dialog { border-radius: 20px 20px 0 0; max-height: 94vh; }
  .modal-body { padding: 1.25rem 1.25rem 1.75rem; }
  .modal-actions .btn { flex: 1 1 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .card { opacity: 1; transform: none; }
}
