:root {
  --ink: #f3f1ea;
  --muted: #b3b7bb;
  --paper: #080f1d;
  --acid: #205dcc;
  --gold: #205dcc;
  --display: "Anton", "Arial Narrow", "Arial Black", Impact, sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
}

body {
  min-width: 320px;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: var(--paper);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  content: "";
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

a {
  color: inherit;
}

.site-shell {
  display: block;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
  margin: 0 auto;
  padding: 0;
}

.topbar,
.site-footer {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  color: rgba(243, 241, 234, 0.7);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.topbar {
  padding: 0.1rem 0 1.15rem;
  border-bottom: 1px solid rgba(243, 241, 234, 0.18);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.68rem;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
}

.wordmark i {
  color: var(--acid);
  font-style: normal;
}

.wordmark-mark {
  display: grid;
  width: 1.7rem;
  height: 1.7rem;
  place-items: center;
  border-radius: 50%;
  color: var(--acid);
  font-family: Georgia, serif;
  font-size: 1rem;
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
}

.hero {
  display: block;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  padding: 0;
}

.hero-stage {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
  background: #101d34;
}

.hero-image,
.hero-vignette {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: -3;
  object-fit: cover;
  object-position: center;
}

.hero-vignette {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(4, 9, 18, 0.23) 0%, rgba(4, 9, 18, 0.04) 35%, rgba(4, 9, 18, 0.78) 100%),
    linear-gradient(90deg, rgba(4, 9, 18, 0.85) 0%, rgba(4, 9, 18, 0.08) 56%, rgba(4, 9, 18, 0.18) 100%);
}

.hero-stage::after {
  display: none;
}

.hero-title-lockup {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: baseline;
  width: max-content;
  max-width: 100%;
  margin: 0 0 0.85rem;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(2.7rem, 5.7vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.82;
  text-transform: uppercase;
  user-select: none;
  white-space: nowrap;
  text-shadow: 0 0.06em 0 rgba(4, 9, 18, 0.62), 0 0.14em 0.42em rgba(4, 9, 18, 0.36);
  transform: skewX(-3deg);
  animation: title-reveal 820ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-title-lockup span:last-child {
  display: inline-block;
  margin-left: 0.18em;
  color: var(--acid);
  font-size: 1em;
  text-shadow: 0.035em 0.035em 0 rgba(4, 9, 18, 0.7), 0 0.14em 0.42em rgba(4, 9, 18, 0.34);
  transform: translateY(0.08em);
}

@keyframes title-reveal {
  from {
    opacity: 0;
    filter: blur(0.35rem);
    transform: translateY(0.3em) skewX(-3deg) scale(0.96);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) skewX(-3deg) scale(1);
  }
}

.hero-topline {
  position: absolute;
  top: 1.25rem;
  right: 1.4rem;
  left: 1.4rem;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(243, 241, 234, 0.76);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-topline span:last-child {
  color: var(--acid);
}

.hero-copy {
  align-self: flex-end;
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(92%, 42rem);
  margin: auto auto 3rem;
  text-align: center;
}

.cta-subhead {
  max-width: 30rem;
  margin: 0 auto 1.1rem;
  color: rgba(243, 241, 234, 0.9);
  font-size: clamp(0.92rem, 1.25vw, 1.08rem);
  line-height: 1.42;
  text-align: center;
  text-shadow: 0 1px 1rem rgba(4, 9, 18, 0.38);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  margin: 0 0 1.2rem;
  color: var(--acid);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow-dot {
  display: inline-block;
  width: 0.43rem;
  height: 0.43rem;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 0.28rem rgba(241, 196, 107, 0.14);
}

h1 {
  max-width: 10ch;
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(3.5rem, 7.6vw, 8.4rem);
  font-weight: 900;
  letter-spacing: -0.09em;
  line-height: 0.84;
  text-transform: uppercase;
}

h1 em {
  color: var(--acid);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.9em;
  font-weight: 400;
  letter-spacing: -0.08em;
  text-transform: none;
}

.hero-intro {
  max-width: 28rem;
  margin: clamp(1.7rem, 3vw, 2.5rem) 0 1.3rem;
  color: rgba(243, 241, 234, 0.82);
  font-size: clamp(0.98rem, 1.25vw, 1.1rem);
  line-height: 1.58;
  text-shadow: 0 1px 1rem rgba(4, 9, 18, 0.35);
}

.telegram-link {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.78rem;
  min-height: 3.75rem;
  padding: 0.45rem 0.85rem 0.45rem 0.55rem;
  border-radius: 999px;
  background: var(--acid);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 0.8rem 2rem rgba(6, 22, 58, 0.28);
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), background 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.telegram-link::before {
  position: absolute;
  top: -40%;
  bottom: -40%;
  left: -35%;
  z-index: -1;
  width: 22%;
  content: "";
  background: rgba(255, 255, 255, 0.24);
  transform: skewX(-18deg) translateX(-260%);
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.telegram-link > * {
  position: relative;
  z-index: 1;
}

.telegram-link:hover,
.telegram-link:focus-visible {
  transform: translateY(-0.22rem) rotate(-0.8deg);
  background: #2d70e6;
  color: #ffffff;
  box-shadow: 0 1rem 2.8rem rgba(32, 93, 204, 0.42), 0 0 0 0.28rem rgba(32, 93, 204, 0.18);
  outline: none;
}

.telegram-link:hover::before,
.telegram-link:focus-visible::before {
  transform: skewX(-18deg) translateX(760%);
}

.telegram-link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 0.2rem;
}

.telegram-link:active {
  transform: translateY(0.06rem) scale(0.965);
  box-shadow: 0 0.35rem 0.8rem rgba(6, 22, 58, 0.34), 0 0 0 0.16rem rgba(32, 93, 204, 0.16);
  transition-duration: 80ms;
}

.telegram-icon {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  border-radius: 50%;
  background: #14233c;
  color: var(--ink);
  transition: background 220ms ease, color 220ms ease;
}

.telegram-icon svg {
  width: 1.18rem;
  height: 1.18rem;
  fill: currentColor;
}

.telegram-link:hover .telegram-icon,
.telegram-link:focus-visible .telegram-icon {
  background: var(--acid);
  color: var(--paper);
  transform: rotate(8deg) scale(1.06);
}

.telegram-link:active .telegram-icon {
  transform: rotate(-10deg) scale(0.9);
}

.link-arrow {
  margin: 0 0.75rem 0 0.32rem;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
}

.link-caption {
  margin: 0.72rem 0 0;
  color: rgba(243, 241, 234, 0.58);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}

.hero-meta {
  position: absolute;
  right: 1.4rem;
  bottom: 1.45rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(243, 241, 234, 0.72);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.78rem;
  font-style: italic;
}

.meta-rule {
  display: block;
  width: 2.5rem;
  height: 1px;
  background: rgba(243, 241, 234, 0.56);
}

.site-footer {
  padding-top: 1rem;
  border-top: 1px solid rgba(243, 241, 234, 0.18);
}

.footer-center {
  color: var(--acid);
}

@media (max-width: 900px) {
  .hero-stage {
    min-height: 0;
    height: 100%;
  }

  .hero-image {
    object-position: 54% center;
  }

  .hero-vignette {
    background:
      linear-gradient(180deg, rgba(4, 9, 18, 0.2) 0%, rgba(4, 9, 18, 0.08) 36%, rgba(4, 9, 18, 0.92) 100%),
      linear-gradient(90deg, rgba(4, 9, 18, 0.2) 0%, rgba(4, 9, 18, 0.06) 100%);
  }

  .hero-copy {
    width: min(92%, 35rem);
    margin: auto auto 2rem;
  }

  .hero-meta {
    display: none;
  }
}

@media (max-width: 560px) {
  .site-shell {
    padding: 0;
  }

  .topbar-note,
  .site-footer span:first-child,
  .site-footer span:last-child {
    display: none;
  }

  .topbar {
    padding-bottom: 0.85rem;
  }

  .hero {
    padding: 0;
  }

  .hero-stage {
    min-height: 0;
    height: 100%;
  }

  .hero-topline {
    top: 1rem;
    right: 1rem;
    left: 1rem;
    font-size: 0.56rem;
  }

  .hero-image {
    object-position: 54% center;
  }

  .hero-copy {
    width: min(calc(100% - 2rem), 22.5rem);
    margin: auto auto 3rem;
  }

  .hero-title-lockup {
    display: block;
    width: 100%;
    font-size: clamp(3.35rem, 15vw, 5.75rem);
    line-height: 0.8;
    text-align: center;
    white-space: normal;
  }

  .hero-title-lockup span:last-child {
    display: block;
    margin-left: 0;
  }

  .cta-subhead {
    width: 100%;
    max-width: none;
  }

  .eyebrow {
    margin-bottom: 1rem;
    font-size: 0.58rem;
    letter-spacing: 0.12em;
  }

  h1 {
    font-size: clamp(3.1rem, 15vw, 5.1rem);
  }

  .hero-intro {
    max-width: 21rem;
    margin-top: 1.5rem;
    font-size: 0.95rem;
  }

  .telegram-link {
    width: fit-content;
    max-width: 100%;
    justify-content: center;
  }

  .site-footer {
    justify-content: flex-start;
    font-size: 0.58rem;
    letter-spacing: 0.11em;
  }
}

@media (max-height: 760px) and (max-width: 700px) {
  .hero-copy {
    margin-bottom: 1.25rem;
  }

  .hero-title-lockup {
    font-size: clamp(2.7rem, 11.8vw, 4.5rem);
    margin-bottom: 0.6rem;
  }

  .cta-subhead {
    margin-bottom: 0.75rem;
    font-size: 0.84rem;
    line-height: 1.28;
  }

  .telegram-link {
    min-height: 3.2rem;
    padding: 0.3rem 0.85rem 0.3rem 0.45rem;
  }

  .telegram-icon {
    width: 2.35rem;
    height: 2.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .hero-title-lockup {
    animation: none;
  }

  .telegram-link:hover,
  .telegram-link:focus-visible,
  .telegram-link:active,
  .telegram-link:hover .telegram-icon,
  .telegram-link:focus-visible .telegram-icon,
  .telegram-link:active .telegram-icon {
    transform: none;
  }
}
