:root {
  --red: #d41143;
  --red-dark: #b40d39;
  --magenta: #b01068;
  --ink: #151922;
  --muted: #5e6370;
  --line: #dedede;
  --soft: #f7f7f7;
  --white: #ffffff;
  --container: min(1320px, calc(100vw - 96px));
  --home-image: url("IMG20260609170607-home-d.jpg");
  --home-image-position: center center;
  --home-image-size: cover;
  --subhero-image: url("https://ug.edu.ge/storage/sliders/February2023/0aISKHWjr79bTsV5J3LQ.jpg");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Ubuntu", "Noto Sans Georgian", sans-serif;
  overflow-x: hidden;
}

body::before,
body::after {
  display: none;
}

body::before {
  width: 620px;
  height: 620px;
  left: -210px;
  top: 540px;
}

body::after {
  width: 860px;
  height: 860px;
  right: -420px;
  top: 80px;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-shell {
  position: relative;
  z-index: 1;
}

.site-header {
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  z-index: 20;
  color: var(--white);
}

.utility-bar {
  position: absolute;
  left: 300px;
  top: 26px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.utility-copy {
  display: none;
}

.lang-switch {
  display: inline-flex;
  gap: 24px;
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.55);
}

.lang-btn {
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-family: "Bebas Neue", "Ubuntu", sans-serif;
  font-size: 18px;
  letter-spacing: 0;
  cursor: pointer;
}

.lang-btn.active,
.lang-btn:hover {
  color: #fff;
}

.brand-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: auto;
}

.brand {
  display: inline-grid;
  grid-template-columns: 94px auto;
  gap: 20px;
  align-items: start;
}

.brand-logo {
  width: 92px;
  height: auto;
  filter: brightness(0) invert(1);
  transform: translateX(12px);
}

.brand-copy {
  min-height: 138px;
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.68);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
}

.brand-line {
  font-family: "Bebas Neue", "Ubuntu", sans-serif;
  color: #fff;
  font-size: 34px;
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-line-top {
  font-size: 24px;
}

.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  padding-top: 28px;
}

.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.86);
  font-family: "Bebas Neue", "Ubuntu", sans-serif;
  font-size: 18px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: transparent;
}

.nav-link:hover,
.nav-link.is-current {
  color: #fff;
}

.nav-link:hover::after,
.nav-link.is-current::after {
  background: #fff;
}

.hero-section {
  position: relative;
  margin: 24px;
  min-height: calc(100vh - 48px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(20, 20, 20, 0.2), rgba(20, 20, 20, 0.08)),
    var(--home-image) var(--home-image-position) / var(--home-image-size) no-repeat;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: min(51vw, 980px);
  background: var(--red);
  clip-path: polygon(0 0, 88% 0, 100% 50%, 88% 100%, 0 100%);
  z-index: 1;
}

.hero-section::after,
.subhero-section::after {
  display: none;
}

.hero-grid {
  position: relative;
  z-index: 4;
  min-height: calc(100vh - 48px);
  width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(460px, 0.56fr) minmax(0, 0.44fr);
  gap: 52px;
  align-items: end;
  padding: 220px 0 72px;
}

.hero-copy {
  color: #fff;
  padding-left: 280px;
}

.eyebrow,
.section-kicker,
.panel-label,
.footer-label,
.prize-rank,
.cta-kicker,
.contact-role,
.participant-number {
  margin: 0;
  color: var(--magenta);
  font-family: "Bebas Neue", "Ubuntu", sans-serif;
  font-size: 18px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy .eyebrow,
.hero-copy .hero-lead,
.hero-panel .panel-label,
.hero-panel .panel-text,
.hero-panel .stat-card span,
.hero-panel .stat-card strong {
  color: #fff;
}

.hero-title,
.subhero-title,
.section-heading h2,
.cta-band h3 {
  margin: 0;
  font-family: "Bebas Neue", "Ubuntu", sans-serif;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.94;
  text-transform: uppercase;
}

.hero-title {
  max-width: 680px;
  margin-top: 0;
  color: #fff;
  font-size: 112px;
}

.hero-lead {
  max-width: 520px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 24px;
  border: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: currentColor;
  font-family: "Bebas Neue", "Ubuntu", sans-serif;
  font-size: 17px;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

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

.btn-primary {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 12px 12px 0 rgba(180, 13, 57, 0.3);
}

.btn-primary:hover {
  background: #fff;
  color: var(--red);
}

.btn-secondary {
  color: #fff;
  opacity: 0.88;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero-panel {
  justify-self: end;
  width: min(100%, 420px);
  margin-bottom: 24px;
  padding: 28px;
  border: 4px solid rgba(255, 255, 255, 0.72);
  background: rgba(0, 92, 86, 0.5);
  color: #fff;
}

.hero-panel-card {
  margin-bottom: 22px;
}

.panel-label {
  margin-bottom: 10px;
}

.panel-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.45);
}

.stat-card {
  padding: 16px 10px 0 0;
}

.stat-card strong {
  display: block;
  font-family: "Bebas Neue", "Ubuntu", sans-serif;
  font-size: 36px;
  letter-spacing: 0;
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.35;
}

.content-section,
.subhero-section {
  position: relative;
  width: var(--container);
  margin-inline: auto;
}

.content-section {
  padding: 72px 0;
}

.content-section + .content-section {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.section-heading {
  margin-bottom: 32px;
}

.section-kicker,
.cta-kicker {
  margin-bottom: 12px;
}

.section-heading h2 {
  max-width: 760px;
  color: var(--ink);
  font-size: 56px;
}

.copy-grid,
.prize-grid,
.judges-grid,
.organizers-grid,
.tasks-grid,
.contacts-grid,
.footer-grid {
  display: grid;
  gap: 34px;
}

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

.copy-card,
.prize-card,
.contact-card {
  padding: 26px 0 0;
  border-top: 1px solid var(--line);
}

.copy-card p,
.prize-card p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.deadline-band {
  position: relative;
  width: var(--container);
  margin: 8px auto 0;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 40px;
  align-items: stretch;
  border-top: 6px solid var(--red);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
}

.deadline-mark {
  display: grid;
  align-content: center;
  min-height: 190px;
  padding: 26px 30px 24px 0;
  color: var(--red);
  border-right: 1px solid var(--line);
}

.deadline-mark span,
.deadline-mark em {
  font-family: "Bebas Neue", "Ubuntu", sans-serif;
  font-size: 24px;
  font-style: normal;
  line-height: 1;
  text-transform: uppercase;
}

.deadline-mark strong {
  display: block;
  font-family: "Bebas Neue", "Ubuntu", sans-serif;
  font-size: 112px;
  line-height: 0.78;
}

.deadline-copy {
  align-self: center;
  max-width: 980px;
  padding: 34px 0;
}

.deadline-copy h2 {
  max-width: 820px;
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 52px;
}

.deadline-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.75;
}

.accent-section {
  width: 100%;
  max-width: none;
  padding-inline: max(48px, calc((100vw - 1320px) / 2));
  background: linear-gradient(rgba(212, 17, 67, 0.94), rgba(212, 17, 67, 0.94)),
    var(--home-image) var(--home-image-position) / var(--home-image-size) no-repeat;
  color: #fff;
}

.accent-section .section-kicker,
.accent-section .section-heading h2,
.accent-section .prize-rank,
.accent-section .prize-amount,
.accent-section .prize-card p {
  color: #fff;
}

.accent-section .prize-card {
  border-color: rgba(255, 255, 255, 0.45);
}

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

.prize-rank {
  display: block;
  margin-bottom: 18px;
}

.prize-amount {
  display: block;
  margin-bottom: 16px;
  color: var(--red);
  font-family: "Bebas Neue", "Ubuntu", sans-serif;
  font-size: 46px;
  line-height: 0.95;
  letter-spacing: 0;
}

.judges-grid,
.organizers-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 44px;
}

.directory-card {
  border-top: 4px solid var(--red);
  border-bottom: 1px solid var(--line);
}

.directory-card + .directory-card {
  margin-top: 28px;
}

.directory-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
}

.directory-summary::-webkit-details-marker {
  display: none;
}

.directory-summary::after {
  content: "";
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-right: 4px solid var(--red);
  border-bottom: 4px solid var(--red);
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.directory-card[open] .directory-summary::after {
  transform: rotate(225deg);
}

.directory-card .judges-grid,
.directory-card .organizers-grid {
  padding: 0 0 24px;
}

.organizers-title {
  margin: 0;
  color: var(--magenta);
  font-family: "Bebas Neue", "Ubuntu", sans-serif;
  font-size: 34px;
  text-transform: uppercase;
}

.judges-title {
  margin-top: 0;
}

.organizers-grid {
  max-width: 1080px;
  margin-inline: auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.organizer-photo {
  border-color: var(--magenta);
}

.judge-card {
  text-align: center;
}

.judge-photo {
  width: min(190px, 100%);
  aspect-ratio: 1;
  margin: 0 auto 18px;
  border: 2px solid var(--red);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 32%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.18) 34%, transparent 35%),
    linear-gradient(135deg, rgba(212, 17, 67, 0.18), rgba(176, 16, 104, 0.06));
  position: relative;
}

.judge-photo::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(212, 17, 67, 0.24);
  border-radius: 50%;
}

.judge-card strong {
  display: block;
  color: var(--ink);
  font-size: 20px;
}

.judge-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.5;
}

html[lang="ka"] .section-heading h2,
html[lang="ka"] .organizers-title,
html[lang="ka"] .prize-rank,
html[lang="ka"] .prize-amount {
  font-family: "Noto Sans Georgian", "Ubuntu", sans-serif;
  text-transform: none;
}

html[lang="ka"] .accent-section .section-heading h2 {
  max-width: 1040px;
  line-height: 1.08;
}

html[lang="ka"] .prize-rank {
  font-size: 17px;
  line-height: 1.35;
}

html[lang="ka"] .prize-amount {
  font-size: clamp(34px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.12;
}

html[lang="ka"] .accent-section .prize-card p {
  line-height: 1.82;
}

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

.task-card {
  min-height: auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  background: rgba(255, 255, 255, 0.78);
}

.task-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  list-style: none;
}

.task-card summary::-webkit-details-marker {
  display: none;
}

.task-card summary::after {
  content: "";
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border: 0;
  border-right: 4px solid var(--red);
  border-bottom: 4px solid var(--red);
  margin-top: -7px;
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.task-card[open] summary::after {
  transform: rotate(225deg);
}

.task-card summary span {
  color: var(--ink);
  font-family: "Bebas Neue", "Ubuntu", sans-serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.task-card p {
  margin: 18px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.7;
}

.schedule-grid {
  display: grid;
  grid-template-columns: minmax(150px, 0.22fr) minmax(0, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.schedule-day,
.schedule-time,
.schedule-event {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  line-height: 1.5;
}

.schedule-day {
  grid-column: 1 / -1;
  padding: 8px 16px;
  background: var(--red);
  color: #fff;
  font-family: "Bebas Neue", "Ubuntu", sans-serif;
  font-size: 26px;
}

.schedule-time {
  padding: 10px 14px;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.schedule-event {
  padding: 10px 14px;
  color: var(--ink);
  line-height: 1.3;
}

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

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-name {
  color: var(--ink);
  font-size: 20px;
}

.contact-card a {
  color: var(--muted);
  line-height: 1.55;
}

.cta-band {
  margin-top: 56px;
  padding: 30px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
}

.cta-band h3 {
  max-width: 620px;
  font-size: 48px;
}

.cta-band .btn-primary,
.form-actions .btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 8px 8px 0 rgba(212, 17, 67, 0.16);
}

.cta-band .btn-secondary,
.form-actions .btn-secondary {
  color: var(--red);
}

.final-register {
  display: flex;
  justify-content: center;
  padding: 24px 0 8px;
}

.final-register-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(420px, 100%);
  min-height: 82px;
  padding: 18px 56px;
  border: 4px solid var(--red);
  background: var(--red);
  color: #fff;
  box-shadow: 14px 14px 0 rgba(212, 17, 67, 0.18);
  font-family: "Bebas Neue", "Ubuntu", sans-serif;
  font-size: 42px;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.final-register-btn:hover {
  background: #fff;
  color: var(--red);
  transform: translateY(-2px);
}

.subhero-section {
  width: auto;
  max-width: none;
  min-height: 500px;
  margin: 24px;
  padding: 210px max(48px, calc((100vw - 1320px) / 2)) 72px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(212, 17, 67, 0.96), rgba(212, 17, 67, 0.84) 44%, rgba(35, 35, 35, 0.42) 44%),
    var(--subhero-image) center / cover no-repeat;
  color: #fff;
}

.subhero-section::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: min(50vw, 900px);
  background: var(--red);
  clip-path: polygon(0 0, 86% 0, 100% 50%, 86% 100%, 0 100%);
  z-index: 1;
}

.subhero-copy {
  position: relative;
  z-index: 4;
  max-width: 760px;
  padding-left: 280px;
}

.subhero-copy .eyebrow,
.subhero-title,
.subhero-lead {
  color: #fff;
}

.subhero-title {
  margin-top: 24px;
  font-size: 84px;
}

.subhero-lead {
  max-width: 560px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
  line-height: 1.7;
}

.form-shell {
  max-width: 1120px;
  margin-inline: auto;
  padding-bottom: 56px;
}

.form-shell.is-closed .field,
.form-shell.is-closed .participant-card,
.form-shell.is-closed .rules-card,
.form-shell.is-closed .agreement-panel,
.form-shell.is-closed .upload-field,
.form-shell.is-closed .upload-file-list {
  opacity: 0.58;
}

.field-grid {
  display: grid;
  gap: 28px 44px;
}

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

.field,
.participant-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field span {
  color: var(--ink);
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 0 13px;
  border: 0;
  border-bottom: 1px solid #cfcfcf;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  line-height: 1.55;
  transition: border-color 160ms ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--red);
}

.field input:disabled,
.field select:disabled,
.field textarea:disabled,
.agreement-check input:disabled {
  cursor: not-allowed;
}

.field textarea {
  min-height: 70px;
  resize: vertical;
}

.upload-field {
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.upload-field input[type="file"] {
  padding: 18px 0;
}

.upload-field small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.upload-file-list {
  margin-top: 16px;
}

.upload-file-list p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.upload-file-list ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.upload-file-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.upload-file-list span {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 15px;
}

.upload-file-list small {
  display: inline-block;
  margin-left: 8px;
  color: var(--muted);
  font-size: 13px;
}

.upload-file-list button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--red-dark);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.upload-file-list button:hover,
.upload-file-list button:focus-visible {
  border-color: var(--red);
  outline: none;
}

.field-wide,
.participant-fields .field:last-child {
  grid-column: 1 / -1;
}

.participants-section {
  margin: 44px 0 44px;
}

.participants-kicker {
  margin-bottom: 18px;
}

.participants-root {
  display: grid;
  gap: 36px;
}

.participant-card {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.participant-head {
  margin-bottom: 18px;
}

.participant-number {
  display: inline-block;
  margin-bottom: 6px;
}

.participant-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 44px;
}

.form-message {
  margin-top: 18px;
  padding-left: 16px;
  border-left: 4px solid var(--red);
  color: var(--red);
  line-height: 1.65;
}

.form-shell.is-closed .form-message {
  margin-top: 28px;
  font-weight: 700;
}

.rules-card {
  margin-top: 30px;
  border-top: 4px solid var(--red);
  border-bottom: 1px solid var(--line);
}

.rules-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.rules-card summary::-webkit-details-marker {
  display: none;
}

.rules-card summary span {
  font-family: "Bebas Neue", "Ubuntu", sans-serif;
  font-size: 34px;
  line-height: 1;
  text-transform: uppercase;
}

.rules-card summary::after {
  content: "";
  width: 20px;
  height: 20px;
  border-right: 4px solid var(--red);
  border-bottom: 4px solid var(--red);
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.rules-card[open] summary::after {
  transform: rotate(225deg);
}

.rules-card ul {
  margin: 0;
  padding: 0 0 24px 22px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.rules-card li + li {
  margin-top: 8px;
}

.deadline-warning {
  margin-top: 24px;
  padding: 18px 22px;
  border-left: 5px solid var(--red);
  background: rgba(212, 17, 67, 0.08);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.55;
}

.agreement-panel {
  margin-top: 18px;
  padding: 20px 22px;
  border: 1px solid rgba(212, 17, 67, 0.32);
  border-top: 4px solid var(--red);
  background: rgba(212, 17, 67, 0.06);
}

.agreement-check {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.55;
}

.agreement-check input {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  accent-color: var(--red);
}

.navigation-warning {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 80;
  width: min(760px, calc(100vw - 32px));
  padding: 22px;
  border-top: 5px solid var(--red);
  background: #fff;
  box-shadow: 0 24px 70px rgba(21, 25, 34, 0.22);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
}

.navigation-warning[hidden] {
  display: none;
}

.navigation-warning strong {
  display: block;
  color: var(--ink);
  font-family: "Bebas Neue", "Ubuntu", sans-serif;
  font-size: 32px;
  line-height: 1;
  text-transform: uppercase;
}

.navigation-warning p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.navigation-warning-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.site-footer {
  position: relative;
  margin-top: 60px;
  padding: 54px 0 86px;
  background:
    linear-gradient(rgba(212, 17, 67, 0.92), rgba(212, 17, 67, 0.92)),
    var(--home-image) var(--home-image-position) / var(--home-image-size) no-repeat;
  color: #fff;
}

.site-footer::after {
  display: none;
}

.footer-grid {
  position: relative;
  z-index: 2;
  width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.62fr);
  gap: 90px;
}

.footer-label {
  margin-bottom: 12px;
  color: #fff;
}

.footer-grid p {
  margin: 0;
  line-height: 1.7;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal-up 650ms ease forwards;
}

.reveal-delay {
  animation-delay: 120ms;
}

.reveal-delay-2 {
  animation-delay: 220ms;
}

@keyframes reveal-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  :root {
    --container: min(100vw - 56px, 100%);
  }

  .utility-bar {
    left: 230px;
  }

  .brand {
    grid-template-columns: 78px auto;
  }

  .brand-logo {
    width: 76px;
  }

  .brand-copy {
    min-height: 114px;
  }

  .hero-copy,
  .subhero-copy {
    padding-left: 0;
  }

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

  .hero-panel {
    justify-self: start;
    margin-left: 0;
  }

  .hero-section::before,
  .subhero-section::before {
    width: 72vw;
  }

  .copy-grid,
  .prize-grid,
  .judges-grid,
  .contacts-grid,
  .footer-grid,
  .field-grid.two-col,
  .participant-fields {
    grid-template-columns: 1fr;
  }

  .deadline-band {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 28px;
  }

  .deadline-mark strong {
    font-size: 86px;
  }

  .deadline-copy h2 {
    font-size: 42px;
  }

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

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

@media (max-width: 760px) {
  :root {
    --container: min(100vw - 32px, 100%);
  }

  body::before,
  body::after,
  .hero-section::after,
  .subhero-section::after {
    display: none;
  }

  .site-header {
    top: 16px;
    left: 16px;
    right: 16px;
  }

  .brand-bar {
    flex-direction: column;
    gap: 18px;
  }

  .brand {
    grid-template-columns: 68px auto;
    gap: 14px;
  }

  .brand-logo {
    width: 66px;
  }

  .brand-copy {
    min-height: auto;
    padding-left: 14px;
  }

  .brand-line {
    font-size: 24px;
  }

  .brand-line-top {
    font-size: 18px;
  }

  .utility-bar {
    left: auto;
    right: 0;
    top: 18px;
  }

  .lang-switch {
    gap: 16px;
    padding-left: 0;
    border-left: 0;
  }

  .main-nav {
    padding-top: 0;
    gap: 18px;
  }

  .hero-section,
  .subhero-section {
    margin: 12px;
    min-height: 760px;
  }

  .hero-section::before,
  .subhero-section::before {
    width: 100%;
    clip-path: none;
  }

  .hero-grid {
    min-height: 760px;
    padding: 260px 0 34px;
  }

  .hero-title {
    max-width: none;
    font-size: 64px;
  }

  .hero-lead,
  .subhero-lead {
    font-size: 16px;
  }

  .hero-panel {
    width: 100%;
    padding: 18px;
  }

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

  .subhero-section {
    padding: 260px 16px 44px;
  }

  .subhero-title {
    font-size: 58px;
  }

  .section-heading h2,
  .cta-band h3 {
    font-size: 40px;
  }

  .content-section {
    padding: 48px 0;
  }

  .accent-section {
    padding-inline: 16px;
  }

  .deadline-band {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .deadline-mark {
    min-height: 0;
    padding: 24px 0 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .deadline-copy {
    padding: 26px 0;
  }

  .deadline-copy h2 {
    font-size: 36px;
  }

  .navigation-warning {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .navigation-warning-actions {
    justify-content: stretch;
  }

  .navigation-warning-actions .btn {
    flex: 1 1 140px;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer::after {
    display: none;
  }

  .schedule-grid {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .schedule-day,
  .schedule-time,
  .schedule-event {
    font-size: 14px;
  }

  .schedule-day {
    padding: 12px;
    font-size: 22px;
  }

  .schedule-time,
  .schedule-event {
    padding: 12px;
  }

  .footer-grid {
    gap: 24px;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
