/* =========================================================
   Marek Kulczycki – style strony
   ========================================================= */

@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/inter-tight-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/inter-tight-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --dark: #1c1d20;
  --dark-2: #141517;
  --dark-3: #232428;
  --light: #ffffff;
  --off: #f4f4f2;
  --gray: #999d9e;
  --muted: #6c6f73;
  --muted-light: rgba(255, 255, 255, 0.55);
  --accent: #455ce9;
  --accent-2: #334bd3;
  --gold: #e2b33c;
  --silver: #c4c9d0;
  --bronze: #cd8a55;
  --border: rgba(28, 29, 32, 0.14);
  --border-light: rgba(255, 255, 255, 0.16);
  --ease: cubic-bezier(0.7, 0, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --inner: clamp(0rem, 4vw, 4rem);
  --maxw: 1440px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  background: var(--light);
  color: var(--dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
html.is-loading, html.is-loading body { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }
sup { font-size: 0.6em; vertical-align: top; position: relative; top: -0.2em; margin-left: 0.2em; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.icon { width: 1.1em; height: 1.1em; flex: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 2000; background: var(--accent); color: #fff; padding: .8rem 1.2rem; border-radius: 999px; }
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.section-label, .eyebrow {
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
  padding-inline: var(--inner);
}
.section-label { margin-bottom: 2.4rem; }
.section-label--light { color: var(--muted-light); }
.section-title {
  font-size: clamp(2.2rem, 5vw, 5rem); font-weight: 400; letter-spacing: -0.04em; line-height: 1.02;
  padding-inline: var(--inner); max-width: 16ch; margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.section-title--light { color: #fff; }

.u-link { position: relative; display: inline-block; }
.u-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.u-link:hover::after { transform: scaleX(1); transform-origin: left; }

.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.w__i { display: inline-block; will-change: transform; }
.line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.line__i { display: block; will-change: transform; }

.tag {
  display: inline-block; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase;
  padding: .25rem .6rem; border-radius: 999px; border: 1px solid var(--border); color: var(--muted);
}

/* ---------- Medale ---------- */
.medal {
  position: relative; flex: none;
  display: inline-grid; place-items: center;
  width: 2.3rem; height: 2.3rem; border-radius: 50%;
  font-size: .85rem; font-weight: 600; color: #3b2a00;
  background: var(--gold);
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.14), inset 0 2px 0 rgba(255,255,255,.35);
}
.medal::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); }
.medal--2 { background: var(--silver); color: #2a2f36; }
.medal--3 { background: var(--bronze); color: #3a1c06; }
.medal--0 { background: transparent; color: var(--muted); border: 1px solid var(--border); box-shadow: none; }
.medal--0::after { display: none; }

.medal-card {
  width: 100%; height: 100%; display: grid; place-content: center; justify-items: center; gap: 1rem;
  background: var(--dark); color: #fff; text-align: center; padding: 1.5rem; font-size: 1.1rem;
}
.medal-card .medal { width: 5rem; height: 5rem; font-size: 1.8rem; }
.medal-card--1 { background: linear-gradient(160deg, #2a2b30, #1c1d20); }

/* =========================================================
   Przyciski
   ========================================================= */
.btn__label { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: .6rem; pointer-events: none; }
.btn__fill {
  position: absolute; left: 50%; top: 100%; z-index: 1;
  width: 150%; height: 200%; border-radius: 50%;
  transform: translateX(-50%);
  background: var(--fill, var(--accent));
  pointer-events: none;
}
.btn-round {
  position: relative; overflow: hidden; flex: none;
  display: grid; place-items: center; text-align: center;
  width: clamp(8.5rem, 12.5vw, 11.5rem); aspect-ratio: 1; border-radius: 50%;
  background: var(--dark); color: #fff; font-size: 1.02rem; padding: 1rem;
  --fill: var(--accent);
}
.btn-round--accent { background: var(--accent); --fill: var(--accent-2); }
.btn-pill {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1.25rem 2.3rem; border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 1rem; white-space: nowrap;
  transition: color .35s var(--ease), border-color .35s;
  --fill: var(--dark);
}
.btn-pill:hover { color: #fff; border-color: transparent; }
.btn-pill--dark { border-color: var(--border-light); color: #fff; --fill: var(--accent); }
.btn-pill--accent { background: var(--accent); color: #fff; border-color: transparent; --fill: var(--accent-2); }
.btn-pill--small { padding: .8rem 1.4rem; font-size: .9rem; }
.pills { display: flex; flex-wrap: wrap; gap: .8rem; }

/* =========================================================
   Ekran powitalny i przejścia
   ========================================================= */
.loader, .transition {
  position: fixed; top: 0; left: 0; width: 100%;
  height: 100vh; height: 100lvh;
  display: grid; place-items: center;
  background: var(--dark-2); color: #fff; z-index: 1000;
}
.loader__word, .transition__title {
  display: flex; align-items: center; gap: .55em;
  font-size: clamp(2.3rem, 5vw, 4.4rem); letter-spacing: -0.02em;
}
.loader__word { opacity: 0; }
.loader__dot { width: .2em; height: .2em; border-radius: 50%; background: #fff; flex: none; }
.loader__curve, .transition__curve { position: absolute; left: 0; width: 100%; height: 22vh; fill: var(--dark-2); }
.loader__curve { top: calc(100% - 1px); }
.transition__curve--top { bottom: calc(100% - 1px); }
.transition__curve--bottom { top: calc(100% - 1px); }
.transition { visibility: hidden; transform: translateY(125%); }
html.is-transition .transition { visibility: visible; transform: none; }
html.is-returning .loader, html:not(.js) .loader { display: none; }

/* =========================================================
   Nagłówek i menu
   ========================================================= */
.header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: calc(var(--gutter) * .55) var(--gutter);
}
.header--light { color: #fff; }
.header--dark { color: var(--dark); }
.logo { display: inline-flex; align-items: center; gap: .7rem; font-size: 1.05rem; font-weight: 500; padding: .8rem 0; }
.logo__mark { width: 2.3rem; display: block; transition: transform .9s var(--ease); }
.logo__mark .monogram__wave { stroke: var(--accent); }
.header--light .logo__mark .monogram__wave { stroke: currentColor; }
.logo:hover .logo__mark { transform: rotate(-360deg); }
.logo__names { display: inline-flex; white-space: nowrap; overflow: hidden; }
.logo__last { display: inline-block; overflow: hidden; max-width: 0; opacity: 0; transition: max-width .8s var(--ease), padding .8s var(--ease), opacity .6s var(--ease); }
.logo:hover .logo__last { max-width: 7em; padding-left: .3em; opacity: 1; }

.nav { display: flex; align-items: center; gap: .1rem; }
.nav__link { position: relative; display: inline-block; padding: .9rem .85rem; font-size: 1rem; }
.nav__link::after {
  content: ""; position: absolute; left: 50%; bottom: .3rem;
  width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%;
  background: currentColor; transform: scale(0); transition: transform .35s var(--ease);
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scale(1); }

.lang { display: inline-flex; gap: .2rem; padding: .25rem; border-radius: 999px; border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 30%, transparent); }
.lang--header { margin-left: .8rem; }
.lang__link { font-size: .78rem; font-weight: 500; letter-spacing: .04em; padding: .35rem .6rem; border-radius: 999px; opacity: .6; transition: opacity .3s, background .3s, color .3s; }
.lang__link:hover { opacity: 1; }
.lang__link.is-active { opacity: 1; background: currentColor; }
.header--light .lang__link.is-active span, .lang__link.is-active { color: inherit; }
.header--light .lang__link.is-active { background: #fff; color: var(--dark); }
.header--dark .lang__link.is-active { background: var(--dark); color: #fff; }
.lang--menu .lang__link.is-active { background: #fff; color: var(--dark); }

.burger {
  position: fixed; z-index: 120;
  top: calc(var(--gutter) * .5); right: calc(var(--gutter) * .5);
  width: clamp(4rem, 6vw, 5.4rem); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; overflow: hidden;
  background: var(--dark); color: #fff;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.14);
  --fill: var(--accent);
}
.burger__lines { position: relative; width: 34%; height: 10px; display: block; }
.burger__lines span { position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger__lines span:nth-child(1) { top: 0; }
.burger__lines span:nth-child(2) { top: calc(100% - 1.5px); }
.burger.is-active .burger__lines span:nth-child(1) { top: calc(50% - .75px); transform: rotate(45deg); }
.burger.is-active .burger__lines span:nth-child(2) { top: calc(50% - .75px); transform: rotate(-45deg); }
.burger.is-active { background: var(--accent); }

.menu-overlay { position: fixed; inset: 0; z-index: 105; background: rgba(10,10,12,.35); opacity: 0; visibility: hidden; }
.menu {
  position: fixed; top: 0; right: 0; z-index: 110;
  width: min(100%, 34rem); height: 100vh; height: 100dvh;
  background: var(--dark-2); color: #fff; visibility: hidden;
}
.menu__curve { position: absolute; top: 0; left: -99px; width: 100px; height: 100%; fill: var(--dark-2); pointer-events: none; }
.menu__inner {
  height: 100%; overflow-y: auto;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem;
  padding: clamp(6rem, 14vh, 9rem) clamp(2rem, 6vw, 5rem) clamp(2rem, 5vh, 3.5rem);
}
.menu__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--border-light); padding-bottom: 1.3rem; margin-bottom: 2rem; }
.menu__label { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.menu__label--small { margin-bottom: 1rem; }
.menu__nav { display: flex; flex-direction: column; }
.menu__link {
  position: relative; display: inline-flex; align-items: center; align-self: flex-start;
  font-size: clamp(2.1rem, 4.4vw, 3.3rem); line-height: 1.22; letter-spacing: -0.025em;
}
.menu__link::before {
  content: ""; position: absolute; left: -1.5rem; top: 50%;
  width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: #fff;
  transform: scale(0); transition: transform .4s var(--ease);
}
.menu__link:hover::before, .menu__link.is-active::before { transform: scale(1); }
.menu__contact { display: flex; flex-direction: column; gap: .3rem; margin-bottom: 1.2rem; }
.socials { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; }

/* =========================================================
   Ekran główny
   ========================================================= */
.hero {
  position: relative; overflow: hidden;
  height: 100vh; height: 100svh; min-height: 36rem;
  background: var(--gray); color: #fff;
}
.hero__inner { position: absolute; inset: 0; will-change: transform; }
.hero__portrait-wrap {
  position: absolute; left: 0; right: 0; bottom: 0; height: min(84%, 44rem);
  display: flex; justify-content: center; align-items: flex-end; pointer-events: none;
  z-index: 2;
}
.hero__location, .hero__role { z-index: 3; }
.hero__portrait { height: 100%; width: auto; max-width: none; object-fit: contain; object-position: bottom; }
.hero__location {
  position: absolute; left: 0; top: 44%;
  display: flex; align-items: center; gap: 2.4rem;
  padding: 1.4rem 1.4rem 1.4rem 2.3rem;
  border-radius: 0 999px 999px 0; background: var(--dark);
  font-size: 1.05rem; line-height: 1.35; max-width: 20rem;
}
.globe { display: grid; place-items: center; width: 4.4rem; aspect-ratio: 1; border-radius: 50%; background: var(--gray); color: #fff; flex: none; }
.globe svg { width: 62%; }
.globe__m { transform-box: fill-box; transform-origin: center; animation: globe 4s linear infinite; }
.globe__m--b { animation-delay: -2s; }
@keyframes globe {
  0% { transform: scaleX(-2.1); opacity: 0; }
  10%, 90% { opacity: 1; }
  50% { transform: scaleX(0); }
  100% { transform: scaleX(2.1); opacity: 0; }
}
.hero__role {
  position: absolute; right: calc(var(--gutter) * 1.5); top: 34%;
  font-size: clamp(1.3rem, 2.1vw, 2rem); line-height: 1.3; letter-spacing: -0.01em; max-width: 30rem;
}
.hero__arrow { width: 1.05em; height: 1.05em; margin-bottom: 2.4rem; }
.marquee {
  position: absolute; left: 0; bottom: 5vh; width: 100%;
  font-size: clamp(6rem, 14.5vw, 16rem); font-weight: 500;
  letter-spacing: -0.045em; line-height: 1; pointer-events: none; overflow: hidden;
  z-index: 1;
}
.marquee__inner { position: relative; display: flex; width: max-content; white-space: nowrap; }
.marquee__track { position: relative; padding: .05em .25em .12em 0; }
.marquee__track + .marquee__track { position: absolute; left: 100%; top: 0; }
.marquee__dash { font-weight: 300; }

/* =========================================================
   Wstęp, liczniki
   ========================================================= */
.intro { padding-block: clamp(6rem, 12vw, 13rem) clamp(4rem, 7vw, 8rem); }
.intro__grid { display: grid; grid-template-columns: 1fr minmax(13rem, .38fr); gap: clamp(2rem, 7vw, 9rem); padding-inline: calc(var(--gutter) + var(--inner)); }
.intro__lead { font-size: clamp(1.6rem, 2.9vw, 2.7rem); line-height: 1.3; letter-spacing: -0.02em; }
.intro__small { font-size: 1.05rem; line-height: 1.6; color: var(--muted); padding-top: .6rem; }
.intro__btn-wrap { margin-top: clamp(3rem, 6vw, 5rem); }

.stats { padding-bottom: clamp(5rem, 10vw, 10rem); }
.stats__grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--border); margin-inline: var(--inner);
}
.stat { padding: 2.2rem 1.4rem 0 0; border-right: 1px solid var(--border); padding-left: 1.4rem; }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat__num { font-size: clamp(2.8rem, 5.2vw, 5.4rem); font-weight: 400; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat__label { display: flex; align-items: center; gap: .5rem; margin-top: .9rem; color: var(--muted); font-size: .95rem; line-height: 1.35; }
.stat__dot { width: .7rem; height: .7rem; border-radius: 50%; flex: none; background: var(--gold); }
.stat__dot--2 { background: var(--silver); }
.stat__dot--3 { background: var(--bronze); }
.stat--accent .stat__num { color: var(--accent); }

/* =========================================================
   Najważniejsze wyniki (lista z podglądem)
   ========================================================= */
.work { padding-bottom: clamp(5rem, 10vw, 10rem); }
.work__list { border-bottom: 1px solid var(--border); }
.work__item { border-top: 1px solid var(--border); }
.work__link {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.6rem;
  padding: clamp(2rem, 3.6vw, 3.4rem) var(--inner);
  transition: opacity .4s var(--ease);
}
.work__title { font-size: clamp(1.9rem, 4.4vw, 4.6rem); font-weight: 400; letter-spacing: -0.04em; line-height: 1.02; transition: transform .55s var(--ease); }
.work__cat { font-size: 1rem; text-align: right; transition: transform .55s var(--ease); }
.work__cat em { font-style: normal; color: var(--muted); }
.work__thumb { display: none; }
@media (hover: hover) and (pointer: fine) {
  .work__list:hover .work__link { opacity: .3; }
  .work__list .work__link:hover { opacity: 1; }
  .work__link:hover .work__title { transform: translateX(12px); }
  .work__link:hover .work__cat { transform: translateX(-12px); }
}
.work__more { display: flex; justify-content: center; margin-top: clamp(3.5rem, 6vw, 6rem); }

.work-modal {
  position: fixed; top: 0; left: 0; z-index: 50;
  width: clamp(18rem, 25vw, 24rem); height: clamp(20rem, 28vw, 28rem);
  overflow: hidden; pointer-events: none; visibility: hidden; background: var(--dark);
}
.work-modal__slide { width: 100%; overflow: hidden; }
.work-modal__slide img { width: 100%; height: 100%; object-fit: cover; }
.work-cursor, .work-cursor-label {
  position: fixed; top: 0; left: 0; z-index: 51;
  width: 5.4rem; height: 5.4rem; border-radius: 50%; pointer-events: none; visibility: hidden;
}
.work-cursor { background: var(--accent); }
.work-cursor-label { z-index: 52; display: grid; place-items: center; color: #fff; font-size: .95rem; }

/* =========================================================
   Przewijane rzędy zdjęć
   ========================================================= */
.slides { display: grid; gap: 2.4vw; overflow: hidden; padding: clamp(1rem, 3vw, 3rem) 0 clamp(6rem, 11vw, 11rem); }
.slides__row { display: flex; gap: 2.4vw; width: max-content; will-change: transform; }
.slides__row--1 { margin-left: -4vw; }
.slides__row--2 { margin-left: -24vw; }
.slides__card { display: block; width: 25vw; aspect-ratio: 3 / 2; overflow: hidden; background: var(--off); }
.slides__card img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1s var(--ease-out); }
.slides__card:hover img { transform: scale(1.08); }

/* =========================================================
   Droga do LA 2028
   ========================================================= */
.la28 { position: relative; background: var(--dark); color: #fff; overflow: hidden; padding-top: clamp(6rem, 11vw, 11rem); }
.la28__bg { position: absolute; inset: 0; opacity: .22; }
.la28__bg img { width: 100%; height: 120%; object-fit: cover; filter: grayscale(1) contrast(1.1); }
.la28__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--dark) 0%, rgba(28,29,32,.4) 40%, var(--dark) 100%); }
.la28__head { position: relative; }
.la28__title { font-size: clamp(3.4rem, 11vw, 12rem); font-weight: 500; letter-spacing: -0.055em; line-height: .95; padding-inline: var(--inner); }
.countdown { display: flex; flex-wrap: wrap; gap: clamp(1.4rem, 4vw, 4rem); margin-top: clamp(2.5rem, 5vw, 4.5rem); padding-inline: var(--inner); }
.countdown__item { display: flex; flex-direction: column; }
.countdown__num { font-size: clamp(2.6rem, 6vw, 6rem); font-weight: 300; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown__unit { margin-top: .6rem; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-light); }
.la28__date { margin-top: 1.4rem; color: var(--muted-light); padding-inline: var(--inner); }
.la28__text { max-width: 38rem; margin-top: clamp(2.5rem, 5vw, 4rem); font-size: clamp(1.1rem, 1.6vw, 1.4rem); line-height: 1.5; padding-inline: var(--inner); color: rgba(255,255,255,.85); }

.la28__track-wrap { position: relative; margin-top: clamp(4rem, 8vw, 7rem); padding-bottom: clamp(6rem, 10vw, 10rem); overflow: hidden; }
.la28__track { display: flex; gap: 0; width: max-content; padding-inline: calc(var(--gutter) + var(--inner)); }
.step { position: relative; width: clamp(16rem, 24vw, 22rem); padding-right: 2.5rem; flex: none; }
.step__year { display: block; font-size: clamp(1.6rem, 2.6vw, 2.5rem); letter-spacing: -0.03em; }
.step__line { position: relative; display: block; height: 1px; background: var(--border-light); margin: 1.4rem 0 1.4rem; }
.step__line::before { content: ""; position: absolute; left: 0; top: -5px; width: 11px; height: 11px; border-radius: 50%; background: #fff; }
.step__text { color: rgba(255,255,255,.78); line-height: 1.45; font-size: clamp(1rem, 1.25vw, 1.2rem); }
.step--goals { width: clamp(19rem, 30vw, 27rem); }
.step--goals .step__line::before { background: var(--accent); }
.goals-mini { display: grid; gap: .7rem; color: rgba(255,255,255,.8); line-height: 1.4; }
.goals-mini strong { display: block; color: #fff; font-weight: 500; }
.step--target .step__year { color: #fff; font-size: clamp(2.4rem, 4.4vw, 4.4rem); font-weight: 500; }
.step--target .step__line { background: var(--accent); }
.step--target .step__line::before { width: 15px; height: 15px; top: -7px; background: var(--accent); box-shadow: 0 0 0 8px rgba(69,92,233,.25); }
.step__pin { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.2rem; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--accent); padding: .45rem .8rem; border-radius: 999px; }

/* ---------- Pas CTA partnerów ---------- */
.cta-band { padding-block: clamp(6rem, 11vw, 11rem); }
.cta-band__row { display: flex; align-items: center; justify-content: space-between; gap: 3rem; padding-inline: var(--inner); }
.cta-band__title { font-size: clamp(2.4rem, 6vw, 6.4rem); font-weight: 400; letter-spacing: -0.045em; line-height: 1.02; max-width: 13ch; }

/* =========================================================
   Podstrony – nagłówek
   ========================================================= */
.page-head { padding: clamp(9rem, 20vh, 14rem) 0 clamp(3.5rem, 7vw, 7rem); }
.page-head .eyebrow { margin-bottom: 1.6rem; }
.page-head__title {
  font-size: clamp(3rem, 9vw, 10rem); font-weight: 400; letter-spacing: -0.055em; line-height: .98;
  padding-inline: var(--inner); max-width: 14ch;
}
.page-head__intro { max-width: 40rem; margin-top: clamp(2rem, 4vw, 3.2rem); font-size: clamp(1.1rem, 1.7vw, 1.45rem); line-height: 1.5; color: var(--muted); padding-inline: var(--inner); }
.page-head__actions { margin-top: 3rem; padding-inline: var(--inner); }

/* ---------- Biografia ---------- */
.bio-top { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 6vw, 7rem); align-items: start; padding-bottom: clamp(5rem, 10vw, 10rem); }
.bio-top__img { margin-left: var(--inner); aspect-ratio: 4 / 5; overflow: hidden; background: var(--off); }
.bio-top__img img { width: 100%; height: 100%; object-fit: cover; }
.facts { padding-top: 1rem; }
.facts .section-label { padding-inline: 0; margin-bottom: 1.4rem; }
.facts__row { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; padding: 1.15rem 0; border-top: 1px solid var(--border); }
.facts__row:last-child { border-bottom: 1px solid var(--border); }
.facts__row dt { color: var(--muted); font-size: .95rem; }
.facts__row dd { font-size: 1.08rem; }
.facts__links { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.4rem; }

.bio-body { display: grid; grid-template-columns: .5fr 1fr; gap: clamp(2rem, 6vw, 7rem); padding-bottom: clamp(5rem, 10vw, 9rem); }
.bio-body__side .section-label { position: sticky; top: 8rem; }
.prose { font-size: clamp(1.08rem, 1.35vw, 1.28rem); line-height: 1.65; max-width: 44rem; }
.prose h3 { font-size: clamp(1.7rem, 2.8vw, 2.6rem); font-weight: 400; letter-spacing: -0.03em; line-height: 1.1; margin: clamp(3rem, 5vw, 4.5rem) 0 1.2rem; }
.prose h3:first-child { margin-top: 0; }
.prose p + p { margin-top: 1.1rem; }
.prose p { color: #34363b; }
.prose a { text-decoration: underline; text-underline-offset: .2em; }
.prose--page { padding: 0 var(--inner) 6rem; }

.wide-img { position: relative; height: clamp(22rem, 75vh, 48rem); overflow: hidden; margin-bottom: clamp(5rem, 10vw, 10rem); }
.wide-img img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; }

.goals { padding-bottom: clamp(6rem, 11vw, 11rem); }
.goals__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-inline: var(--inner); }
.goal { position: relative; display: flex; flex-direction: column; min-height: 20rem; padding: 1.8rem; background: var(--off); border-radius: 1.2rem; transition: transform .6s var(--ease-out), background .4s; }
.goal:hover { transform: translateY(-6px); }
.goal__index { font-size: .8rem; color: var(--muted); }
.goal__big { margin-top: auto; font-size: clamp(2.2rem, 3.6vw, 3.6rem); letter-spacing: -0.045em; line-height: 1; }
.goal__text { margin-top: .9rem; color: var(--muted); line-height: 1.4; }
.goal--main { background: var(--accent); color: #fff; }
.goal--main .goal__index, .goal--main .goal__text { color: rgba(255,255,255,.75); }

/* =========================================================
   Osiągnięcia
   ========================================================= */
.medal-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2rem; margin-top: clamp(2.5rem, 5vw, 4rem); padding-inline: var(--inner); }
.medal-summary__item { display: inline-flex; align-items: center; gap: .8rem; font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -0.03em; }
.medal-summary__item .medal { width: 2.8rem; height: 2.8rem; font-size: 1rem; }
.medal-summary__note { color: var(--muted); font-size: 1rem; }

.timeline-section { padding-bottom: clamp(5rem, 10vw, 9rem); }
.filters {
  position: sticky; top: 0; z-index: 20;
  display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem;
  padding: 1.1rem var(--inner); margin-bottom: 2.5rem;
  background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.filters__group { display: flex; flex-wrap: wrap; gap: .45rem; }
.filters__count { margin-left: auto; color: var(--muted); font-size: .95rem; font-variant-numeric: tabular-nums; }
.chip { padding: .6rem 1.05rem; border-radius: 999px; border: 1px solid var(--border); font-size: .92rem; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s; }
.chip:hover { border-color: var(--dark); }
.chip.is-active { background: var(--dark); color: #fff; border-color: var(--dark); }

.timeline { position: relative; }
.timeline::before, .timeline__progress { content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--inner) + 12rem); width: 1px; background: var(--border); }
.timeline__progress { width: 2px; margin-left: -.5px; background: var(--accent); transform-origin: top; transform: scaleY(0); }
.tl-year { display: grid; grid-template-columns: 12rem 1fr; padding-inline: var(--inner); }
.tl-year__label { position: relative; font-weight: 400; }
.tl-year__label span { position: sticky; top: 7rem; display: block; font-size: clamp(2.6rem, 5vw, 4.6rem); letter-spacing: -0.05em; line-height: 1; padding: 1.4rem 0 3rem; }
.tl-year__list { padding-left: clamp(1.5rem, 3vw, 3rem); padding-bottom: 3rem; }
.tl-item {
  position: relative;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.3rem;
  padding: 1.35rem 0; border-bottom: 1px solid var(--border);
}
.tl-item::before { content: ""; position: absolute; left: calc(-1 * clamp(1.5rem, 3vw, 3rem) - 4.5px); top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--light); border: 1px solid var(--dark); transition: background .3s, transform .3s var(--ease); }
.tl-item:hover::before { background: var(--accent); border-color: var(--accent); transform: scale(1.4); }
.tl-item.is-hidden { display: none; }
.tl-item__title { font-size: clamp(1.15rem, 1.7vw, 1.55rem); font-weight: 400; letter-spacing: -0.015em; line-height: 1.2; }
.tl-item__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1rem; margin-top: .4rem; color: var(--muted); font-size: .95rem; }
.tl-item__place { display: inline-flex; align-items: center; gap: .3rem; }
.tl-item__photo { width: 5.2rem; height: 3.8rem; overflow: hidden; border-radius: .5rem; flex: none; }
.tl-item__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.tl-item__photo:hover img { transform: scale(1.1); }
.tl-year.is-empty { display: none; }
.timeline__empty { padding: 3rem var(--inner); color: var(--muted); }

.podiums { padding-bottom: clamp(6rem, 11vw, 11rem); }
.podiums__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 2rem); padding-inline: var(--inner); }
.podium-card { display: block; }
.podium-card__img { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--off); }
.podium-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.podium-card:hover img { transform: scale(1.05); }
.podium-card__meta { display: flex; gap: 1rem; align-items: flex-start; margin-top: 1.1rem; color: var(--muted); line-height: 1.4; }
.podium-card__meta strong { display: block; color: var(--dark); font-weight: 500; font-size: 1.1rem; }

.map-section { background: var(--dark); color: #fff; padding-top: clamp(6rem, 10vw, 10rem); padding-bottom: clamp(4rem, 7vw, 6rem); }
.map-section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.map-section__head .section-title { margin-bottom: 0; }
.map-section__actions { display: flex; flex-wrap: wrap; gap: .7rem; padding-inline: var(--inner); }
.map-wrap { margin-top: clamp(2.5rem, 5vw, 4rem); }
.race-map { height: clamp(26rem, 72vh, 44rem); background: #202126; }
.map-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 0 2rem; margin-top: 2.5rem; padding-inline: var(--inner); }
.map-list li { display: flex; align-items: center; gap: .6rem; padding: 1rem 0; border-bottom: 1px solid var(--border-light); }
.map-list span { color: var(--muted-light); }
.map-list em { margin-left: auto; font-style: normal; display: inline-flex; align-items: center; gap: .5rem; color: var(--muted-light); }
.map-list .medal { width: 1.6rem; height: 1.6rem; font-size: .7rem; }
.map-note { margin-top: 1.6rem; color: var(--muted-light); font-size: .9rem; padding-inline: var(--inner); }

/* Leaflet */
.race-map.leaflet-container { font-family: inherit; background: #17181b; }
.leaflet-control-attribution { background: rgba(20,21,23,.7) !important; color: rgba(255,255,255,.6) !important; font-size: 10px; }
.leaflet-control-attribution a { color: rgba(255,255,255,.8) !important; }
.leaflet-bar a { background: var(--dark) !important; color: #fff !important; border-color: var(--border-light) !important; }
.map-marker { position: relative; display: grid; place-items: center; width: 40px; height: 40px; }
.map-marker__dot { position: relative; z-index: 2; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: #3b2a00; font-size: 12px; font-weight: 600; box-shadow: 0 0 0 4px rgba(20,21,23,.6); transition: transform .3s var(--ease); }
.map-marker:hover .map-marker__dot { transform: scale(1.18); }
.map-marker--2 .map-marker__dot { background: var(--silver); }
.map-marker--3 .map-marker__dot { background: var(--bronze); }
.map-marker__pulse { position: absolute; inset: 0; border-radius: 50%; background: currentColor; opacity: .35; animation: pulse 2.4s var(--ease-out) infinite; color: var(--gold); }
.map-marker--target .map-marker__dot { background: var(--accent); color: #fff; }
.map-marker--target .map-marker__pulse { color: var(--accent); }
@keyframes pulse { 0% { transform: scale(.5); opacity: .5; } 100% { transform: scale(1.8); opacity: 0; } }
.leaflet-popup-content-wrapper { background: var(--light); color: var(--dark); border-radius: 14px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.5); }
.leaflet-popup-content { margin: 16px 18px; font-size: 14px; line-height: 1.4; min-width: 220px; }
.leaflet-popup-tip { background: var(--light); }
.map-pop__city { font-size: 18px; letter-spacing: -.02em; }
.map-pop__country { color: var(--muted); font-size: 12px; margin-bottom: 10px; }
.map-pop__row { display: flex; gap: 10px; align-items: center; padding: 7px 0; border-top: 1px solid var(--border); }
.map-pop__row .medal { width: 24px; height: 24px; font-size: 11px; }
.map-pop__row small { display: block; color: var(--muted); }

/* =========================================================
   Galeria i lightbox
   ========================================================= */
.gallery { padding-bottom: clamp(5rem, 10vw, 9rem); }
.gallery__grid { columns: 3; column-gap: clamp(.8rem, 1.6vw, 1.6rem); padding-inline: var(--inner); }
.gallery__item { position: relative; display: block; margin-bottom: clamp(.8rem, 1.6vw, 1.6rem); break-inside: avoid; overflow: hidden; background: var(--off); cursor: zoom-in; }
.gallery__item img { width: 100%; height: auto; transition: transform 1s var(--ease-out), filter .6s; }
.gallery__item:hover img { transform: scale(1.04); }

.videos { padding-bottom: clamp(5rem, 10vw, 9rem); }
.videos__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; padding-inline: var(--inner); }
.video__frame { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--dark); color: #fff; }
.video__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: transform 1s var(--ease-out), opacity .4s; }
.video__frame:hover img { transform: scale(1.04); opacity: 1; }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play { position: relative; z-index: 2; display: grid; place-items: center; width: 5rem; height: 5rem; border-radius: 50%; background: var(--accent); transition: transform .5s var(--ease); }
.video__play .icon { width: 1.6rem; height: 1.6rem; fill: currentColor; margin-left: 3px; }
.video__frame:hover .video__play { transform: scale(1.1); }
.video__ext { position: absolute; bottom: 1rem; left: 1rem; display: inline-flex; gap: .4rem; align-items: center; font-size: .9rem; }
.video__title { margin-top: 1rem; font-size: 1.25rem; font-weight: 400; }
.video__title span { color: var(--muted); }

.lightbox { position: fixed; inset: 0; z-index: 900; display: grid; place-items: center; background: rgba(14,15,17,.96); color: #fff; opacity: 0; visibility: hidden; }
.lightbox__img { max-width: min(92vw, 1600px); max-height: 84vh; width: auto; height: auto; object-fit: contain; user-select: none; }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 3.6rem; height: 3.6rem; border-radius: 50%; border: 1px solid var(--border-light); transition: background .3s; }
.lightbox__btn:hover { background: rgba(255,255,255,.1); }
.lightbox__btn .icon { width: 1.4rem; height: 1.4rem; }
.lightbox__close { top: 1.4rem; right: 1.4rem; }
.lightbox__prev { left: 1.4rem; top: 50%; margin-top: -1.8rem; }
.lightbox__next { right: 1.4rem; top: 50%; margin-top: -1.8rem; }
.lightbox__count { position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); font-size: .9rem; color: var(--muted-light); font-variant-numeric: tabular-nums; }

/* =========================================================
   Partnerzy
   ========================================================= */
.partner-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 7rem); align-items: end; padding-bottom: clamp(5rem, 10vw, 10rem); }
.partner-hero__img { margin-left: var(--inner); aspect-ratio: 5 / 4; overflow: hidden; background: var(--off); }
.partner-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.partner-hero__numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--border); }
.kpi { padding: 1.8rem 1.4rem 1.8rem 0; border-bottom: 1px solid var(--border); }
.kpi:nth-child(odd) { border-right: 1px solid var(--border); }
.kpi:nth-child(even) { padding-left: 1.4rem; }
.kpi__num { font-size: clamp(2.6rem, 5vw, 4.8rem); letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.kpi__label { margin-top: .8rem; color: var(--muted); line-height: 1.35; }
.kpi--accent .kpi__num { color: var(--accent); }

.why { padding-bottom: clamp(5rem, 10vw, 10rem); }
.why__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; padding-inline: var(--inner); }
.why-card { padding: clamp(1.8rem, 3vw, 3rem); border-radius: 1.2rem; background: var(--off); transition: background .5s var(--ease), color .5s var(--ease); }
.why-card:hover { background: var(--dark); color: #fff; }
.why-card:hover .why-card__text, .why-card:hover .why-card__index { color: rgba(255,255,255,.7); }
.why-card__index { font-size: .8rem; color: var(--muted); transition: color .5s; }
.why-card__title { margin-top: clamp(2.5rem, 5vw, 5rem); font-size: clamp(1.7rem, 2.8vw, 2.6rem); font-weight: 400; letter-spacing: -0.035em; }
.why-card__text { margin-top: 1rem; max-width: 34rem; color: var(--muted); line-height: 1.55; font-size: 1.05rem; transition: color .5s; }

.offer { padding-bottom: clamp(5rem, 10vw, 10rem); }
.offer__list { border-bottom: 1px solid var(--border); margin-inline: var(--inner); }
.offer__item { display: flex; align-items: baseline; gap: clamp(1.4rem, 4vw, 4rem); padding: clamp(1.4rem, 2.6vw, 2.4rem) 0; border-top: 1px solid var(--border); }
.offer__num { color: var(--muted); font-size: .9rem; font-variant-numeric: tabular-nums; }
.offer__text { font-size: clamp(1.6rem, 3.6vw, 3.6rem); letter-spacing: -0.04em; line-height: 1.05; transition: transform .55s var(--ease); }
.offer__item:hover .offer__text { transform: translateX(14px); }

.partners { padding-bottom: clamp(5rem, 10vw, 10rem); }
.partners__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); gap: 1rem; padding-inline: var(--inner); }
.partners__item { display: grid; place-items: center; aspect-ratio: 3 / 2; padding: 1.6rem; background: var(--off); border-radius: 1rem; }
.partners__item a { display: grid; place-items: center; width: 100%; height: 100%; }
.partners__item img { max-height: 5rem; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .4s, opacity .4s; }
.partners__item:hover img { filter: none; opacity: 1; }

.partner-cta { padding-bottom: clamp(6rem, 11vw, 11rem); }
.partner-cta__box { margin-inline: var(--inner); padding: clamp(2.2rem, 6vw, 6rem); border-radius: 1.6rem; background: var(--off); }
.partner-cta__title { font-size: clamp(2.2rem, 5.4vw, 5.6rem); font-weight: 400; letter-spacing: -0.045em; line-height: 1.02; max-width: 14ch; }
.partner-cta__text { margin: 1.6rem 0 2.4rem; max-width: 36rem; color: var(--muted); font-size: 1.1rem; line-height: 1.55; }

/* =========================================================
   Media
   ========================================================= */
.downloads { padding-bottom: clamp(5rem, 9vw, 8rem); }
.downloads__list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; padding-inline: var(--inner); }
@media (max-width: 1200px) { .downloads__list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .downloads__list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .downloads__list { grid-template-columns: 1fr; } }
.download { position: relative; display: flex; flex-direction: column; min-height: 15rem; padding: 1.6rem; border-radius: 1.2rem; background: var(--off); overflow: hidden; transition: background .5s var(--ease), color .5s var(--ease); }
.download:hover { background: var(--dark); color: #fff; }
.download__type { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.download__title { margin-top: auto; font-size: clamp(1.6rem, 2.4vw, 2.2rem); letter-spacing: -0.035em; }
.download__desc { margin-top: .5rem; color: var(--muted); font-size: .92rem; line-height: 1.4; padding-right: 3.5rem; min-height: 4.2em; }
.download__icon { position: absolute; right: 1.4rem; bottom: 1.4rem; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--accent); color: #fff; transition: transform .5s var(--ease); }
.download:hover .download__icon { transform: translateY(-4px); }
.download:hover .download__type, .download:hover .download__desc { color: rgba(255,255,255,.65); }

.press-bio { padding-bottom: clamp(5rem, 9vw, 8rem); }
.press-bio__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.press-bio__head .section-label { margin-bottom: 0; }
.press-bio__text { max-width: 60rem; font-size: clamp(1.25rem, 2vw, 1.8rem); line-height: 1.45; letter-spacing: -0.015em; padding-inline: var(--inner); }

.articles { padding-bottom: clamp(5rem, 9vw, 8rem); }
.articles__list { border-bottom: 1px solid var(--border); margin-inline: var(--inner); }
.article-row a { display: grid; grid-template-columns: 9rem 12rem 1fr auto; gap: 1.5rem; align-items: center; padding: 1.5rem 0; border-top: 1px solid var(--border); transition: padding .5s var(--ease); }
.article-row a:hover { padding-left: 1rem; padding-right: 1rem; }
.article-row__date, .article-row__portal { color: var(--muted); font-size: .95rem; }
.article-row__title { font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.35; }
.article-row__icon { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid var(--border); transition: background .4s, color .4s, border-color .4s; }
.article-row a:hover .article-row__icon { background: var(--accent); color: #fff; border-color: var(--accent); }

.media-contact { padding-bottom: clamp(6rem, 10vw, 10rem); }
.media-contact__text { font-size: clamp(1.6rem, 3vw, 2.8rem); letter-spacing: -0.03em; line-height: 1.15; max-width: 22ch; margin-bottom: 2rem; padding-inline: var(--inner); }
.media-contact .pills { padding-inline: var(--inner); }
.pills--light .btn-pill--dark { color: var(--dark); border-color: var(--border); }
.pills--light .btn-pill--dark:hover { color: #fff; }

/* =========================================================
   Kontakt
   ========================================================= */
.contact { padding-bottom: clamp(6rem, 10vw, 10rem); }
.contact__list { border-bottom: 1px solid var(--border); margin-inline: var(--inner); }
.contact-row { position: relative; display: flex; align-items: center; border-top: 1px solid var(--border); }
.contact-row__link { flex: 1; display: grid; grid-template-columns: 3rem 10rem 1fr auto; align-items: center; gap: 1.2rem; padding: clamp(1.4rem, 2.6vw, 2.3rem) 0; }
.contact-row__icon .icon { width: 1.6rem; height: 1.6rem; }
.contact-row__label { color: var(--muted); }
.contact-row__value { font-size: clamp(1.4rem, 3.4vw, 3.2rem); letter-spacing: -0.035em; line-height: 1.1; word-break: break-word; transition: transform .55s var(--ease); }
.contact-row__link:hover .contact-row__value { transform: translateX(12px); }
.contact-row__arrow { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid var(--border); transition: background .4s, color .4s, border-color .4s, transform .5s var(--ease); }
.contact-row__link:hover .contact-row__arrow { background: var(--accent); color: #fff; border-color: var(--accent); transform: rotate(45deg); }
.contact-row__copy { display: inline-flex; align-items: center; gap: .4rem; margin-left: 1rem; padding: .6rem 1rem; border-radius: 999px; border: 1px solid var(--border); font-size: .85rem; color: var(--muted); transition: color .3s, border-color .3s; }
.contact-row__copy:hover { color: var(--dark); border-color: var(--dark); }
.contact__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: clamp(3rem, 6vw, 5rem) var(--inner) 0; }
.contact-card { position: relative; display: flex; flex-direction: column; gap: .6rem; padding: 2rem; border-radius: 1.2rem; background: var(--off); transition: background .5s var(--ease), color .5s var(--ease); }
.contact-card:hover { background: var(--dark); color: #fff; }
.contact-card__eyebrow { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-card__title { font-size: clamp(1.5rem, 2.6vw, 2.4rem); letter-spacing: -0.03em; }
.contact-card .icon { position: absolute; right: 2rem; bottom: 2rem; width: 1.8rem; height: 1.8rem; transition: transform .5s var(--ease); }
.contact-card:hover .icon { transform: translateX(6px); }

/* =========================================================
   Łuk i stopka
   ========================================================= */
.curve-wrap { position: relative; height: clamp(4rem, 10vw, 12rem); background: var(--dark); overflow: hidden; }
.curve { position: absolute; top: -1px; left: -10%; width: 120%; height: 100%; background: var(--light); border-radius: 0 0 50% 50%; box-shadow: 0 30px 60px -20px rgba(0,0,0,.35); }
.footer { position: relative; overflow: hidden; background: var(--dark); color: #fff; margin-top: -1px; }
.footer__inner { max-width: var(--maxw); margin: 0 auto; padding: clamp(2rem, 5vw, 5rem) var(--gutter) 1.8rem; }
.footer__title { display: flex; flex-direction: column; padding-inline: var(--inner); font-size: clamp(2.6rem, 6.4vw, 7rem); font-weight: 400; letter-spacing: -0.045em; line-height: 1.05; }
.footer__line { display: flex; align-items: center; gap: .25em; }
.footer__avatar { flex: none; width: .95em; height: .95em; border-radius: 50%; overflow: hidden; background: var(--gray); }
.footer__avatar img { width: 100%; height: 100%; object-fit: cover; }
.footer__divider { position: relative; height: 1px; background: var(--border-light); margin: clamp(4rem, 8vw, 8rem) var(--inner) clamp(3.5rem, 6vw, 5rem); }
.footer__arrow { position: absolute; right: 0; bottom: calc(100% + clamp(3rem, 6vw, 6rem)); width: clamp(1.8rem, 3vw, 3rem); height: auto; }
.footer__cta-wrap { position: absolute; right: 12%; top: 0; translate: 0 -50%; }
.footer__pills { padding-inline: var(--inner); }
.footer__bottom { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 2rem; padding-top: clamp(5rem, 10vw, 9rem); font-size: .95rem; }
.footer__meta { display: flex; flex-wrap: wrap; gap: clamp(2rem, 4vw, 3.5rem); }
.footer__label { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: .9rem; }

/* obrazki odsłaniane przy przewijaniu */
.img-reveal { clip-path: inset(0 0 0 0); }

/* =========================================================
   Responsywność
   ========================================================= */
@media (max-width: 1200px) {
  .nav__link { padding-inline: .6rem; font-size: .95rem; }
  .stats__grid { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(3) { border-right: 0; }
  .stat:nth-child(4) { padding-left: 0; }
  .stat { padding-bottom: 2.2rem; }
  .stat:nth-child(-n+3) { border-bottom: 1px solid var(--border); }
  .goals__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .nav { display: none; }
  .hero__location { top: 40%; padding: 1.1rem 1.1rem 1.1rem 1.6rem; gap: 1.6rem; }
  .globe { width: 3.8rem; }
  .bio-top, .partner-hero { grid-template-columns: 1fr; }
  .bio-top__img, .partner-hero__img { margin-inline: var(--inner); }
  .bio-top__img { aspect-ratio: 4 / 3; }
  .facts, .partner-hero__numbers { margin-inline: var(--inner); }
  .bio-body { grid-template-columns: 1fr; gap: 1rem; }
  .bio-body__content { padding-inline: var(--inner); }
  .podiums__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { columns: 2; }
  .article-row a { grid-template-columns: 7rem 1fr auto; }
  .article-row__portal { grid-column: 2; grid-row: 1; }
  .article-row__title { grid-column: 1 / 3; grid-row: 2; }
  .article-row__icon { grid-row: 1 / 3; grid-column: 3; }
}

@media (max-width: 768px) {
  :root { --inner: 0rem; }
  .logo { font-size: 1rem; }
  .logo__last { max-width: 7em; padding-left: .3em; opacity: 1; }

  .hero__portrait-wrap { height: min(70%, 32rem); }
  .hero__location { display: none; }
  .hero__role { right: auto; left: var(--gutter); top: calc(var(--gutter) + 5.5rem); bottom: auto; font-size: 1.3rem; }
  .marquee { bottom: auto; top: calc(var(--gutter) + 11.5rem); }
  .hero__arrow { margin-bottom: 1.1rem; }
  .marquee { font-size: 27vw; }

  .intro__grid { grid-template-columns: 1fr; gap: 2rem; padding-inline: var(--gutter); }
  .intro__side { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: start; }
  .intro__btn-wrap { margin-top: 0; }
  .btn-round { width: 7.8rem; font-size: .92rem; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 1.6rem 1rem 1.6rem 0 !important; border-right: 0 !important; border-bottom: 1px solid var(--border); }
  .stat:nth-child(even) { padding-left: 1rem !important; border-left: 1px solid var(--border); }

  .work__list { display: grid; gap: 3rem; border: 0; }
  .work__item { border: 0; }
  .work__link { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 0; }
  .work__thumb { display: block; aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 1.2rem; background: var(--dark); }
  .work__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .work__medal { order: 2; margin-bottom: .8rem; }
  .work__title { order: 3; font-size: 2rem; padding-bottom: .9rem; border-bottom: 1px solid var(--border); margin-bottom: .8rem; }
  .work__cat { order: 4; text-align: left; color: var(--muted); }
  .work__cat br { display: none; }
  .work__cat em::before { content: " · "; }

  .slides__card { width: 62vw; }
  .slides__row--2 { margin-left: -60vw; }

  .la28__track-wrap { overflow: visible; }
  .la28__track { flex-direction: column; width: auto; gap: 2.2rem; padding-inline: var(--gutter); }
  .step, .step--goals { width: auto; padding-right: 0; }

  .cta-band__row { flex-direction: column; align-items: flex-start; }

  .page-head { padding-top: 8rem; }
  .filters { position: relative; padding-inline: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .filters__group { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: .2rem; scrollbar-width: none; }
  .filters__group::-webkit-scrollbar { display: none; }
  .chip { white-space: nowrap; }
  .filters__count { margin-left: 0; }
  .timeline::before, .timeline__progress { left: .45rem; }
  .tl-year { grid-template-columns: 1fr; }
  .tl-year__label span { position: static; padding: 2rem 0 .6rem 1.8rem; font-size: 2.6rem; }
  .tl-year__list { padding-left: 1.8rem; }
  .tl-item { grid-template-columns: auto 1fr; }
  .tl-item::before { left: calc(-1.8rem + .45rem - 4.5px); }
  .tl-item__photo { grid-column: 2; width: 100%; height: auto; aspect-ratio: 16 / 10; }
  .podiums__grid, .goals__grid, .why__grid, .videos__grid, .contact__cards, .partner-hero__numbers { grid-template-columns: 1fr; }
  .kpi { border-right: 0 !important; padding-left: 0 !important; }
  .goal { min-height: 14rem; }
  .facts__row { grid-template-columns: 7.5rem 1fr; }

  .contact-row { flex-wrap: wrap; padding-bottom: 1rem; }
  .contact-row__link { grid-template-columns: 2.2rem 1fr auto; padding-bottom: .8rem; }
  .contact-row__label { grid-column: 2; grid-row: 1; font-size: .9rem; }
  .contact-row__value { grid-column: 1 / 3; grid-row: 2; font-size: 1.5rem; }
  .contact-row__arrow { grid-row: 1 / 3; grid-column: 3; }
  .contact-row__copy { margin-left: 0; }

  .article-row a { grid-template-columns: 1fr auto; gap: .5rem 1rem; }
  .article-row__date { grid-column: 1; grid-row: 1; }
  .article-row__portal { grid-column: 1; grid-row: 2; }
  .article-row__title { grid-column: 1; grid-row: 3; }
  .article-row__icon { grid-column: 2; grid-row: 1 / 4; }
  .press-bio__head { flex-direction: column; align-items: flex-start; }

  .map-section__head { align-items: flex-start; }
  .race-map { height: 70vh; }

  .footer__title { font-size: 12vw; }
  .footer__cta-wrap { right: 4%; }
  .footer__pills { flex-direction: column; align-items: stretch; }
  .btn-pill { padding: 1.15rem 1.8rem; }
  .footer__bottom { flex-direction: column-reverse; align-items: flex-start; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 1rem; margin: 0; }
}

@media (max-width: 480px) {
  .gallery__grid { columns: 1; }
}

@media (min-width: 541px) and (max-width: 768px) {
  .work__list { grid-template-columns: 1fr 1fr; gap: 3rem 1.5rem; }
  .gallery__grid { columns: 2; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
