:root {
  --red: #df1024;
  --red-deep: #a90718;
  --orange: #ff7a00;
  --yellow: #ffe11a;
  --lime: #7ed321;
  --green: #087337;
  --green-dark: #032c18;
  --night: #03150b;
  --ink: #112117;
  --muted: #526257;
  --cream: #fff7e8;
  --cream-strong: #ffedc4;
  --white: #ffffff;
  --sky: #9fe8ff;
  --shell: min(1180px, calc(100vw - 48px));
  --shadow: 0 24px 80px rgba(27, 33, 12, 0.18);
  /* Julinek house fonts (julinek.com.pl, checked 2026-07-15): Playfair Display (serif display/headings) + Inter (body).
     Dragon Coaster keeps Baloo 2 as its own whimsical kids-ride display voice (deliberate sub-brand divergence,
     used only on large h1/h2/h3 display type, same "display-serif over body-sans" structure Julinek itself uses)
     but the body stack now leads with Inter to match Julinek's body font exactly when installed. */
  --serif: "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --sans: "Figtree", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--night);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img,
svg {
  height: auto;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

::selection {
  background: var(--yellow);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.eyebrow--light {
  color: var(--yellow);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 25px;
  border: 0;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 8px 0 var(--red-deep), 0 16px 35px rgba(166, 3, 24, 0.3);
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translateY(0);
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.button:hover {
  background: #f01a30;
  box-shadow: 0 5px 0 var(--red-deep), 0 12px 28px rgba(166, 3, 24, 0.35);
  transform: translateY(3px);
}

.button:active {
  box-shadow: 0 2px 0 var(--red-deep);
  transform: translateY(6px);
}

.button--nav {
  min-height: 43px;
  padding-inline: 21px;
  box-shadow: 0 5px 0 var(--red-deep), 0 10px 22px rgba(166, 3, 24, 0.22);
  font-size: 0.72rem;
}

.button--hero {
  min-height: 58px;
  padding-inline: 30px;
  background: linear-gradient(180deg, #ff263b 0%, var(--red) 65%, #c9091c 100%);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.section-seam {
  position: relative;
  z-index: 2;
  margin-top: -36px;
  border-radius: 36px 36px 0 0;
}

[data-reveal] {
  /* Never fully transparent: an instant/teleport scroll (anchor jump, hard
     PageDown, a Playwright scrollTo) can land exactly on a not-yet-revealed
     section with zero lead time for the IntersectionObserver to have fired
     in advance — a 0-opacity starting point then reads as broken/blank for
     the length of the transition. Settling in from a dim, offset state
     instead keeps copy legible at every scroll speed while still reading as
     a reveal. */
  opacity: 0.55;
  transform: translateY(16px);
  transition: opacity 300ms ease, transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* Header */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  display: flex;
  width: 100%;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  padding: 10px max(24px, calc((100vw - 1280px) / 2));
  border-bottom: 1px solid transparent;
  color: var(--white);
  transition: min-height 220ms ease, background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(2, 17, 8, 0.7), transparent);
  content: "";
  pointer-events: none;
}

.site-header.is-scrolled {
  min-height: 68px;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(3, 21, 11, 0.92);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled::before {
  opacity: 0;
}

.site-header__brand {
  position: relative;
  z-index: 2;
  width: 126px;
  text-decoration: none;
  filter: drop-shadow(0 6px 13px rgba(0, 0, 0, 0.36));
  transition: width 220ms ease, transform 180ms ease;
}

.site-header__brand:hover {
  transform: rotate(-2deg) scale(1.03);
}

.site-header.is-scrolled .site-header__brand {
  width: 104px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.5vw, 40px);
}

.site-nav > a:not(.button) {
  position: relative;
  padding: 9px 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
}

.site-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--yellow);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 200ms ease;
}

.site-nav > a:not(.button):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
}

/* Hero */

.hero {
  position: relative;
  display: grid;
  min-height: max(760px, 100svh);
  overflow: hidden;
  place-items: center;
  background: #11482b;
  color: var(--white);
  isolation: isolate;
}

.hero__video,
.hero__wash {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__video {
  z-index: -4;
  max-width: none;
  object-fit: cover;
  transform: scale(1.035);
}

.hero__wash {
  z-index: -3;
  background:
    radial-gradient(circle at 50% 43%, transparent 12%, rgba(1, 19, 8, 0.16) 56%, rgba(1, 12, 6, 0.7) 100%),
    linear-gradient(180deg, rgba(3, 20, 8, 0.13) 0%, transparent 35%, rgba(2, 19, 8, 0.72) 100%);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 18%;
  background: linear-gradient(180deg, transparent, rgba(2, 21, 10, 0.68));
  content: "";
  pointer-events: none;
}

.hero__content {
  z-index: 2;
  width: min(840px, calc(100vw - 40px));
  padding: 100px 0 160px;
  text-align: center;
}

.hero__content .eyebrow {
  justify-content: center;
  margin-bottom: 4px;
}

.hero__title {
  width: min(590px, 88vw);
  margin: 0 auto -6px;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.35));
  animation: logo-arrive 1s cubic-bezier(0.18, 0.85, 0.32, 1.2) both;
}

.hero__title img {
  width: 100%;
}

@keyframes logo-arrive {
  from { opacity: 0; transform: translateY(24px) scale(0.88) rotate(-2deg); }
  to { opacity: 1; transform: none; }
}

.hero__tagline {
  margin: -3px 0 8px;
  color: var(--yellow);
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  font-style: italic;
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.7);
}

.hero__lead {
  max-width: 660px;
  margin: 0 auto 26px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.98rem, 1.5vw, 1.16rem);
  font-weight: 600;
  line-height: 1.55;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.72);
}

.hero__facts {
  position: absolute;
  bottom: 31px;
  left: 50%;
  z-index: 3;
  display: flex;
  width: min(660px, calc(100vw - 48px));
  align-items: stretch;
  justify-content: center;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  background: rgba(3, 25, 12, 0.7);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(12px);
  transform: translateX(-50%);
}

.hero-fact {
  display: grid;
  flex: 1;
  min-height: 72px;
  align-content: center;
  justify-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  text-align: center;
}

.hero-fact:last-child {
  border: 0;
}

.hero-fact strong {
  color: var(--yellow);
  font-size: 1.95rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.hero-fact--virtual strong {
  color: #a7f24b;
}

.hero-fact strong span {
  font-size: 1.18rem;
}

.hero-fact > span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero__scroll {
  position: absolute;
  right: 22px;
  bottom: 45px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: rotate(90deg) translateX(100%);
  transform-origin: right bottom;
}

.hero__scroll span {
  width: 34px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.35);
}

.hero__scroll span::after {
  display: block;
  width: 15px;
  height: 1px;
  background: var(--yellow);
  content: "";
  animation: scroll-line 1.6s ease-in-out infinite;
}

@keyframes scroll-line {
  0% { transform: translateX(-16px); }
  100% { transform: translateX(38px); }
}

.hero__cloud {
  position: absolute;
  z-index: -2;
  width: 380px;
  height: 130px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.62);
  filter: blur(28px);
  opacity: 0.42;
  pointer-events: none;
}

.hero__cloud--left {
  bottom: 12%;
  left: -170px;
}

.hero__cloud--right {
  top: 19%;
  right: -210px;
}

/* Intro */

.intro {
  overflow: hidden;
  padding: clamp(90px, 10vw, 145px) 0 110px;
  background:
    radial-gradient(circle at 84% 12%, rgba(255, 225, 26, 0.27), transparent 26%),
    linear-gradient(180deg, var(--cream) 0%, #fffdf6 100%);
}

.intro__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(55px, 8vw, 120px);
  align-items: end;
}

.intro h2,
.sync h2,
.how h2,
.visit h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.7rem, 5vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.intro h2 em,
.sync h2 em,
.how h2 em,
.visit h2 em {
  color: var(--red);
  font-weight: 700;
}

.intro__copy {
  max-width: 500px;
  padding-bottom: 5px;
  color: var(--muted);
}

.intro__copy p {
  margin: 0;
}

.intro__copy p + p {
  margin-top: 18px;
}

.intro__copy .lead-copy {
  color: var(--ink);
  font-size: clamp(1.1rem, 1.6vw, 1.34rem);
  font-weight: 700;
  line-height: 1.55;
}

.intro__proof {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 22px;
  padding: 10px;
  border: 3px solid var(--white);
  border-radius: 18px;
  background: var(--cream);
  box-shadow: 0 10px 0 rgba(7, 115, 55, 0.12), 0 18px 30px rgba(4, 70, 35, 0.15);
}

.intro__proof img {
  width: 108px;
  height: 76px;
  flex-shrink: 0;
  border-radius: 12px;
  object-fit: cover;
}

.intro__proof-caption {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

.intro__proof-caption strong {
  color: var(--ink);
}

.speed-ribbon {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 82px 1fr;
  margin-top: clamp(65px, 8vw, 100px);
  overflow: hidden;
  border: 6px solid var(--white);
  border-radius: 28px;
  box-shadow: var(--shadow);
  transform: rotate(-1deg);
}

.speed-ribbon__track,
.speed-ribbon__world {
  display: flex;
  min-height: 156px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 30px 38px;
}

.speed-ribbon__track {
  background: var(--yellow);
}

.speed-ribbon__world {
  background: var(--lime);
}

.speed-ribbon__track > span,
.speed-ribbon__world > span {
  max-width: 120px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.speed-ribbon strong {
  font-size: clamp(3.3rem, 7vw, 5.8rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.85;
}

.speed-ribbon small {
  font-size: 0.24em;
  letter-spacing: -0.02em;
}

.speed-ribbon__bolt {
  z-index: 2;
  display: grid;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 900;
  place-items: center;
  background: var(--red);
  clip-path: polygon(35% 0, 100% 0, 68% 43%, 100% 43%, 38% 100%, 0 100%, 29% 57%, 0 57%);
}

.intro__spark {
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--orange);
  clip-path: polygon(50% 0, 60% 38%, 100% 50%, 60% 62%, 50% 100%, 40% 62%, 0 50%, 40% 38%);
}

.intro__spark--one {
  top: 19%;
  right: 8%;
  transform: scale(2.2) rotate(12deg);
}

.intro__spark--two {
  bottom: 25%;
  left: 5%;
  background: var(--lime);
  transform: scale(1.35) rotate(35deg);
}

/* Scroll worlds */

.worlds {
  position: relative;
  z-index: 1;
  background: var(--night);
  color: var(--white);
}

.worlds__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
}

.worlds__layers,
.world-video,
.worlds__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.world-video {
  max-width: none;
  opacity: 0;
  object-fit: cover;
  transform: scale(1.025);
  transition: opacity 650ms ease;
}

.world-video.is-active {
  opacity: 1;
}

.worlds__shade {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(1, 12, 6, 0.86) 0%, rgba(1, 12, 6, 0.5) 36%, transparent 68%),
    linear-gradient(180deg, rgba(1, 12, 6, 0.7) 0%, transparent 20%, transparent 76%, rgba(1, 12, 6, 0.72) 100%);
  pointer-events: none;
}

.worlds__topline {
  position: absolute;
  top: 105px;
  right: max(24px, calc((100vw - 1180px) / 2));
  left: max(24px, calc((100vw - 1180px) / 2));
  z-index: 4;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.world-progress {
  display: flex;
  gap: 7px;
}

.world-progress i {
  display: block;
  flex: 1;
  height: 3px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.28);
}

.world-progress i::after {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--yellow);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms ease;
}

.world-progress i.is-active::after,
.world-progress i.is-complete::after {
  transform: scaleX(1);
}

.worlds__steps {
  position: relative;
  z-index: 3;
  margin-top: -100svh;
  pointer-events: none;
}

.world-step {
  display: flex;
  width: var(--shell);
  min-height: 100svh;
  margin-inline: auto;
  align-items: center;
  padding: 140px 0 90px;
}

.world-card {
  width: min(610px, 74vw);
  padding: 34px 36px 36px;
  border-left: 5px solid var(--yellow);
  border-radius: 0 24px 24px 0;
  background: linear-gradient(90deg, rgba(2, 22, 10, 0.88), rgba(2, 22, 10, 0.52));
  box-shadow: 20px 20px 70px rgba(0, 0, 0, 0.26);
  opacity: 0.3;
  backdrop-filter: blur(8px);
  transform: translateX(-24px) scale(0.96);
  transition: opacity 420ms ease, transform 420ms ease;
}

.world-step.is-active .world-card {
  opacity: 1;
  transform: none;
}

.world-card__number {
  margin: 0 0 20px;
  color: var(--yellow);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.world-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5.2vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.94;
  text-shadow: 0 5px 22px rgba(0, 0, 0, 0.45);
}

.world-card h3 em {
  color: var(--yellow);
  font-size: 0.68em;
}

.world-card > p:last-child {
  max-width: 490px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.98rem, 1.35vw, 1.12rem);
  font-weight: 600;
  line-height: 1.55;
}

/* Synchronisation */

.sync {
  z-index: 5;
  overflow: hidden;
  padding: clamp(95px, 11vw, 150px) 0;
  background:
    radial-gradient(circle at 8% 14%, rgba(126, 211, 33, 0.2), transparent 26%),
    #fffdf7;
}

.sync__heading {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  column-gap: 70px;
  align-items: end;
}

.sync__heading .eyebrow {
  grid-column: 1 / -1;
}

.sync__heading > p:last-child {
  max-width: 490px;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.sync-compare {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: clamp(55px, 8vw, 90px);
}

.sync-shot {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 6px solid var(--white);
  border-radius: 28px;
  background: var(--green-dark);
  box-shadow: var(--shadow);
}

.sync-shot--real {
  transform: rotate(-2deg);
}

.sync-shot--virtual {
  transform: rotate(2deg) translateY(22px);
}

.sync-shot img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 600ms ease;
}

.sync-shot:hover img {
  transform: scale(1.035);
}

.sync-shot figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 16px;
  border-radius: 14px;
  background: rgba(3, 21, 11, 0.82);
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.sync-shot figcaption span {
  display: grid;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.67rem;
  place-items: center;
}

.sync-compare__pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: grid;
  width: 82px;
  height: 82px;
  border: 6px solid var(--white);
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 8px 30px rgba(166, 3, 24, 0.35);
  color: var(--white);
  place-items: center;
  transform: translate(-50%, -50%);
}

.sync-compare__pulse svg {
  width: 34px;
  height: 34px;
}

/* How it works */

.how {
  position: relative;
  overflow: hidden;
  padding: clamp(95px, 11vw, 150px) 0 clamp(110px, 12vw, 170px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 35%),
    var(--sky);
}

.how::after {
  position: absolute;
  right: -10%;
  bottom: -100px;
  left: -10%;
  height: 190px;
  border-radius: 50% 50% 0 0;
  background: var(--green);
  content: "";
  transform: scaleX(1.2);
}

.section-heading {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.how-list {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 75px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.how-list li {
  position: relative;
  min-height: 405px;
  padding: 42px 34px 36px;
  overflow: hidden;
  border: 5px solid var(--white);
  border-radius: 28px;
  background: var(--cream);
  box-shadow: 0 18px 0 rgba(7, 115, 55, 0.15), 0 32px 55px rgba(4, 70, 35, 0.18);
  transition-delay: calc(var(--reveal-index, 0) * 100ms);
}

.how-list li:nth-child(2) {
  --reveal-index: 1;
  margin-top: 22px;
}

.how-list li:nth-child(3) {
  --reveal-index: 2;
}

.how-list__number {
  position: absolute;
  top: 18px;
  right: 24px;
  color: rgba(17, 33, 23, 0.11);
  font-size: 3.7rem;
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 1;
}

.how-list__icon {
  display: grid;
  width: 86px;
  height: 86px;
  margin-bottom: 35px;
  border: 4px solid var(--ink);
  border-radius: 22px;
  background: var(--yellow);
  box-shadow: 7px 7px 0 var(--ink);
  place-items: center;
  transform: rotate(-3deg);
}

.how-list li:nth-child(2) .how-list__icon {
  background: var(--lime);
  transform: rotate(3deg);
}

.how-list li:nth-child(3) .how-list__icon {
  background: var(--orange);
  transform: rotate(-2deg);
}

.how-list__icon svg {
  width: 55px;
  height: 55px;
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.how-list h3 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.5vw, 2.05rem);
  line-height: 1.05;
}

.how-list__photo {
  width: 100%;
  height: 140px;
  margin: 4px 0 16px;
  overflow: hidden;
  border: 3px solid var(--white);
  border-radius: 16px;
  box-shadow: 0 8px 0 rgba(7, 115, 55, 0.12);
}

.how-list__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.how-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

.how-list__tech {
  margin-top: 10px !important;
  color: rgba(17, 33, 23, 0.45) !important;
  font-size: 0.78rem !important;
  font-style: italic;
}

.how__cloud {
  position: absolute;
  z-index: 0;
  width: 380px;
  height: 115px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  filter: blur(12px);
}

.how__cloud--left {
  top: 110px;
  left: -220px;
}

.how__cloud--right {
  top: 36%;
  right: -190px;
}

/* Ride info — Dobrze wiedziec / Good to know */

.ride-info {
  padding: clamp(64px, 8vw, 96px) 0 clamp(80px, 9vw, 110px);
  background: var(--night);
  color: var(--white);
  text-align: center;
}

.ride-info .eyebrow {
  justify-content: center;
}

.ride-info h2 {
  max-width: 640px;
  margin: 0 auto 36px;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.info-facts {
  display: flex;
  flex-wrap: wrap;
  width: min(760px, 100%);
  align-items: stretch;
  justify-content: center;
  margin-inline: auto;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  background: rgba(3, 25, 12, 0.7);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(12px);
}

.info-fact {
  display: grid;
  flex: 1 1 190px;
  min-height: 78px;
  align-content: center;
  justify-items: center;
  gap: 5px;
  padding: 10px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  text-align: center;
}

.info-fact:last-child {
  border-right: 0;
}

.info-fact strong {
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.info-fact span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
}

/* Visit */

.visit {
  z-index: 5;
  display: grid;
  min-height: 700px;
  overflow: hidden;
  place-items: center;
  background: var(--green-dark);
  color: var(--white);
  isolation: isolate;
}

.visit__media,
.visit__overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.visit__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visit__overlay {
  z-index: -1;
  background:
    radial-gradient(circle at 50% 42%, rgba(2, 21, 10, 0.25), rgba(2, 21, 10, 0.82) 80%),
    linear-gradient(180deg, rgba(2, 21, 10, 0.22), rgba(2, 21, 10, 0.78));
}

.visit__content {
  max-width: 850px;
  padding-block: 115px;
  text-align: center;
}

.visit__content .eyebrow {
  justify-content: center;
}

.visit h2 {
  font-size: clamp(3.4rem, 8vw, 7.5rem);
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.42);
}

.visit h2 em {
  color: var(--yellow);
}

.visit__content > p:not(.eyebrow) {
  max-width: 610px;
  margin: 28px auto 31px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 600;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.65);
}

/* Footer */

.site-footer {
  padding: 55px 0 35px;
  background: var(--night);
  color: rgba(255, 255, 255, 0.66);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
}

.site-footer__brands {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  gap: 24px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__brands a {
  display: block;
}

.site-footer__brands img {
  width: auto;
  max-width: 140px;
  height: 54px;
  object-fit: contain;
}

.site-footer__brands a:last-child img {
  filter: brightness(0) invert(1);
}

.site-footer__brands > span {
  width: 1px;
  height: 35px;
  background: rgba(255, 255, 255, 0.22);
}

.site-footer p {
  margin: 0;
  font-size: 0.74rem;
}

.site-footer__legal {
  text-align: right;
}

/* Responsive */

@media (max-width: 900px) {
  :root {
    --shell: min(100% - 36px, 720px);
  }

  .site-header {
    min-height: 72px;
    padding: 8px 18px;
  }

  .site-header__brand,
  .site-header.is-scrolled .site-header__brand {
    z-index: 103;
    width: 104px;
  }

  .nav-toggle {
    position: relative;
    z-index: 102;
    display: flex;
    min-width: 76px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(3, 21, 11, 0.65);
    color: var(--white);
    cursor: pointer;
    backdrop-filter: blur(10px);
  }

  .nav-toggle__label {
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .nav-toggle__icon {
    display: grid;
    gap: 3px;
  }

  .nav-toggle__icon i {
    display: block;
    width: 15px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__icon i:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__icon i:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__icon i:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 101;
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-direction: column;
    gap: 0;
    padding: 100px 28px 40px;
    background:
      radial-gradient(circle at 80% 18%, rgba(126, 211, 33, 0.18), transparent 32%),
      var(--night);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-16px);
    transition: opacity 220ms ease, transform 220ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .site-nav > a:not(.button) {
    padding: 18px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-family: var(--serif);
    font-size: clamp(1.7rem, 7vw, 2.6rem);
    letter-spacing: -0.03em;
    text-transform: none;
  }

  .site-nav > a:not(.button)::after {
    display: none;
  }

  .site-nav .button {
    margin-top: 32px;
  }

  .hero__content {
    padding-top: 98px;
  }

  .hero__scroll {
    display: none;
  }

  .intro__grid,
  .sync__heading {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .intro__copy {
    max-width: 620px;
  }

  .speed-ribbon {
    grid-template-columns: 1fr 60px 1fr;
  }

  .speed-ribbon__track,
  .speed-ribbon__world {
    min-height: 135px;
    flex-direction: column;
    gap: 10px;
    padding: 25px 18px;
    text-align: center;
  }

  .speed-ribbon__track > span,
  .speed-ribbon__world > span {
    max-width: none;
  }

  .worlds__topline {
    top: 92px;
  }

  .world-card {
    width: min(620px, 86vw);
  }

  .sync__heading > p:last-child {
    margin-top: 0;
  }

  .how-list {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 55px;
  }

  .how-list li {
    min-height: auto;
  }

  .how-list li:nth-child(2) {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  :root {
    --shell: calc(100vw - 28px);
  }

  html {
    scroll-padding-top: 70px;
  }

  .section-seam {
    margin-top: -22px;
    border-radius: 22px 22px 0 0;
  }

  .hero {
    min-height: max(690px, 100svh);
  }

  .hero__video {
    object-position: 55% center;
  }

  .hero__content {
    width: calc(100vw - 28px);
    padding: 92px 0 178px;
  }

  .hero__content .eyebrow {
    margin-bottom: 4px;
  }

  .hero__title {
    width: min(500px, 100%);
  }

  .hero__tagline {
    margin-top: -6px;
  }

  .hero__lead {
    max-width: 390px;
  }

  .hero__facts {
    bottom: 27px;
    width: calc(100vw - 24px);
    padding: 8px 4px;
    border-radius: 18px;
  }

  .hero-fact {
    min-height: 65px;
  }

  .hero-fact strong {
    font-size: 1.55rem;
  }

  .hero-fact > span {
    max-width: 92px;
    font-size: 0.54rem;
  }

  .intro {
    padding: 80px 0 85px;
  }

  .intro h2,
  .sync h2,
  .how h2 {
    font-size: clamp(2.35rem, 12vw, 3.65rem);
  }

  .speed-ribbon {
    grid-template-columns: 1fr 42px 1fr;
    border-width: 4px;
    border-radius: 20px;
  }

  .speed-ribbon__track,
  .speed-ribbon__world {
    min-height: 127px;
    padding: 20px 7px;
  }

  .speed-ribbon strong {
    font-size: 2.8rem;
  }

  .speed-ribbon__track > span,
  .speed-ribbon__world > span {
    font-size: 0.57rem;
  }

  .speed-ribbon__bolt {
    font-size: 0.8rem;
  }

  .worlds__sticky {
    min-height: 600px;
  }

  .worlds__shade {
    background:
      linear-gradient(180deg, rgba(1, 12, 6, 0.72) 0%, transparent 27%, rgba(1, 12, 6, 0.25) 47%, rgba(1, 12, 6, 0.86) 100%);
  }

  .world-video {
    object-position: center;
  }

  .worlds__topline {
    top: 84px;
    right: 16px;
    left: 16px;
    gap: 10px;
    font-size: 0.53rem;
  }

  .world-step {
    align-items: flex-end;
    padding: 105px 0 55px;
  }

  .world-card {
    width: 100%;
    padding: 24px 22px 27px;
    border-left-width: 4px;
    border-radius: 0 19px 19px 0;
    background: linear-gradient(90deg, rgba(2, 22, 10, 0.94), rgba(2, 22, 10, 0.7));
  }

  .world-card__number {
    margin-bottom: 13px;
    font-size: 0.59rem;
  }

  .world-card h3 {
    font-size: clamp(2.15rem, 11vw, 3.4rem);
  }

  .world-card > p:last-child {
    margin-top: 17px;
    font-size: 0.91rem;
  }

  .sync {
    padding: 84px 0 95px;
  }

  .sync-compare {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 48px;
  }

  .sync-shot {
    border-width: 4px;
    border-radius: 20px;
  }

  .sync-shot--real {
    transform: rotate(-1deg);
  }

  .sync-shot--virtual {
    transform: rotate(1deg);
  }

  .sync-compare__pulse {
    top: 50%;
    width: 62px;
    height: 62px;
    border-width: 4px;
  }

  .sync-shot figcaption {
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 10px 12px;
    font-size: 0.61rem;
  }

  .how {
    padding: 85px 0 120px;
  }

  .ride-info {
    padding: 56px 0 70px;
  }

  .info-facts {
    flex-direction: column;
    padding: 6px;
  }

  .info-fact {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    padding: 14px 10px;
  }

  .info-fact:last-child {
    border-bottom: 0;
  }

  .how-list li {
    padding: 34px 27px 31px;
    border-width: 4px;
    border-radius: 22px;
  }

  .how-list__icon {
    width: 76px;
    height: 76px;
    margin-bottom: 29px;
  }

  .visit {
    min-height: 620px;
  }

  .visit h2 {
    font-size: clamp(3.25rem, 17vw, 5.1rem);
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer__brands {
    gap: 18px;
  }

  .site-footer__brands img {
    max-width: 115px;
    height: 45px;
  }

  .site-footer__legal {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .hero__video,
  .world-video {
    display: none;
  }

  .hero {
    background: linear-gradient(rgba(3, 21, 11, 0.18), rgba(3, 21, 11, 0.7)), url("../images/world-01-magical.jpg") center / cover no-repeat;
  }

  .worlds__layers {
    background: linear-gradient(rgba(3, 21, 11, 0.25), rgba(3, 21, 11, 0.65)), url("../images/world-01-magical.jpg") center / cover no-repeat;
  }
}

/* Header co-brand + bilingual language toggle */
.site-header__cobrand { display: inline-flex; align-items: center; gap: 8px; margin-left: 12px; }
.site-header__cobrand-x { color: rgba(255,255,255,.55); font-weight: 700; font-size: 13px; text-transform: lowercase; }
.site-header__cobrand img { height: 30px; width: auto; display: block; }
.lang-toggle { display: inline-flex; gap: 2px; margin-left: auto; margin-right: 12px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 3px; }
.lang-toggle button { font: inherit; font-weight: 700; font-size: 12px; letter-spacing: .04em; color: #fff; background: transparent; border: 0; border-radius: 999px; padding: 4px 10px; cursor: pointer; opacity: .85; transition: background .15s ease, color .15s ease, opacity .15s ease; }
.lang-toggle button.is-active { background: #fff; color: #0d3b1e; opacity: 1; }
.hero__scroll em { font-style: normal; }
@media (max-width: 720px) {
  .site-header__cobrand { display: none; }
  .lang-toggle { margin-right: 8px; }
}

/* --- v03 (2026-08-18): Julinek interlinks + legal footer --- */
.site-footer__links {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding: 22px 0 6px;
}
.site-footer__links a {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  padding-bottom: 2px;
  transition: color .2s ease, border-color .2s ease;
}
.site-footer__links a:hover,
.site-footer__links a:focus-visible {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
}
.site-footer__fine {
  grid-column: 1 / -1;
  margin-top: 10px !important;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.7rem !important;
  color: rgba(255, 255, 255, 0.52);
}
.site-footer__fine a { color: rgba(255, 255, 255, 0.74); }
.visit__secondary {
  display: inline-block;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 2px;
}
.visit__secondary:hover, .visit__secondary:focus-visible { color: #fff; border-color: #fff; }
