@font-face {
  font-family: "FuturaCyrillicBold";
  src: url("https://ACME.b-cdn.net/fonts/futuracyrillicbold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }

:root{
  --orange: #ff8434;
  --topbar-h: 78px;
}

body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  min-height: 100vh;
  color: #111;
  overflow-x: hidden;
  overflow-y: hidden;
  padding-top: var(--topbar-h);
}

#bg3d{
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: auto;
}

.object-label-layer{
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
}

.main-showcase-cta {
  position: fixed;
  top: 90%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 200;
}

.object-label{
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-50%, 0);
  opacity: 0;
  padding: 20px 25px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: #ffffff;
  color: #111111;
  font-family: "FuturaCyrillicBold", system-ui, sans-serif;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0.4px;
  white-space: nowrap;
  backdrop-filter: blur(4px);
  transition: opacity 120ms ease-out;
}

@keyframes label-fade-in{
  from{
    opacity: 0;
  }
  to{
    opacity: 1;
  }
}

/* header */
.topbar{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  min-height: var(--topbar-h);

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 18px 24px;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 0;
}

.nav-inner{
  width: 100%;
  max-width: 1180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-nav{
  position: relative;
  z-index: 220;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.8vw, 40px);
  flex-wrap: wrap;
  overflow: visible;
}

.nav-link{
  appearance: none;
  border: 0;
  background: transparent;
  padding: 8px 2px;

  cursor: pointer;
  font: inherit;
  text-decoration: none;
  font-weight: 650;
  color: rgba(17,17,17,0.92);
  letter-spacing: 4px;

  position: relative;
  transition: color 220ms ease;
}

.nav-link::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0px;

  height: 2px;
  width: 100%;
  background: var(--orange);

  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 260ms ease;
  opacity: 0.95;
}

.nav-link:hover{
  color: var(--orange);
}
.nav-link:hover::after{
  transform: scaleX(1);
}

.nav-link[aria-current="page"]{
  color: var(--orange);
}

.nav-link[aria-current="page"]::after{
  transform: scaleX(1);
}

.nav-dropdown{
  position: relative;
  z-index: 221;
  display: flex;
  align-items: center;
  color: inherit;
  --nav-dropdown-menu-width: 260px;
}

.nav-dropdown:hover,
.nav-dropdown:focus-within{
  z-index: 260;
}

.nav-dropdown::before{
  content: "";
  position: absolute;
  top: calc(100% - 4px);
  left: 50%;
  width: calc(var(--nav-dropdown-menu-width) + 40px);
  height: 30px;
  transform: translateX(-50%);
}

.nav-dropdown:hover > .nav-link::after,
.nav-dropdown:focus-within > .nav-link::after{
  transform: scaleX(1);
}

.nav-dropdown-menu{
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(2px);
  min-width: var(--nav-dropdown-menu-width);
  z-index: 280;
  padding: 8px;
  display: grid;
  gap: 2px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 34px rgba(17, 17, 17, 0.1);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 0s;
}

.nav-dropdown-link{
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  background: transparent;
  text-decoration: none;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.35;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff8434;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.nav-dropdown-link:hover,
.nav-dropdown-link:focus-visible,
.nav-dropdown-link[aria-current="page"]{
  background: rgba(255, 121, 55, 0.1);
  color: #ff8434;
  transform: translateX(2px);
  outline: none;
}

@media (max-width: 720px){
  .nav-dropdown{
    --nav-dropdown-menu-width: 228px;
  }

  .nav-dropdown-menu{
    min-width: var(--nav-dropdown-menu-width);
  }
}

.page{
  position: relative;
  z-index: 1;
  height: calc(100vh - var(--topbar-h));
}


.scroll-cue{
  position: fixed;
  left: 50%;
  bottom: clamp(20px, 5vh, 44px);
  transform: translateX(-50%);
  z-index: 15;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 1;
  visibility: visible;
  pointer-events: none;
  user-select: none;
  transition: opacity 260ms ease, transform 260ms ease, visibility 0s linear 0s;
}

.scroll-cue.is-hidden{
  opacity: 0;
  transform: translateX(-50%) translateY(12px);
  visibility: hidden;
  transition: opacity 260ms ease, transform 260ms ease, visibility 0s linear 260ms;
}

.scroll-cue-text{
  font-family: "FuturaCyrillicBold", system-ui, sans-serif;
  font-size: clamp(12px, 1.5vw, 16px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.76);
}

.scroll-cue-arrows{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.scroll-cue-arrow{
  width: 12px;
  height: 12px;
  display: block;
  border-right: 2px solid rgba(17, 17, 17, 0.6);
  border-bottom: 2px solid rgba(17, 17, 17, 0.6);
  transform: rotate(45deg);
  opacity: 0;
  animation: scroll-cue-bounce 1.6s ease-in-out infinite;
}

.scroll-cue-arrow:nth-child(2){
  animation-delay: 0.18s;
}

.scroll-cue-arrow:nth-child(3){
  animation-delay: 0.36s;
}

@keyframes scroll-cue-bounce{
  0%{
    opacity: 0;
    transform: rotate(45deg) translate(-2px, -2px);
  }
  30%{
    opacity: 1;
  }
  60%{
    opacity: 0.55;
  }
  100%{
    opacity: 0;
    transform: rotate(45deg) translate(6px, 6px);
  }
}
.site-footer-meta{
  position: fixed;
  left: 50%;
  bottom: clamp(16px, 3vh, 26px);
  z-index: 14;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(620px, calc(100vw - 36px));
  max-width: min(620px, calc(100vw - 36px));
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(12px);
  transition: opacity 260ms ease, transform 260ms ease, visibility 0s linear 260ms;
}

.site-footer-meta:not(.is-hidden){
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition: opacity 260ms ease, transform 260ms ease, visibility 0s linear 0s;
}

.site-footer-contact{
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-footer-divider{
  width: 1px;
  height: 18px;
  flex: 0 0 auto;
  background: rgba(17, 17, 17, 0.24);
}

.site-footer-copy{
  margin: 0;
  font-size: clamp(10px, 1vw, 12px);
  line-height: 1.35;
  color: rgba(17, 17, 17, 0.68);
  text-align: center;
}

.page-site-footer{
  width: 100%;
  margin-top: auto;
  padding-top: clamp(8px, 1.4vw, 14px);
  scroll-snap-align: end;
  scroll-snap-stop: always;
}

.page-site-footer__inner{
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(16px, 3vw, 44px);
  padding-top: clamp(12px, 1.4vw, 18px);
  border-top: 1px solid rgba(255, 255, 255, 0.26);
}

.page-site-footer__brand{
  display: flex;
  align-items: center;
  justify-self: start;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  padding: clamp(8px, 1vw, 12px) clamp(14px, 1.6vw, 22px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 24px rgba(128, 56, 0, 0.1);
  backdrop-filter: blur(8px);
}

.page-site-footer__logo{
  width: clamp(74px, 6vw, 96px);
  max-width: 100%;
  height: auto;
  display: block;
  flex: 0 0 auto;
}

.page-site-footer__copy{
  margin: 0;
  font-family: "FuturaCyrillicBold", system-ui, sans-serif;
  color: #ffffff;
  font-size: clamp(9px, 0.82vw, 11px);
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

.page-site-footer__social{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.page-site-footer__social-links{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.page-site-footer__social-button{
  appearance: none;
  -webkit-appearance: none;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(128, 56, 0, 0.1);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, opacity 180ms ease;
}

.page-site-footer__social-button:hover{
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.14);
}

.page-site-footer__social-button:focus-visible{
  outline: 2px solid rgba(255, 255, 255, 0.78);
  outline-offset: 2px;
}

.page-site-footer__social-icon{
  width: 16px;
  height: 16px;
  display: block;
  flex: 0 0 auto;
}

.page-site-footer__credit{
  display: flex;
  align-items: center;
  justify-self: end;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  padding: clamp(8px, 1vw, 12px) clamp(14px, 1.6vw, 22px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 24px rgba(128, 56, 0, 0.1);
  backdrop-filter: blur(8px);
}

.page-site-footer__creator-logo{
  width: clamp(22px, 2.5vw, 30px);
  max-width: 100%;
  height: auto;
  display: block;
  flex: 0 0 auto;
}

.page-site-footer__creator-label{
  margin: 0;
  font-family: "FuturaCyrillicBold", system-ui, sans-serif;
  color: rgba(255, 249, 240, 0.88);
  font-size: clamp(9px, 0.82vw, 11px);
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
}

.page-login-link{
  position: fixed;
  right: clamp(18px, 2.6vw, 32px);
  bottom: clamp(18px, 2.6vw, 32px);
  z-index: 90;
  display: block;
  line-height: 0;
  text-decoration: none;
  transition: transform 180ms ease, opacity 180ms ease, background-color 180ms ease;
}

.page-login-link:hover{
  transform: translateY(-2px);
  opacity: 0.92;
  background: transparent;
}

.page-login-link:focus-visible{
  outline: 3px solid rgba(255, 138, 0, 0.32);
  outline-offset: 3px;
}

.page-login-icon{
  width: clamp(52px, 4.6vw, 64px);
  height: auto;
  display: block;
  object-fit: contain;
}

@media (max-width: 720px){
  .site-footer-meta{
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
  }

  .site-footer-divider{
    height: 14px;
  }

  .page-site-footer__inner{
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 10px;
  }

  .page-site-footer__brand{
    justify-self: center;
    justify-content: center;
    flex-wrap: wrap;
  }

  .page-site-footer__social{
    justify-content: center;
  }

  .page-site-footer__credit{
    justify-self: center;
    justify-content: center;
    flex-wrap: wrap;
  }

  .page-site-footer__credit{
    gap: 6px;
  }

  .page-site-footer__copy,
  .page-site-footer__creator-label{
    text-align: center;
  }
}

@media (max-width: 1080px){
  :root{
    --topbar-h: 112px;
  }

  .site-nav{
    gap: 14px 24px;
  }
}

@media (max-width: 640px){
  :root{
    --topbar-h: 148px;
  }

  .topbar{
    padding: 14px 16px;
  }

  .site-nav{
    gap: 12px 18px;
  }
}
