/* Szafa · szafa.tv */
:root {
  --orange: #f8b44f;
  --orange-deep: #f09a2c;
  --cream: #fff4df;
  --paper: #fffbf3;
  --ink: #1b120c;
  --wood: #b15a21;
  --wood-dark: #8c4317;
  --wood-light: #cf7b3b;
  --inside: #2b170c;
  --inside-2: #3b2112;
  --blue: #3b86e8;
  --blue-deep: #2a6bc4;
  --red: #e0352d;
  --green: #2f9e68;
  --yellow: #ffd84d;
  --line: 3px;
  --r: 18px;
  --shadow: 5px 5px 0 var(--ink);
  --f-display: 'Lilita One', 'Arial Black', 'Trebuchet MS', sans-serif;
  --f-hand: 'Shantell Sans', 'Comic Sans MS', cursive;
  --f-body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--orange);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0.01em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: min(1160px, 100% - 32px);
  margin-inline: auto;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

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

.ico {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}

.hand {
  font-family: var(--f-hand);
  font-weight: 600;
}

/* taśma z odręcznym napisem nad nagłówkami */
.tape {
  display: inline-block;
  font-family: var(--f-hand);
  font-weight: 800;
  font-size: 15px;
  line-height: 1.2;
  background: var(--yellow);
  color: var(--ink);
  border: 2.5px solid var(--ink);
  border-radius: 6px;
  padding: 5px 12px 6px;
  transform: rotate(-2deg);
  margin-bottom: 16px;
}

.lead {
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.5;
  max-width: 34em;
  font-weight: 700;
}

.fine {
  font-size: 14px;
  line-height: 1.45;
  opacity: 0.78;
}

.loading {
  font-family: var(--f-hand);
  font-weight: 600;
  opacity: 0.7;
  grid-column: 1 / -1;
}

/* ---------- przyciski ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--f-display);
  font-size: 19px;
  line-height: 1;
  letter-spacing: 0.02em;
  padding: 14px 22px;
  border: var(--line) solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}
.btn:active {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 var(--ink);
}
.btn-red {
  background: var(--red);
  color: #fff;
}
.btn-ink {
  background: var(--ink);
  color: var(--cream);
  box-shadow: 4px 4px 0 var(--wood-dark);
}
.btn-ink:hover {
  box-shadow: 6px 6px 0 var(--wood-dark);
}
.btn-ink:active {
  box-shadow: 1px 1px 0 var(--wood-dark);
}
.btn-yellow {
  background: var(--yellow);
}
.btn-sm {
  font-size: 16px;
  padding: 10px 16px;
  box-shadow: 3px 3px 0 var(--ink);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.cta-row--flat {
  margin-top: 0;
}
.sprite {
  position: absolute;
}

/* ---------- pasek górny ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: var(--line) solid var(--ink);
}
.top-row {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--f-display);
  font-size: 28px;
  letter-spacing: 0.03em;
}
.brand img {
  width: 34px;
  height: auto;
  transition: transform 0.2s ease;
}
.brand:hover img {
  transform: rotate(-8deg) scale(1.08);
}
.nav {
  display: flex;
  gap: 4px;
  margin-inline: auto;
}
.nav a {
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  border: 2.5px solid transparent;
}
.nav a:hover {
  background: var(--yellow);
  border-color: var(--ink);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(36px, 6vw, 72px);
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.35) 0 2px, transparent 3px) 0 0 / 34px 34px,
    var(--orange);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding-bottom: clamp(48px, 7vw, 88px);
}
.hero h1 {
  font-size: clamp(52px, 8.6vw, 104px);
  margin-bottom: 24px;
  white-space: nowrap;
}
.pop {
  color: var(--cream);
  -webkit-text-stroke: 0.07em var(--ink);
  paint-order: stroke fill;
  text-shadow: 0.06em 0.06em 0 var(--ink);
}
.live {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  padding: 7px 14px 7px 12px;
  max-width: 100%;
}
.live[hidden] {
  display: none;
}
.live #heroLiveText {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dot {
  width: 11px;
  height: 11px;
  flex: none;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(224, 53, 45, 0.6);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  70% {
    box-shadow: 0 0 0 10px rgba(224, 53, 45, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(224, 53, 45, 0);
  }
}

/* szafa z drzwiami */
.hero-szafa {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.szafa {
  width: min(330px, 74vw);
  filter: drop-shadow(10px 12px 0 rgba(27, 18, 12, 0.22));
}
.szafa-top {
  height: 30px;
  margin-inline: -14px;
  background: var(--wood);
  border: 6px solid var(--ink);
  border-radius: 16px;
  position: relative;
  z-index: 3;
}
.szafa-body {
  position: relative;
  aspect-ratio: 0.8;
  margin-top: -6px;
  border: 6px solid var(--ink);
  border-radius: 6px 6px 12px 12px;
  background: var(--inside);
  perspective: 1500px;
}
.szafa-inside {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 2px 2px 6px 6px;
}
.szafa-film {
  position: absolute;
  inset: 0;
  display: block;
  color: #fff;
  text-decoration: none;
}
.szafa-film img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.szafa-film-info {
  position: absolute;
  inset: auto 0 0 0;
  padding: 48px 14px 14px;
  background: linear-gradient(transparent, rgba(27, 18, 12, 0.92) 55%);
  display: grid;
  gap: 10px;
}
.szafa-film-title {
  font-family: var(--f-display);
  font-size: 21px;
  line-height: 1.08;
  text-wrap: balance;
}
.szafa-film-go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  font-family: var(--f-display);
  font-size: 16px;
  color: var(--ink);
  background: var(--yellow);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  padding: 6px 13px;
}
.door {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  padding: 0;
  background: var(--wood);
  border: 0;
  cursor: pointer;
  color: rgba(27, 18, 12, 0.55);
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.9s ease;
  z-index: 2;
}
.door-l {
  left: 0;
  transform-origin: left center;
  border-right: 3px solid var(--ink);
}
.door-r {
  right: 0;
  transform-origin: right center;
  border-left: 3px solid var(--ink);
}
.door .grain {
  position: absolute;
  inset: 8% 10%;
  width: 80%;
  height: 84%;
}
.knob {
  position: absolute;
  top: 46%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ink);
}
.door-l .knob {
  right: 9px;
}
.door-r .knob {
  left: 9px;
}
.szafa[data-open='true'] .door-l {
  transform: rotateY(-108deg);
  filter: brightness(0.72);
}
.szafa[data-open='true'] .door-r {
  transform: rotateY(108deg);
  filter: brightness(0.72);
}
.szafa:not([data-open='true']) .door:hover {
  filter: brightness(1.08);
}
.szafa-legs {
  display: flex;
  justify-content: space-between;
  padding-inline: 14px;
  margin-top: -6px;
}
.szafa-legs i {
  width: 34px;
  height: 26px;
  background: var(--wood);
  border: 6px solid var(--ink);
  border-radius: 0 0 9px 9px;
}
.szafa-actions {
  margin-top: 26px;
  display: grid;
  justify-items: center;
  gap: 8px;
}
.szafa-note {
  font-size: 15px;
  transform: rotate(-1.5deg);
}

/* pasek z tematami */
.marquee {
  background: var(--ink);
  color: var(--orange);
  border-block: var(--line) solid var(--ink);
  overflow: hidden;
  transform: rotate(-1deg) scale(1.02);
  margin-bottom: -12px;
  position: relative;
  z-index: 2;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: slide 38s linear infinite;
}
.marquee span {
  font-family: var(--f-display);
  font-size: 22px;
  letter-spacing: 0.04em;
  padding: 11px 0;
  white-space: nowrap;
}
.marquee span::after {
  content: '✦';
  margin-inline: 22px;
  color: var(--cream);
}
@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- sekcje ---------- */
.sec {
  padding-block: clamp(64px, 9vw, 112px);
  position: relative;
}
.sec-cream {
  background: var(--cream);
}
.sec-orange {
  background: var(--orange);
  border-block: var(--line) solid var(--ink);
}
.sec-blue {
  background: var(--blue);
  border-block: var(--line) solid var(--ink);
}
.sec-wood {
  color: var(--cream);
  border-block: var(--line) solid var(--ink);
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.028) 0 2px, transparent 2px 118px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.16) 0 3px, transparent 3px 236px),
    var(--inside);
}
.sec-head {
  margin-bottom: clamp(28px, 4vw, 44px);
}
.sec-head h2,
.collab-hero h2,
.idea h2 {
  font-size: clamp(40px, 6.6vw, 82px);
}
.sec-sub {
  margin-top: 14px;
  font-size: 18px;
  font-weight: 700;
  max-width: 36em;
}

/* ---------- karty filmów ---------- */
.film {
  display: block;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.film-thumb {
  position: relative;
  display: block;
  aspect-ratio: 9 / 16;
  border: var(--line) solid var(--ink);
  border-radius: 16px;
  overflow: hidden;
  background: var(--inside-2);
  box-shadow: var(--shadow);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.film:hover .film-thumb,
.film:focus-visible .film-thumb {
  transform: translate(-3px, -3px) rotate(-1deg);
  box-shadow: 9px 9px 0 var(--ink);
}
.film-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.film-views {
  position: absolute;
  left: 8px;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--ink);
  color: var(--cream);
  font-weight: 800;
  font-size: 13px;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 999px;
}
.film-views .ico {
  width: 10px;
  height: 10px;
}
.film-badge {
  position: absolute;
  top: 9px;
  left: 9px;
  font-family: var(--f-display);
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.04em;
  background: var(--red);
  color: #fff;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  padding: 5px 10px;
  transform: rotate(-4deg);
}
.film-badge.is-part {
  background: var(--yellow);
  color: var(--ink);
}
.film-title {
  display: block;
  margin-top: 12px;
  font-weight: 800;
  font-size: 16px;
  line-height: 1.25;
}
.film-meta {
  display: block;
  margin-top: 3px;
  font-size: 14px;
  opacity: 0.72;
  font-weight: 700;
}

.grid-new {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 36px);
  max-width: 900px;
}
.grid-new .film:nth-child(1) .film-thumb {
  transform: rotate(-1.5deg);
}
.grid-new .film:nth-child(3) .film-thumb {
  transform: rotate(1.5deg);
}
.grid-new .film:hover .film-thumb {
  transform: translate(-3px, -3px) rotate(0deg);
}
.grid-new .film-title {
  font-size: 18px;
}

.grid-films {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 28px 20px;
}
.films-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.seg {
  display: inline-flex;
  border: var(--line) solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  padding: 4px;
  gap: 4px;
}
.seg-btn {
  border: 0;
  background: transparent;
  font-weight: 800;
  font-size: 15px;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
}
.seg-btn.is-on {
  background: var(--ink);
  color: var(--cream);
}
.search input {
  width: min(320px, 78vw);
  border: var(--line) solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  padding: 10px 18px;
  font-weight: 700;
  font-size: 15px;
}
.more-row {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}
.empty {
  grid-column: 1 / -1;
  font-family: var(--f-hand);
  font-weight: 600;
  font-size: 18px;
}

/* ---------- seria ---------- */
.sec-nuke {
  background: #171310;
  color: var(--cream);
  border-block: var(--line) solid var(--ink);
  overflow: hidden;
}
.sec-nuke::before,
.sec-nuke::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 18px;
  background: repeating-linear-gradient(-45deg, var(--yellow) 0 22px, var(--ink) 22px 44px);
}
.sec-nuke::before {
  top: 0;
}
.sec-nuke::after {
  bottom: 0;
}
.nuke-head h2 {
  font-size: clamp(34px, 5.6vw, 72px);
  color: var(--yellow);
  display: flex;
  align-items: center;
  gap: 0.28em;
}
.nuke-sign {
  width: 0.95em;
  height: 0.95em;
  flex: none;
  animation: spin 14s linear infinite;
}
.nuke-total {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 34px;
  margin: 30px 0 32px;
  padding: 22px 26px;
  background: #241d17;
  border: var(--line) solid #000;
  border-radius: 24px;
  box-shadow: 7px 7px 0 #000;
}
.nuke-num {
  display: block;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(52px, 7.4vw, 96px);
  line-height: 0.95;
  color: var(--yellow);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.nuke-label {
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.nuke-total .big-parts {
  margin-top: 0;
}
.nuke-total .big-part {
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  padding: 9px 14px;
}
.nuke-total .btn {
  margin-left: auto;
}
.serie-parts {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 1fr);
  gap: 18px;
  overflow-x: auto;
  padding: 6px 10px 16px 4px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--yellow) transparent;
}
.serie-parts .film {
  scroll-snap-align: start;
}
.serie-parts .film-thumb {
  border-color: #000;
  box-shadow: 5px 5px 0 #000;
}
.serie-parts .film:hover .film-thumb {
  box-shadow: 9px 9px 0 #000;
}
.film--tt .film-thumb {
  background: repeating-linear-gradient(-45deg, #2d251d 0 16px, #241d17 16px 32px);
  display: grid;
  place-items: center;
}
.tt-only {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 0 12px;
  text-align: center;
  font-weight: 800;
  font-size: 14px;
  line-height: 1.25;
  color: var(--cream);
}
.tt-only .ico {
  width: 30px;
  height: 30px;
  color: var(--yellow);
}

/* ---------- liczby ---------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.big {
  background: var(--orange);
  color: var(--ink);
  border: 4px solid #120a05;
  border-radius: 26px;
  box-shadow: 8px 8px 0 #120a05;
  padding: clamp(18px, 2.4vw, 28px);
  display: grid;
  gap: 6px;
  align-content: start;
  min-width: 0;
}
.big:nth-child(2) {
  background: var(--cream);
}
.big:nth-child(3) {
  background: var(--yellow);
}
.big-label {
  font-family: var(--f-display);
  font-size: clamp(17px, 1.9vw, 23px);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.1;
}
.big-num {
  font-family: var(--f-display);
  font-size: clamp(50px, 7.2vw, 96px);
  line-height: 0.95;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.big-parts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.big-part {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  font-size: 15px;
  line-height: 1;
  background: var(--ink);
  color: var(--cream);
  border-radius: 999px;
  padding: 7px 12px;
  white-space: nowrap;
}
.tile {
  background: var(--inside-2);
  border: var(--line) solid #120a05;
  border-radius: var(--r);
  box-shadow: 5px 5px 0 #120a05;
  padding: 20px 20px 18px;
  display: grid;
  gap: 4px;
  align-content: start;
}
.tile-src {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
}
.tile-num {
  font-family: var(--f-display);
  font-size: clamp(40px, 4.6vw, 58px);
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.tile-label {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
}
.tile-note {
  font-size: 13px;
  opacity: 0.66;
}

.stats-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr);
  gap: 22px;
  margin-top: 22px;
  align-items: stretch;
}
.record {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  text-decoration: none;
  background: var(--orange);
  color: var(--ink);
  border: var(--line) solid #120a05;
  border-radius: var(--r);
  box-shadow: 5px 5px 0 #120a05;
  padding: 18px;
  transition: transform 0.14s ease;
}
.record[hidden] {
  display: none;
}
.record:hover {
  transform: translate(-2px, -2px) rotate(-0.5deg);
}
.record-thumb {
  aspect-ratio: 9 / 16;
  border: var(--line) solid var(--ink);
  border-radius: 12px;
  overflow: hidden;
  background: var(--inside);
  transform: rotate(-3deg);
}
.record-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.record-body {
  display: grid;
  gap: 6px;
}
.record-label {
  font-family: var(--f-hand);
  font-weight: 800;
  font-size: 16px;
}
.record-num {
  font-family: var(--f-display);
  font-size: clamp(38px, 4.4vw, 54px);
  line-height: 1;
}
.record-title {
  font-weight: 800;
  line-height: 1.25;
}
.record-go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 15px;
  margin-top: 4px;
}

.top5 {
  background: var(--inside-2);
  border: var(--line) solid #120a05;
  border-radius: var(--r);
  box-shadow: 5px 5px 0 #120a05;
  padding: 20px 22px;
}
.top5 h3 {
  font-family: var(--f-body);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.3;
}
.top5-sub {
  font-size: 14px;
  opacity: 0.66;
  margin-bottom: 14px;
}
.bars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}
.bar-row {
  display: grid;
  gap: 5px;
  text-decoration: none;
  padding: 7px 8px;
  margin-inline: -8px;
  border-radius: 10px;
}
.bar-row:hover,
.bar-row:focus-visible {
  background: rgba(255, 244, 223, 0.07);
}
.bar-name {
  font-weight: 700;
  font-size: 15px;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bar-line {
  display: flex;
  align-items: center;
  gap: 10px;
}
.bar-fill {
  height: 12px;
  width: 4px;
  min-width: 4px;
  background: var(--orange);
  border-radius: 0 4px 4px 0;
  transform-origin: left center;
  transition: width 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.bar-val {
  font-weight: 800;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.updated {
  margin-top: 22px;
  font-size: 14px;
  opacity: 0.74;
}

.tip {
  position: fixed;
  z-index: 80;
  pointer-events: none;
  background: var(--paper);
  color: var(--ink);
  border: 2.5px solid var(--ink);
  border-radius: 12px;
  box-shadow: 4px 4px 0 var(--ink);
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.35;
  max-width: 260px;
}
.tip[hidden] {
  display: none;
}
.tip b {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

/* ---------- quiz ---------- */
.quiz-wrap {
  max-width: 820px;
}
.sec-blue .sec-head h2 {
  color: var(--cream);
  -webkit-text-stroke: 0.06em var(--ink);
  paint-order: stroke fill;
  text-shadow: 0.05em 0.05em 0 var(--ink);
}
.sec-blue .sec-sub {
  color: #fff;
}
.quiz {
  background: var(--cream);
  border: var(--line) solid var(--ink);
  border-radius: 26px;
  box-shadow: 8px 8px 0 var(--ink);
  padding: clamp(22px, 4vw, 40px);
  min-height: 330px;
  display: grid;
  align-content: start;
  gap: 22px;
}
.quiz-dots {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.quiz-dots i {
  width: 22px;
  height: 10px;
  border-radius: 999px;
  border: 2.5px solid var(--ink);
  background: var(--paper);
}
.quiz-dots i.ok {
  background: var(--green);
}
.quiz-dots i.bad {
  background: var(--red);
}
.quiz-dots i.now {
  background: var(--yellow);
}
.quiz-q {
  font-family: var(--f-display);
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.08;
  text-wrap: balance;
}
.quiz-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.quiz-btns .btn {
  font-size: clamp(20px, 3vw, 26px);
  padding-block: 18px;
}
.btn-true {
  background: var(--green);
  color: #fff;
}
.btn-false {
  background: var(--red);
  color: #fff;
}
.quiz-result {
  border: var(--line) solid var(--ink);
  border-radius: 16px;
  padding: 16px 18px;
  background: var(--paper);
  display: grid;
  gap: 8px;
}
.quiz-verdict {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-display);
  font-size: 24px;
}
.quiz-verdict.ok {
  color: #1f7a4e;
}
.quiz-verdict.bad {
  color: #b9241d;
}
.quiz-final {
  text-align: center;
  display: grid;
  gap: 14px;
  justify-items: center;
}
.quiz-score {
  font-family: var(--f-display);
  font-size: clamp(64px, 12vw, 120px);
  line-height: 1;
}
.quiz-final .cta-row {
  justify-content: center;
  margin-top: 6px;
}

/* ---------- współpraca ---------- */
.collab-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.collab-hero h2 {
  margin-bottom: 22px;
}
.reach {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.reach-item {
  background: var(--paper);
  border: var(--line) solid var(--ink);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: 16px 16px 14px;
  display: grid;
  gap: 2px;
}
.reach-item:nth-child(1) {
  background: var(--yellow);
}
.reach-item b {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.reach-item span {
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.3;
}
.reach-note {
  grid-column: 1 / -1;
  font-size: 14px;
  opacity: 0.78;
}

.fit {
  margin-top: clamp(48px, 7vw, 88px);
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  background: var(--orange);
  border: var(--line) solid var(--ink);
  border-radius: 30px;
  box-shadow: 8px 8px 0 var(--ink);
  padding: clamp(22px, 4vw, 44px);
}
.fit-phone {
  filter: drop-shadow(8px 8px 0 var(--ink));
  transform: rotate(-2deg);
}
.h-mid {
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.05;
}
.h-big {
  font-size: clamp(36px, 5vw, 60px);
}
.fit-panel > p {
  margin-top: 10px;
  font-weight: 700;
  max-width: 32em;
}
.field {
  display: grid;
  gap: 6px;
  margin-top: 18px;
}
.field > span {
  font-weight: 800;
  font-size: 15px;
}
.field em {
  font-style: normal;
  font-weight: 600;
  opacity: 0.65;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: var(--line) solid var(--ink);
  border-radius: 14px;
  background: var(--paper);
  padding: 12px 14px;
  font-weight: 700;
}
.field textarea {
  resize: vertical;
  min-height: 108px;
}
.field input[type='range'] {
  padding: 0;
  border: 0;
  background: transparent;
  accent-color: var(--red);
  height: 28px;
}
.field input.is-bad {
  border-color: var(--red);
  background: #ffe9e6;
}
.field-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.spots {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.spot-btn {
  border: var(--line) solid var(--ink);
  background: var(--paper);
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
}
.spot-btn.is-on {
  background: var(--ink);
  color: var(--cream);
}
.spot-info {
  margin-top: 16px;
  background: var(--cream);
  border: var(--line) solid var(--ink);
  border-radius: 16px;
  padding: 14px 16px;
  min-height: 118px;
}
.spot-info b {
  display: block;
  font-size: 14px;
  margin-top: 8px;
}

.block {
  margin-top: clamp(48px, 7vw, 88px);
}
.block-head {
  margin-bottom: 24px;
}
.block-head p {
  margin-top: 8px;
  font-weight: 700;
}
.packs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  align-items: stretch;
}
.pack {
  position: relative;
  background: var(--paper);
  border: var(--line) solid var(--ink);
  border-radius: 22px;
  box-shadow: 6px 6px 0 var(--ink);
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pack.is-featured {
  background: var(--yellow);
}
.pack-flag {
  position: absolute;
  top: -15px;
  right: 16px;
  font-family: var(--f-display);
  font-size: 15px;
  letter-spacing: 0.04em;
  background: var(--red);
  color: #fff;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  padding: 5px 12px;
  transform: rotate(3deg);
}
.pack h4 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 25px;
  line-height: 1.05;
  margin: 0;
}
.pack-price {
  font-family: var(--f-display);
  font-size: 42px;
  line-height: 1;
}
.pack-price small {
  font-family: var(--f-body);
  font-weight: 800;
  font-size: 15px;
  margin-left: 6px;
}
.pack-lead {
  font-weight: 700;
  line-height: 1.4;
}
.pack ul,
.rule-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.pack li,
.rule-card li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 9px;
  font-size: 15.5px;
  line-height: 1.35;
  font-weight: 600;
}
.pack li .ico,
.rule-card li .ico {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}
.pack li .ico {
  color: #1f7a4e;
}
.pack .btn {
  margin-top: auto;
}
.packs + .fine {
  margin-top: 16px;
}

.calc {
  margin-top: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 44px);
  background: var(--blue);
  color: #fff;
  border: var(--line) solid var(--ink);
  border-radius: 26px;
  box-shadow: 8px 8px 0 var(--ink);
  padding: clamp(22px, 4vw, 40px);
}
.calc-in > p {
  margin-top: 10px;
  font-weight: 700;
}
.calc .field input,
.calc .field select {
  color: var(--ink);
}
.calc .field input[type='range'] {
  accent-color: var(--yellow);
}
.calc-out {
  background: var(--cream);
  color: var(--ink);
  border: var(--line) solid var(--ink);
  border-radius: 18px;
  padding: 18px 20px;
  display: grid;
  gap: 2px;
  align-content: center;
}
.calc-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 2px dashed rgba(27, 18, 12, 0.25);
}
.calc-row span {
  font-weight: 700;
}
.calc-row b {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(22px, 2.8vw, 30px);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.calc-out .fine {
  margin-top: 12px;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  position: relative;
  background: var(--paper);
  border: var(--line) solid var(--ink);
  border-radius: 18px;
  padding: 44px 16px 18px;
  display: grid;
  gap: 6px;
  align-content: start;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  top: -18px;
  left: 14px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-size: 24px;
  background: var(--orange);
  border: var(--line) solid var(--ink);
  border-radius: 50%;
  box-shadow: 3px 3px 0 var(--ink);
}
.steps b {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 22px;
}
.steps span {
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
}

.rules {
  margin-top: clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.rule-card {
  border: var(--line) solid var(--ink);
  border-radius: 22px;
  box-shadow: 6px 6px 0 var(--ink);
  padding: 24px;
  display: grid;
  gap: 16px;
  align-content: start;
}
.rule-yes {
  background: #d9f2e1;
}
.rule-no {
  background: #ffe1dc;
}
.rule-yes .ico {
  color: #1f7a4e;
}
.rule-no .ico {
  color: #b9241d;
}

.faq {
  display: grid;
  gap: 12px;
  max-width: 860px;
}
.faq details {
  background: var(--paper);
  border: var(--line) solid var(--ink);
  border-radius: 16px;
  padding: 0 18px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  font-size: 18px;
  padding: 16px 34px 16px 0;
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--f-display);
  font-size: 30px;
  line-height: 1;
}
.faq details[open] summary::after {
  content: '–';
}
.faq details p {
  padding-bottom: 18px;
  max-width: 44em;
}

.brief {
  margin-top: clamp(48px, 7vw, 88px);
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 5vw, 56px);
  background: var(--yellow);
  border: var(--line) solid var(--ink);
  border-radius: 30px;
  box-shadow: 8px 8px 0 var(--ink);
  padding: clamp(22px, 4vw, 44px);
  scroll-margin-top: 96px;
}
.brief-copy {
  position: relative;
}
.brief-copy > p:not(.tape) {
  margin-top: 14px;
  font-weight: 700;
  max-width: 26em;
}
.brief-mail a {
  font-weight: 800;
}
.brief-szafa {
  width: 120px;
  height: auto;
  margin-top: 28px;
  transform: rotate(-6deg);
}
.brief-form {
  background: var(--cream);
  border: var(--line) solid var(--ink);
  border-radius: 22px;
  padding: clamp(18px, 3vw, 28px);
}
.brief-form .field:first-child {
  margin-top: 0;
}
.brief-form .cta-row {
  margin-top: 22px;
}
.brief-form .fine {
  margin-top: 14px;
}

/* ---------- pomysł ---------- */
.idea-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
}
.idea h2 {
  margin-bottom: 20px;
}
.idea-szafa {
  width: clamp(150px, 20vw, 240px);
  height: auto;
  transform: rotate(5deg);
  filter: drop-shadow(8px 10px 0 rgba(27, 18, 12, 0.22));
}

/* ---------- stopka ---------- */
.foot {
  background: var(--ink);
  color: var(--cream);
  padding-block: 44px 28px;
}
.foot-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 48px;
  align-items: center;
  justify-content: space-between;
}
.foot-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.foot-brand img {
  width: 54px;
  height: auto;
}
.foot-brand b {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 34px;
  line-height: 1;
}
.foot-brand p {
  font-family: var(--f-hand);
  font-weight: 600;
  font-size: 15px;
  color: var(--orange);
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.foot-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  text-decoration: none;
  border: 2.5px solid var(--cream);
  border-radius: 999px;
  padding: 8px 15px;
}
.foot-links a:hover {
  background: var(--cream);
  color: var(--ink);
}
.foot-mail {
  display: grid;
  gap: 4px;
  font-size: 15px;
}
.foot-mail a {
  font-weight: 800;
  color: var(--orange);
}
.foot-fine {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 2px solid rgba(255, 244, 223, 0.18);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  justify-content: space-between;
  font-size: 13.5px;
  opacity: 0.7;
}

/* ---------- wejście sekcji ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- drzwi szafy: własny obrys, widoczny także po otwarciu ---------- */
.door {
  top: -6px;
  bottom: -6px;
  width: calc(50% + 6px);
  border: 6px solid var(--ink);
}
.door-l {
  left: -6px;
  border-right-width: 3px;
  border-radius: 6px 0 0 12px;
}
.door-r {
  right: -6px;
  border-left-width: 3px;
  border-radius: 0 6px 12px 0;
}
.door {
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.9s ease, border-width 0.5s ease;
  outline: 1px solid transparent; /* wygładza krawędź obróconych drzwi */
  backface-visibility: visible;
}
.szafa[data-open='true'] .door-l {
  border-right-width: 20px;
  border-left-width: 12px;
}
.szafa[data-open='true'] .door-r {
  border-left-width: 20px;
  border-right-width: 12px;
}

/* ---------- bohater z filmów: rysowany na płótnie przez js/puppet.js ---------- */
.hero-canvas {
  display: block;
  width: 100%;
  height: auto;
}
@keyframes spin {
  to {
    rotate: 360deg;
  }
}
@keyframes blink {
  0%,
  93%,
  100% {
    scale: 1 1;
  }
  96% {
    scale: 1 0.08;
  }
}

/* wygląda zza szafy */
.hero-szafa {
  padding-top: 176px;
}
.szafa {
  position: relative;
}
.peek {
  position: absolute;
  left: 50%;
  bottom: calc(100% - 6px);
  width: 88%;
  aspect-ratio: 2.6 / 1.72;
  translate: -50% 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.peek-guy {
  translate: 0 100%;
  animation: peek 10s cubic-bezier(0.3, 1.3, 0.5, 1) 1.4s infinite;
}
.peek-guy.is-pop {
  animation: peek-pop 1.5s cubic-bezier(0.3, 1.3, 0.5, 1), peek 10s cubic-bezier(0.3, 1.3, 0.5, 1) 1.5s infinite;
}
@keyframes peek {
  0%,
  4% {
    translate: 0 100%;
  }
  12%,
  84% {
    translate: 0 4%;
  }
  92%,
  100% {
    translate: 0 100%;
  }
}
@keyframes peek-pop {
  0% {
    translate: 0 4%;
  }
  30%,
  55% {
    translate: 0 100%;
  }
  100% {
    translate: 0 4%;
  }
}

/* biegnie po pasku z tematami */
.marquee {
  overflow: visible;
}
.marquee-clip {
  overflow: hidden;
}
.runner {
  position: absolute;
  left: 0;
  bottom: calc(100% - 8px);
  width: 82px;
  z-index: 1;
  pointer-events: none;
  animation: run-x 18s linear infinite;
}
@keyframes run-x {
  0% {
    translate: -90px 0;
  }
  58%,
  100% {
    translate: calc(100vw + 60px) 0;
  }
}

/* przy liczbach: okrągła naklejka, bo ciemne tło zjadłoby czarne ręce i nogi postaci */
#liczby .wrap {
  position: relative;
}
.cheer {
  position: absolute;
  right: 3%;
  top: -18px;
  width: clamp(124px, 13vw, 168px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--orange);
  border: 4px solid #120a05;
  box-shadow: 6px 6px 0 #120a05;
  overflow: hidden;
  pointer-events: none;
  rotate: 4deg;
}

/* przy pomyśle */
.idea-art {
  position: relative;
  justify-self: center;
}
.idea-guy {
  position: absolute;
  right: 50%;
  bottom: 1%;
  width: 84%;
}
.idea-art .idea-szafa {
  position: relative;
}

/* ---------- kadr w przymierzalni: film w trzech ujęciach ---------- */
.scene {
  position: relative;
  aspect-ratio: 270 / 480;
  overflow: hidden;
  border: 5px solid var(--ink);
  border-radius: 9.6% / 5.4%;
  background: #6fc1f5;
}
.scene svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.scene .cam {
  position: absolute;
  inset: 0;
  transform-origin: 0 0;
  transition: transform 1.25s cubic-bezier(0.3, 0.7, 0.2, 1);
}
.scene[data-spot='billboard'] .cam {
  transform: translate(-12.5%, 4.95%) scale(1.25);
}
.scene[data-spot='produkt'] .cam {
  transform: translate(-35%, -62%) scale(1.7);
}
/* bohater stoi na ziemi (y = 443 z 480), głowa ma 70 jednostek kadru */
.scene-actor {
  position: absolute;
  left: 11.11%;
  top: 38.33%;
  width: 77.78%;
}
.scene .sun-rays {
  transform-origin: 222px 52px;
  animation: spin 36s linear infinite;
}
.scene .cloud-a {
  animation: drift 9s ease-in-out infinite alternate;
}
.scene .cloud-b {
  animation: drift 11s ease-in-out infinite alternate-reverse;
}
@keyframes drift {
  from {
    translate: -10px 0;
  }
  to {
    translate: 16px 0;
  }
}
.scene .board {
  transform-box: fill-box;
  transform-origin: center;
}
.scene[data-spot='billboard'] .board {
  animation: board-pop 0.7s 0.75s both;
}
@keyframes board-pop {
  0%,
  100% {
    scale: 1;
  }
  45% {
    scale: 1.07;
    rotate: -1.5deg;
  }
}
/* iskry przy podniesionej paczce */
.scene .sparks path {
  transform-box: fill-box;
  transform-origin: center;
  scale: 0;
  transition: scale 0.25s;
}
.scene[data-spot='produkt'] .sparks path {
  scale: 1;
  transition: scale 0.4s cubic-bezier(0.3, 1.8, 0.5, 1) 0.85s;
  animation: twinkle 0.9s 1.3s ease-in-out infinite alternate;
}
.scene[data-spot='produkt'] .sparks path:nth-child(2) {
  transition-delay: 1s;
  animation-delay: 1.5s;
}
.scene[data-spot='produkt'] .sparks path:nth-child(3) {
  transition-delay: 1.15s;
  animation-delay: 1.7s;
}
@keyframes twinkle {
  to {
    rotate: 40deg;
    scale: 0.7;
  }
}
/* napisy lektora */
.scene .cap {
  opacity: 0;
  translate: 0 10px;
  transition: opacity 0.2s, translate 0.2s;
}
.scene[data-spot='billboard'] .cap-billboard,
.scene[data-spot='produkt'] .cap-produkt,
.scene[data-spot='lektor'] .cap-lektor {
  opacity: 1;
  translate: 0 0;
  transition: opacity 0.3s 0.5s, translate 0.45s cubic-bezier(0.3, 1.6, 0.5, 1) 0.5s;
}
/* pasek postępu */
.scene .prog-fill {
  transform-box: fill-box;
  transform-origin: left center;
  scale: 0 1;
}
.scene[data-spot='produkt'] .prog-1,
.scene[data-spot='lektor'] .prog-1,
.scene[data-spot='lektor'] .prog-2 {
  scale: 1 1;
}
.scene.is-playing[data-spot='billboard'] .prog-1,
.scene.is-playing[data-spot='produkt'] .prog-2,
.scene.is-playing[data-spot='lektor'] .prog-3 {
  animation: prog var(--shot, 3600ms) linear forwards;
}
.scene:not(.is-playing)[data-spot='billboard'] .prog-1,
.scene:not(.is-playing)[data-spot='produkt'] .prog-2,
.scene:not(.is-playing)[data-spot='lektor'] .prog-3 {
  scale: 1 1;
}
@keyframes prog {
  to {
    scale: 1 1;
  }
}

/* ---------- telefon i tablet ---------- */
@media (max-width: 980px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 16px;
  }
  .stats-split {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .tiles {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
}

@media (max-width: 860px) {
  body {
    font-size: 16px;
  }
  .top-row {
    flex-wrap: wrap;
    gap: 0 12px;
    justify-content: space-between;
    padding-top: 8px;
  }
  .nav {
    order: 3;
    width: calc(100% + 32px);
    margin: 6px -16px 0;
    padding: 0 12px 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .nav::-webkit-scrollbar {
    display: none;
  }
  .nav a {
    font-size: 15px;
    padding: 5px 10px;
    white-space: nowrap;
  }
  html {
    scroll-padding-top: 112px;
  }
  .hero-grid,
  .collab-hero,
  .fit,
  .calc,
  .brief {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero h1 {
    font-size: clamp(46px, 15vw, 110px);
  }
  .fit-phone {
    max-width: 250px;
    margin-inline: auto;
  }
  .cheer {
    display: none;
  }
  .nuke-total .btn {
    margin-left: 0;
  }
  .idea-art {
    width: 190px;
  }
  .hero-szafa {
    padding-top: 150px;
  }
  .rules {
    grid-template-columns: minmax(0, 1fr);
  }
  .idea-wrap {
    grid-template-columns: minmax(0, 1fr);
  }
  .idea-szafa {
    justify-self: center;
  }
  .brief-szafa {
    display: none;
  }
  .grid-new {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .grid-new .film-title {
    font-size: 14.5px;
  }
}

@media (max-width: 560px) {
  .btn {
    font-size: 17px;
    padding: 13px 18px;
  }
  .btn-sm {
    font-size: 15px;
    padding: 9px 13px;
  }
  .cta-row .btn {
    flex: 1 1 auto;
  }
  .grid-films {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 14px;
  }
  .big-num {
    font-size: clamp(54px, 17vw, 84px);
  }
  .record {
    grid-template-columns: 96px minmax(0, 1fr);
  }
  .reach {
    gap: 10px;
  }
  .reach-item {
    padding: 12px;
  }
  .field-2 {
    grid-template-columns: minmax(0, 1fr);
  }
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .quiz-btns {
    gap: 10px;
  }
  .films-bar {
    align-items: stretch;
    flex-direction: column;
  }
  .seg {
    align-self: flex-start;
  }
  .search input {
    width: 100%;
  }
  .marquee span {
    font-size: 18px;
  }
  .serie-parts {
    grid-auto-columns: 132px;
  }
  .nuke-total {
    padding: 18px;
  }
  .runner {
    width: 66px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
  .peek-guy {
    translate: 0 4%;
    animation: none;
  }
  .runner {
    animation: none;
    translate: 40px 0;
  }
}
