.hero {
  padding: 64px 24px 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
}
.hero-copy { flex: 999 1 560px; min-width: 0; }
.hero-h1 {
  font-size: 116px;
  line-height: 0.86;
}
.hero-h1 .roman {
  background: var(--signal);
  color: var(--ink);
  padding: 0 26px 0 12px;
  display: inline-block;
  clip-path: polygon(0 0, 100% 0, calc(100% - 20px) 100%, 0 100%);
}
.hero-lead {
  font-size: 28px;
  line-height: 1.3;
  margin: 28px 0 0;
  font-weight: 600;
  max-width: 640px;
}
.hero-visual { flex: 1 1 460px; position: relative; min-height: 500px; min-width: 0; }
.hero-photo {
  position: absolute;
  right: 0;
  top: 0;
  width: 88%;
  height: 420px;
  object-fit: cover;
  border: var(--border);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 60px 100%);
}
.bib { position: absolute; left: 0; bottom: 0; }
.bib-card {
  width: 280px;
  background: var(--white);
  border: var(--border);
  transform: rotate(-4deg);
  box-shadow: 10px 10px 0 var(--ink);
}
.bib-stripe { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); height: 20px; }
.bib-stripe span:nth-child(1) { background: var(--c-scratch); }
.bib-stripe span:nth-child(2) { background: var(--c-roblox); }
.bib-stripe span:nth-child(3) { background: var(--c-web); }
.bib-stripe span:nth-child(4) { background: var(--c-prog); }
.bib-body { padding: 16px 22px 20px; }
.bib-number {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 140px;
  line-height: 0.8;
  white-space: nowrap;
  overflow: hidden;
}
.bib-foot {
  border-top: 3px dashed var(--ink);
  margin: 16px -22px 0;
  padding: 12px 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.bib-foot .name { font-size: 26px; }

.facts-row {
  margin: 0 0 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 2px;
  border: var(--border-thin);
  background: var(--ink);
  font-size: 22px;
  line-height: 1.3;
}
.facts-row div { background: var(--white); padding: 20px 22px; }

.section-categories { background: var(--white); border-top: var(--border-thin); border-bottom: var(--border-thin); padding: 64px 0 72px; }
.section-title { font-size: 84px; margin: 0 0 28px; }

.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.category-card { text-align: left; padding: 0; cursor: pointer; }
.category-card img { width: 100%; height: 150px; object-fit: cover; border-bottom: var(--border); }
.category-card .band {
  padding: 16px 20px 18px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 22px 100%, 0 calc(100% - 14px));
}
.category-card .band { container-type: inline-size; }
.category-card .band .name { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: min(48px, 15cqi); line-height: 0.9; white-space: nowrap; }
.group-panel:empty { display: none; }
.category-card .band .grades { font-size: 19px; font-weight: 800; margin-top: 4px; }
.category-card .body { padding: 16px 20px 20px; }
.category-card .tagline { font-size: 19px; line-height: 1.4; min-height: 54px; }
.category-card .cta { font-size: 17px; margin-top: 14px; font-weight: 800; }

.group-panel {
  margin-top: 20px;
  border: var(--border);
  background: var(--concrete);
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  align-items: center;
  padding: 22px 24px;
}
.group-panel-title { font-size: 24px; font-weight: 800; }
.group-panel-chips { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 300px; }

.section-rounds { background: var(--ink); color: var(--concrete); padding: 72px 0 80px; }
.section-rounds .section-title { color: var(--white); margin-bottom: 36px; }
.round-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 2px; background: var(--line-dark); }
.round-cell { background: var(--ink); padding: 28px 28px 32px; }
.round-cell-head { display: flex; gap: 18px; align-items: center; }
.round-cell-head .num { font-family: var(--font-display); font-size: 96px; color: var(--signal); line-height: 0.8; }
.round-cell-head h3 { font-size: 42px; line-height: 0.95; color: var(--white); }
.round-cell p { margin: 20px 0 0; font-size: 19px; line-height: 1.5; }
.round-cell p b { color: var(--white); }

.timeline { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 2px; font-size: 19px; }
.timeline div { border-top: 5px solid var(--signal); padding-top: 12px; }
.timeline div:last-child { border-top-color: var(--concrete); }
.timeline b { color: var(--white); }

.two-block { padding: 80px 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.block { border: var(--border); padding: 32px; }
.block.signal { background: var(--signal); }
.block.white { background: var(--white); }
.block h2 { font-size: 72px; line-height: 0.88; }
.round-tag {
  display: inline-block;
  border: 4px solid var(--ink);
  padding: 2px 16px 0;
  margin: 0 2px;
}
.block .lead { margin: 18px 0 0; font-size: 22px; line-height: 1.4; font-weight: 600; }
.block .body { margin: 12px 0 0; font-size: 19px; line-height: 1.5; }
.hero-countdown { margin-top: 32px; }
.hero-countdown-label { font-size: 19px; font-weight: 800; }
.hero-countdown .countdown { margin-top: 10px; }
.hero-countdown-note { margin: 14px 0 0; font-size: 19px; }
.countdown { display: flex; gap: 10px; margin-top: 26px; }
.countdown div { background: var(--ink); color: var(--white); padding: 12px 16px; text-align: center; min-width: 84px; }
.countdown .num { font-size: 36px; font-weight: 700; }
.countdown .unit { font-size: 14px; }

.section-awards { background: var(--white); border-top: var(--border-thin); border-bottom: var(--border-thin); padding: 72px 0; }
.awards-flex { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.awards-copy { flex: 1 1 400px; }
.awards-copy h2 { font-size: 84px; line-height: 0.88; }
.awards-copy .lead { font-size: 22px; line-height: 1.45; font-weight: 600; margin: 20px 0 0; }
.awards-copy .note { font-size: 19px; line-height: 1.5; margin: 12px 0 18px; }
.awards-visual { flex: 1 1 480px; min-width: 0; }
.awards-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.awards-grid img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--white); border: var(--border-thin); }
.awards-caption { font-size: 18px; font-weight: 700; margin: 18px 0 10px; }

.section-reglament { padding: 80px 24px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.reglament-copy { flex: 1 1 420px; }
.reglament-copy h2 { font-size: 84px; line-height: 0.88; }
.reglament-copy p { font-size: 21px; line-height: 1.45; margin: 20px 0 24px; }
.reglament-calc { flex: 1 1 520px; border: var(--border); background: var(--white); padding: 28px; }
.reglament-calc h3 { font-size: 24px; font-weight: 800; margin: 0 0 16px; text-transform: none; font-family: var(--font-body); }
.weight-bar { display: flex; height: 64px; border: var(--border-thin); font-size: 20px; }
.weight-bar div { display: flex; align-items: center; padding: 0 14px; font-weight: 800; }
.weight-bar .round2 { flex: 0 0 40%; background: var(--c-scratch); border-right: var(--border-thin); }
.weight-bar .final { flex: 1 1 auto; background: var(--signal); }
.reglament-calc .note { font-size: 18px; margin: 16px 0 0; line-height: 1.45; }

.section-archive { padding: 0 24px 80px; }
.section-archive h2 { font-size: 84px; line-height: 0.88; }
.archive-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 20px; }
.archive-visual { display: block; height: 220px; width: auto; max-width: 100%; background: var(--white); border: var(--border); box-shadow: var(--shadow); padding: 8px; }
.archive-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.archive-card { display: block; text-decoration: none; border: var(--border); background: var(--white); padding: 24px; color: var(--ink); }
.archive-card.upcoming { border: 3px dashed var(--ink); background: transparent; }
.archive-card .edition { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: 44px; line-height: 0.95; }
.archive-card .desc { font-size: 19px; margin-top: 8px; }
.archive-oldsite-note { margin: 16px 0 0; font-size: 16px; color: var(--muted); }

.section-partners { background: var(--white); border-top: var(--border-thin); padding: 72px 0; }
.section-partners h2 { font-size: 84px; line-height: 0.88; }
.section-partners h3 { font-size: 30px; margin: 40px 0 14px; }
.partners-org { font-size: 21px; line-height: 1.45; margin: 20px 0 0; }
.partners-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap: 12px; }
.partner { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 14px 14px;
           border: 2px solid var(--line); background: var(--white); color: var(--ink); text-decoration: none; }
.partner:hover, .partner:focus-visible { border-color: var(--ink); box-shadow: var(--shadow); }
.partner img { width: 100%; height: 72px; object-fit: contain; }
.partner span { font-size: 16px; font-weight: 700; text-align: center; line-height: 1.3; }
.partners-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 40px; padding-top: 28px; border-top: var(--border-thin); }
.partners-cta p { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: 40px; line-height: 0.95; margin: 0; }

.section-faq { padding: 80px 24px; }
.section-faq h2 { font-size: 84px; margin: 0 0 24px; line-height: 0.88; }
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 0 40px; }
.faq-all-note { margin: 24px 0 0; font-size: 17px; font-weight: 700; }

.section-cta { background: var(--signal); border-top: 3px solid var(--ink); }
.cta-flex { padding: 64px 24px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.cta-flex h2 { font-size: 120px; line-height: 0.85; }

@media (max-width: 860px) {
  .hero-h1 { font-size: clamp(44px, 14vw, 64px); }
  .bib { display: none; }
  .countdown { gap: 6px; }
  .countdown div { flex: 1 1 0; min-width: 0; padding: 10px 6px; }
  .countdown .num { font-size: clamp(24px, 8vw, 36px); }
  .section-title { font-size: 52px !important; }
  .round-cell { padding: 24px 20px 28px; }
  .round-cell-head h3 { font-size: clamp(30px, 10vw, 42px); min-width: 0; }
  .awards-copy h2, .reglament-copy h2, .section-archive h2, .section-faq h2, .section-partners h2, .block h2 { font-size: 44px !important; }
  .partners-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .partner { padding: 12px 8px 10px; }
  .partner img { height: 52px; }
  .partner span { font-size: 14px; }
  .cta-flex h2 { font-size: 64px !important; }
}

.reglament-actions { display: flex; flex-wrap: wrap; gap: 12px; }
