@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&display=swap");

:root {
  --section-space: clamp(48px, 6vw, 80px);
  --section-space-light: clamp(36px, 4vw, 48px);
  --section-heading-space: clamp(24px, 3vw, 40px);
  --section-grid-gap: clamp(20px, 4vw, 48px);
  --font-action-weight: 600;
  --amber: #f9b03b;
  --amber-light: #ffc55f;
  --amber-dark: #d88a14;
  --ink: #080808;
  --ink-soft: #151515;
  --paper: #f4f2ed;
  --white: #ffffff;
  --gray: #a9a9a9;
  --font-copy: "Poppins", sans-serif;
  --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-opt.webp");
  --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: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

main p {
  font-family: var(--font-copy);
}

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

/* Ikony SVG wstawiane w tekst (strzałki, przycisk odtwarzania). */
.icon-inline {
  display: inline-block;
  vertical-align: -0.125em;
}

.icon-block {
  display: block;
}

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

.topbar__mobile-break {
  display: none;
}

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

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

.language-switcher {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  margin-right: 18px;
  color: rgba(8, 8, 8, 0.5);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}

.language-switcher button {
  padding: 3px 2px;
  color: inherit;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: var(--font-action-weight);
  cursor: pointer;
  transition: color 160ms ease;
}

.language-switcher button:hover,
.language-switcher button:focus-visible,
.language-switcher button.is-active {
  color: var(--ink);
}

.language-switcher button.is-active {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.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: var(--font-action-weight);
  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--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: var(--font-action-weight);
  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);
}

.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: none;
}

.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: none;
}

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

.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 h1 {
  margin-bottom: clamp(38px, 3.2vw, 52px);
}

.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: var(--section-space) 0;
}

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

.section.section--light {
  padding-top: var(--section-space-light);
  padding-bottom: var(--section-space-light);
}

.ksm-clubs {
  padding: var(--section-space-light) 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--font-copy);
}

.ksm-clubs[hidden] {
  display: none;
}

.ksm-clubs__intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: var(--container);
  margin: 0 auto 24px;
}

.ksm-clubs__title {
  max-width: 40ch;
  margin: 0;
  font-family: var(--font-copy);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: normal;
  line-height: 1.4;
}

.ksm-clubs__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 28px;
}

.ksm-clubs__link {
  font-family: var(--font-copy);
  white-space: nowrap;
}

.ksm-clubs__link:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.ksm-clubs__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.ksm-clubs__track {
  display: flex;
  width: max-content;
  /* Reserve the row height so the page does not jump when the logos arrive. */
  min-height: 88px;
  opacity: 0;
  transition: opacity 0.5s ease;
  animation: ksm-clubs-scroll var(--ksm-clubs-duration, 30s) linear infinite;
}

.ksm-clubs.is-ready .ksm-clubs__track {
  opacity: 1;
}

.ksm-clubs__list {
  display: flex;
  flex: none;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ksm-clubs__item {
  display: flex;
  flex: 0 0 120px;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 88px;
  padding: 10px 18px;
}

.ksm-clubs__item img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

@keyframes ksm-clubs-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 600px) {
  .ksm-clubs { padding: var(--section-space-light) 0; }
  .ksm-clubs__intro { align-items: flex-start; flex-direction: column; }
  .ksm-clubs__actions { justify-content: flex-start; }
  .ksm-clubs__item { flex-basis: 96px; width: 96px; height: 72px; }
  .ksm-clubs__track { min-height: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  .ksm-clubs__viewport { overflow-x: auto; }
  .ksm-clubs__track { animation: none; transition: none; }
  .ksm-clubs__list--copy { display: none; }
}

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

.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: 24px;
  color: #555;
}

.section-heading--compact {
  margin-bottom: var(--section-heading-space);
}

.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: var(--font-action-weight);
  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 {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.players-grid--coaches {
  max-width: none;
}

.players-grid__row {
  content-visibility: auto;
  contain-intrinsic-size: auto 360px;
  display: flex;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

[data-roster-rendered] .players-grid__row {
  flex-wrap: wrap;
}

.players-grid__row .player-card {
  flex: 0 0 calc((100% - 48px) / 5);
  min-width: 0;
}

.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.08);
  border-radius: 7px;
  background: #fff;
  box-shadow:
    0 6px 14px rgba(0, 0, 0, 0.18),
    0 2px 4px rgba(0, 0, 0, 0.08);
  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: 1.2rem;
  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;
  overflow: hidden;
  padding: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.18),
    0 1px 2px rgba(0, 0, 0, 0.08);
}

.player-card__club img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  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.08);
  border-radius: 9px;
  background: #fff;
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.18),
    0 2px 4px rgba(0, 0, 0, 0.08);
  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;
}

.player-card__club.player-card__club--wide {
  width: 88px;
  padding: 3px;
  overflow: hidden;
  border-radius: 8px;
}

.player-card__club.player-card__club--wide img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.players-grid--catalog .player-card__club.player-card__club--wide {
  width: 94px;
}

.player-card--featured .player-card__club.player-card__club--wide {
  width: 112px;
}

.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;
  min-width: 0;
  padding: 22px 22px 24px;
}

.league-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 5px 8px 4px;
  border: 1px solid rgba(249, 176, 59, 0.42);
  border-radius: 999px;
  color: var(--amber);
  background: rgba(249, 176, 59, 0.08);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.15;
  text-transform: none;
}

.league-badge--tauron {
  border-color: rgba(235, 13, 138, 0.48);
  color: #eb0d8a;
  background: rgba(235, 13, 138, 0.1);
}

.player-card__content > .league-badge {
  margin: 0 0 10px;
}

.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: none;
}

.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: none;
}

.player-card__content p {
  min-width: 0;
  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: none;
}

.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: var(--section-heading-space);
}

.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: var(--font-action-weight);
  letter-spacing: 0.01em;
  text-align: center;
  text-transform: none;
  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__arrow {
  display: inline-flex;
  flex: 0 0 18px;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  line-height: 1;
}

.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);
}

.player-card__content p .player-card__club-name {
  min-width: 0;
  overflow: hidden;
  color: inherit;
  font-size: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.matchday-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.matchday-section[hidden] {
  display: none;
}

.section-heading--matchday {
  margin-bottom: var(--section-heading-space);
}

.section-heading--matchday h2 {
  color: var(--white);
}

.section-heading--matchday h2 em,
.matchday-section .eyebrow {
  color: var(--amber);
}

.section-heading--matchday .section-heading__aside,
.section-heading--matchday .section-heading__aside > p {
  color: var(--white);
}

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

.matchday-grid[data-count="3"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.matchday-grid[data-count="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.matchday-grid[data-count="1"] {
  max-width: 430px;
  grid-template-columns: minmax(0, 1fr);
}

.matchday-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 610px;
  overflow: hidden;
  flex-direction: column;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: var(--ink-soft);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.24);
  transition: border-color 220ms ease, transform 220ms ease;
}

.matchday-card:hover {
  border-color: rgba(249, 176, 59, 0.62);
  transform: translateY(-5px);
}

.matchday-card__watermark {
  position: absolute;
  z-index: 0;
  top: 110px;
  left: -12px;
  color: rgba(255, 255, 255, 0.025);
  font-size: clamp(4.8rem, 7vw, 8rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.8;
  pointer-events: none;
}

.matchday-card__top,
.matchday-card__date,
.matchday-card__teams,
.matchday-card__featured,
.matchday-card__rosters {
  position: relative;
  z-index: 1;
}

.matchday-card__top {
  display: flex;
  min-height: 26px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.matchday-card__top p {
  margin: 0;
  color: var(--amber);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: none;
}

.matchday-card__live {
  display: inline-flex;
  min-height: 23px;
  align-items: center;
  padding-inline: 9px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--amber);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: none;
}

.matchday-card__date {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 2px 16px;
  margin-top: 25px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.matchday-card__date strong {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.matchday-card__date span {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
}

.matchday-card__date time {
  color: var(--amber);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
  text-align: right;
}

.matchday-card__date time.matchday-card__time--unconfirmed {
  max-width: 12ch;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: normal;
  line-height: 1.25;
}

.matchday-card__teams {
  display: grid;
  min-height: 112px;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  margin-top: 22px;
}

.matchday-card__team {
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 9px;
  text-align: center;
}

.matchday-card__team > span {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  overflow: hidden;
  padding: 6px;
  border-radius: 10px;
  background: var(--white);
}

.matchday-card__team img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.matchday-card__team strong {
  font-size: 0.68rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.matchday-card__teams > b {
  align-self: center;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
}

.matchday-card__featured {
  display: grid;
  height: 168px;
  min-height: 168px;
  flex: 0 0 168px;
  grid-template-columns: minmax(100px, 0.48fr) minmax(0, 0.52fr);
  align-items: end;
  gap: 10px;
  margin: 22px -22px 0;
  padding: 0 22px;
  color: var(--white);
  background: linear-gradient(100deg, rgba(249, 176, 59, 0.2), rgba(249, 176, 59, 0.02));
}

.matchday-card__featured img {
  align-self: end;
  width: 100%;
  height: 168px;
  object-fit: contain;
  object-position: center bottom;
  filter: var(--player-photo-filter);
}

.matchday-card__featured span {
  align-self: center;
  padding-block: 18px;
}

.matchday-card__featured small {
  display: block;
  margin-bottom: 7px;
  color: var(--amber);
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: none;
}

.matchday-card__featured strong {
  display: block;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.matchday-card__rosters {
  display: grid;
  min-height: 108px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 0;
  padding-top: 20px;
}

.matchday-card__rosters > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.matchday-card__rosters > div:last-child {
  align-items: flex-end;
  text-align: right;
}

.matchday-card__rosters small {
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.matchday-card__rosters a {
  color: var(--white);
  font-size: clamp(0.66rem, 0.9vw, 0.78rem);
  font-weight: 900;
  letter-spacing: 0.025em;
  line-height: 1.12;
  text-transform: none;
}

.matchday-card__rosters a:hover {
  color: var(--amber);
}

.matchday-card__empty {
  color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 1050px) {
  .matchday-grid,
  .matchday-grid[data-count="3"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .matchday-grid[data-count="1"] {
    grid-template-columns: minmax(0, 430px);
  }
}

@media (max-width: 620px) {
  .matchday-section {
    padding-block: var(--section-space);
  }

  .section-heading--matchday {
    margin-bottom: var(--section-heading-space);
  }

  .matchday-grid,
  .matchday-grid[data-count="1"],
  .matchday-grid[data-count="2"],
  .matchday-grid[data-count="3"] {
    width: calc(100% + 20px);
    max-width: none;
    grid-auto-columns: minmax(280px, 86vw);
    grid-template-columns: none;
    grid-auto-flow: column;
    gap: 12px;
    margin-right: -20px;
    padding-right: 20px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }

  .matchday-grid::-webkit-scrollbar {
    display: none;
  }

  .matchday-card {
    min-height: 570px;
    padding: 19px;
    scroll-snap-align: start;
  }

  .matchday-card__featured {
    margin-inline: -19px;
    padding-inline: 19px;
  }
}

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

.section.video-showcase {
  padding-top: var(--section-space-light);
  padding-bottom: var(--section-space-light);
}

.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: var(--section-grid-gap);
  margin-bottom: var(--section-heading-space);
}

.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: none;
}

.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: var(--font-action-weight);
}

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

/* em stays inline (like the <br /> headings) so every title shares one line rhythm. */
.about__heading h2 {
  margin-bottom: 22px;
  text-align: center;
}

.about__heading h2 > span {
  display: block;
}

.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: "Poppins", sans-serif;
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: none;
}

.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-opt.webp") 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: calc(50% - 50vw);
  bottom: 0;
  left: calc(50% - 50vw);
  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-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, opacity 250ms ease, transform 250ms ease;
}

.team-person::after {
  position: absolute;
  z-index: -1;
  right: 8%;
  bottom: 0;
  left: 8%;
  height: 72%;
  content: "";
  background: radial-gradient(
    ellipse 58% 100% at 50% 100%,
    rgba(249, 176, 59, 0.05) 0%,
    rgba(249, 176, 59, 0.025) 52%,
    transparent 100%
  );
}

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

.team-person:hover,
.team-person.is-active {
  z-index: 7;
  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--placeholder {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 64px), transparent 100%);
  mask-image: linear-gradient(to bottom, #000 calc(100% - 64px), transparent 100%);
}

.team-person--placeholder img {
  object-position: center top;
  transform: translateY(4%) scale(1.45);
  transform-origin: center top;
}

.team-person--placeholder::after {
  display: none;
}

.team-person--nowak {
  --x: 0%;
  --size: 300px;
  --height: 485px;
  z-index: 0;
}

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

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

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

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

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

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

.team-person--tlokinski {
  --x: 100%;
  --size: 300px;
  --height: 485px;
  z-index: 0;
}

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

@media (min-width: 881px) {
  .team-details {
    width: min(1400px, calc(100vw - 48px));
    margin-left: 50%;
    transform: translateX(-50%);
  }
}

.team-detail {
  min-width: 0;
  padding: 25px 12px 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: none;
}

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

.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: 80px;
  padding-top: 0;
  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: 400;
  letter-spacing: -0.025em;
  line-height: 1.42;
}

.about-mission {
  position: relative;
  width: min(1040px, 100%);
  margin: 88px auto 0;
  isolation: isolate;
}

.about-mission::before,
.about-mission::after {
  position: absolute;
  top: -160px;
  bottom: -180px;
  left: calc(50% - 50vw);
  width: 100vw;
  content: "";
  pointer-events: none;
}

.about-mission::before {
  z-index: -2;
  background-color: var(--ink);
  background-image: url("../assets/images/site/bg-tlo-sekcja-naszamisja.webp");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: max(125vw, 222.4vh) auto;
  opacity: 0.24;
  -webkit-mask-image: linear-gradient(
    180deg,
    transparent 0,
    rgba(0, 0, 0, 0.15) 120px,
    rgba(0, 0, 0, 0.62) 300px,
    #000 440px,
    #000 calc(100% - 320px),
    transparent 100%
  );
  mask-image: linear-gradient(
    180deg,
    transparent 0,
    rgba(0, 0, 0, 0.15) 120px,
    rgba(0, 0, 0, 0.62) 300px,
    #000 440px,
    #000 calc(100% - 320px),
    transparent 100%
  );
}

.about-mission::after {
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(8, 8, 8, 0.66) 0%,
      rgba(8, 8, 8, 0.38) 50%,
      rgba(8, 8, 8, 0.68) 100%
    ),
    linear-gradient(
      180deg,
      var(--ink) 0,
      rgba(8, 8, 8, 0.96) 120px,
      rgba(8, 8, 8, 0.72) 280px,
      rgba(8, 8, 8, 0.18) 480px,
      rgba(8, 8, 8, 0.18) 100%
    );
}

.about-mission__intro {
  max-width: 980px;
  margin: 0 auto;
  color: #d0d0d0;
  font-size: clamp(0.95rem, 1.25vw, 1.08rem);
  line-height: 1.7;
}

.about-mission__intro p {
  margin: 0;
}

/* Long-form copy: justified, with Polish hyphenation (lang="pl") so the
   justified lines don't open up wide gaps. */
.about-mission__intro p,
.about-mission__panel-content p,
.about-vision__copy p,
.team-bio__panel-content p {
  text-align: justify;
  -webkit-hyphens: auto;
  hyphens: auto;
  hyphenate-limit-chars: 7 3 3;
  text-wrap: pretty;
}

.about-mission__intro p + p {
  margin-top: 1.15em;
}

.about-mission__heading {
  padding-top: 72px;
}

.about-mission__accordion {
  display: grid;
  gap: 12px;
}

.about-mission__item {
  overflow: hidden;
  border: 1px solid rgba(249, 176, 59, 0.48);
  border-radius: 18px;
  background: rgba(5, 5, 5, 0.62);
  transition:
    border-color 260ms ease,
    background-color 260ms ease,
    box-shadow 260ms ease;
}

.about-mission__item.is-open {
  border-color: var(--amber);
  background: rgba(5, 5, 5, 0.86);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.about-mission__item h3 {
  margin: 0;
  font-size: inherit;
}

.about-mission__trigger {
  display: flex;
  width: 100%;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px;
  color: var(--amber);
  border: 0;
  background: transparent;
  font: inherit;
  font-size: clamp(1rem, 1.7vw, 1.28rem);
  font-weight: var(--font-action-weight);
  letter-spacing: -0.025em;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
}

.about-mission__trigger:hover {
  color: var(--amber-light);
}

.about-mission__trigger:focus-visible {
  outline: 2px solid var(--amber-light);
  outline-offset: -5px;
}

.about-mission__chevron,
.team-bio__chevron {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  color: currentColor;
  transform: rotate(0deg);
  transition: transform 380ms cubic-bezier(0.16, 1, 0.3, 1);
}

.about-mission__chevron svg,
.team-bio__chevron svg {
  display: block;
  width: 24px;
  height: 24px;
}

.about-mission__item.is-open .about-mission__chevron,
.team-bio__item.is-open .team-bio__chevron {
  transform: rotate(180deg);
}

.about-mission__panel,
.team-bio__panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 420ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 220ms ease;
}

.about-mission__item.is-open .about-mission__panel,
.team-bio__item.is-open .team-bio__panel {
  grid-template-rows: 1fr;
  opacity: 1;
}

.about-mission__panel-clip,
.team-bio__panel-clip {
  min-height: 0;
  overflow: hidden;
}

.about-mission__panel-content,
.team-bio__panel-content {
  padding: 0 24px 25px;
  color: #d0d0d0;
  font-size: clamp(0.9rem, 1.15vw, 1rem);
  line-height: 1.68;
  opacity: 0;
  transform: translateY(-12px);
  transition:
    opacity 240ms ease,
    transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.about-mission__item.is-open .about-mission__panel-content,
.team-bio__item.is-open .team-bio__panel-content {
  opacity: 1;
  transform: translateY(0);
}

.about-mission__panel-content p {
  margin: 0;
}

.about-mission__panel-content p + p {
  margin-top: 0.9em;
}

.about-vision {
  margin-top: 64px;
}

.about-vision__copy {
  max-width: 980px;
  margin: 0 auto;
  color: #d0d0d0;
  font-size: clamp(0.95rem, 1.25vw, 1.08rem);
  line-height: 1.7;
}

.about-vision__copy p {
  margin: 0;
}

.about-vision__copy p + p {
  margin-top: 1.15em;
}

.about-vision__statement {
  max-width: 1000px;
  margin: 82px auto 0;
  text-align: center;
}

.about-vision__statement strong,
.about-vision__statement em {
  display: block;
}

.about-vision__statement strong {
  color: var(--white);
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.9rem, 3.8vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1;
  text-transform: none;
}

.about-vision__statement em {
  margin-top: 18px;
  color: var(--amber);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4.15rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

@media (prefers-reduced-motion: reduce) {
  .about-mission__item,
  .about-mission__chevron,
  .about-mission__panel,
  .about-mission__panel-content,
  .team-bio__chevron,
  .team-bio__panel,
  .team-bio__panel-content {
    transition: none;
  }
}

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

.section.availability {
  padding: var(--section-space-light) 0;
}

.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 var(--section-heading-space);
  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: none;
}

.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: var(--section-space-light);
}

.partners-strip {
  --partners-gap: 22px;
  --partners-card: 250px;
  overflow: hidden;
  padding: 10px 0 30px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.partners-strip__track {
  display: flex;
  width: max-content;
}

.partners-strip.is-ready .partners-strip__track {
  animation: partners-scroll var(--partners-duration, 48s) linear infinite;
}

.partners-strip.is-swipeable {
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.partners-strip.is-swipeable::-webkit-scrollbar {
  display: none;
}

.partners-strip.is-swipeable:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: -3px;
}

.partners-strip.is-swipeable .partners-strip__track {
  animation: none;
  transform: none;
}

@keyframes partners-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.partners-grid {
  display: flex;
  flex: none;
  gap: var(--partners-gap);
  width: max-content;
  padding-right: var(--partners-gap);
}

.partner-card {
  flex: 0 0 var(--partners-card);
  width: var(--partners-card);
  min-width: 0;
}

@media (prefers-reduced-motion: reduce) {
  .partners-strip {
    overflow-x: auto;
  }

  .partners-strip.is-ready .partners-strip__track {
    animation: none;
  }

  .partners-grid--copy {
    display: none;
  }
}

.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 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: none;
}

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

.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 img {
  transform: scale(1.035);
}

.contact-section {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin-top: 0;
  padding: var(--section-space) 0;
  color: var(--white);
  background:
    linear-gradient(rgba(8, 8, 8, 0.8), rgba(8, 8, 8, 0.8)),
    url("../assets/images/site/contact-bg-opt.webp") 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: var(--section-heading-space);
}

.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: 500;
}

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

.contact-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 540px);
  align-items: center;
  gap: 70px;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 8, 8, 0.72);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
}

.contact-form h3 {
  margin-bottom: 0;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  letter-spacing: -0.02em;
}

.contact-form__intro {
  margin: -10px 0 4px;
  color: var(--gray);
  font-size: 0.85rem;
}

.contact-form__notice {
  margin: -6px 0 4px;
  padding: 14px 16px;
  border: 1px solid rgba(249, 176, 59, 0.45);
  border-radius: 12px;
  background: rgba(249, 176, 59, 0.1);
  font-size: 0.85rem;
  line-height: 1.6;
}

.contact-form__notice a {
  color: var(--amber-light);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.contact-form__notice a[href^="tel:"] {
  white-space: nowrap;
}

.contact-form__body {
  display: grid;
  min-width: 0;
  gap: 18px;
  margin: 0;
  padding: 0;
  border: 0;
}

.contact-form__body:disabled {
  opacity: 0.45;
}

.contact-form__body:disabled * {
  cursor: not-allowed;
}

.contact-form__body:disabled .button:hover {
  background: var(--amber);
  box-shadow: none;
  transform: none;
}

.contact-form__field > span {
  margin-bottom: 8px;
  padding: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: none;
}

.contact-form__field > span em {
  color: var(--gray);
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.contact-form__drop {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 22px 16px;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.contact-form__drop:hover,
.contact-form__drop.is-dragover {
  border-color: var(--amber);
  background: rgba(249, 176, 59, 0.08);
}

.contact-form__drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact-form__drop svg {
  width: 24px;
  height: 24px;
  margin-bottom: 4px;
  color: var(--amber);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.contact-form__drop strong {
  font-size: 0.86rem;
  font-weight: 600;
}

.contact-form__drop small {
  color: var(--gray);
  font-size: 0.74rem;
}

.contact-form__files {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-form__files:not(:empty) {
  margin-top: 10px;
}

.contact-form__files li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.8rem;
}

.contact-form__files li span {
  overflow: hidden;
  flex: 1;
  min-width: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-form__files li small {
  color: var(--gray);
}

.contact-form__files button {
  display: inline-grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  padding: 0;
  color: var(--white);
  border: 0;
  border-radius: 50%;
  background: transparent;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.contact-form__files button:hover {
  color: var(--ink);
  background: var(--amber);
}

.contact-form__drop:focus-within,
.contact-form__consent input:focus-visible {
  outline: 2px solid var(--amber-light);
  outline-offset: 3px;
}

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

.contact-form__field {
  display: grid;
  min-width: 0;
}

.contact-form__field input,
.contact-form__field textarea {
  width: 100%;
  padding: 13px 16px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
  font-size: 0.92rem;
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.contact-form__field textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-form__field input:hover,
.contact-form__field textarea:hover {
  border-color: rgba(255, 255, 255, 0.32);
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
  border-color: var(--amber);
  outline: none;
  background: rgba(255, 255, 255, 0.09);
}

.contact-form__field .is-invalid {
  border-color: #ff7a6b;
}

.contact-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  line-height: 1.55;
  cursor: pointer;
}

.contact-form__consent a {
  color: var(--amber-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form__consent input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 2px 0 0;
  accent-color: var(--amber);
}

.contact-form__error {
  display: none;
  margin-top: 6px;
  color: #ff9a8e;
  font-size: 0.75rem;
}

.contact-form__error.is-visible {
  display: block;
}

.contact-form__consent + .contact-form__error {
  margin-top: -12px;
}

.contact-form__submit {
  justify-self: start;
  margin-top: 6px;
  cursor: pointer;
}

.contact-form__status {
  margin: 0;
  color: var(--amber-light);
  font-size: 0.85rem;
}

.contact-form__status:empty {
  display: none;
}

.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;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
}

.site-footer__company {
  max-width: 760px;
  color: #5f5f5f;
  font-size: 0.66rem;
  line-height: 1.7;
}

.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 a {
  transition: color 180ms ease;
}

.site-footer__credits a:hover {
  color: var(--amber);
}

.page-hero--legal {
  min-height: 0;
}

.legal {
  max-width: 820px;
  font-size: 0.95rem;
  line-height: 1.75;
}

.legal h2 {
  margin: 44px 0 14px;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  letter-spacing: -0.02em;
}

.legal ul {
  display: grid;
  gap: 8px;
  margin: 0 0 1em;
  padding-left: 1.25em;
}

.legal a {
  color: var(--amber-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal__updated {
  color: #6b6b6b;
  font-size: 0.85rem;
}

.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: var(--section-space-light);
  padding-bottom: var(--section-space);
}

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

.page-hero__pdf-link {
  width: fit-content;
  margin: 4px 0 22px;
}

.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: none;
}

.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.75rem;
  font-weight: var(--font-action-weight);
  letter-spacing: normal;
  text-align: center;
  text-transform: none;
  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-width: 100%;
  height: 108px;
  max-height: 108px;
  padding: 10px;
  border-radius: 10px;
  background: #fff;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  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-facts > div {
    padding: 11px 0;
  }

  .player-profile-page .profile-facts dt,
  .player-profile-page .profile-facts dd {
    font-size: 1rem;
    line-height: 1.35;
  }

  .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: none;
}

.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 > div[hidden] {
  display: none;
}

.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);
}

.profile-representative {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  width: 100%;
  margin-top: 26px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.profile-representative__item {
  display: grid;
  align-content: start;
  min-width: 0;
  gap: 5px;
  padding: 15px 18px 15px 0;
}

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

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

.profile-representative strong,
.profile-representative a {
  overflow-wrap: anywhere;
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1.35;
}

.profile-representative a {
  width: fit-content;
  color: var(--white);
  transition: color 180ms ease;
}

.profile-representative a:hover {
  color: 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: none;
}

.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: start;
  gap: 90px;
}

.team-bio {
  min-width: 0;
}

.team-bio__item:not(:last-child) {
  border-bottom: 1px solid var(--dark-line);
}

.team-bio__item h3 {
  margin: 0;
}

.team-bio__trigger {
  display: flex;
  width: 100%;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  color: var(--ink);
  border: 0;
  background: transparent;
  font: inherit;
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
}

.team-bio__trigger > span:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.team-bio__trigger:hover {
  color: var(--ink);
}

.team-bio__trigger:focus-visible {
  outline: 2px solid #d67d00;
  outline-offset: 5px;
}

.team-bio__panel-content {
  padding: 0 54px 25px 0;
  color: #3f3e3a;
  font-size: clamp(0.95rem, 1.18vw, 1.05rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.65;
}

.team-bio__panel-content p {
  margin: 0;
}

.team-bio__panel-content p + p {
  margin-top: 0.9em;
}

.team-profile-about h2 {
  white-space: nowrap;
}

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

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

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

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

.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);
}

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

.showcase-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 18px;
}

.profile-video-card .video-card__content {
  min-height: 154px;
}

.profile-video-card__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 5px;
  color: var(--white);
  background:
    radial-gradient(circle at 75% 25%, rgba(255, 179, 0, 0.28), transparent 35%),
    var(--ink);
  text-align: center;
  text-transform: none;
}

.profile-video-card__placeholder small {
  color: var(--amber);
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.profile-video-card__placeholder strong {
  font-size: clamp(1.35rem, 4vw, 2.3rem);
  letter-spacing: -0.04em;
}

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

.generator-page 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: none;
}

.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: var(--font-action-weight);
}

.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;
  /* none, not translateY(0): any transform turns fixed backgrounds inside into scrolling ones. */
  transform: none;
}

.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 laptopów 13-15 cali (do typowego viewportu 1536 x 864). */
@media (min-width: 881px) and (max-width: 1440px),
  (min-width: 1441px) and (max-width: 1600px) and (max-height: 1000px) {
  html {
    font-size: clamp(14px, calc(10px + 0.625vh), 16px);
  }

  :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: var(--section-space) 0;
  }

  .section-heading {
    gap: var(--section-grid-gap);
    margin-bottom: var(--section-heading-space);
  }

  .players-grid {
    gap: 18px;
  }

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

  .section-cta {
    margin-top: var(--section-heading-space);
  }

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

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

  .team-person--nowak,
  .team-person--tlokinski {
    --size: 260px;
    --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 10px 24px;
  }

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

  .roster-heading {
    margin-bottom: var(--section-heading-space);
  }

  .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: var(--section-space) 0;
  }

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

  .page-hero__inner {
    padding-top: var(--section-space-light);
    padding-bottom: var(--section-space);
  }

  .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: 1600px) 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 > span {
    max-width: calc(100% - 86px);
    text-align: left;
    line-height: 1.1;
    white-space: normal;
  }

  .topbar__mobile-break {
    display: inline;
  }

  .topbar__links {
    display: none;
  }

  .language-switcher {
    flex: none;
    margin: 0;
  }

  .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;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    visibility: hidden;
    flex-direction: column;
    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;
  }

  .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: 24px;
  }

  .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: none;
  }

  .players-grid--coaches {
    grid-template-columns: none;
  }

  .players-grid__row .player-card {
    flex-basis: calc((100% - 36px) / 4);
  }

  .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-strip {
    --partners-gap: 18px;
    --partners-card: 210px;
  }

  .team-stage {
    height: 465px;
  }

  .team-person--nowak {
    --x: -1%;
    --size: 220px;
    --height: 380px;
  }

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

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

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

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

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

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

  .team-person--tlokinski {
    --x: 101%;
    --size: 220px;
    --height: 380px;
  }

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

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

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

  .team-detail:nth-child(-n + 4) {
    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-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::before {
    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-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;
  }

  .player-profile-page .profile-hero::before {
    transform: scaleX(-1);
    transform-origin: center;
  }

  .hero__inner {
    padding-top: 135px;
  }

  .hero__lead {
    font-size: 0.96rem;
  }

  .hero__actions {
    width: 100%;
    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: var(--section-space) 0;
  }

  .video-showcase__heading {
    grid-template-columns: 1fr;
    gap: var(--section-grid-gap);
    margin-bottom: var(--section-heading-space);
  }

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

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

  .section-cta {
    margin-top: var(--section-heading-space);
  }

  .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__club.player-card__club--wide {
    width: 96px;
  }

  .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: none;
    gap: 7px;
  }

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

  .players-grid__row {
    gap: 7px;
  }

  .players-grid__row .player-card {
    flex-basis: calc((100% - 14px) / 3);
  }

  .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 {
    flex: 0 0 auto;
  }

  .players-grid--catalog .player-card__content h3 {
    max-width: 100%;
    font-size: clamp(0.72rem, 3.2vw, 0.88rem);
    line-height: 1;
    overflow-wrap: anywhere;
  }

  .players-grid--catalog .player-card__content h3.player-card__name--long {
    font-size: clamp(0.66rem, 2.85vw, 0.78rem);
    letter-spacing: -0.055em;
    line-height: 0.98;
  }

  .player-card__content > .league-badge {
    display: flex;
    width: fit-content;
    max-width: 100%;
    justify-content: center;
    margin: 0 auto 10px;
    padding: 4px 7px;
    font-size: 0.5rem;
    line-height: 1.2;
    text-align: center;
  }

  .players-grid--catalog .player-card {
    display: flex;
    flex-direction: column;
  }

  .players-grid--catalog .player-card__content {
    display: flex;
    flex: 1;
    flex-direction: column;
  }

  .players-grid--catalog .player-card__content p {
    margin-top: auto;
    font-size: 0.56rem;
    line-height: 1.2;
  }

  .position-groups {
    gap: 62px;
  }

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

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

  .roster-heading {
    margin-bottom: var(--section-heading-space);
  }

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

  .section.availability {
    padding-top: var(--section-space-light);
    padding-bottom: var(--section-space-light);
  }

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

  .roster-counter {
    padding: 24px 10px 28px;
    border-bottom: 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-strip {
    --partners-gap: 12px;
    --partners-card: 150px;
  }

  .section.section--light.partners {
    padding-top: var(--section-space-light);
  }

  .partner-card {
    margin-inline: 0;
  }

  .partner-card__photo {
    aspect-ratio: 4 / 5;
    border-radius: 9px;
    box-shadow: 0 8px 20px rgba(8, 8, 8, 0.1);
  }

  .partner-card--karlik .partner-card__photo img,
  .partner-card--wystel .partner-card__photo img,
  .partner-card--lewcio .partner-card__photo img {
    object-position: center 25%;
  }

  .partner-card__content {
    padding: 11px 2px 0;
    text-align: center;
  }

  .partner-card h3 {
    margin-bottom: 6px;
    max-width: 100%;
    font-size: clamp(0.72rem, 3.2vw, 0.86rem);
    line-height: 1.05;
    overflow-wrap: anywhere;
  }

  .partner-card p {
    font-size: 0.56rem;
    letter-spacing: 0.055em;
    line-height: 1.35;
  }

  .about__quote {
    max-width: 330px;
  }

  .section.about {
    padding-top: 55px;
    padding-bottom: 55px;
  }

  .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--nowak,
  .team-person--tlokinski {
    --size: 140px;
    --height: 245px;
  }

  .team-person--strzezek {
    --x: 4%;
    --size: 110px;
    --height: 245px;
  }

  .team-person--gutkowski {
    --x: 21%;
    --size: 110px;
    --height: 245px;
  }

  .team-person--adamski {
    --x: 40%;
    --size: 118px;
    --height: 255px;
  }

  .team-person--ignat {
    --x: 52%;
    --size: 122px;
    --height: 260px;
  }

  .team-person--tietianiec {
    --x: 88%;
    --size: 120px;
    --height: 245px;
  }

  .team-person--peszko {
    --x: 70%;
    --size: 110px;
    --height: 245px;
  }

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

  .team-detail,
  .team-detail:nth-child(3) {
    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: 0;
    padding-top: 38px;
    border-top: 0;
  }

  .about-mission {
    margin-top: 48px;
  }

  .about-mission__intro {
    font-size: 0.9rem;
    line-height: 1.62;
  }

  .about-mission__intro p + p {
    margin-top: 1em;
  }

  .about-mission__heading {
    padding-top: 52px;
  }

  .about-mission__accordion {
    gap: 9px;
  }

  .about-mission__item {
    border-radius: 13px;
  }

  .about-mission__trigger {
    min-height: 64px;
    gap: 12px;
    padding: 16px 15px;
    font-size: 0.9rem;
    line-height: 1.3;
  }

  .about-mission__chevron {
    width: 25px;
    height: 25px;
    flex-basis: 25px;
  }

  .about-mission__chevron svg {
    width: 20px;
    height: 20px;
  }

  .about-mission__panel-content {
    padding: 0 15px 18px;
    font-size: 0.82rem;
    line-height: 1.62;
  }

  .about-vision {
    margin-top: 48px;
  }

  .about-vision__copy {
    font-size: 0.9rem;
    line-height: 1.62;
  }

  .about-vision__copy p + p {
    margin-top: 1em;
  }

  .about-vision__statement {
    margin-top: 52px;
  }

  .about-vision__statement strong {
    font-size: clamp(1.55rem, 8vw, 2.4rem);
  }

  .about-vision__statement em {
    margin-top: 12px;
    font-size: clamp(1.7rem, 8.8vw, 2.7rem);
  }

  .contact-section {
    padding: var(--section-space) 0;
  }

  .contact-section h2 {
    margin-bottom: var(--section-heading-space);
  }

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

  .contact-form {
    padding: 26px 20px;
  }

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

  .contact-form__submit {
    justify-self: stretch;
  }

  .site-footer__inner {
    flex-direction: column;
  }

  .site-footer__credits {
    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: var(--section-space-light);
    padding-bottom: var(--section-space);
  }

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

  .player-profile-page .profile-intro-details {
    display: contents;
  }

  .player-profile-page .profile-intro-details > .eyebrow {
    position: relative;
    z-index: 7;
    grid-column: 1;
    grid-row: 2;
    align-self: end;
    margin-bottom: 12px;
  }

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

  .player-profile-page .profile-name-row {
    position: relative;
    z-index: 7;
    grid-column: 1;
    grid-row: 3;
    margin-bottom: 16px;
  }

  .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%
    );
  }

  .player-profile-page .profile-facts dt,
  .player-profile-page .profile-facts dd {
    font-size: 0.92rem;
    line-height: 1.3;
  }

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

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

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

  .player-profile-page .profile-photo-wrap {
    grid-row: 4;
  }

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

  .player-profile-page .profile-availability {
    grid-row: 1;
    padding-top: 0;
  }

  .player-profile-page .profile-facts {
    grid-column: 1;
    grid-row: 5;
  }

  .player-profile-page .profile-representative {
    grid-column: 1;
    grid-row: 6;
  }

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

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

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

  .profile-representative__item,
  .profile-representative__item + .profile-representative__item {
    padding: 13px 0;
    border-left: 0;
  }

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

  .history-grid {
    gap: 35px;
  }

  .player-profile-page .history-section .history-grid {
    gap: 14px;
  }

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

  .team-bio__trigger {
    min-height: 64px;
    gap: 14px;
    padding: 16px 0;
    font-size: 0.95rem;
  }

  .team-bio__chevron {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
  }

  .team-bio__chevron svg {
    width: 20px;
    height: 20px;
  }

  .team-bio__panel-content {
    padding: 0 36px 20px 0;
    font-size: 0.92rem;
    line-height: 1.62;
  }

  .section.section--light.team-profile-about {
    padding-top: 35px;
    padding-bottom: 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.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;
  }
}

/* Large background photos stay fixed to the window while the page scrolls over
   them, so a tall section or a wide screen never runs out of image (no hard
   edge, no empty band). New full-width photo backgrounds should be added here.
   Only for mouse devices: iOS ignores fixed backgrounds and phones keep the
   scrolling version above. An ancestor with a transform also disables it. */
@media (hover: hover) and (pointer: fine) {
  .hero::before {
    background-attachment: scroll, scroll, scroll, scroll, fixed;
    background-size: auto, auto, auto, auto, cover;
  }

  .page-hero::before,
  .profile-hero::before {
    background-attachment: scroll, fixed;
    background-size: auto, cover;
  }

  .contact-section {
    background-attachment: scroll, fixed;
    background-size: auto, cover;
  }

  .about-mission::before {
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
  }
}
