:root {
  --red: #ee2d2a;
  --red-dark: #b90f16;
  --green: #0c8f3f;
  --green-dark: #07582a;
  --gold: #d8ad27;
  --gold-soft: #f4d66d;
  --ink: #121416;
  --muted: #5d6269;
  --line: #e6e6e6;
  --paper: #ffffff;
  --soft: #f4f4f4;
  --content: 1200px;
  --gutter: clamp(22px, 4vw, 48px);
  --section-y: clamp(58px, 6vw, 82px);
  --shadow: 0 18px 42px rgba(12, 12, 12, 0.14);
  --shadow-strong: 0 22px 54px rgba(12, 12, 12, 0.2);
  --tajik-backdrop: url("assets/floodlight-wide.jpg");
  --font-display: "Bahnschrift", "DIN Condensed", "Trebuchet MS", sans-serif;
  --font-body: "Aptos", "Trebuchet MS", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(238, 45, 42, 0.04), transparent 18%, transparent 82%, rgba(12, 143, 63, 0.04)),
    var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 900;
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(170px, 1fr) auto minmax(130px, 1fr);
  align-items: center;
  gap: 20px;
  width: min(var(--content), calc(100% - (var(--gutter) * 2)));
  margin: 0 auto;
  padding: 28px 0;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--red);
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
}

.brand span {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.78);
}

.brand img,
.footer-brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 3px #fff;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3vw, 48px);
  color: #8f4746;
  font-size: 14px;
  font-weight: 800;
}

.nav-links a {
  position: relative;
  padding: 10px 0;
}

.nav-links a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 3px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}

.icon-link:hover {
  background: rgba(238, 45, 42, 0.08);
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
}

.icon-link,
.menu-toggle {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--red);
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.icon-link svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.menu-toggle {
  display: none;
  justify-self: end;
  gap: 5px;
  border-radius: 999px;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--red);
  transition: transform 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
  min-height: clamp(650px, 76svh, 730px);
  overflow: hidden;
  background:
    linear-gradient(115deg, transparent 0 50%, rgba(216, 173, 39, 0.08) 50% 50.5%, transparent 50.5%),
    var(--paper);
}

.hero-media {
  position: relative;
  min-height: clamp(650px, 76svh, 730px);
  clip-path: polygon(0 0, 89% 0, 71% 100%, 0 100%);
  background:
    linear-gradient(120deg, rgba(2, 2, 2, 0.88), rgba(10, 10, 10, 0.4) 48%, rgba(238, 45, 42, 0.18)),
    #111;
}

.hero-media::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(128deg, transparent 0 73%, rgba(216, 173, 39, 0.92) 73.1% 73.55%, transparent 73.65%),
    radial-gradient(circle at 16% 24%, rgba(216, 173, 39, 0.22), transparent 20%);
  content: "";
  pointer-events: none;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 18%, rgba(238, 45, 42, 0.34), transparent 28%),
    radial-gradient(circle at 78% 44%, rgba(12, 143, 63, 0.18), transparent 34%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.55), transparent);
  content: "";
  mix-blend-mode: multiply;
  pointer-events: none;
}

.hero-main-image {
  width: 100%;
  height: 100%;
  min-height: clamp(650px, 76svh, 730px);
  object-fit: cover;
  object-position: 30% center;
  filter: saturate(1.04) contrast(1.04);
  transition: opacity 220ms ease, transform 420ms ease;
}

.hero-main-image.is-swapping {
  opacity: 0.58;
  transform: scale(1.015);
}

.hero-brand-mark {
  position: absolute;
  top: 112px;
  left: clamp(30px, 4vw, 54px);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-left: 4px solid var(--gold);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.hero-brand-mark img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.hero-brand-mark span {
  color: var(--green);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
}

.slide-dots {
  position: absolute;
  bottom: 34px;
  left: min(8vw, 92px);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.slide-dots button {
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.slide-dots button.is-active {
  background: #fff;
}

.hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 88px clamp(28px, 6vw, 92px) 42px 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--red);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #fff;
  opacity: 0.86;
}

.hero h1,
.section-intro h2,
.latest h2,
.feature-video h2,
.club-info h2,
.contact-band h2,
.imprint h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.08;
}

.hero h1 {
  max-width: 620px;
  color: var(--red);
  font-size: clamp(48px, 5vw, 72px);
  text-transform: uppercase;
}

.hero h1::after {
  display: block;
  width: min(180px, 36vw);
  height: 5px;
  margin-top: 14px;
  background: linear-gradient(90deg, var(--red) 0 36%, #fff 36% 48%, var(--green) 48% 78%, var(--gold) 78%);
  content: "";
}

.hero-lead {
  max-width: 600px;
  margin: 22px 0 8px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(23px, 2.2vw, 32px);
  font-weight: 800;
  line-height: 1.16;
}

.hero-text {
  max-width: 560px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.hero-actions,
.play-link {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-actions {
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 2px solid currentColor;
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border-color: var(--red);
  box-shadow: 0 10px 24px rgba(238, 45, 42, 0.24);
}

.btn-ghost {
  color: var(--red);
}

.btn-light {
  color: #fff;
}

.hero-gallery {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 16px;
  width: min(560px, 100%);
  margin-top: 26px;
}

.gallery-card {
  position: relative;
  width: 132px;
  height: 58px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 14px 34px rgba(12, 12, 12, 0.16);
  cursor: pointer;
  transition: width 280ms ease, height 280ms ease, box-shadow 280ms ease;
}

.gallery-card.is-active {
  width: 224px;
  height: 84px;
  box-shadow: var(--shadow-strong), 0 0 0 2px rgba(216, 173, 39, 0.62);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
}

.gallery-card span {
  position: absolute;
  left: 14px;
  bottom: 10px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 900;
}

.schedule-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
  gap: clamp(38px, 5vw, 64px);
  padding: var(--section-y) max(var(--gutter), calc((100vw - var(--content)) / 2)) clamp(50px, 5vw, 68px);
  overflow: clip;
  background:
    linear-gradient(90deg, rgba(185, 15, 22, 0.9), rgba(238, 45, 42, 0.92) 42%, rgba(238, 45, 42, 0.84)),
    var(--tajik-backdrop) center / cover;
  color: #fff;
}

.schedule-band::before,
.feature-video::before,
.contact-band::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 112px),
    radial-gradient(circle at 18% 18%, rgba(216, 173, 39, 0.22), transparent 24%);
  content: "";
  opacity: 0.5;
  pointer-events: none;
}

.schedule-band > *,
.feature-video > *,
.contact-band > * {
  position: relative;
  z-index: 1;
}

.section-intro {
  padding-top: 12px;
}

.section-intro h2,
.latest h2,
.feature-video h2,
.club-info h2,
.contact-band h2,
.imprint h2,
.identity-strip h2 {
  font-size: clamp(36px, 4vw, 58px);
}

.section-intro p {
  max-width: 34rem;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
}

.schedule-scroll {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  overflow: visible;
  padding: 8px 8px 34px;
  scrollbar-width: thin;
}

.match-card,
.news-card,
.contact-card {
  border-radius: 7px;
  background: #fff;
  box-shadow: var(--shadow);
}

.match-card {
  min-height: 386px;
  color: var(--ink);
  overflow: hidden;
  border-top: 5px solid var(--gold);
}

.match-card-top {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 14px;
  min-height: 124px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(238, 45, 42, 0.08), transparent 52%),
    #fff;
}

.match-card-top img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

.match-card-top strong {
  justify-self: end;
  color: var(--green);
  font-family: var(--font-display);
  font-size: 18px;
  text-transform: uppercase;
}

.match-card-body {
  min-height: 262px;
  padding: 28px 26px;
  background:
    linear-gradient(180deg, #f1f1f1, #e5e5e5);
}

.match-card-body h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 19px;
}

.match-card-body p {
  margin: 0 0 18px;
  color: #606267;
  font-size: 14px;
  line-height: 1.4;
}

.match-card-body a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: var(--red);
  font-family: var(--font-display);
  font-weight: 900;
}

.match-card-body a::after {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--green));
  color: #fff;
  content: ">";
}

.latest {
  padding: clamp(58px, 6vw, 78px) max(var(--gutter), calc((100vw - var(--content)) / 2)) var(--section-y);
  background:
    linear-gradient(90deg, rgba(12, 143, 63, 0.05), transparent 20%),
    #fff;
}

.departments {
  display: grid;
  grid-template-columns: minmax(220px, 270px) minmax(0, 1fr);
  gap: clamp(34px, 5vw, 56px);
  padding: var(--section-y) max(var(--gutter), calc((100vw - var(--content)) / 2));
  background:
    linear-gradient(90deg, #fff 0 62%, rgba(216, 173, 39, 0.12) 62%),
    #fff;
}

.departments-heading h2 {
  margin: 0;
  color: var(--red);
  font-family: var(--font-display);
  font-size: clamp(34px, 3.2vw, 46px);
  font-weight: 900;
  line-height: 1.08;
  hyphens: none;
}

.departments-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(390px, 1.28fr);
  gap: 24px;
}

.department-card {
  min-width: 0;
  padding: clamp(24px, 3vw, 32px);
  border-top: 5px solid var(--gold);
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(12, 143, 63, 0.06), transparent 52%),
    #fff;
  box-shadow: var(--shadow);
}

.department-card-featured {
  background:
    linear-gradient(135deg, rgba(238, 45, 42, 0.08), transparent 58%),
    #fff;
}

.department-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--red);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.department-card h3 {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 900;
  line-height: 1.1;
}

.team-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.team-list li {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  border-left: 4px solid var(--green);
  background: #f3f4f3;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 900;
}

.team-list-large li {
  min-height: 54px;
  border-left-color: var(--red);
  font-size: 18px;
}

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

.latest-heading {
  display: flex;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
  margin-bottom: clamp(34px, 4vw, 46px);
}

.latest h2 {
  color: var(--red);
}

.news-tabs {
  display: flex;
  align-items: center;
  min-width: min(520px, 60vw);
  height: 62px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 31px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(10, 10, 10, 0.1);
}

.news-tabs button {
  position: relative;
  flex: 1;
  height: 100%;
  border: 0;
  border-radius: 24px;
  background: transparent;
  color: #c65a57;
  font-family: var(--font-display);
  font-weight: 800;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease;
}

.news-tabs button:hover,
.news-tabs button.is-active {
  color: var(--red);
  background: rgba(238, 45, 42, 0.06);
}

.news-tabs button svg {
  width: 24px;
  height: 24px;
  fill: var(--red);
}

.news-tabs button.is-active::after {
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: 11px;
  height: 3px;
  background: var(--red);
  content: "";
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 28px);
}

.news-card {
  display: block;
  overflow: hidden;
  border-top: 4px solid var(--gold);
  background: #e7e7e7;
  color: var(--ink);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.news-card.is-hidden {
  display: none;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}

.news-card img {
  width: 100%;
  aspect-ratio: 1.22;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.03);
}

.news-card div {
  min-height: 134px;
  padding: 22px 24px 24px;
}

.news-card h3 {
  min-height: 56px;
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.28;
}

.news-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  height: 27px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red), var(--green));
  color: #fff;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.identity-strip {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 36px;
  min-height: clamp(320px, 36vw, 380px);
  padding: var(--section-y) max(var(--gutter), calc((100vw - var(--content)) / 2));
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(11, 11, 11, 0.64), rgba(11, 11, 11, 0.26)),
    var(--tajik-backdrop) center / cover;
  color: #fff;
}

.identity-strip::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(238, 45, 42, 0.36), transparent 36%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.2), transparent);
  content: "";
}

.identity-strip > * {
  position: relative;
  z-index: 1;
}

.identity-strip h2 {
  max-width: 680px;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.08;
}

.identity-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  max-width: 430px;
}

.identity-points a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(244, 214, 109, 0.68);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.identity-points a:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--gold-soft);
  transform: translateY(-2px);
}

.feature-video {
  position: relative;
  display: grid;
  grid-template-columns: minmax(330px, 0.95fr) minmax(0, 1.05fr);
  min-height: clamp(460px, 44vw, 520px);
  background:
    linear-gradient(90deg, var(--red-dark), var(--red) 58%, #f03a32),
    var(--red);
  color: #fff;
  overflow: hidden;
}

.video-hero {
  position: relative;
  min-height: clamp(460px, 44vw, 520px);
}

.video-hero::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.48), rgba(238, 45, 42, 0.78)),
    rgba(238, 45, 42, 0.42);
  content: "";
}

.video-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-copy {
  position: absolute;
  left: max(var(--gutter), calc((100vw - var(--content)) / 2));
  bottom: clamp(48px, 6vw, 70px);
  z-index: 2;
  width: min(430px, calc(100% - 64px));
}

.video-copy > span {
  display: block;
  width: 132px;
  height: 5px;
  margin-bottom: 28px;
  background: #fff;
}

.play-link {
  margin-top: 22px;
  font-family: var(--font-display);
  font-weight: 900;
}

.play-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

.play-icon::before {
  margin-left: 4px;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 16px solid var(--red);
  content: "";
}

.featured-column {
  padding: clamp(56px, 6vw, 70px) max(var(--gutter), calc((100vw - var(--content)) / 2)) clamp(52px, 5vw, 64px) clamp(38px, 5vw, 56px);
}

.featured-column h2 {
  margin-bottom: 40px;
  text-align: right;
}

.story-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 24px;
}

.story-row article img {
  width: 100%;
  aspect-ratio: 1.56;
  border: 5px solid #fff;
  border-radius: 7px;
  object-fit: cover;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
}

.story-row h3 {
  margin: 18px 0 12px;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.3;
}

.story-row a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.club-info {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(40px, 5vw, 60px);
  padding: var(--section-y) max(var(--gutter), calc((100vw - var(--content)) / 2));
  background:
    linear-gradient(90deg, #fff 0 62%, rgba(216, 173, 39, 0.14) 62%),
    #fff;
}

.club-copy p:last-child {
  max-width: 650px;
  color: var(--muted);
}

.club-stat-grid {
  display: grid;
  gap: 16px;
}

.club-stat-grid div {
  display: grid;
  grid-template-columns: 120px 1fr;
  column-gap: 18px;
  align-items: center;
  min-height: 92px;
  padding: 18px 22px;
  border-left: 6px solid var(--green);
  background:
    linear-gradient(90deg, rgba(12, 143, 63, 0.06), transparent),
    #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.club-stat-grid strong {
  color: var(--red);
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1;
}

/* Text values (e.g. a league name) don't fit the big-number slot — scale them down
   so they stay inside their column and never overlap the label. */
.club-stat-grid .stat-text {
  font-size: 20px;
  line-height: 1.12;
  text-transform: uppercase;
  letter-spacing: 0;
}

.club-stat-grid span {
  color: var(--muted);
  font-weight: 700;
}

.contact-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: clamp(34px, 5vw, 48px);
  align-items: center;
  padding: var(--section-y) max(var(--gutter), calc((100vw - var(--content)) / 2));
  background:
    linear-gradient(120deg, rgba(7, 88, 42, 0.78), rgba(18, 20, 22, 0.9) 52%),
    var(--tajik-backdrop) center / cover,
    #151515;
  color: #fff;
}

.contact-band p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.76);
}

.contact-card {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 20px;
  align-items: start;
  padding: clamp(24px, 3vw, 30px);
  color: var(--ink);
  border-top: 5px solid var(--gold);
}

.contact-card img {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  object-fit: cover;
}

.contact-card dl,
.contact-card dd {
  margin: 0;
}

.contact-card div + div {
  margin-top: 18px;
}

.contact-card dt {
  color: var(--red);
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
}

.contact-card dd {
  color: var(--muted);
}

.contact-card a {
  color: var(--green);
  font-weight: 900;
}

.contact-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.contact-actions .btn {
  min-height: 42px;
  padding: 0 16px;
}

.imprint {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(34px, 5vw, 58px);
  align-items: start;
  padding: var(--section-y) max(var(--gutter), calc((100vw - var(--content)) / 2));
  background:
    linear-gradient(90deg, rgba(238, 45, 42, 0.04), transparent 42%, rgba(12, 143, 63, 0.06)),
    #fff;
}

.imprint-heading p:last-child {
  max-width: 520px;
  color: var(--muted);
}

.imprint-card {
  display: grid;
  grid-template-columns: minmax(116px, 0.32fr) minmax(0, 1fr);
  gap: 24px;
  padding: clamp(24px, 3vw, 32px);
  border-top: 5px solid var(--gold);
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(238, 45, 42, 0.07), transparent 50%),
    #fff;
  box-shadow: var(--shadow);
}

.rating-badge {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 116px;
  padding: 18px;
  border: 1px solid rgba(216, 173, 39, 0.48);
  background:
    linear-gradient(180deg, #fff, rgba(244, 214, 109, 0.14));
}

.rating-badge strong {
  color: var(--red);
  font-family: var(--font-display);
  font-size: 42px;
  line-height: 1;
}

.rating-badge span {
  margin-top: 8px;
  color: var(--green);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.imprint-details,
.imprint-details dd {
  margin: 0;
}

.imprint-details {
  display: grid;
  gap: 16px;
}

.imprint-details div {
  padding-left: 16px;
  border-left: 4px solid var(--green);
}

.imprint-details dt {
  color: var(--red);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.imprint-details dd {
  color: var(--muted);
  font-weight: 700;
}

.imprint-details a {
  color: var(--green);
  font-weight: 900;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  padding: 48px max(var(--gutter), calc((100vw - var(--content)) / 2));
  background:
    linear-gradient(90deg, rgba(238, 45, 42, 0.08), transparent 34%, rgba(12, 143, 63, 0.08)),
    #dfdfdf;
  color: #555;
  font-size: 14px;
}

.footer-links,
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
}

.footer-social {
  justify-content: flex-end;
}

.footer-links a:hover,
.footer-social a:hover {
  color: var(--red);
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
  }

  .nav-links {
    gap: 22px;
  }

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

  .hero-media {
    min-height: 520px;
    clip-path: none;
  }

  .hero-main-image {
    min-height: 520px;
  }

  .hero-copy {
    padding: 52px var(--gutter) 64px;
  }

  .hero-gallery {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-top: 36px;
    transform: none;
  }

  .schedule-band,
  .departments,
  .identity-strip,
  .feature-video,
  .club-info,
  .contact-band,
  .imprint {
    grid-template-columns: 1fr;
  }

  .latest-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }

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

  .departments-layout {
    grid-template-columns: 1fr;
  }

  .departments-heading h2 {
    max-width: 520px;
  }

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

  .featured-column h2 {
    text-align: left;
  }

  .identity-points {
    justify-content: flex-start;
  }

  .club-info {
    background: #fff;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-social {
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 86px;
  }

  .site-header {
    position: fixed;
    grid-template-columns: 1fr auto;
    width: 100%;
    padding: 14px 22px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(12px);
  }

  .brand span {
    max-width: 150px;
    line-height: 1.05;
  }

  .menu-toggle {
    display: grid;
  }

  .header-actions {
    display: none;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    left: 22px;
    right: 22px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #fff;
    box-shadow: var(--shadow-strong);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 10px 2px;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand span {
    max-width: 130px;
  }

  .nav-links {
    left: 18px;
    right: 18px;
  }

  .hero-media,
  .hero-main-image {
    min-height: clamp(320px, 52svh, 380px);
  }

  .hero-brand-mark {
    top: 92px;
    left: 22px;
    padding: 8px 12px;
  }

  .hero-brand-mark img {
    width: 36px;
    height: 36px;
  }

  .hero-brand-mark span {
    font-size: 15px;
  }

  .slide-dots {
    left: 22px;
  }

  .hero-copy {
    padding: 30px 22px 38px;
  }

  .hero h1 {
    font-size: clamp(40px, 12vw, 44px);
  }

  .hero-lead {
    font-size: 24px;
  }

  .hero-text {
    font-size: 15px;
    line-height: 1.5;
  }

  .hero-actions {
    margin-top: 20px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-gallery {
    display: none;
  }

  .schedule-band,
  .departments,
  .identity-strip,
  .latest,
  .featured-column,
  .club-info,
  .contact-band,
  .imprint,
  .site-footer {
    padding-left: 22px;
    padding-right: 22px;
  }

  .schedule-band {
    gap: 28px;
    padding-top: 54px;
    padding-bottom: 46px;
  }

  .section-intro h2,
  .latest h2,
  .feature-video h2,
  .club-info h2,
  .contact-band h2,
  .imprint h2,
  .identity-strip h2 {
    font-size: clamp(34px, 11vw, 46px);
  }

  .schedule-scroll {
    grid-template-columns: none;
    grid-auto-columns: minmax(252px, 82vw);
    grid-auto-flow: column;
    margin-right: -22px;
    padding-right: 22px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .match-card {
    scroll-snap-align: start;
  }

  .departments {
    gap: 28px;
  }

  .department-card {
    padding: 22px;
  }

  .youth-list {
    grid-template-columns: 1fr;
  }

  .identity-strip {
    align-items: end;
    min-height: 300px;
    gap: 24px;
  }

  .news-tabs {
    min-width: 0;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .news-tabs::-webkit-scrollbar {
    display: none;
  }

  .news-tabs button {
    flex: 0 0 auto;
    min-width: 74px;
    padding: 0 16px;
    font-size: 13px;
  }

  .news-grid,
  .story-row {
    grid-template-columns: 1fr;
  }

  .video-copy {
    left: 22px;
    width: calc(100% - 44px);
  }

  .club-stat-grid div {
    grid-template-columns: minmax(72px, auto) 1fr;
  }

  .contact-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .imprint-card {
    grid-template-columns: 1fr;
  }

  .rating-badge {
    min-height: 96px;
    justify-items: start;
  }

  .contact-actions .btn {
    width: 100%;
  }
}

/* Entrance-animation start states (set before paint to avoid flicker).
   Only applied when JS is active and the user allows motion; Motion reveals each
   element on load / on scroll. The .anim-done fallback in index.html re-shows
   everything if the animation library ever fails to load. */
@media (prefers-reduced-motion: no-preference) {
  html.has-js:not(.anim-done) :is(
    .hero-brand-mark,
    .section-intro > *,
    .schedule-scroll .match-card,
    .latest-heading > *,
    .news-grid .news-card,
    .identity-copy > *,
    .identity-points,
    .video-copy > *,
    .featured-column h2,
    .story-row article,
    .club-copy > *,
    .club-stat-grid > div,
    .contact-band > div:not(.contact-card) > *,
    .contact-card,
    .imprint-heading > *,
    .imprint-card
  ) {
    opacity: 0;
  }
}
