/* =====================================================================
   ACS SPORTSMANAGEMENT BERLIN — design tokens & base
   ===================================================================== */

:root {
  /* Brand */
  --acs-green: #2f6b3a;
  --acs-green-deep: #1f4a27;
  --acs-green-bright: #3d8a4b;
  --acs-green-tint: #eaf2eb;
  --acs-green-fog: #f5f8f5;

  /* Neutrals — warm, slightly green-tinted whites */
  --paper: #fbfbf9;
  --paper-2: #f3f3ef;
  --ink: #0e110e;
  --ink-2: #2a2d2a;
  --ink-3: #585c58;
  --ink-4: #8e928e;
  --line: #e3e5e0;
  --line-soft: #ececea;

  /* type */
  --f-display: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-body: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(180deg, rgba(251,251,249,0.78), rgba(251,251,249,0.85)),
    url("assets/concrete.jpg");
  background-size: auto, 1200px auto;
  background-repeat: no-repeat, repeat;
  background-attachment: fixed, fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }

::selection { background: var(--acs-green); color: #fff; }

/* =====================================================================
   layout primitives
   ===================================================================== */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) { .container { padding: 0 20px; } }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--acs-green);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px; height: 1px;
  background: var(--acs-green);
}

.h-display {
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin: 0;
}
.h-section {
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  font-size: clamp(40px, 6vw, 88px);
  margin: 0;
}

/* =====================================================================
   Top nav
   ===================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  padding: 22px 0;
  background: rgba(251, 251, 249, 0.92);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}
.nav--scrolled {
  background: rgba(251, 251, 249, 0.92);
}
.nav--inverse {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}
.nav--inverse.nav--scrolled {
  background: rgba(251, 251, 249, 0.92);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
}
.nav__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav__logo img {
  height: 64px;
  width: auto;
  transition: filter 0.3s ease, opacity 0.3s ease, height 0.3s ease;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}
.nav--scrolled .nav__logo img { height: 54px; }
@media (max-width: 720px) {
  .nav__logo img { height: 50px; }
  .nav--scrolled .nav__logo img { height: 42px; }
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--acs-green);
  position: relative;
  transition: color 0.2s ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  height: 1px; width: 0;
  background: var(--acs-green);
  transition: width 0.3s cubic-bezier(.2,.7,.2,1);
}
.nav__link:hover { color: var(--acs-green); }
.nav__link:hover::after { width: 100%; }
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid var(--ink);
  transition: transform 0.2s ease, background 0.2s ease;
}
.nav__cta:hover { background: var(--acs-green); border-color: var(--acs-green); transform: translateY(-1px); }

.nav--inverse .nav__link { color: rgba(255,255,255,0.9); }
.nav--inverse .nav__link:hover { color: #fff; }
.nav--scrolled.nav--inverse .nav__link { color: var(--acs-green); }
.nav--scrolled.nav--inverse .nav__link:hover { color: var(--ink); }
.nav--inverse .nav__cta { background: #fff; color: var(--ink); border-color: #fff; }
.nav--inverse .nav__cta:hover { background: var(--acs-green); color: #fff; border-color: var(--acs-green); }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  background: rgba(255,255,255,0.6);
}
.nav--inverse .lang-toggle {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
}
.lang-toggle button {
  border: 0;
  background: transparent;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--ink-3);
  transition: background 0.2s ease, color 0.2s ease;
}
.nav--inverse .lang-toggle button { color: rgba(255,255,255,0.7); }
.nav--scrolled.nav--inverse .lang-toggle {
  border-color: rgba(47, 107, 58, 0.25);
  background: rgba(47, 107, 58, 0.06);
}
.nav--scrolled.nav--inverse .lang-toggle button { color: var(--acs-green); }
.nav--scrolled.nav--inverse .lang-toggle button.active {
  background: var(--acs-green);
  color: #fff;
}
.lang-toggle button.active {
  background: var(--ink);
  color: #fff;
}
.nav--inverse .lang-toggle button.active {
  background: #fff;
  color: var(--ink);
}

@media (max-width: 880px) {
  .nav__links .nav__link { display: none; }
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  min-height: 82vh;
  min-height: 82svh;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero__placeholder {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-color: #d8dcd5;
  overflow: hidden;
}
.hero__placeholder::before {
  /* subtle grain over the photo */
  content: "";
  position: absolute;
  inset: -10%;
  background:
    repeating-linear-gradient(115deg, rgba(0,0,0,0.02) 0 1px, transparent 1px 6px),
    repeating-linear-gradient(25deg, rgba(0,0,0,0.015) 0 1px, transparent 1px 9px);
  animation: heroPan 22s linear infinite;
  pointer-events: none;
}
.hero__placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 40%), rgba(255,255,255,0.18) 0%, transparent 35%);
  transition: background-position 0.4s ease;
  pointer-events: none;
}
@keyframes heroPan {
  0% { transform: translate3d(0,0,0); }
  100% { transform: translate3d(-20px, -30px, 0); }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 30%, rgba(0,0,0,0.65) 100%);
}
.hero__placeholder-label {
  position: absolute;
  bottom: 18px; right: 22px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__placeholder-label .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #ff4040;
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero__inner {
  position: relative;
  min-height: 82vh;
  min-height: 82svh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding-top: 96px;
  padding-bottom: 40px;
}
.hero__top {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 40px;
}
.hero__meta {
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  text-align: right;
  font-family: var(--f-mono);
  color: rgba(255,255,255,0.78);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero__meta-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero__meta-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acs-green-bright);
  box-shadow: 0 0 0 4px rgba(91, 184, 109, 0.18);
  animation: pulse 1.8s infinite;
}
.hero__meta-label { color: rgba(255,255,255,0.95); }
.hero__meta-coord {
  color: rgba(255,255,255,0.55);
  font-size: 10px;
  letter-spacing: 0.2em;
}
.hero__meta-stats {
  display: flex;
  gap: 22px;
  margin-top: 4px;
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 14px;
  font-size: 10px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.16em;
}
.hero__meta-stats strong {
  display: block;
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1;
  margin-bottom: 4px;
}
@media (max-width: 720px) {
  .hero__top { grid-template-columns: 1fr; }
  .hero__meta { align-items: flex-start; text-align: left; }
}
.hero__main {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  align-items: start;
  gap: 40px;
  padding: 20px 0 40px;
}
.hero__title {
  font-family: var(--f-display);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.92;
  font-size: clamp(64px, 14vw, 240px);
  max-width: none;
  width: 100%;
}
.hero__title em {
  font-style: normal;
  font-weight: 200;
  color: rgba(255,255,255,0.78);
}
.hero__title .accent {
  display: inline-block;
  position: relative;
  color: #fff;
}
.hero__title .accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -0.08em;
  height: 0.12em;
  background: var(--acs-green-bright);
  transform-origin: left center;
  animation: underlineSweep 1.4s 0.4s cubic-bezier(.7,.05,.2,1) both;
}
@keyframes underlineSweep {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.hero__bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
}
.hero__lede {
  font-size: clamp(15px, 1.2vw, 18px);
  color: rgba(255,255,255,0.85);
  max-width: 38ch;
  line-height: 1.55;
}
.hero__actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  background: transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: var(--acs-green-bright);
  color: #fff;
}
.btn--primary:hover { background: #fff; color: var(--ink); }
.btn--ghost {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border-color: rgba(255,255,255,0.4);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: rgba(255,255,255,0.16); border-color: #fff; }
.btn--dark {
  background: var(--ink);
  color: #fff;
}
.btn--dark:hover { background: var(--acs-green); }
.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--outline:hover { background: var(--ink); color: #fff; }

.btn .arrow { transition: transform 0.25s cubic-bezier(.2,.7,.2,1); }
.btn:hover .arrow { transform: translateX(4px); }

/* hero meta strip */
.hero__strip {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  align-items: end;
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 24px;
}
.hero__stat .num {
  font-family: var(--f-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}
.hero__stat .label {
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.6);
  margin-top: 8px;
}
.hero__stat--scroll {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}
.hero__stat--scroll .scroll-cue {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero__stat--scroll .scroll-cue .dash {
  width: 24px; height: 1px;
  background: rgba(255,255,255,0.7);
  display: inline-block;
  animation: scrollCue 2s ease-in-out infinite;
}
@keyframes scrollCue {
  0%,100% { transform: scaleX(1); transform-origin: left; }
  50% { transform: scaleX(0.4); transform-origin: left; }
}

@media (max-width: 880px) {
  .hero__bottom { grid-template-columns: 1fr; }
  .hero__actions { justify-content: flex-start; }
}

/* marquee bar under hero */
.marquee {
  background: var(--ink);
  color: #fff;
  border-block: 1px solid var(--ink);
  padding: 22px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee__track {
  display: inline-flex;
  gap: 56px;
  animation: marquee 40s linear infinite;
  font-family: var(--f-display);
  font-size: clamp(20px, 2.4vw, 36px);
  font-weight: 400;
  letter-spacing: -0.02em;
}
.marquee__track > span {
  display: inline-flex;
  align-items: center;
  gap: 56px;
}
.marquee__track .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--acs-green-bright);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =====================================================================
   Section base
   ===================================================================== */
.section {
  padding: 72px 0;
  position: relative;
}
.section--tight { padding: 100px 0; }
.section--paper2 { background: rgba(243, 243, 239, 0.7); }
.section--ink {
  background: #3a4148;
  color: #fff;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.section--ink::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/concrete.jpg");
  background-size: cover;
  background-position: center;
  filter: grayscale(0.6) contrast(1.1) brightness(0.55);
  z-index: -2;
}
.section--ink::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(58,65,72,0.85) 0%, rgba(58,65,72,0.78) 40%, rgba(40,46,52,0.92) 100%);
  z-index: -1;
}
.section--green { background: var(--acs-green); color: #fff; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 60px;
  margin-bottom: 80px;
  align-items: end;
}
.section-head__index {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.section--ink .section-head__index { color: rgba(255,255,255,0.55); }
.section--green .section-head__index { color: rgba(255,255,255,0.7); }
.section-head__lead {
  font-size: 17px;
  color: var(--ink);
  line-height: 1.6;
  max-width: 56ch;
}
.section--ink .section-head__lead { color: rgba(255,255,255,0.7); }
.section--green .section-head__lead { color: rgba(255,255,255,0.85); }
.section-head__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

@media (max-width: 880px) {
  .section { padding: 56px 0; }
  .section-head { grid-template-columns: 1fr; gap: 28px; margin-bottom: 50px; }
}

/* reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.reveal--delay-1 { transition-delay: 0.08s; }
.reveal--delay-2 { transition-delay: 0.16s; }
.reveal--delay-3 { transition-delay: 0.24s; }
.reveal--delay-4 { transition-delay: 0.32s; }

/* =====================================================================
   Philosophie
   ===================================================================== */
.philo {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0, 1.6fr);
  gap: 80px;
  align-items: start;
}
.philo__title {
  font-size: clamp(40px, 5.5vw, 80px);
}
.philo__quote-wrap {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  isolation: isolate;
  padding: 56px 44px;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
}
.philo__quote-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
  filter: contrast(1.05) saturate(0.9);
  transform: scale(1.02);
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1);
}
.philo__quote-wrap:hover .philo__quote-img { transform: scale(1.08); }
.philo__quote-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8,12,10,0.35) 0%, rgba(8,12,10,0.55) 60%, rgba(8,12,10,0.85) 100%);
}
.philo__quote {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: #fff;
  position: relative;
  text-wrap: pretty;
  max-width: 28ch;
}
.philo__quote::before {
  content: "“";
  position: absolute;
  top: -56px;
  left: -8px;
  font-size: 120px;
  line-height: 1;
  color: var(--acs-green-bright);
  font-weight: 500;
  opacity: 0.9;
}
.philo__body p {
  font-size: 17px;
  color: var(--ink);
  line-height: 1.65;
  max-width: 60ch;
}
.philo__body p + p { margin-top: 1em; }
.philo__pillars {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.pillar {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.pillar__num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--acs-green);
}
.pillar__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 8px 0 12px;
}
.pillar__text {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
}

@media (max-width: 880px) {
  .philo { grid-template-columns: 1fr; gap: 40px; }
  .philo__pillars { grid-template-columns: 1fr; gap: 28px; }
}

/* =====================================================================
   Services
   ===================================================================== */
.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.section--ink .services { border-color: rgba(255,255,255,0.14); }

.service {
  position: relative;
  padding: 48px 0 56px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  cursor: default;
  transition: padding-left 0.45s cubic-bezier(.2,.7,.2,1);
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 32px;
  align-items: start;
}
.service:nth-child(odd) { padding-right: 40px; border-right: 1px solid rgba(255,255,255,0.14); }
.service:nth-child(even) { padding-left: 40px; }

.service__num {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--acs-green-bright);
}
.service__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #fff;
  transition: transform 0.4s cubic-bezier(.2,.7,.2,1);
}
.service__desc {
  margin-top: 14px;
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.55;
  max-width: 46ch;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(.2,.7,.2,1), opacity 0.4s ease, margin-top 0.4s ease;
}
.service:hover .service__desc {
  max-height: 420px;
  opacity: 1;
}
.service:hover .service__title { transform: translateX(8px); color: var(--acs-green-bright); }

.service__arrow {
  align-self: start;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.7);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.service:hover .service__arrow {
  background: var(--acs-green-bright);
  color: #fff;
  border-color: var(--acs-green-bright);
  transform: rotate(-45deg);
}

@media (max-width: 880px) {
  .services { grid-template-columns: 1fr; }
  .service:nth-child(odd) { padding-right: 0; border-right: 0; }
  .service:nth-child(even) { padding-left: 0; }
}

/* =====================================================================
   Athletes Roster
   ===================================================================== */
.roster-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.roster-bar__label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-right: 8px;
}
.chip {
  border: 1px solid var(--line);
  background: transparent;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-2);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.roster {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 880px;
}
@media (max-width: 980px) { .roster { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .roster { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 380px) { .roster { grid-template-columns: repeat(2, 1fr); } }

.athlete {
  position: relative;
  background: var(--paper-2);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1/1;
  isolation: isolate;
  transition: transform 0.4s cubic-bezier(.2,.7,.2,1);
}
.athlete:hover { transform: translateY(-4px); }
.athlete--static { cursor: default; }
.athlete--static:hover { transform: none; }
.athlete--static:hover .athlete__bg { transform: none; filter: grayscale(0.4) contrast(1.05); }

.athlete__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 20%;
  filter: grayscale(0.2) contrast(1.05);
  transition: transform 0.7s cubic-bezier(.2,.7,.2,1), filter 0.5s ease;
}
.athlete:hover .athlete__bg {
  transform: scale(1.06);
  filter: grayscale(0) contrast(1.1);
}
.athlete__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.75) 100%);
}

.athlete__num {
  position: absolute;
  top: 10px; left: 12px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.85);
  z-index: 2;
}
.athlete__pos {
  position: absolute;
  top: 10px; right: 12px;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(6px);
  padding: 3px 7px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  z-index: 2;
}

.athlete__info {
  position: absolute;
  left: 12px; right: 12px;
  bottom: 12px;
  z-index: 2;
  color: #fff;
}
.athlete__name {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.athlete__meta {
  margin-top: 4px;
  font-size: 11px;
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  gap: 6px;
}
.athlete__meta .sep { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,0.5); }

.athlete__club {
  margin-top: 6px;
  font-family: var(--f-mono, ui-monospace, monospace);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.92);
}
.athlete__league {
  margin-top: 2px;
  font-family: var(--f-mono, ui-monospace, monospace);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.athlete__plus {
  position: absolute;
  bottom: 12px; right: 12px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
  display: grid; place-items: center;
  color: #fff;
  z-index: 2;
  transition: background 0.3s ease, transform 0.3s ease;
}
.athlete:hover .athlete__plus {
  background: var(--acs-green-bright);
  border-color: var(--acs-green-bright);
  transform: rotate(90deg);
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8,12,8,0.7);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-backdrop.is-open { opacity: 1; pointer-events: auto; }
.modal {
  width: 100%;
  max-width: 980px;
  max-height: 90vh;
  background: var(--paper);
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.4s cubic-bezier(.2,.7,.2,1);
}
.modal-backdrop.is-open .modal { transform: none; }
.modal__media {
  background-size: cover;
  background-position: center 20%;
  position: relative;
  min-height: 420px;
}
.modal__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.7) 100%);
}
.modal__media-info {
  position: absolute;
  bottom: 24px; left: 24px; right: 24px;
  color: #fff;
  z-index: 2;
}
.modal__media-info .pos {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--acs-green-bright);
  margin-bottom: 8px;
}
.modal__media-info .name {
  font-family: var(--f-display);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.modal__body {
  padding: 36px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.modal__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.9);
  display: grid; place-items: center;
  z-index: 5;
  transition: background 0.2s ease, transform 0.2s ease;
}
.modal__close:hover { background: #fff; transform: rotate(90deg); }
.modal__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.modal__stat {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.modal__stat .v {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.modal__stat .l {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 4px;
}
.modal__bio {
  font-size: 15px;
  color: var(--ink-3);
  line-height: 1.6;
}
.modal__career {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.modal__career h4 {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0;
  font-weight: 500;
}
.modal__career-item {
  display: flex;
  gap: 16px;
  font-size: 14px;
  border-top: 1px solid var(--line-soft);
  padding-top: 8px;
}
.modal__career-item .y {
  font-family: var(--f-mono);
  color: var(--ink-3);
  min-width: 90px;
}
.modal__career-item .c { color: var(--ink); }

@media (max-width: 760px) {
  .modal { grid-template-columns: 1fr; max-height: 92vh; }
  .modal__media { min-height: 280px; }
  .modal__body { padding: 24px; }
}

/* =====================================================================
   Team
   ===================================================================== */
.team {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 880px) { .team { grid-template-columns: 1fr; gap: 32px; } }

.member {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 36px;
  transition: border-color 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.member:hover { border-color: var(--acs-green); transform: translateY(-3px); }
.member__avatar {
  width: 100%;
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center 20%;
  background-color: var(--paper-2);
  border-radius: 4px;
  margin-bottom: 28px;
  filter: grayscale(0.4) contrast(1.05);
  transition: filter 0.4s ease;
}
.member:hover .member__avatar { filter: grayscale(0) contrast(1.1); }
.member__role {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--acs-green);
}
.member__name {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 36px;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 12px 0 18px;
}
.member__bio {
  font-size: 15px;
  color: var(--ink-3);
  line-height: 1.6;
}
.member__contact {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.member__contact a {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.member__contact a:hover { color: var(--acs-green); }
.fifa-badge {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 8px;
  background: linear-gradient(120deg, #0a3d91 0%, #1559c2 60%, #0a3d91 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.fifa-badge::after {
  content: "";
  position: absolute;
  right: -30px; bottom: -40px;
  width: 110px; height: 110px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
}
.fifa-badge__mark {
  font-family: "Arial Black", "Helvetica Neue", Helvetica, var(--f-display), sans-serif;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.04em;
  font-style: italic;
  transform: skewX(-4deg);
  flex-shrink: 0;
}
.fifa-badge__text { display: flex; flex-direction: column; gap: 4px; z-index: 1; }
.fifa-badge__title {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}
.fifa-badge__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}
.fifa-badge__status { color: #7be3a0; font-weight: 500; }
.fifa-badge__num { color: rgba(255,255,255,0.7); }
.member__vcard {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.member__vcard:hover {
  background: var(--acs-green);
  border-color: var(--acs-green);
  color: #fff;
}
.member__vcard svg { flex-shrink: 0; }

/* =====================================================================
   Partners
   ===================================================================== */
.partners {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  width: 100%;
  max-width: 720px;
}
.partner {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  aspect-ratio: 16/9;
  display: grid;
  place-items: center;
  padding: 24px;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  transition: background 0.3s ease, color 0.3s ease;
  text-align: center;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  line-height: 1.2;
}
.partner:hover { background: var(--acs-green); color: #fff; }

@media (max-width: 880px) {
  .partners { grid-template-columns: repeat(2, 1fr); }
  .partner {
    padding: 16px 12px;
    font-size: 14px;
    aspect-ratio: 4/3;
  }
}

/* =====================================================================
   CTA / Contact
   ===================================================================== */
.cta {
  position: relative;
  padding: 100px 0 100px;
  background: #3a4148;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/concrete.jpg");
  background-size: cover;
  background-position: center;
  filter: grayscale(0.6) contrast(1.1) brightness(0.55);
  z-index: -2;
}
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(58,65,72,0.85) 0%, rgba(58,65,72,0.78) 40%, rgba(40,46,52,0.92) 100%);
  z-index: -1;
}
.cta .container { position: relative; z-index: 1; }
.cta__giant {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(64px, 12vw, 200px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  margin: 0 0 60px;
}
.cta__giant em {
  font-style: normal;
  font-weight: 500;
  color: var(--acs-green-bright);
}
.cta__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 40px;
}
.cta__contact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.cta__contact h4 {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin: 0 0 8px;
  font-weight: 500;
}
.cta__contact p, .cta__contact a {
  font-size: 15px;
  color: #fff;
  line-height: 1.5;
  margin: 0;
}
.cta__contact a:hover { color: var(--acs-green-bright); }

@media (max-width: 880px) {
  .cta__row { grid-template-columns: 1fr; }
  .cta__contact { grid-template-columns: 1fr; }
}

/* =====================================================================
   Footer
   ===================================================================== */
.footer {
  background: #2e343a;
  color: rgba(255,255,255,0.7);
  padding: 30px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.footer__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer__links {
  display: flex; gap: 24px;
}
.footer__links a:hover { color: #fff; }

/* =====================================================================
   Big logo block (statement element)
   ===================================================================== */
.bigmark {
  background: var(--acs-green);
  color: #fff;
  padding: 80px 0 0;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}
.bigmark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/bigmark-boot.jpg");
  background-size: cover;
  background-position: center 40%;
  filter: contrast(1.05) saturate(0.9) brightness(0.55);
  z-index: -2;
}
.bigmark::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20,55,28,0.92) 0%, rgba(15,42,22,0.9) 50%, rgba(10,30,16,0.96) 100%);
  z-index: -1;
}
.bigmark .container { position: relative; z-index: 1; }
.bigmark__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  padding-bottom: 60px;
}
.bigmark__claim {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 22ch;
}
.bigmark__claim strong { font-weight: 600; }
.bigmark__meta {
  display: flex;
  gap: 32px;
  align-items: end;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.bigmark__meta .item {
  text-align: right;
}
.bigmark__meta .v {
  font-family: var(--f-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}
.bigmark__meta .l {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-top: 8px;
}
.bigmark__giant {
  width: 100%;
  display: block;
  padding: 0 24px 12px;
}
.bigmark__giant svg {
  width: 100%;
  height: auto;
  display: block;
}
.bigmark__giant img {
  width: 100%;
  display: block;
}

@media (max-width: 880px) {
  .bigmark__row { grid-template-columns: 1fr; }
  .bigmark__meta { justify-content: flex-start; }
  .bigmark__meta .item { text-align: left; }
}

/* =====================================================================
   Tweaks panel custom overrides (light)
   ===================================================================== */
[data-tweaks-panel] { z-index: 250 !important; }
