:root {
  --amber: #f9b03b;
  --amber-light: #ffc55f;
  --amber-dark: #d88a14;
  --ink: #080808;
  --ink-soft: #151515;
  --paper: #f4f2ed;
  --white: #ffffff;
  --gray: #a9a9a9;
  --line: rgba(255, 255, 255, 0.13);
  --dark-line: rgba(8, 8, 8, 0.13);
  --radius: 1.25rem;
  --container: min(1180px, calc(100% - 40px));
  --shadow: 0 20px 70px rgba(0, 0, 0, 0.13);
  --player-photo-filter: saturate(0.76) contrast(1.07) brightness(0.96)
    sepia(0.035);
  --main-section-bg: url("../assets/images/site/bg-tlo-sekcjamain2.jpg");
  --header-height: 126px;
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--ink);
  font-family: Inter, "Arial Narrow", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

.container {
  width: var(--container);
  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;
}

.topbar {
  height: 38px;
  color: var(--ink);
  background: var(--amber);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.topbar__inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}

.topbar__links {
  display: flex;
  align-items: center;
  gap: 13px;
}

.topbar__links a {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  transition: background 180ms ease, transform 180ms ease;
}

.topbar__links a:hover {
  background: rgba(8, 8, 8, 0.1);
  transform: translateY(-1px);
}

.topbar__links svg {
  width: 17px;
  height: 17px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.topbar__links .social-icon__fill,
.topbar__links .social-icon__dot {
  fill: currentColor;
  stroke: none;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  color: var(--white);
  transition:
    background 250ms ease,
    transform 250ms ease,
    box-shadow 250ms ease;
}

.site-header--solid {
  background: var(--ink);
}

.site-header.is-scrolled {
  background: rgba(8, 8, 8, 0.94);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
}

.site-header--solid + main {
  padding-top: var(--header-height);
}

.nav {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
}

.brand__logo {
  display: block;
  width: auto;
  height: 62px;
  object-fit: contain;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.3vw, 34px);
  font-size: 0.86rem;
  font-weight: 700;
}

.nav__socials {
  display: none;
}

.nav__menu > a:not(.button) {
  position: relative;
  padding-block: 10px;
}

.nav__menu > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.nav__menu > a:hover::after,
.nav__menu > a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  color: inherit;
  border: 0;
  background: transparent;
}

.nav__toggle > span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  transition: transform 200ms ease, opacity 200ms ease;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 0 26px;
  color: var(--ink);
  border: 1px solid var(--amber);
  border-radius: 999px;
  background: var(--amber);
  box-shadow: 0 0 0 rgba(249, 176, 59, 0);
  font-size: 0.87rem;
  font-weight: 900;
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.button:hover {
  background: var(--amber-light);
  box-shadow: 0 12px 35px rgba(249, 176, 59, 0.22);
  transform: translateY(-2px);
}

.button--small {
  min-height: 44px;
  padding-inline: 21px;
}

.button--dark {
  color: var(--white);
  border-color: var(--ink);
  background: var(--ink);
}

.button--dark:hover {
  color: var(--ink);
  background: var(--white);
}

.button--outline-dark {
  color: var(--ink);
  border-color: var(--ink);
  background: transparent;
}

.button--outline-dark:hover {
  color: var(--white);
  background: var(--ink);
  box-shadow: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  padding-block: 7px;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
  font-weight: 800;
  transition: color 180ms ease, border-color 180ms ease;
}

.text-link span {
  color: var(--amber);
  font-size: 1.1rem;
}

.text-link:hover {
  color: var(--amber);
  border-color: var(--amber);
}

.text-link--dark {
  color: var(--ink);
  border-color: var(--dark-line);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--amber);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 34px;
  height: 2px;
  background: currentColor;
}

.eyebrow--dark {
  color: var(--amber-dark);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  margin-bottom: 24px;
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.93;
  text-transform: uppercase;
}

h1 em,
h2 em {
  color: var(--amber);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.04em;
  text-transform: none;
}

h1 {
  font-size: clamp(3.4rem, 7.6vw, 7.25rem);
}

h2 {
  font-size: clamp(2.7rem, 5.2vw, 5.2rem);
}

.hero {
  position: relative;
  min-height: 830px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background:
    radial-gradient(
      ellipse at 70% 30%,
      rgba(255, 207, 128, 0.2) 0%,
      rgba(249, 176, 59, 0.08) 15%,
      transparent 38%
    ),
    radial-gradient(
      ellipse at 88% 52%,
      rgba(255, 255, 255, 0.12) 0%,
      rgba(249, 176, 59, 0.05) 14%,
      transparent 34%
    ),
    radial-gradient(
      ellipse at 62% 72%,
      rgba(249, 176, 59, 0.1) 0%,
      transparent 30%
    ),
    linear-gradient(
      90deg,
      rgba(8, 8, 8, 0.94) 0%,
      rgba(8, 8, 8, 0.72) 48%,
      rgba(8, 8, 8, 0.48) 100%
    ),
    var(--main-section-bg) center 48% / cover no-repeat;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.12) 14%,
    rgba(0, 0, 0, 0.76) 38%,
    #000 56%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.12) 14%,
    rgba(0, 0, 0, 0.76) 38%,
    #000 56%
  );
  pointer-events: none;
}

.court-lines {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  opacity: 0.38;
  pointer-events: none;
}

.court-lines::before {
  position: absolute;
  top: 28%;
  right: -12%;
  width: 68%;
  height: 53%;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.21);
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(255, 255, 255, 0.19) 50%, transparent 50.2%),
    linear-gradient(transparent 49.8%, rgba(255, 255, 255, 0.15) 50%, transparent 50.2%);
  box-shadow:
    inset 0 0 80px rgba(0, 0, 0, 0.7),
    0 0 90px rgba(255, 255, 255, 0.04);
  transform: perspective(620px) rotateX(58deg) rotateZ(-7deg);
}

.court-lines::after {
  position: absolute;
  top: 36%;
  right: -5%;
  width: 60%;
  height: 2px;
  content: "";
  background: rgba(255, 255, 255, 0.22);
  box-shadow:
    0 6px rgba(255, 255, 255, 0.1),
    0 12px rgba(255, 255, 255, 0.07);
  transform: rotate(-5deg);
}

.hero__inner {
  position: relative;
  z-index: 4;
  display: flex;
  min-height: 830px;
  align-items: center;
  padding-top: 116px;
  padding-bottom: 95px;
}

.hero__content {
  max-width: 850px;
}

.hero__lead {
  max-width: 620px;
  margin-bottom: 34px;
  color: #d1d1d1;
  font-size: clamp(1rem, 1.5vw, 1.22rem);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 34px;
}

.section {
  position: relative;
  padding: 125px 0;
}

.section--light {
  color: var(--ink);
  background: var(--paper);
}

#wyroznieni {
  padding-top: 125px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: end;
  gap: 70px;
  margin-bottom: 60px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading__aside {
  padding-bottom: 8px;
}

.section-heading__aside > p,
.section-heading--compact > p {
  max-width: 450px;
  margin-bottom: 30px;
  color: #555;
}

.section-heading--compact {
  margin-bottom: 50px;
}

.section-heading--compact > p,
.section-heading--compact > a {
  justify-self: end;
}

.tab-links {
  display: flex;
  gap: 8px;
}

.tab-links button {
  padding: 11px 18px;
  color: #616161;
  border: 1px solid var(--dark-line);
  border-radius: 999px;
  background: transparent;
  font-size: 0.76rem;
  font-weight: 900;
  transition: 180ms ease;
}

.tab-links button:hover,
.tab-links button.is-active {
  color: var(--white);
  border-color: var(--ink);
  background: var(--ink);
}

.players-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.players-grid--featured {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.players-grid--related {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.players-grid--related .player-card {
  border-radius: 10px;
}

.players-grid--related .player-card:hover {
  transform: translateY(-5px);
}

.players-grid--related .player-card__media {
  aspect-ratio: 4 / 5;
}

.players-grid--related .player-card__media .status {
  top: 9px;
  left: 9px;
  min-height: 20px;
  padding-inline: 7px;
  font-size: 0.45rem;
}

.players-grid--related .player-card__content {
  min-height: 128px;
  padding: 14px 13px 16px;
}

.players-grid--related .player-card__content small {
  margin-bottom: 6px;
  font-size: 0.52rem;
  letter-spacing: 0.09em;
}

.players-grid--related .player-card__content h3 {
  margin-bottom: 9px;
  font-size: clamp(0.92rem, 1.15vw, 1.12rem);
  line-height: 0.98;
}

.players-grid--related .player-card__content p {
  align-items: flex-end;
  gap: 5px;
  font-size: 0.58rem;
  line-height: 1.25;
}

.players-grid--related .player-card__content p span {
  font-size: 0.82rem;
}

.players-grid--catalog {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
}

.players-grid--coaches {
  max-width: 720px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.players-grid--catalog .player-card {
  overflow: visible;
  margin-bottom: 27px;
  border-radius: 10px;
}

.players-grid--catalog .player-card:hover {
  transform: translateY(-5px);
}

.players-grid--catalog .player-card__media {
  aspect-ratio: 4 / 5;
  border-radius: 10px 10px 0 0;
}

.players-grid--catalog .player-card__media .status {
  top: 9px;
  left: 9px;
  min-height: 20px;
  padding-inline: 7px;
  font-size: 0.45rem;
  letter-spacing: 0.06em;
}

.players-grid--catalog .player-card__club {
  z-index: 7;
  top: auto;
  right: auto;
  bottom: -27px;
  left: 50%;
  width: 54px;
  height: 54px;
  padding: 7px;
  border: 1px solid rgba(8, 8, 8, 0.1);
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
  opacity: 1;
  transform: translateX(-50%);
}

.players-grid--catalog .player-card__content {
  min-height: 137px;
  padding: 14px 12px 37px;
}

.players-grid--catalog .player-card__content small {
  margin-bottom: 6px;
  font-size: 0.52rem;
  letter-spacing: 0.09em;
}

.players-grid--catalog .player-card__content h3 {
  margin-bottom: 9px;
  font-size: clamp(0.9rem, 1.15vw, 1.08rem);
  line-height: 0.96;
}

.players-grid--catalog .player-card__content p {
  align-items: flex-end;
  gap: 5px;
  font-size: 0.57rem;
  line-height: 1.25;
}

.players-grid--catalog .player-card__content p span {
  font-size: 0.8rem;
}

.position-groups {
  display: grid;
  gap: 86px;
}

.position-group {
  min-width: 0;
}

.position-group__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--dark-line);
}

.position-group__heading .eyebrow {
  margin-bottom: 10px;
}

.position-group__heading h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 4rem);
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.position-group__heading > span {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--ink);
  border: 1px solid rgba(8, 8, 8, 0.25);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 900;
}

.player-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  color: var(--white);
  border-radius: var(--radius);
  background: var(--ink-soft);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition:
    transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 260ms ease;
}

.player-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-8px);
}

.player-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(circle at 65% 28%, rgba(249, 176, 59, 0.32), transparent 35%),
    linear-gradient(145deg, #343434, #0b0b0b 68%);
}

.player-card__media::after {
  display: none;
  content: none;
}

.player-card__photo {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  clip-path: inset(2px);
  filter: var(--player-photo-filter);
  transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.player-card:hover .player-card__photo {
  transform: scale(1.035);
}

.player-card__media .status {
  position: absolute;
  z-index: 4;
  top: 16px;
  left: 16px;
}

.player-card__club {
  position: absolute;
  z-index: 4;
  right: 16px;
  bottom: 14px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.player-card__club img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none;
}

.player-card--featured .player-card__club {
  z-index: 7;
  top: auto;
  right: auto;
  bottom: -38px;
  left: 50%;
  width: 76px;
  height: 76px;
  padding: 9px;
  border: 1px solid rgba(8, 8, 8, 0.1);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
  opacity: 1;
  transform: translateX(-50%);
  transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.player-card--featured:hover .player-card__club {
  opacity: 1;
  transform: translateX(-50%) scale(1.035);
}

.player-card--featured .player-card__club img {
  filter: none;
}

.player-card--featured .player-card__media {
  background:
    radial-gradient(circle at 65% 28%, rgba(249, 176, 59, 0.32), transparent 35%),
    linear-gradient(145deg, #343434, #0b0b0b 68%);
}

.players-grid--featured .player-card {
  overflow: visible;
  margin-bottom: 38px;
}

.players-grid--featured .player-card__content {
  padding-bottom: 48px;
}

.player-card--featured.player-card--has-photo .player-card__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  transform: none;
  transform-origin: center bottom;
}

.player-card--featured.player-card--has-photo:hover .player-card__photo {
  transform: scale(1.025);
}

.players-grid--catalog .player-card__club img {
  filter: none;
}

.players-grid--catalog .player-card--has-photo .player-card__photo {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  transform: none;
  transform-origin: center bottom;
}

.players-grid--catalog .player-card--has-photo:hover .player-card__photo {
  transform: scale(1.025);
}

.players-grid--catalog .player-card--has-photo .player-card__media .status {
  z-index: 5;
  top: auto;
  right: 9px;
  bottom: 9px;
  left: auto;
}

.player-card__content {
  position: relative;
  z-index: 3;
  padding: 22px 22px 24px;
}

.player-card__content small {
  display: block;
  margin-bottom: 8px;
  color: var(--amber);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.player-card__content h3 {
  margin-bottom: 11px;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-transform: uppercase;
}

.player-card__content p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  color: #b8b8b8;
  font-size: 0.75rem;
}

.player-card__content p span {
  color: var(--white);
  font-size: 1rem;
}

.status {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 0.61rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.status--available {
  color: #0b442b;
  background: #95efbf;
}

.status--buyout {
  color: #4a2a00;
  background: var(--amber-light);
}

.status--unavailable {
  color: #f1f1f1;
  background: #515151;
}

.section-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 58px;
}

.featured-list-button {
  display: inline-flex;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 0 34px;
  color: var(--white);
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 0 12px 30px rgba(8, 8, 8, 0.12);
  font-size: clamp(0.82rem, 1.2vw, 1rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
  transition:
    color 200ms ease,
    background 200ms ease,
    transform 200ms ease,
    box-shadow 200ms ease;
}

.featured-list-button span {
  color: var(--amber);
  font-size: 1.2rem;
  transition: transform 200ms ease;
}

.featured-list-button:hover {
  color: var(--ink);
  background: var(--amber);
  box-shadow: 0 17px 38px rgba(8, 8, 8, 0.18);
  transform: translateY(-3px);
}

.featured-list-button:hover span {
  color: var(--ink);
  transform: translate(2px, -2px);
}

.featured-list-button--pdf {
  color: var(--ink);
  background: transparent;
  box-shadow: none;
}

.featured-list-button--pdf:hover {
  color: var(--white);
  background: var(--ink);
}

.featured-list-button--pdf:hover span {
  color: var(--amber);
  transform: translateY(2px);
}

.video-showcase {
  overflow: hidden;
  color: var(--ink);
  background: var(--amber);
}

.video-showcase > .container {
  position: relative;
  z-index: 1;
}

.video-showcase__heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: end;
  gap: 70px;
  margin-bottom: 52px;
}

.video-showcase .eyebrow {
  color: var(--ink);
}

.video-showcase h2 {
  max-width: 820px;
  margin-bottom: 0;
}

.video-showcase h2 em {
  color: var(--white);
}

.video-showcase__intro {
  display: grid;
  justify-items: start;
  gap: 24px;
}

.video-showcase__intro p {
  max-width: 420px;
  margin: 0;
  font-size: 1rem;
  font-weight: 650;
}

.video-showcase__channel {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(8, 8, 8, 0.42);
  font-size: 0.85rem;
  font-weight: 900;
  transition: gap 180ms ease, border-color 180ms ease;
}

.video-showcase__channel:hover {
  gap: 34px;
  border-color: var(--ink);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.video-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  color: var(--white);
  border: 1px solid rgba(8, 8, 8, 0.2);
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: 0 18px 45px rgba(8, 8, 8, 0.16);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.video-card:hover {
  box-shadow: 0 24px 55px rgba(8, 8, 8, 0.25);
  transform: translateY(-6px);
}

.video-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #1b1b1b;
}

.video-card__media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.45));
}

.video-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.video-card:hover .video-card__media img {
  transform: scale(1.045);
}

.video-card__play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  padding-left: 3px;
  color: var(--ink);
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  font-size: 1rem;
  transform: translate(-50%, -50%);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.video-card:hover .video-card__play {
  color: var(--amber);
  background: var(--ink);
  transform: translate(-50%, -50%) scale(1.08);
}

.video-card__content {
  display: flex;
  min-height: 178px;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px;
}

.video-card__content small {
  margin-bottom: 10px;
  color: var(--amber);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.video-card__content strong {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 24px;
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.12;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.video-card__link {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  color: #c9c9c9;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.68rem;
  font-weight: 800;
}

.video-card__link b {
  color: var(--amber);
  font-size: 1rem;
}

.about {
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.about > .container {
  position: relative;
  z-index: 2;
}

.about__glow {
  position: absolute;
  top: 22%;
  left: 50%;
  width: 70%;
  height: 440px;
  border-radius: 50%;
  background: rgba(249, 176, 59, 0.1);
  filter: blur(100px);
  pointer-events: none;
  transform: translateX(-50%);
}

.about__heading {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.about__heading .eyebrow {
  justify-content: center;
}

.about__heading h2 {
  margin-bottom: 22px;
}

.about__quote {
  max-width: 520px;
  margin: 0 auto;
  color: #aaa;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-style: italic;
  line-height: 1.5;
}

.about__quote cite {
  display: block;
  margin-top: 12px;
  color: var(--amber);
  font-family: Inter, "Arial Narrow", Arial, sans-serif;
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.team-stage {
  position: relative;
  z-index: 3;
  height: 570px;
  margin: 35px auto 0;
  isolation: isolate;
}

.team-stage__background {
  position: absolute;
  z-index: -3;
  top: -520px;
  right: 0;
  bottom: 0;
  left: 0;
  background: url("../assets/images/team/bg-team.jpg") center 14% / cover no-repeat;
  opacity: 0.14;
  -webkit-mask-image: radial-gradient(
    ellipse 50% 56% at 50% 45%,
    #000 18%,
    rgba(0, 0, 0, 0.88) 38%,
    rgba(0, 0, 0, 0.5) 62%,
    rgba(0, 0, 0, 0.14) 82%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 50% 56% at 50% 45%,
    #000 18%,
    rgba(0, 0, 0, 0.88) 38%,
    rgba(0, 0, 0, 0.5) 62%,
    rgba(0, 0, 0, 0.14) 82%,
    transparent 100%
  );
  pointer-events: none;
}

.team-stage::after {
  position: absolute;
  z-index: 8;
  right: 0;
  bottom: 0;
  left: 0;
  height: 105px;
  content: "";
  background: linear-gradient(
    180deg,
    rgba(8, 8, 8, 0) 0%,
    rgba(8, 8, 8, 0.2) 24%,
    rgba(8, 8, 8, 0.72) 70%,
    var(--ink) 100%
  );
  pointer-events: none;
}

.team-stage__line {
  position: absolute;
  z-index: 10;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--amber) 24%, var(--amber) 76%, transparent);
}

.team-person {
  position: absolute;
  bottom: 2px;
  left: var(--x);
  width: var(--size);
  height: var(--height);
  margin: 0;
  filter: drop-shadow(0 25px 24px rgba(0, 0, 0, 0.42));
  transform: translateX(-50%);
  transform-origin: center bottom;
  transition: filter 250ms ease, transform 250ms ease;
}

.team-person::after {
  position: absolute;
  z-index: -1;
  right: 8%;
  bottom: 0;
  left: 8%;
  height: 72%;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(249, 176, 59, 0.05));
}

.team-person img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.team-person:hover,
.team-person.is-active {
  filter:
    brightness(1.08)
    drop-shadow(0 25px 25px rgba(249, 176, 59, 0.13));
  transform: translateX(-50%) translateY(-9px);
}

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

.team-person--strzezek {
  --x: 8%;
  --size: 250px;
  --height: 485px;
  z-index: 1;
}

.team-person--gutkowski {
  --x: 24%;
  --size: 250px;
  --height: 485px;
  z-index: 2;
}

.team-person--adamski {
  --x: 40%;
  --size: 265px;
  --height: 500px;
  z-index: 5;
}

.team-person--ignat {
  --x: 52%;
  --size: 272px;
  --height: 505px;
  z-index: 6;
}

.team-person--tietianiec {
  --x: 70%;
  --size: 270px;
  --height: 485px;
  z-index: 4;
}

.team-person--peszko {
  --x: 87%;
  --size: 250px;
  --height: 485px;
  z-index: 3;
}

.team-details {
  position: relative;
  z-index: 6;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.team-detail {
  min-width: 0;
  padding: 25px 18px 27px;
  border-right: 1px solid var(--line);
  background: rgba(8, 8, 8, 0.9);
  transition:
    color 200ms ease,
    border-color 200ms ease,
    background-color 200ms ease;
}

.team-detail:last-child {
  border-right: 0;
}

.team-detail span {
  display: block;
  min-height: 29px;
  margin-bottom: 8px;
  color: var(--amber);
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-transform: uppercase;
}

.team-detail h3 {
  margin: 0;
  font-size: clamp(1rem, 1.7vw, 1.4rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-transform: uppercase;
}

.team-detail.is-active {
  color: var(--ink);
  border-color: rgba(8, 8, 8, 0.24);
  background: var(--amber);
}

.team-detail.is-active span {
  color: var(--ink);
}

.team-detail:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: -3px;
}

.about__description {
  display: flex;
  justify-content: center;
  margin-top: 70px;
  padding-top: 50px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.about__description p {
  max-width: 900px;
  margin-bottom: 0;
  color: var(--white);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.42;
}

.availability {
  color: var(--ink);
  background: var(--amber);
}

.section.availability {
  padding: 77px 0 97px;
}

.availability > .container {
  position: relative;
  z-index: 5;
}

.availability .eyebrow {
  color: var(--ink);
}

.availability h2 em {
  color: var(--white);
}

.availability .section-heading--compact > p {
  color: rgba(8, 8, 8, 0.67);
}

.roster-heading {
  display: grid;
  max-width: 780px;
  justify-items: center;
  margin: 0 auto 70px;
  text-align: center;
}

.roster-heading .eyebrow {
  justify-content: center;
}

.roster-heading h2 {
  margin-bottom: 0;
}

.roster-counters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  border-top: 2px solid rgba(8, 8, 8, 0.75);
  border-bottom: 2px solid rgba(8, 8, 8, 0.75);
}

.roster-counter {
  display: grid;
  min-width: 0;
  justify-items: center;
  padding: 34px 24px 42px;
  border-right: 1px solid rgba(8, 8, 8, 0.3);
  text-align: center;
}

.roster-counter:last-child {
  border-right: 0;
}

.roster-counter strong {
  display: block;
  color: var(--ink);
  font-size: clamp(5rem, 12vw, 10rem);
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  letter-spacing: -0.09em;
  line-height: 0.8;
}

.roster-counter strong.is-counting {
  animation: roster-count-enter 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.roster-counter span {
  margin-top: 24px;
  color: var(--ink);
  font-size: clamp(0.72rem, 1.1vw, 0.92rem);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.roster-counter--total strong {
  color: var(--white);
}

.roster-counter--total span {
  color: rgba(8, 8, 8, 0.75);
}

.roster-counter p {
  margin-bottom: 0;
}

.partners {
  overflow: hidden;
}

.section.section--light.partners {
  padding-top: 96px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 52px 22px;
}

.partner-card {
  min-width: 0;
}

.partner-card__photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  border: 1px solid rgba(8, 8, 8, 0.1);
  border-radius: calc(var(--radius) * 0.72);
  background: #dedbd4;
  box-shadow: 0 14px 36px rgba(8, 8, 8, 0.1);
  transition:
    border-color 250ms ease,
    box-shadow 250ms ease,
    transform 250ms ease;
}

.partner-card__photo::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 5px;
  content: "";
  background: var(--amber);
  transform: scaleX(0.28);
  transform-origin: left;
  transition: transform 300ms ease;
}

.partner-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms cubic-bezier(0.16, 1, 0.3, 1);
}

.partner-card__content {
  padding: 22px 2px 0;
}

.partner-card h3 {
  margin-bottom: 10px;
  font-size: clamp(1.15rem, 1.55vw, 1.55rem);
  letter-spacing: -0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.partner-card p {
  margin: 0;
  color: #9a6614;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.partner-card:hover .partner-card__photo {
  border-color: rgba(249, 176, 59, 0.65);
  box-shadow: 0 22px 48px rgba(8, 8, 8, 0.17);
  transform: translateY(-5px);
}

.partner-card:hover .partner-card__photo::after {
  transform: scaleX(1);
}

.partner-card:hover .partner-card__photo img {
  transform: scale(1.035);
}

.contact-section {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin-top: 0;
  padding: 148px 0 160px;
  color: var(--white);
  background:
    linear-gradient(rgba(8, 8, 8, 0.8), rgba(8, 8, 8, 0.8)),
    url("../assets/images/site/contact-bg.jpg") center 52% / cover no-repeat;
}

.contact-section::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.68) 42%,
    rgba(0, 0, 0, 0.16) 72%,
    transparent 100%
  );
  pointer-events: none;
}

.contact-section__grid {
  position: relative;
  z-index: 3;
}

.contact-section__content {
  max-width: 820px;
}

.contact-section h2 {
  margin-bottom: 44px;
}

.contact-details {
  display: grid;
  max-width: 610px;
  justify-items: start;
  gap: 8px;
}

.contact-details h3 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  letter-spacing: -0.02em;
}

.contact-details > a:not(.button) {
  font-size: 1.08rem;
  font-weight: 900;
}

.contact-details__link {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
}

.contact-details__link svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  color: var(--amber);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.contact-details__link span {
  overflow-wrap: anywhere;
}

.contact-details .button {
  margin-top: 24px;
}

.site-footer {
  padding: 35px 0;
  color: #808080;
  border-top: 1px solid var(--line);
  background: var(--ink);
  font-size: 0.7rem;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.site-footer__credits {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.site-footer__credits > span + span {
  padding-left: 9px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.site-footer__credits strong {
  color: inherit;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.page-hero {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.page-hero::before,
.profile-hero::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  content: "";
  background:
    linear-gradient(
      90deg,
      rgba(8, 8, 8, 0.95) 0%,
      rgba(8, 8, 8, 0.73) 50%,
      rgba(8, 8, 8, 0.48) 100%
    ),
    var(--main-section-bg) center 48% / cover no-repeat;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.12) 14%,
    rgba(0, 0, 0, 0.76) 38%,
    #000 56%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.12) 14%,
    rgba(0, 0, 0, 0.76) 38%,
    #000 56%
  );
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  z-index: 2;
  padding-top: 90px;
  padding-bottom: 115px;
}

.page-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(3.5rem, 7vw, 7rem);
}

.page-hero__inner > p:last-child {
  max-width: 550px;
  margin-bottom: 0;
  color: #bfbfbf;
}

.listing-section {
  min-height: 600px;
  padding-top: 70px;
}

.filters {
  display: grid;
  grid-template-columns: minmax(230px, 1.15fr) minmax(190px, 0.85fr) minmax(390px, 1.8fr) auto;
  align-items: end;
  gap: 16px;
  margin-bottom: 38px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--dark-line);
}

.filters > label {
  display: grid;
  gap: 8px;
}

.filters > label > span,
.status-filters legend {
  font-size: 0.63rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.filters select,
.filters input[type="search"] {
  width: 100%;
  height: 48px;
  padding: 0 42px 0 15px;
  color: var(--ink);
  border: 1px solid #d7d4ce;
  border-radius: 8px;
  outline: none;
  background: var(--white);
}

.filters input[type="search"] {
  padding-right: 15px;
}

.filters select:focus,
.filters input[type="search"]:focus {
  border-color: var(--amber-dark);
  box-shadow: 0 0 0 3px rgba(249, 176, 59, 0.14);
}

.filters input[type="search"]::placeholder {
  color: #9a9893;
}

.status-filters {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.status-filters legend {
  margin-bottom: 8px;
}

.status-filters__options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.status-filter-all {
  padding: 0;
  color: inherit;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.status-filters label {
  position: relative;
  display: block;
  cursor: pointer;
}

.status-filters input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.status-filters label span,
.status-filter-all span {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  color: #6f6d68;
  border: 1px solid #d7d4ce;
  border-radius: 8px;
  background: var(--white);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
  transition: 180ms ease;
}

.status-filters label span::before,
.status-filter-all span::before {
  display: grid;
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  place-items: center;
  content: "";
  color: var(--ink);
  border: 1px solid #bbb8b1;
  border-radius: 3px;
  font-size: 0.64rem;
  line-height: 1;
}

.status-filters input:checked + span {
  color: var(--ink);
  border-color: rgba(8, 8, 8, 0.55);
  background: #f2efe9;
}

.status-filters input:checked + span::before {
  content: "X";
  border-color: var(--amber);
  background: var(--amber);
}

.status-filter-all.is-active span {
  color: var(--ink);
  border-color: rgba(8, 8, 8, 0.55);
  background: #f2efe9;
}

.status-filter-all.is-active span::before {
  content: "X";
  border-color: var(--amber);
  background: var(--amber);
}

.status-filters input:focus-visible + span {
  border-color: var(--amber-dark);
  box-shadow: 0 0 0 3px rgba(249, 176, 59, 0.14);
}

.status-filter-all:focus-visible {
  outline: none;
}

.status-filter-all:focus-visible span {
  border-color: var(--amber-dark);
  box-shadow: 0 0 0 3px rgba(249, 176, 59, 0.14);
}

.filters > p {
  justify-self: end;
  margin: 0 0 13px;
  color: #6c6c6c;
  font-size: 0.75rem;
  font-weight: 800;
}

.filters--coaches {
  grid-template-columns: minmax(240px, 0.85fr) minmax(390px, 1.35fr) auto;
}

.empty-state {
  padding: 80px 20px;
  text-align: center;
}

.empty-state strong {
  font-size: 2rem;
}

.empty-state p {
  color: #707070;
}

.profile-hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.profile-hero__grid {
  position: relative;
  z-index: 3;
  display: grid;
  min-height: 690px;
  grid-template-columns: minmax(0, 1.25fr) minmax(420px, 0.9fr);
  align-items: center;
  gap: 24px;
  padding-top: 20px;
  padding-bottom: 34px;
}

.profile-name-row {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}

.profile-club {
  display: grid;
  align-content: center;
  justify-items: center;
  min-width: 0;
}

.profile-club img {
  width: 100%;
  max-height: 108px;
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 20px 25px rgba(0, 0, 0, 0.4));
}

.profile-photo-wrap {
  position: relative;
  align-self: end;
  min-width: 0;
  height: 660px;
  overflow: hidden;
}

.profile-photo-wrap img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: var(--player-photo-filter);
}

.profile-photo-wrap--has-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  margin-left: 0;
  object-fit: contain;
  object-position: center bottom;
  clip-path: inset(2px);
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 86%,
    rgba(0, 0, 0, 0.82) 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 86%,
    rgba(0, 0, 0, 0.82) 92%,
    transparent 100%
  );
}

.player-profile-page .profile-hero {
  overflow: visible;
}

.player-profile-page .profile-photo-wrap {
  overflow: visible;
}

.player-profile-page .profile-photo-wrap--has-photo img {
  clip-path: none;
  -webkit-mask-image: none;
  mask-image: none;
}

.player-profile-page .history-section {
  z-index: 4;
}

@media (min-width: 621px) {
  .player-profile-page .profile-photo-wrap--has-photo img {
    transform: translateY(58px) scale(1.085);
    transform-origin: center bottom;
  }
}

.profile-intro {
  position: relative;
  z-index: 6;
  min-width: 0;
  padding-bottom: 10px;
}

.profile-availability {
  display: flex;
  max-width: 430px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.profile-availability small {
  display: block;
  color: #aaa;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1.35;
  text-transform: uppercase;
}

.profile-intro h1 {
  display: grid;
  width: 100%;
  min-width: 0;
  margin-bottom: 0;
  font-size: var(--profile-name-size, clamp(3.1rem, 5.4vw, 5.6rem));
}

.profile-intro h1 span,
.profile-intro h1 strong {
  line-height: 0.87;
}

.profile-intro h1 span {
  font-family: Georgia, serif;
  font-size: 0.72em;
  font-style: italic;
  font-weight: 400;
  text-transform: none;
}

.profile-intro h1 strong {
  color: var(--amber);
  white-space: nowrap;
}

.profile-facts {
  width: 100%;
  margin: 0;
}

.profile-facts > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.profile-facts dt,
.profile-facts dd {
  margin: 0;
  font-size: 0.78rem;
}

.profile-facts dt {
  color: #a8a8a8;
}

.profile-facts dd {
  font-weight: 900;
  text-align: right;
}

.profile-contact-button {
  min-height: 48px;
  width: fit-content;
  margin: 26px 0 0;
  color: var(--ink);
  background: var(--amber);
}

.team-profile-name-row {
  display: block;
  margin-bottom: 0;
}

.team-profile-contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.team-profile-contact a {
  display: grid;
  min-width: 0;
  gap: 4px;
  padding: 14px 18px 14px 0;
}

.team-profile-contact a + a {
  padding-right: 0;
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.team-profile-contact small {
  color: #8e8e8e;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.team-profile-contact strong {
  overflow-wrap: anywhere;
  font-size: 0.86rem;
  line-height: 1.4;
  transition: color 180ms ease;
}

.team-profile-contact a:not(.is-empty):hover strong {
  color: var(--amber);
}

.team-profile-contact a.is-empty {
  color: #6f6f6f;
  cursor: default;
}

.team-profile-page .profile-intro-details {
  max-width: 650px;
}

.team-profile-page .profile-contact-button {
  margin-top: 36px;
}

.team-profile-page .profile-hero {
  overflow: visible;
}

.team-profile-page .profile-photo-wrap {
  overflow: visible;
}

.team-profile-page .profile-photo-wrap--has-photo img {
  clip-path: none;
  -webkit-mask-image: none;
  mask-image: none;
}

@media (min-width: 621px) {
  .team-profile-page .profile-photo-wrap--has-photo img {
    transform: translateY(36px) scale(1.12);
    transform-origin: center bottom;
  }
}

.team-profile-about {
  z-index: 4;
  padding-bottom: 110px;
  border-top: 2px solid var(--white);
}

.team-profile-about__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 90px;
}

.team-profile-about__copy {
  margin: 0;
  color: #3f3e3a;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.6;
}

.team-profile-history {
  padding-top: 105px;
  border-top: 1px solid var(--dark-line);
  background: #ebe8e1;
}

.history-section {
  padding-top: 105px;
}

.history-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
}

.career-list {
  counter-reset: career;
}

.career-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 25px;
  padding: 22px 0;
  border-bottom: 1px solid var(--dark-line);
  counter-increment: career;
}

.career-item::before {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  justify-self: end;
  color: #d0cec8;
  content: "0" counter(career);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.career-item span {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  color: var(--amber-dark);
  font-size: 0.83rem;
  font-weight: 900;
}

.career-item strong {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  padding-right: 55px;
}

.showcase-section {
  background: #171817;
}

.showcase-list {
  display: grid;
  gap: 12px;
}

.showcase-link {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease;
}

.showcase-link:hover {
  border-color: var(--orange);
  transform: translateX(5px);
}

.showcase-link span {
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 800;
}

.showcase-link strong {
  font-size: 1.05rem;
}

.showcase-link b {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 620px) {
  .showcase-link {
    grid-template-columns: 34px 1fr;
    padding: 18px;
  }

  .showcase-link b {
    grid-column: 2;
  }
}

.related-section {
  color: var(--white);
  background: var(--ink);
}

.related-section .section-heading--compact > a {
  align-self: end;
  margin-bottom: 9px;
}

.profile-error {
  min-height: 65vh;
  padding: 130px 20px;
  color: var(--white);
  text-align: center;
  background: var(--ink);
}

.profile-error h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
}

.generator-page {
  color: var(--white);
  background: var(--ink);
}

.generator-header {
  border-bottom: 1px solid var(--line);
}

.generator-header__inner {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
}

.generator-main {
  background:
    radial-gradient(circle at 10% 5%, rgba(249, 176, 59, 0.09), transparent 24%),
    var(--ink);
}

.generator-layout {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  gap: 75px;
  padding-top: 85px;
  padding-bottom: 110px;
}

.generator-intro {
  position: sticky;
  top: 30px;
  align-self: start;
}

.generator-intro h1 {
  font-size: clamp(3rem, 5.2vw, 5.2rem);
}

.generator-intro > p:not(.eyebrow) {
  color: #aaa;
}

.generator-intro ol {
  display: grid;
  gap: 13px;
  margin-top: 32px;
  padding-left: 20px;
  color: #d2d2d2;
  font-size: 0.82rem;
}

code {
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(249, 176, 59, 0.13);
  font-family: Consolas, monospace;
  font-size: 0.88em;
}

.generator-form {
  display: grid;
  gap: 25px;
}

.form-section {
  padding: 32px;
  color: var(--ink);
  border-radius: var(--radius);
  background: var(--paper);
}

.form-section__title {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 27px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--dark-line);
}

.form-section__title > span {
  color: var(--amber-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.form-section__title h2 {
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  line-height: 1;
  text-transform: none;
}

.form-section__title p {
  margin: 5px 0 0;
  color: #6e6e6e;
  font-size: 0.75rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-grid label,
.history-row label {
  display: grid;
  gap: 7px;
}

.form-grid label > span,
.history-row label > span {
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-grid input,
.form-grid select,
.history-row input {
  width: 100%;
  height: 47px;
  padding: 0 13px;
  border: 1px solid #d6d2ca;
  border-radius: 7px;
  outline: 0;
  background: var(--white);
}

.form-grid input:focus,
.form-grid select:focus,
.history-row input:focus {
  border-color: var(--amber-dark);
  box-shadow: 0 0 0 3px rgba(249, 176, 59, 0.14);
}

.history-fields {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.history-row {
  display: grid;
  grid-template-columns: 0.55fr 1fr auto;
  align-items: end;
  gap: 12px;
  padding: 15px;
  border: 1px solid var(--dark-line);
  border-radius: 10px;
  background: var(--white);
}

.history-row button {
  width: 42px;
  height: 42px;
  color: #7d1e1e;
  border: 0;
  border-radius: 7px;
  background: #fae4e4;
  font-weight: 900;
}

.generator-submit {
  min-height: 62px;
  border-radius: 12px;
  font-size: 1rem;
}

.generator-result {
  padding: 90px 0;
  color: var(--white);
  border-top: 1px solid var(--line);
  background: #111;
}

.generator-result__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 25px;
}

.generator-result__heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.7rem);
  text-transform: none;
}

.generator-result pre {
  max-height: 600px;
  overflow: auto;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #060606;
  white-space: pre-wrap;
}

.generator-result pre code {
  padding: 0;
  color: #f3d59e;
  background: transparent;
  font-size: 0.8rem;
}

.copy-message {
  min-height: 24px;
  color: var(--amber);
  font-weight: 800;
}

.reveal {
  opacity: 1;
  transform: none;
}

.reveal[data-reveal-ready] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal--delay {
  transition-delay: 100ms;
}

.reveal--delay-2 {
  transition-delay: 200ms;
}

.reveal--delay-3 {
  transition-delay: 300ms;
}

.reveal[data-reveal-ready].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.team-detail.reveal[data-reveal-ready] {
  transition:
    opacity 700ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1),
    color 200ms ease,
    border-color 200ms ease,
    background-color 200ms ease;
}

/* Zwarty desktop dla 13-calowych laptopów (typowo 1280-1440 x 800-900). */
@media (min-width: 881px) and (max-width: 1440px) {
  :root {
    --container: min(1120px, calc(100% - 48px));
    --header-height: 108px;
  }

  .topbar {
    height: 32px;
    font-size: 0.68rem;
  }

  .nav {
    min-height: 76px;
    gap: 28px;
  }

  .brand__logo {
    height: 52px;
  }

  .nav__menu {
    gap: clamp(14px, 1.6vw, 24px);
    font-size: 0.8rem;
  }

  .button--small {
    min-height: 40px;
    padding-inline: 18px;
  }

  h2 {
    font-size: clamp(2.7rem, 4.6vw, 4.5rem);
  }

  .hero,
  .hero__inner {
    min-height: clamp(700px, 100vh, 820px);
    min-height: clamp(700px, 100svh, 820px);
  }

  .hero__inner {
    padding-top: 108px;
    padding-bottom: 70px;
  }

  .hero__content {
    max-width: 760px;
  }

  .hero h1 {
    font-size: clamp(4.5rem, 6.6vw, 6rem);
  }

  .hero__lead {
    max-width: 560px;
    margin-bottom: 28px;
    font-size: clamp(1rem, 1.25vw, 1.12rem);
  }

  .section {
    padding: 96px 0;
  }

  .section-heading {
    gap: 50px;
    margin-bottom: 48px;
  }

  .players-grid {
    gap: 18px;
  }

  .players-grid--catalog {
    gap: 12px;
  }

  .section-cta {
    margin-top: 46px;
  }

  .team-stage {
    height: 480px;
    margin-top: 28px;
  }

  .team-person--strzezek,
  .team-person--gutkowski,
  .team-person--peszko {
    --size: 215px;
    --height: 410px;
  }

  .team-person--adamski {
    --size: 228px;
    --height: 424px;
  }

  .team-person--ignat {
    --size: 234px;
    --height: 428px;
  }

  .team-person--tietianiec {
    --size: 232px;
    --height: 412px;
  }

  .team-detail {
    padding: 22px 15px 24px;
  }

  .about__description {
    margin-top: 52px;
    padding-top: 40px;
  }

  .roster-heading {
    margin-bottom: 52px;
  }

  .roster-counter {
    padding: 30px 20px 36px;
  }

  .roster-counter strong {
    font-size: clamp(4.5rem, 10vw, 8rem);
  }

  .roster-counter span {
    margin-top: 20px;
  }

  .contact-section {
    padding: 118px 0 130px;
  }

  .page-hero {
    min-height: 370px;
  }

  .page-hero__inner {
    padding-top: 75px;
    padding-bottom: 100px;
  }

  .page-hero h1 {
    font-size: clamp(3.5rem, 6vw, 6rem);
  }

  .listing-section {
    padding-top: 55px;
  }

  .profile-hero,
  .profile-hero__grid {
    min-height: 620px;
  }

  .profile-photo-wrap {
    height: 590px;
  }

  .profile-intro h1 {
    font-size: clamp(3rem, 4.8vw, 4.8rem);
  }

  .history-section {
    padding-top: 80px;
  }

  .history-grid {
    gap: 65px;
  }

  .generator-layout {
    gap: 55px;
    padding-top: 70px;
    padding-bottom: 90px;
  }
}

@media (min-width: 881px) and (max-width: 1440px) and (max-height: 820px) {
  .hero,
  .hero__inner {
    min-height: max(680px, 100vh);
    min-height: max(680px, 100svh);
  }

  .hero__inner {
    padding-top: 100px;
    padding-bottom: 52px;
  }

  .hero h1 {
    font-size: clamp(4.35rem, 6.2vw, 5.5rem);
  }

  .hero__lead {
    margin-bottom: 24px;
  }

}

@media (max-width: 1050px) {
  .nav {
    gap: 20px;
  }

  .nav__menu {
    gap: 14px;
    font-size: 0.78rem;
  }

  .brand__logo {
    height: 54px;
  }

  .filters,
  .filters--coaches {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .status-filters {
    grid-column: 1 / -1;
  }

  .filters > p {
    grid-column: 1 / -1;
  }

  .players-grid--featured {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .players-grid--catalog {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .players-grid--coaches {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .profile-hero__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(380px, 0.9fr);
    gap: 20px;
  }

  .contact-section__grid {
    gap: 50px;
  }
}

@media (max-width: 880px) {
  :root {
    --container: min(100% - 30px, 720px);
    --header-height: 114px;
  }

  .topbar__inner {
    justify-content: center;
  }

  .topbar__inner > span {
    overflow: hidden;
    max-width: 100%;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .topbar__links {
    display: none;
  }

  .nav {
    position: relative;
    min-height: 76px;
    justify-content: flex-start;
  }

  .nav > .brand {
    margin-inline: 0;
  }

  .nav__toggle {
    position: absolute;
    z-index: 70;
    right: 0;
    display: block;
  }

  .nav__toggle[aria-expanded="true"] > span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav__toggle[aria-expanded="true"] > span:nth-child(2) {
    opacity: 0;
  }

  .nav__toggle[aria-expanded="true"] > span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav__menu {
    position: fixed;
    z-index: 60;
    inset: 0;
    display: flex;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    visibility: hidden;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding:
      calc(112px + env(safe-area-inset-top))
      8vw
      calc(36px + env(safe-area-inset-bottom));
    background: var(--ink);
    font-size: clamp(1.8rem, 7vw, 3.6rem);
    text-align: center;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    transform: translateY(-15px);
    transition: 220ms ease;
  }

  body.menu-open .site-header,
  body.menu-open .site-header.is-scrolled {
    background: var(--ink);
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .nav__menu.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .nav__menu .button {
    margin-top: 15px;
    font-size: 0.95rem;
  }

  .nav__socials {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 22px;
    color: var(--amber);
  }

  .nav__socials a {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(249, 176, 59, 0.42);
    border-radius: 50%;
  }

  .nav__socials svg {
    width: 20px;
    height: 20px;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
  }

  .nav__socials .social-icon__fill,
  .nav__socials .social-icon__dot {
    fill: currentColor;
    stroke: none;
  }

  .filters,
  .filters--coaches {
    grid-template-columns: 1fr;
  }

  .status-filters,
  .filters > p {
    grid-column: auto;
  }

  .hero {
    min-height: 780px;
    background: var(--ink);
  }

  .page-hero,
  .profile-hero {
    background: var(--ink);
  }

  .hero::before {
    background-size: auto, auto, auto, auto, cover;
    background-position: center, center, center, center, center 48%;
  }

  .page-hero::before,
  .profile-hero::before {
    background-size: auto, cover;
    background-position: center, center 48%;
  }

  .hero__inner {
    min-height: 780px;
    padding-top: 145px;
  }

  .section-heading,
  .section-heading--compact,
  .contact-section__grid,
  .history-grid,
  .team-profile-about__grid,
  .generator-layout {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .section-heading--compact {
    align-items: start;
    gap: 30px;
  }

  .section-heading--compact > p,
  .section-heading--compact > a {
    justify-self: start;
  }

  .players-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .players-grid--related {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .players-grid--catalog {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .players-grid--coaches {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .roster-counters {
    grid-template-columns: repeat(2, 1fr);
  }

  .roster-counter:nth-child(2n) {
    border-right: 0;
  }

  .roster-counter:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(8, 8, 8, 0.3);
  }

  .partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 45px 20px;
  }

  .team-stage {
    height: 465px;
  }

  .team-person--strzezek {
    --x: 7%;
    --size: 190px;
    --height: 380px;
  }

  .team-person--gutkowski {
    --x: 23%;
    --size: 190px;
    --height: 380px;
  }

  .team-person--adamski {
    --x: 40%;
    --size: 202px;
    --height: 392px;
  }

  .team-person--ignat {
    --x: 52%;
    --size: 208px;
    --height: 396px;
  }

  .team-person--tietianiec {
    --x: 70%;
    --size: 210px;
    --height: 380px;
  }

  .team-person--peszko {
    --x: 87%;
    --size: 190px;
    --height: 380px;
  }

  .team-details {
    grid-template-columns: repeat(3, 1fr);
  }

  .team-detail:nth-child(3) {
    border-right: 0;
  }

  .team-detail:nth-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .profile-hero__grid {
    min-height: 780px;
    grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
    align-items: end;
    padding-top: 65px;
  }

  .profile-photo-wrap {
    grid-column: 1;
    grid-row: 1;
    height: 540px;
  }

  .profile-photo-wrap--has-photo img {
    inset: 0;
    width: 100%;
    height: 100%;
    margin-left: 0;
    object-fit: contain;
    object-position: center bottom;
  }

  .profile-intro {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    padding-top: 40px;
  }

  .profile-intro h1 {
    max-width: 500px;
  }

  .profile-facts {
    margin-left: 0;
  }

  .profile-contact-button {
    margin-left: 0;
  }

  .generator-layout {
    gap: 45px;
  }

  .generator-intro {
    position: static;
  }
}

@media (max-width: 620px) {
  :root {
    --container: calc(100% - 24px);
    --radius: 1rem;
  }

  .topbar {
    height: 34px;
    font-size: 0.62rem;
  }

  .topbar__inner > span {
    max-width: 100%;
  }

  .nav {
    min-height: 70px;
  }

  .brand__logo {
    height: 48px;
  }

  h1 {
    font-size: clamp(3.1rem, 17vw, 5.2rem);
  }

  h2 {
    font-size: clamp(2.4rem, 13vw, 4rem);
  }

  .hero,
  .hero__inner {
    min-height: 730px;
  }

  .hero {
    background: var(--ink);
  }

  .page-hero,
  .profile-hero {
    background: var(--ink);
  }

  .hero::before {
    background-size: auto, auto, auto, auto, cover;
    background-position: center, center, center, center, 58% center;
    -webkit-mask-image: linear-gradient(
      90deg,
      transparent 0%,
      rgba(0, 0, 0, 0.22) 10%,
      #000 44%
    );
    mask-image: linear-gradient(
      90deg,
      transparent 0%,
      rgba(0, 0, 0, 0.22) 10%,
      #000 44%
    );
  }

  .page-hero::before,
  .profile-hero::before {
    background-size: auto, cover;
    background-position: center, 58% center;
    -webkit-mask-image: linear-gradient(
      90deg,
      transparent 0%,
      rgba(0, 0, 0, 0.22) 10%,
      #000 44%
    );
    mask-image: linear-gradient(
      90deg,
      transparent 0%,
      rgba(0, 0, 0, 0.22) 10%,
      #000 44%
    );
  }

  .profile-hero::before {
    background-position: center, 58% -110px;
  }

  .hero__inner {
    padding-top: 135px;
  }

  .hero__lead {
    font-size: 0.96rem;
  }

  .hero__actions {
    width: 100%;
    align-items: center;
    flex-direction: column;
    gap: 20px;
  }

  .hero__actions .button,
  .hero__actions .text-link {
    align-self: center;
  }

  .section-heading__aside {
    text-align: center;
  }

  .section-heading.reveal.is-visible {
    margin-bottom: 20px;
  }

  .section-heading__aside > p {
    margin-inline: auto;
  }

  .tab-links {
    justify-content: center;
  }

  .section {
    padding: 85px 0;
  }

  .video-showcase__heading {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 40px;
  }

  .video-showcase__intro {
    max-width: 560px;
  }

  .section.section--light.listing-section {
    padding: 32px 0;
  }

  .section-cta {
    margin-top: 40px;
  }

  .featured-list-button {
    width: min(100%, 310px);
    min-height: 58px;
    gap: 18px;
    padding-inline: 20px;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .video-card__content {
    min-height: 154px;
    padding: 19px;
  }

  .players-grid {
    grid-template-columns: 1fr;
  }

  .players-grid--featured {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .players-grid--featured .player-card {
    margin-bottom: 31px;
    border-radius: 10px;
  }

  .players-grid--featured .player-card__club {
    bottom: -31px;
    width: 62px;
    height: 62px;
    padding: 7px;
    border-radius: 8px;
  }

  .players-grid--featured .player-card__media {
    aspect-ratio: 4 / 5;
  }

  .players-grid--featured .player-card__content {
    min-height: 118px;
    padding: 12px 10px 40px;
  }

  .players-grid--featured .player-card__content small {
    margin-bottom: 5px;
    font-size: 0.47rem;
    letter-spacing: 0.08em;
  }

  .players-grid--featured .player-card__content h3 {
    margin-bottom: 7px;
    font-size: clamp(0.82rem, 4vw, 1rem);
    line-height: 0.98;
  }

  .players-grid--featured .player-card__content p {
    gap: 4px;
    font-size: 0.68rem;
    line-height: 1.2;
  }

  .players-grid--catalog .player-card__content p,
  .players-grid--related .player-card__content p {
    font-size: 0.68rem;
  }

  .players-grid--featured .player-card__content p span {
    font-size: 0.75rem;
  }

  .players-grid--featured .player-card__media .status {
    top: 8px;
    left: 8px;
    min-height: 19px;
    padding-inline: 6px;
    font-size: 0.42rem;
  }

  .players-grid--related {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .players-grid--catalog {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .players-grid--coaches {
    max-width: none;
    grid-template-columns: 1fr;
  }

  .status-filters__options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .player-card__media {
    aspect-ratio: 1 / 1.08;
  }

  .players-grid--catalog .player-card__media {
    aspect-ratio: 4 / 5;
  }

  .players-grid--catalog .player-card__content h3 {
    font-size: clamp(0.7rem, 3vw, 0.78rem);
    line-height: 0.96;
  }

  .position-groups {
    gap: 62px;
  }

  .position-group__heading {
    margin-bottom: 20px;
  }

  .position-group__heading > span {
    width: 38px;
    height: 38px;
  }

  .roster-heading {
    margin-bottom: 45px;
  }

  .availability .roster-heading h2 {
    font-size: clamp(1.9rem, 8.2vw, 2.35rem);
  }

  .section.availability {
    padding-bottom: 64px;
  }

  .roster-counters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .roster-counter {
    padding: 24px 10px 28px;
    border-right: 1px solid rgba(8, 8, 8, 0.3);
    border-bottom: 0;
  }

  .roster-counter:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(8, 8, 8, 0.3);
  }

  .roster-counter:nth-child(2n) {
    border-right: 0;
  }

  .roster-counter strong {
    font-size: clamp(3.25rem, 18vw, 4.75rem);
  }

  .roster-counter span {
    margin-top: 14px;
    font-size: clamp(0.58rem, 2.7vw, 0.7rem);
  }

  .partners-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .partner-card {
    width: min(100%, 420px);
    margin-inline: auto;
  }

  .partner-card__content {
    padding-top: 18px;
    text-align: center;
  }

  .partner-card h3 {
    font-size: 1.45rem;
  }

  .about__quote {
    max-width: 330px;
  }

  .team-stage {
    width: calc(100% + 24px);
    height: 340px;
    margin-left: -12px;
  }

  .team-stage__background {
    top: -330px;
    background-position: center 20%;
  }

  .team-stage::after {
    height: 75px;
  }

  .team-person--strzezek {
    --x: 4%;
    --size: 135px;
    --height: 272px;
  }

  .team-person--gutkowski {
    --x: 21%;
    --size: 135px;
    --height: 272px;
  }

  .team-person--adamski {
    --x: 40%;
    --size: 144px;
    --height: 282px;
  }

  .team-person--ignat {
    --x: 52%;
    --size: 148px;
    --height: 286px;
  }

  .team-person--tietianiec {
    --x: 70%;
    --size: 148px;
    --height: 272px;
  }

  .team-person--peszko {
    --x: 88%;
    --size: 135px;
    --height: 272px;
  }

  .team-details {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-detail,
  .team-detail:nth-child(3) {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .team-detail:nth-child(even) {
    border-right: 0;
  }

  .team-detail:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .team-detail {
    padding: 20px 14px 22px;
  }

  .team-detail h3 {
    font-size: 1.05rem;
  }

  .about__description {
    margin-top: 50px;
    padding-top: 38px;
    border-top: 0;
  }

  .contact-section {
    margin-top: 0;
    padding: 103px 0 105px;
  }

  .contact-section h2 {
    margin-bottom: 34px;
  }

  .contact-section__content {
    margin-inline: auto;
    text-align: center;
  }

  .contact-section .eyebrow {
    justify-content: center;
  }

  .contact-details {
    justify-items: center;
    margin-inline: auto;
    text-align: center;
  }

  .contact-details .button {
    justify-self: center;
  }

  #wyroznieni .eyebrow span {
    display: none;
  }

  .site-footer__inner {
    align-items: center;
    flex-direction: column;
  }

  .site-footer__credits {
    align-items: center;
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }

  .site-footer__credits > span + span {
    padding-left: 0;
    border-left: 0;
  }

  .page-hero {
    min-height: 370px;
  }

  .page-hero__inner {
    padding-top: 70px;
    padding-bottom: 100px;
  }

  .filters {
    grid-template-columns: 1fr;
  }

  .filters > p {
    justify-self: start;
    margin: 4px 0 0;
  }

  .profile-hero__grid {
    min-height: 0;
    grid-template-columns: 1fr;
    align-content: start;
    row-gap: 0;
    padding-top: 20px;
    padding-bottom: 70px;
  }

  .profile-intro {
    display: contents;
  }

  .profile-intro-details {
    position: relative;
    z-index: 6;
    grid-column: 1;
    grid-row: 3;
    padding-top: 12px;
  }

  .profile-name-row {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 22px;
  }

  .profile-facts {
    width: calc(100% + 24px);
    margin: 0 -12px;
    padding: 14px 12px 28px;
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.96) 0%,
      rgba(0, 0, 0, 0.78) 70%,
      rgba(0, 0, 0, 0) 100%
    );
  }

  .profile-club {
    position: static;
    width: 68px;
  }

  .profile-club img {
    width: 68px;
    max-height: 68px;
  }

  .profile-photo-wrap {
    grid-column: 1;
    grid-row: 2;
    height: clamp(480px, 68svh, 540px);
  }

  .profile-photo-wrap--has-photo img {
    inset: 0;
    width: 100%;
    height: 100%;
    margin-left: 0;
    object-fit: contain;
    object-position: center bottom;
  }

  .profile-availability {
    z-index: 7;
    width: 100%;
    max-width: none;
    grid-column: 1;
    grid-row: 1;
    flex-wrap: wrap;
    margin-bottom: 8px;
  }

  .profile-availability .status {
    width: fit-content;
  }

  .profile-contact-button {
    width: 100%;
    margin-left: 0;
  }

  .history-grid {
    gap: 35px;
  }

  .team-profile-about__grid {
    gap: 35px;
  }

  .team-profile-contact {
    grid-template-columns: 1fr;
  }

  .team-profile-contact a,
  .team-profile-contact a + a {
    padding: 13px 0;
    border-left: 0;
  }

  .team-profile-contact a + a {
    border-top: 1px solid var(--line);
  }

  .section.section--light.history-section {
    padding: 25px 0;
  }

  .section.related-section {
    padding-top: 45px;
    padding-bottom: 30px;
  }

  .career-item {
    grid-template-columns: 90px 1fr;
  }

  .form-section {
    padding: 22px 16px;
  }

  .form-grid,
  .history-row {
    grid-template-columns: 1fr;
  }

  .history-row button {
    width: 100%;
  }

  .generator-header__inner .text-link {
    display: none;
  }

  .generator-result__heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

@keyframes roster-count-enter {
  0% {
    opacity: 0.35;
    transform: translateY(18px) scale(0.92);
  }

  65% {
    opacity: 1;
    transform: translateY(0) scale(1.035);
  }

  100% {
    opacity: 1;
    transform: none;
  }
}

@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
