/* Just Rewind: strona bransolety, która cofa czas o pięć sekund.
   Świat marki jest bursztynowy jak klin na tarczy; w kulisach wraca zieleń Noxadusa. */

.m-reader-noxadus.jr-page {
  --jr-amber: #f8c078;
  --jr-glow: #f39a12;
  --jr-ink: #f6efe2;
  --jr-muted: rgba(246, 239, 226, .72);
  --jr-dim: rgba(246, 239, 226, .46);
  --jr-line: rgba(246, 239, 226, .12);
  --jr-accent: var(--jr-amber);
  --jr-dur: 48.62;
  background:
    radial-gradient(58% 44% at 76% -6%, rgba(243, 154, 18, .12), transparent 70%),
    radial-gradient(34% 26% at 6% 44%, rgba(243, 154, 18, .04), transparent 72%),
    #060605;
  color: var(--jr-ink);
}

.jr-main {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.rw-icon {
  width: 17px;
  height: 11px;
  flex: 0 0 auto;
  fill: currentColor;
}

/* Drobny druk z packshotu, pionowo przy lewej krawędzi. */
.jr-fineprint {
  position: fixed;
  z-index: 5;
  top: 50%;
  left: 14px;
  margin: 0;
  color: rgba(246, 239, 226, .3);
  font-family: var(--nx-mono);
  font-size: 9px;
  letter-spacing: .32em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translate(-50%, -50%) rotate(-90deg) translateY(50%);
  transform-origin: center;
  pointer-events: none;
}

/* ---------- Przyciski ---------- */
.jr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 22px;
  border: 1px solid rgba(248, 192, 120, .42);
  border-radius: 999px;
  background: transparent;
  color: #fbe9cf;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 200ms ease, border-color 200ms ease, box-shadow 200ms ease, color 200ms ease;
}

.jr-btn[hidden] {
  display: none;
}

.jr-btn:hover,
.jr-btn:focus-visible {
  border-color: rgba(248, 192, 120, .85);
  background: rgba(248, 192, 120, .08);
}

.jr-btn-primary {
  border-color: transparent;
  background: var(--jr-amber);
  color: #1b1004;
  box-shadow: 0 0 40px rgba(243, 154, 18, .28);
}

.jr-btn-primary:hover,
.jr-btn-primary:focus-visible {
  border-color: transparent;
  background: #ffd9a3;
  box-shadow: 0 0 56px rgba(243, 154, 18, .45);
}

/* ---------- 1. Premiera ---------- */
.jr-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  min-height: calc(100svh - 58px);
  padding: clamp(24px, 4vh, 48px) 0 clamp(56px, 9vh, 96px);
  /* Poświata nad ekranem wystaje w bok; bez obcięcia telefon poszerza stronę i oddala widok. */
  overflow-x: hidden;
  overflow-x: clip;
}

.jr-copy {
  max-width: 620px;
}

.jr-title {
  margin: 0;
  color: var(--jr-ink);
  font-weight: 250;
  line-height: .84;
}

.jr-title small {
  display: block;
  margin: 0 0 14px 6px;
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 500;
  letter-spacing: .6em;
  text-transform: uppercase;
}

/* REWIND jak w packshocie: cienkie, ciepłe, podświetlone od dołu klinem tarczy. */
.jr-title span {
  display: block;
  font-size: clamp(60px, 8.6vw, 124px);
  letter-spacing: .01em;
  white-space: nowrap;
  overflow-wrap: normal;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fff8ec 0%, #f6efe2 52%, #f1c98f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 -4px 42px rgba(243, 154, 18, .32));
}

.jr-slogan {
  margin: 26px 0 0;
  color: var(--jr-amber);
  font-family: var(--nx-serif);
  font-size: clamp(22px, 2.3vw, 31px);
  font-style: italic;
  line-height: 1.2;
}

.jr-text {
  max-width: 40ch;
  margin: 16px 0 0;
  color: var(--jr-muted);
  font-size: 17px;
  line-height: 1.55;
}

.jr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 32px;
}

.jr-buy.is-sold {
  border-color: rgba(246, 239, 226, .2);
  color: var(--jr-dim);
  letter-spacing: .06em;
  text-transform: none;
  cursor: default;
}

.jr-buy-rewind {
  border-style: dashed;
}

.jr-buy-note {
  min-height: 1.5em;
  margin: 14px 0 0;
  color: var(--jr-dim);
  font-family: var(--nx-mono);
  font-size: 12px;
  letter-spacing: .06em;
}

.jr-buy-note a {
  color: var(--jr-amber);
}

/* Ekran: powieszony jak obraz, ciepłe światło z góry, odbicie w podłodze. */
/* Stała szerokość, bez procentów: kolumna „auto” w siatce liczyłaby procenty od siebie samej. */
.jr-screen {
  position: relative;
  width: calc(min(74svh, 720px) * 9 / 16);
  max-width: 100%;
  margin: 0;
}

/* Poświata gaśnie, zanim dojdzie do krawędzi sekcji, więc obcięcie (overflow-x w .jr-hero) jej nie tnie. */
.jr-screen::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -30%;
  right: -25%;
  left: -25%;
  height: 90%;
  background: radial-gradient(48% 40% at 50% 30%, rgba(255, 214, 160, .17), transparent 72%);
  pointer-events: none;
}

.jr-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 6px;
  background: #000;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .75), 0 0 0 1px rgba(248, 192, 120, .12);
}

.jr-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.jr-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: radial-gradient(circle at 50% 52%, rgba(0, 0, 0, .04), rgba(0, 0, 0, .34));
  cursor: pointer;
}

.jr-play span {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  padding-left: 6px;
  border: 1px solid rgba(248, 192, 120, .62);
  border-radius: 50%;
  background: rgba(10, 8, 5, .55);
  color: var(--jr-amber);
  font-size: 26px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 0 50px rgba(243, 154, 18, .26);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.jr-play:hover span,
.jr-play:focus-visible span {
  transform: scale(1.06);
  box-shadow: 0 0 70px rgba(243, 154, 18, .42);
}

.jr-screen.is-started .jr-play {
  display: none;
}

/* Tarcza z reklamy: czarna ceramika z bursztynowym klinem. Cofa film o pięć sekund. */
.jr-dial {
  position: absolute;
  z-index: 3;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 62%, #1d1d1d, #050505 72%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .6), 0 0 26px rgba(243, 154, 18, .22), inset 0 1px 0 rgba(255, 255, 255, .08);
  color: var(--jr-ink);
  font: 700 12px/1 "InterLocal", Inter, sans-serif;
  letter-spacing: .02em;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.jr-dial::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: conic-gradient(from -19deg, rgba(243, 154, 18, .95) 0deg 38deg, transparent 38deg 360deg);
  -webkit-mask: radial-gradient(circle, transparent 18%, #000 64%);
  mask: radial-gradient(circle, transparent 18%, #000 64%);
  filter: blur(1.5px);
  opacity: .85;
  transition: opacity 200ms ease, filter 200ms ease;
}

.jr-dial span,
.jr-dial .rw-icon {
  position: relative;
  margin-top: 16px;
}

.jr-dial .rw-icon {
  width: 19px;
  height: 13px;
}

.jr-dial:hover,
.jr-dial:focus-visible {
  transform: scale(1.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .6), 0 0 42px rgba(243, 154, 18, .48), inset 0 1px 0 rgba(255, 255, 255, .1);
}

.jr-dial:hover::before,
.jr-dial:focus-visible::before,
.jr-dial.is-pressed::before {
  opacity: 1;
  filter: blur(.6px) brightness(1.35);
}

.jr-dial.is-pressed {
  transform: scale(.94);
}

/* Cofnięcie: obraz się zakrzywia, a w rogu pojawia się napis jak z magnetowidu. */
.jr-osd {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 16px;
  color: #fff;
  font-family: var(--nx-mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
  text-shadow: 2px 0 rgba(255, 60, 60, .7), -2px 0 rgba(60, 200, 255, .7);
  opacity: 0;
  pointer-events: none;
}

.jr-frame.is-rewinding .jr-osd {
  animation: jr-osd 900ms steps(2, end);
}

.jr-frame.is-rewinding .jr-video {
  animation: jr-warp 720ms cubic-bezier(.3, .7, .3, 1);
}

.jr-frame::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0 46%, rgba(255, 255, 255, .22) 46% 49%, transparent 49%),
    repeating-linear-gradient(180deg, rgba(0, 0, 0, .25) 0 2px, transparent 2px 4px);
  opacity: 0;
  pointer-events: none;
}

.jr-frame.is-rewinding::after {
  animation: jr-tracking 720ms linear;
}

@keyframes jr-warp {
  0% { filter: none; transform: none; }
  25% { filter: blur(2px) saturate(1.7) hue-rotate(-14deg) contrast(1.2); transform: scale(1.07) skewX(-2deg); }
  55% { filter: blur(1px) saturate(1.35); transform: scale(1.02) skewX(1.2deg) translateX(-3px); }
  100% { filter: none; transform: none; }
}

@keyframes jr-tracking {
  0% { opacity: 0; background-position: 0 120%, 0 0; }
  15% { opacity: 1; }
  85% { opacity: .8; }
  100% { opacity: 0; background-position: 0 -120%, 0 8px; }
}

@keyframes jr-osd {
  0%, 100% { opacity: 1; }
}

/* Oś czasu: bursztynowe nacięcia to chwile, w których bohaterowie cofają czas. */
.jr-track {
  position: relative;
  height: 18px;
  margin-top: 18px;
  cursor: pointer;
  touch-action: none;
}

.jr-track::before {
  content: "";
  position: absolute;
  top: 8px;
  right: 0;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: rgba(246, 239, 226, .18);
}

.jr-progress {
  position: absolute;
  top: 8px;
  left: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--jr-amber);
  box-shadow: 0 0 10px rgba(243, 154, 18, .6);
  pointer-events: none;
}

.jr-track i {
  position: absolute;
  top: 3px;
  left: calc(var(--t) / var(--jr-dur) * 100%);
  width: 2px;
  height: 12px;
  border-radius: 2px;
  background: var(--jr-glow);
  box-shadow: 0 0 10px var(--jr-glow);
  pointer-events: none;
}

.jr-track:focus-visible {
  outline: 2px solid var(--jr-amber);
  outline-offset: 4px;
}

.jr-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  align-items: center;
  margin-top: 8px;
}

.jr-ctl {
  display: inline-grid;
  place-items: center;
  min-width: 36px;
  height: 32px;
  padding: 0 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--jr-ink);
  font: 600 13px/1 "InterLocal", Inter, sans-serif;
  cursor: pointer;
}

.jr-ctl:hover,
.jr-ctl:focus-visible {
  background: rgba(255, 255, 255, .08);
}

.jr-ico-pause,
.jr-screen.is-playing .jr-ico-play { display: none; }
.jr-screen.is-playing .jr-ico-pause { display: inline; }

.jr-ico-sound {
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.jr-screen.is-muted .jr-ico-sound {
  text-decoration: line-through;
  opacity: .55;
}

.jr-time {
  color: var(--jr-dim);
  font-family: var(--nx-mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.jr-chapters {
  display: flex;
  flex: 1 1 100%;
  flex-wrap: wrap;
  gap: 2px 14px;
  order: 5;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.jr-chapters button {
  padding: 4px 0;
  border: 0;
  background: none;
  color: var(--jr-dim);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
}

.jr-chapters button:hover,
.jr-chapters button:focus-visible {
  color: var(--jr-ink);
}

.jr-chapters button.is-current {
  color: var(--jr-amber);
}

.jr-controls [data-jr-mute] {
  margin-left: auto;
}

/* ---------- Sekcje ---------- */
.jr-section {
  padding: clamp(72px, 11vw, 140px) 0 0;
}

.jr-section-head h2 {
  max-width: 22ch;
  margin: 14px 0 0;
  color: var(--jr-ink);
  font-size: clamp(32px, 4.2vw, 58px);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -.01em;
  text-wrap: balance;
}

.jr-label {
  margin: 0;
  color: var(--jr-accent);
  font-family: var(--nx-mono);
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
}

/* ---------- 2. Zastosowania ---------- */
.jr-cuts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 300px));
  justify-content: space-between;
  gap: clamp(20px, 3vw, 44px);
  margin-top: clamp(34px, 5vw, 56px);
}

.jr-cut {
  margin: 0;
}

.jr-cut-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  border-radius: 5px;
  background: #000;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .6), 0 0 0 1px rgba(248, 192, 120, .1);
}

.jr-cut-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.jr-cut-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .45));
  cursor: pointer;
}

.jr-cut-play span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding-left: 4px;
  border: 1px solid rgba(248, 192, 120, .55);
  border-radius: 50%;
  background: rgba(10, 8, 5, .5);
  color: var(--jr-amber);
  font-size: 18px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: transform 200ms ease;
}

.jr-cut-play:hover span,
.jr-cut-play:focus-visible span {
  transform: scale(1.08);
}

.jr-cut.is-started .jr-cut-play {
  display: none;
}

.jr-cut figcaption {
  display: grid;
  gap: 6px;
  margin-top: 18px;
}

.jr-cut b {
  color: var(--jr-amber);
  font-family: var(--nx-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
}

.jr-cut strong {
  font-size: 20px;
  font-weight: 650;
}

.jr-cut figcaption > span {
  color: var(--jr-muted);
  font-size: 15px;
  line-height: 1.5;
}

/* ---------- 3. Specyfikacja ---------- */
.jr-specs {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
}

.jr-product {
  position: relative;
  aspect-ratio: 9 / 13;
  overflow: hidden;
  border-radius: 50% 50% 12px 12px / 30% 30% 12px 12px;
}

.jr-product img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  -webkit-mask: radial-gradient(70% 62% at 50% 46%, #000 58%, transparent 100%);
  mask: radial-gradient(70% 62% at 50% 46%, #000 58%, transparent 100%);
}

.jr-spec-list {
  margin: clamp(26px, 4vw, 40px) 0 0;
}

.jr-spec-list > div {
  display: grid;
  grid-template-columns: minmax(130px, .42fr) 1fr;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--jr-line);
}

.jr-spec-list > div:last-child {
  border-bottom: 1px solid var(--jr-line);
}

.jr-spec-list dt {
  color: var(--jr-amber);
  font-family: var(--nx-mono);
  font-size: 11px;
  letter-spacing: .14em;
  line-height: 1.9;
  text-transform: uppercase;
}

.jr-spec-list dd {
  margin: 0;
  color: var(--jr-ink);
  font-size: 16px;
  line-height: 1.55;
}

/* ---------- 4. Pytania ---------- */
.jr-faq-list {
  max-width: 760px;
  margin-top: clamp(28px, 4vw, 44px);
}

.jr-faq details {
  border-top: 1px solid var(--jr-line);
}

.jr-faq details:last-child {
  border-bottom: 1px solid var(--jr-line);
}

.jr-faq summary {
  display: flex;
  gap: 18px;
  align-items: baseline;
  justify-content: space-between;
  padding: 20px 0;
  color: var(--jr-ink);
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 500;
  list-style: none;
  cursor: pointer;
}

.jr-faq summary::-webkit-details-marker {
  display: none;
}

.jr-faq summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--jr-amber);
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  transition: transform 250ms ease;
}

.jr-faq details[open] summary::after {
  transform: rotate(45deg);
}

.jr-faq details p {
  max-width: 56ch;
  margin: -6px 0 22px;
  color: var(--jr-muted);
  font-family: var(--nx-serif);
  font-size: 19px;
  font-style: italic;
  line-height: 1.45;
}

/* ---------- 5. Kulisy: tu wraca zieleń Noxadusa ---------- */
.jr-backstage {
  --jr-accent: #8eeacb;
  position: relative;
}

/* Taśma przewija się wstecz: przejście ze świata marki do kulis. */
.jr-tape {
  position: relative;
  height: 54px;
  margin: 0 calc(50% - 50vw) clamp(56px, 8vw, 90px);
  overflow: hidden;
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 4px),
    linear-gradient(90deg, rgba(142, 234, 203, 0), rgba(142, 234, 203, .14) 30%, rgba(248, 192, 120, .16) 70%, rgba(248, 192, 120, 0));
  border-block: 1px solid rgba(246, 239, 226, .1);
}

.jr-tape span {
  position: absolute;
  top: 50%;
  left: 0;
  color: rgba(246, 239, 226, .75);
  font-family: var(--nx-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .3em;
  white-space: nowrap;
  text-shadow: 2px 0 rgba(255, 60, 60, .55), -2px 0 rgba(60, 200, 255, .55);
  transform: translate(0, -50%);
  animation: jr-tape 9s linear infinite;
}

@keyframes jr-tape {
  from { left: 100%; }
  to { left: -20%; }
}

.jr-lead {
  max-width: 58ch;
  margin: 22px 0 0;
  color: var(--jr-muted);
  font-size: 18px;
  line-height: 1.6;
}

.jr-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
  margin: clamp(40px, 6vw, 64px) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: jr-step;
}

.jr-steps li {
  position: relative;
  padding-top: 22px;
  border-top: 1px solid rgba(142, 234, 203, .3);
  counter-increment: jr-step;
}

.jr-steps li::before {
  content: "0" counter(jr-step);
  position: absolute;
  top: -9px;
  left: 0;
  padding-right: 10px;
  background: #060605;
  color: var(--jr-accent);
  font-family: var(--nx-mono);
  font-size: 11px;
  letter-spacing: .14em;
}

.jr-steps b {
  display: block;
  color: var(--jr-ink);
  font-size: 16px;
  font-weight: 650;
}

.jr-steps p {
  margin: 10px 0 0;
  color: var(--jr-muted);
  font-size: 14px;
  line-height: 1.55;
}

.jr-lessons {
  max-width: 760px;
  margin-top: clamp(48px, 7vw, 80px);
}

.jr-lessons h3 {
  margin: 0;
  color: var(--jr-accent);
  font-family: var(--nx-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.jr-lessons ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.jr-lessons li {
  position: relative;
  padding: 12px 0 12px 26px;
  color: var(--jr-ink);
  font-family: var(--nx-serif);
  font-size: 19px;
  font-style: italic;
  line-height: 1.45;
}

.jr-lessons li::before {
  content: "";
  position: absolute;
  top: calc(12px + .62em);
  left: 2px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--jr-accent);
  box-shadow: 0 0 12px rgba(142, 234, 203, .7);
}

/* Napisy końcowe. */
.jr-credits {
  display: grid;
  justify-items: center;
  gap: 18px;
  margin: clamp(64px, 9vw, 110px) 0 0;
  text-align: center;
}

.jr-credits > div {
  display: grid;
  gap: 4px;
}

.jr-credits dt {
  color: var(--jr-dim);
  font-family: var(--nx-mono);
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
}

.jr-credits dd {
  margin: 0;
  color: var(--jr-ink);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 450;
}

/* Kadry z filmu: pasek do przewijania w bok. */
.jr-strip {
  display: flex;
  gap: 12px;
  margin: clamp(64px, 9vw, 110px) calc(50% - 50vw) 0;
  padding: 0 max(18px, calc(50vw - 590px)) 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(142, 234, 203, .35) transparent;
}

.jr-strip img {
  flex: 0 0 auto;
  width: clamp(150px, 16vw, 220px);
  height: auto;
  aspect-ratio: 9 / 16;
  border-radius: 4px;
  object-fit: cover;
  scroll-snap-align: start;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
  transition: transform 300ms ease;
}

.jr-strip img:hover {
  transform: translateY(-6px);
}

/* ---------- 6. Kontakt ---------- */
.jr-contact {
  padding-bottom: clamp(80px, 12vw, 150px);
  text-align: center;
}

.jr-contact h2 {
  max-width: 20ch;
  margin: 0 auto;
  color: var(--jr-ink);
  font-family: var(--nx-serif);
  font-size: clamp(30px, 4vw, 54px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.1;
  text-wrap: balance;
}

.jr-contact > p {
  max-width: 44ch;
  margin: 20px auto 0;
  color: var(--jr-muted);
  font-size: 18px;
  line-height: 1.55;
}

.jr-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 34px;
}

.jr-contact-actions .jr-btn:not(.jr-btn-primary) {
  letter-spacing: .02em;
  text-transform: none;
}

.jr-again {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: clamp(56px, 8vw, 90px);
  padding: 10px 4px;
  border: 0;
  background: none;
  color: var(--jr-amber);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  cursor: pointer;
}

.jr-again:hover,
.jr-again:focus-visible {
  color: #ffd9a3;
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* ---------- Tarcza strony, magnetowid i komunikat ---------- */
.jr-page-dial {
  position: fixed;
  z-index: 40;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  width: 58px;
  height: 58px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 300ms ease, transform 300ms ease, box-shadow 200ms ease;
}

.jr-page-dial.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.jr-page-dial.is-visible:hover,
.jr-page-dial.is-visible:focus-visible {
  transform: scale(1.06);
}

.jr-vhs {
  position: fixed;
  z-index: 80;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0 40%, rgba(255, 255, 255, .1) 40% 44%, transparent 44%),
    repeating-linear-gradient(180deg, rgba(0, 0, 0, .28) 0 2px, transparent 2px 4px);
  opacity: 0;
  pointer-events: none;
}

.jr-vhs span {
  position: absolute;
  top: 74px;
  left: 28px;
  color: #fff;
  font-family: var(--nx-mono);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .08em;
  text-shadow: 2px 0 rgba(255, 60, 60, .7), -2px 0 rgba(60, 200, 255, .7);
}

.jr-vhs.is-on {
  animation: jr-vhs 760ms linear;
}

body.jr-rewinding .jr-main {
  animation: jr-page-warp 760ms cubic-bezier(.3, .7, .3, 1);
}

@keyframes jr-vhs {
  0% { opacity: 0; background-position: 0 110%, 0 0; }
  12% { opacity: 1; }
  80% { opacity: .9; }
  100% { opacity: 0; background-position: 0 -110%, 0 10px; }
}

@keyframes jr-page-warp {
  0%, 100% { filter: none; transform: none; }
  20% { filter: blur(1.5px) saturate(1.5) hue-rotate(-10deg); transform: skewX(-1.2deg) translateX(-4px); }
  50% { filter: blur(.8px) saturate(1.25); transform: skewX(.8deg) translateX(3px); }
}

.jr-toast {
  position: fixed;
  z-index: 85;
  bottom: max(24px, env(safe-area-inset-bottom));
  left: 50%;
  max-width: min(92vw, 520px);
  margin: 0;
  padding: 12px 18px;
  border: 1px solid rgba(248, 192, 120, .4);
  border-radius: 14px;
  background: rgba(14, 11, 6, .92);
  color: var(--jr-ink);
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 260ms ease, transform 260ms ease;
}

.jr-toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Oferta: wysuwana karta, jak na stronach Corporate, ale w ciemności tej strony ---------- */
.jr-offer {
  position: fixed;
  z-index: 95;
  left: 20px;
  bottom: 20px;
  width: min(340px, calc(100vw - 40px));
  padding: 18px 20px;
  border: 1px solid rgba(248, 192, 120, .38);
  border-radius: 12px;
  background: rgba(14, 11, 6, .94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55), 0 0 40px rgba(243, 154, 18, .12);
  color: var(--jr-ink);
  opacity: 0;
  transform: translateX(calc(-100% - 40px));
  transition: transform 650ms cubic-bezier(.2, .8, .2, 1), opacity 400ms ease;
}

.jr-offer[hidden] {
  display: none;
}

.jr-offer.is-in {
  opacity: 1;
  transform: none;
}

/* Przy sekcji kontaktu karta się chowa, bo kontakt jest już na ekranie. */
.jr-offer.is-tucked {
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
}

body:has(.m-menu-overlay.is-open) .jr-offer {
  opacity: 0;
  pointer-events: none;
}

.jr-offer-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: #8eeacb;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.jr-offer-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8eeacb;
  box-shadow: 0 0 12px rgba(142, 234, 203, .9);
  animation: song-offer-pulse 2.2s ease-in-out infinite;
}

.jr-offer-title {
  margin: 0;
  padding-right: 26px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.jr-offer-text {
  margin: 8px 0 0;
  color: var(--jr-muted);
  font-size: 14px;
  line-height: 1.45;
}

.jr-offer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--jr-amber);
  box-shadow: 0 0 30px rgba(243, 154, 18, .25);
  color: #1b1004;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 200ms ease, box-shadow 200ms ease;
}

.jr-offer-link:hover,
.jr-offer-link:focus-visible {
  background: #ffd9a3;
  box-shadow: 0 0 44px rgba(243, 154, 18, .42);
}

.jr-offer-mail {
  margin: 10px 0 0;
  color: var(--jr-dim);
  font-family: var(--nx-mono);
  font-size: 11px;
  letter-spacing: .04em;
  user-select: all;
}

.jr-offer-close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--jr-dim);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.jr-offer-close:hover,
.jr-offer-close:focus-visible {
  background: rgba(255, 255, 255, .08);
  color: var(--jr-ink);
}

@media (prefers-reduced-motion: reduce) {
  .jr-offer { transition: opacity 200ms ease; transform: none; }
  .jr-offer-kicker::before { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  .jr-frame.is-rewinding .jr-video,
  .jr-frame.is-rewinding::after,
  body.jr-rewinding .jr-main,
  .jr-vhs.is-on { animation: none; }
  .jr-tape span { animation: none; left: 50%; transform: translate(-50%, -50%); }
}

/* ---------- Tablet i telefon ---------- */
@media (max-width: 980px) {
  .jr-fineprint { display: none; }

  .jr-hero {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 0;
    padding-top: 28px;
    padding-bottom: 8px;
    text-align: center;
  }

  .jr-copy { max-width: 560px; }
  .jr-title small { margin-left: .6em; }
  .jr-text { margin-inline: auto; }
  .jr-actions { justify-content: center; }

  .jr-screen {
    width: min(100%, 420px);
  }

  .jr-screen::before {
    top: -18%;
    right: -6%;
    left: -6%;
  }

  .jr-specs {
    grid-template-columns: 1fr;
  }

  .jr-product {
    width: min(70%, 340px);
    margin: 0 auto;
  }

  .jr-steps {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 720px) {
  .jr-main { width: calc(100% - 32px); }

  .jr-cuts {
    display: flex;
    gap: 16px;
    margin-right: -16px;
    margin-left: -16px;
    padding: 0 16px 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .jr-cut {
    flex: 0 0 72%;
    scroll-snap-align: center;
  }

  .jr-spec-list > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .jr-faq details p { font-size: 17px; }
  .jr-lessons li { font-size: 17px; }
  .jr-vhs span { top: 70px; left: 18px; font-size: 18px; }

  /* Na telefonie karta zostawia z prawej miejsce na tarczę strony. */
  .jr-offer {
    right: 84px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 12px;
    width: auto;
    padding: 14px 16px;
  }

  .jr-offer-title { font-size: 17px; }
  .jr-offer-text { font-size: 13px; }
  .jr-offer-mail { display: none; }

  .jr-offer-link {
    margin-top: 12px;
    padding: 9px 14px;
    font-size: 12px;
  }
}
