:root {
  --event-ink: #0c171e;
  --event-muted: #52616a;
  --event-paper: #f4f8f7;
  --event-line: rgba(12, 23, 30, 0.14);
  --event-cyan: #25d9e7;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  color: #031014;
  background: var(--cyan-soft);
  font-size: 13px;
  font-weight: 750;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

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

.site-header.is-condensed {
  min-height: 64px;
  background: rgba(2, 7, 10, 0.97);
}

.header-nav a.is-current {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.event-page {
  min-height: 100vh;
  color: var(--event-ink);
  background: var(--event-paper);
}

.event-hero {
  position: relative;
  min-height: 700px;
  padding-top: var(--header-height);
  overflow: hidden;
  isolation: isolate;
  color: #ffffff;
  background: #02070a;
}

.event-hero-glow {
  position: absolute;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(circle at 84% 48%, rgba(37, 217, 231, 0.13), transparent 18%),
    radial-gradient(circle at 84% 48%, rgba(37, 217, 231, 0.045), transparent 42%);
}

.event-hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--content-width), calc(100% - (var(--page-gutter) * 2)));
  min-height: 520px;
  margin: 0 auto;
  padding: clamp(68px, 9vh, 96px) 0 58px;
}

.event-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin-top: 34px;
  animation: event-copy-enter 720ms var(--ease-out) both;
}

.event-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  font-weight: 650;
}

.event-breadcrumbs a,
.event-inline-link {
  transition: color 160ms ease;
}

.event-breadcrumbs a:hover,
.event-breadcrumbs a:focus-visible {
  color: var(--cyan-soft);
}

.event-kicker {
  margin: 0;
  color: var(--event-cyan);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.event-hero h1 {
  max-width: 980px;
  margin: 20px 0 0;
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 780;
  line-height: 1.01;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.event-lead {
  max-width: 820px;
  margin: 25px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 480;
  line-height: 1.55;
}

.event-primary-action {
  width: fit-content;
  min-height: 54px;
  margin-top: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  padding: 0 22px;
  border: 1px solid var(--event-cyan);
  border-radius: 9px;
  color: #031014;
  background: var(--event-cyan);
  font-size: 14px;
  font-weight: 760;
  transition: transform 180ms var(--ease-out), background-color 180ms ease;
}

.event-primary-action:hover,
.event-primary-action:focus-visible {
  background: #8df5fa;
  transform: translateY(-2px);
}

.event-orbit {
  position: absolute;
  z-index: -1;
  top: 48%;
  right: clamp(-180px, -7vw, -88px);
  width: clamp(390px, 38vw, 550px);
  aspect-ratio: 1;
  opacity: 0.5;
  transform: translateY(-50%);
  pointer-events: none;
  animation: event-orbit-enter 1100ms var(--ease-out) both;
}

.event-orbit-ring {
  position: absolute;
  inset: 50%;
  display: block;
  border: 1px solid rgba(168, 245, 247, 0.17);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.event-orbit-ring--outer {
  width: 100%;
  height: 100%;
}

.event-orbit-ring--middle {
  width: 69%;
  height: 69%;
  border-color: rgba(168, 245, 247, 0.24);
}

.event-orbit-ring--inner {
  width: 35%;
  height: 35%;
  border-color: rgba(168, 245, 247, 0.32);
}

.event-orbit-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #c9fcff;
  box-shadow:
    0 0 22px rgba(37, 217, 231, 0.95),
    0 0 80px rgba(37, 217, 231, 0.36);
  transform: translate(-50%, -50%);
  animation: event-core-pulse 3.4s ease-in-out infinite;
}

.event-orbit-point {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--event-cyan);
  box-shadow: 0 0 20px rgba(37, 217, 231, 0.82);
}

.event-orbit-point--one {
  top: 17%;
  left: 33%;
}

.event-orbit-point--two {
  right: 12%;
  bottom: 26%;
}

.event-facts {
  position: relative;
  z-index: 2;
  width: min(var(--content-width), calc(100% - (var(--page-gutter) * 2)));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(168, 245, 247, 0.16);
}

.event-facts > div {
  min-width: 0;
  padding: 22px 22px 25px;
  border-right: 1px solid rgba(168, 245, 247, 0.12);
}

.event-facts > div:first-child {
  padding-left: 0;
}

.event-facts > div:last-child {
  border-right: 0;
}

.event-facts dt,
.event-facts dd {
  margin: 0;
}

.event-facts dt {
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
  font-weight: 740;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.event-facts dd {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 680;
  line-height: 1.35;
}

.event-content {
  width: min(1200px, calc(100% - (var(--page-gutter) * 2)));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, 430px);
  gap: clamp(54px, 7vw, 96px);
  align-items: start;
  padding: clamp(78px, 10vw, 126px) 0 120px;
}

.event-editorial {
  min-width: 0;
}

.event-section {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 24px;
  padding: 0 0 58px;
  border-bottom: 1px solid var(--event-line);
}

.event-section + .event-section {
  padding-top: 58px;
}

.event-section--compact {
  padding-bottom: 0;
  border-bottom: 0;
}

.event-section-number {
  margin: 8px 0 0;
  color: #0a8492;
  font-size: 11px;
  font-weight: 800;
}

.event-section h2 {
  margin: 0;
  color: var(--event-ink);
  font-size: clamp(30px, 3.1vw, 43px);
  font-weight: 760;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.event-section p:not(.event-section-number) {
  max-width: 710px;
  margin: 23px 0 0;
  color: #3e4d55;
  font-size: 16px;
  font-weight: 470;
  line-height: 1.72;
}

.event-section p + p {
  margin-top: 18px;
}

.event-section strong {
  color: var(--event-ink);
  font-weight: 760;
}

.event-program-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--event-line);
}

.event-program-list li {
  position: relative;
  padding: 18px 10px 18px 34px;
  border-bottom: 1px solid var(--event-line);
  color: #3e4d55;
  font-size: 15px;
  line-height: 1.58;
}

.event-program-list li::before {
  content: "→";
  position: absolute;
  top: 18px;
  left: 0;
  color: #087f92;
  font-weight: 800;
}

.event-inline-link {
  width: fit-content;
  display: inline-block;
  margin-top: 22px;
  color: #087f92;
  font-size: 13px;
  font-weight: 740;
}

.event-inline-link:hover,
.event-inline-link:focus-visible {
  color: #045a66;
}

.registration-column {
  scroll-margin-top: calc(var(--header-height) + 28px);
}

.registration-panel {
  position: sticky;
  top: calc(var(--header-height) + 26px);
  padding: 31px 30px 30px;
  border: 1px solid rgba(12, 23, 30, 0.18);
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(23, 82, 92, 0.09);
}

.registration-eyebrow {
  margin: 0;
  color: #087f92;
  font-size: 10px;
  font-weight: 780;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.registration-panel h2 {
  margin: 14px 0 0;
  color: var(--event-ink);
  font-size: 31px;
  font-weight: 760;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.registration-intro {
  margin: 15px 0 0;
  color: var(--event-muted);
  font-size: 13px;
  line-height: 1.55;
}

.registration-form {
  margin-top: 25px;
}

.registration-field {
  display: grid;
  gap: 7px;
}

.registration-field + .registration-field {
  margin-top: 15px;
}

.registration-field label {
  color: #334449;
  font-size: 11px;
  font-weight: 750;
}

.registration-field input {
  width: 100%;
  height: 50px;
  padding: 0 13px;
  border: 1px solid rgba(12, 23, 30, 0.2);
  border-radius: 8px;
  outline: 0;
  color: var(--event-ink);
  background: #fbfdfd;
  font: inherit;
  font-size: 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.registration-field input:hover {
  border-color: rgba(8, 127, 146, 0.48);
}

.registration-field input:focus {
  border-color: #087f92;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 217, 231, 0.15);
}

.registration-field.is-invalid input {
  border-color: #b53b38;
  box-shadow: 0 0 0 3px rgba(181, 59, 56, 0.09);
}

.registration-error {
  min-height: 0;
  color: #a52b28;
  font-size: 10px;
  line-height: 1.4;
}

.registration-error:empty {
  display: none;
}

.registration-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.registration-consents {
  display: grid;
  gap: 13px;
  margin-top: 21px;
}

.registration-consent {
  position: relative;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  color: #5d6c73;
  font-size: 10.5px;
  line-height: 1.48;
}

.registration-consent input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #087f92;
}

.registration-consent a {
  color: #087f92;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.registration-consent .registration-error {
  grid-column: 2;
}

.registration-consent.is-invalid {
  color: #8e2b29;
}

.registration-submit {
  width: 100%;
  min-height: 54px;
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 17px;
  border: 1px solid #087f92;
  border-radius: 8px;
  color: #031014;
  background: var(--event-cyan);
  font: inherit;
  font-size: 13px;
  font-weight: 760;
  cursor: pointer;
  transition: transform 180ms var(--ease-out), background-color 180ms ease, opacity 180ms ease;
}

.registration-submit:hover,
.registration-submit:focus-visible {
  background: #8df5fa;
  transform: translateY(-2px);
}

.registration-submit:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.registration-status {
  min-height: 18px;
  margin: 12px 0 0;
  color: #8e2b29;
  font-size: 11px;
  line-height: 1.45;
}

.registration-success {
  margin-top: 27px;
  padding-top: 25px;
  border-top: 1px solid var(--event-line);
  outline: 0;
}

.registration-success-mark {
  width: 38px;
  height: 38px;
  margin: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #031014;
  background: var(--event-cyan);
  font-size: 18px;
  font-weight: 800;
}

.registration-success h3 {
  margin: 17px 0 0;
  color: var(--event-ink);
  font-size: 24px;
  line-height: 1.15;
}

.registration-success p {
  margin: 12px 0 0;
  color: var(--event-muted);
  font-size: 12px;
  line-height: 1.55;
}

.registration-success .registration-number {
  color: var(--event-ink);
  font-weight: 760;
}

.registration-success a {
  width: fit-content;
  display: inline-block;
  margin-top: 20px;
  color: #087f92;
  font-size: 12px;
  font-weight: 740;
}

.registration-success .registration-telegram-link {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  border: 1px solid #087f92;
  border-radius: 8px;
  color: #031014;
  background: var(--event-cyan);
  font-size: 12px;
  text-decoration: none;
}

.registration-success .registration-telegram-link:hover,
.registration-success .registration-telegram-link:focus-visible {
  background: #8df5fa;
}

.registration-success .registration-telegram-note {
  display: block;
  margin-top: 9px;
  color: #6a7880;
  font-size: 10px;
  line-height: 1.5;
}

.registration-aftercare {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--event-line);
}

.registration-aftercare strong {
  color: var(--event-ink);
  font-size: 11px;
}

.registration-aftercare p {
  margin: 7px 0 0;
  color: #6a7880;
  font-size: 10.5px;
  line-height: 1.55;
}

.site-footer .footer-inner {
  display: block;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.25fr) minmax(150px, 0.55fr) minmax(300px, 1.2fr);
  gap: clamp(40px, 6vw, 80px);
}

.footer-summary p {
  max-width: 360px;
  margin: 24px 0 0;
  color: var(--quiet);
  font-size: 14px;
  line-height: 1.55;
}

.footer-brand {
  color: #ffffff;
  font-size: 16px;
  font-weight: 760;
}

@keyframes event-copy-enter {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes event-orbit-enter {
  from {
    opacity: 0;
    transform: translateY(-46%) scale(0.94);
  }
  to {
    opacity: 0.5;
    transform: translateY(-50%) scale(1);
  }
}

@keyframes event-core-pulse {
  0%,
  100% {
    opacity: 0.75;
    transform: translate(-50%, -50%) scale(0.92);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

@media (max-width: 1020px) {
  .event-hero {
    min-height: 0;
  }

  .event-hero-inner {
    padding-bottom: 46px;
  }

  .event-orbit {
    right: -220px;
    opacity: 0.38;
  }

  .event-content {
    grid-template-columns: 1fr;
  }

  .registration-column {
    width: min(680px, 100%);
  }

  .registration-panel {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 44px 24px;
  }

  .footer-summary {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .event-hero-inner {
    width: calc(100% - 36px);
    padding-top: 54px;
  }

  .event-hero-copy {
    margin-top: 30px;
  }

  .event-hero h1 {
    font-size: clamp(38px, 11.5vw, 56px);
    line-height: 1.03;
    letter-spacing: -0.04em;
  }

  .event-lead {
    font-size: 16px;
  }

  .event-primary-action {
    width: 100%;
  }

  .event-orbit {
    top: 52%;
    right: -250px;
    width: 430px;
    opacity: 0.3;
  }

  .event-facts {
    width: calc(100% - 36px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .event-facts > div,
  .event-facts > div:first-child {
    padding: 18px 10px 20px 0;
    border-bottom: 1px solid rgba(168, 245, 247, 0.12);
  }

  .event-facts > div:nth-child(2n) {
    padding-left: 16px;
    border-right: 0;
  }

  .event-content {
    width: calc(100% - 36px);
    gap: 58px;
    padding: 70px 0 76px;
  }

  .event-section {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-bottom: 44px;
  }

  .event-section + .event-section {
    padding-top: 44px;
  }

  .event-section-number {
    margin: 0;
  }

  .event-section h2 {
    font-size: 31px;
  }

  .event-section p:not(.event-section-number) {
    font-size: 15px;
  }

  .event-program-list li {
    padding-right: 0;
  }

  .registration-panel {
    padding: 26px 20px 24px;
  }

  .registration-panel h2 {
    font-size: 28px;
  }

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

  .footer-summary {
    grid-column: auto;
  }
}

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

  .event-hero-copy,
  .event-orbit,
  .event-orbit-core {
    animation: none;
  }

  .event-primary-action,
  .registration-submit {
    transition: none;
  }
}
