:root {
  color-scheme: light;
  --ink: #111111;
  --gold: #bda36a;
  --line: rgba(255, 255, 255, 0.16);
  --serif: "Playfair Display", "Times New Roman", serif;
  --sans: "Inter", "Arial", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto !important; /* Disabled initially for fixes */
  overflow-anchor: none;
}

html.js-no-scroll {
  overflow: hidden !important;
  height: 100% !important;
  scroll-behavior: auto !important;
}

body.js-no-scroll {
  overflow: hidden !important;
  height: 100% !important;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: #ffffff;
}

#top {
  position: absolute;
  top: 0;
  left: 0;
}

.to-top {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(0, 0, 0, 0.25);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  color: #111111;
  display: grid;
  place-items: center;
  text-decoration: none;
  z-index: 20;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.to-top::after {
  content: "";
  width: 12px;
  height: 12px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(-45deg);
  margin-top: 4px;
}

.to-top:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}
.page {
  width: 100%;
}

.section {
  width: min(100%, 1920px);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

#bureau { aspect-ratio: 1920 / 11883; }
#shust { aspect-ratio: 1920 / 6480; }
#pifpaf { aspect-ratio: 1920 / 8922; }
#rocket { aspect-ratio: 1920 / 1080; }
.section--menu { aspect-ratio: 1920 / 1080; }

.section--menu {
  position: relative;
}

.section__img {
  display: block;
  width: 100%;
  height: auto;
  image-rendering: auto;
}

.section-anchor {
  position: absolute;
  left: 0;
  top: var(--y);
  width: 1px;
  height: 1px;
}



.section--menu .section__img {
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.logo-btn {
  position: absolute;
  display: block;
  z-index: 2;
  text-decoration: none;
  cursor: pointer;
}

.logo-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 2px;
}

.logo-btn::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: rgba(255, 255, 255, 0.01);
  -webkit-mask: var(--logo) center / 100% 100% no-repeat;
  mask: var(--logo) center / 100% 100% no-repeat;
  filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.35));
  opacity: 0.7;
  pointer-events: none;
}

.logo-btn--red {
  left: 4.8958%;
  top: 14.1667%;
  width: 17.5%;
  height: 69.1081%;
  --logo: url("assets/sections/logo-red.png");
}

.logo-btn--bureau {
  left: 28.2813%;
  top: 16.0185%;
  width: 39.2851%;
  height: 25.5556%;
  --logo: url("assets/sections/logo-bureau.png");
}

.logo-btn--pink {
  left: 30.3646%;
  top: 52.2222%;
  width: 35.1252%;
  height: 22.963%;
  --logo: url("assets/sections/logo-pifpaf.png");
}

.logo-btn--sh {
  left: 70.8854%;
  top: 29.6296%;
  width: 25.9296%;
  height: 38.0556%;
  --logo: url("assets/sections/logo-sh.png");
}

.footer {
  background: linear-gradient(180deg, #1a33ff 0%, #0f2acb 100%);
  color: #f2f2f2;
  padding: clamp(36px, 5vw, 80px) 3vw clamp(28px, 4vw, 60px);
  border-top: 1px solid #000;
}

.footer__inner {
  max-width: 1200px;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(320px, 1.4fr);
  gap: clamp(16px, 3vw, 40px);
  align-items: start;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-right: clamp(16px, 3vw, 40px);
  border-right: 1px solid var(--line);
  align-items: flex-start;
}

.footer__logo {
  font-family: var(--serif);
  font-size: clamp(28px, 4.6vw, 64px);
  letter-spacing: 0.36em;
  text-transform: uppercase;
}

.footer__logo-img {
  width: min(50vw, 360px);
  height: auto;
  object-fit: contain;
  opacity: 0.78;
  filter: brightness(0.65) saturate(1.25);
  mix-blend-mode: multiply;
}

.footer__logo-sub {
  font-family: var(--serif);
  font-size: clamp(14px, 2vw, 22px);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(8, 18, 88, 0.65);
  opacity: 0.85;
  margin-top: 4px;
}

.footer__rule {
  height: 1px;
  width: 70%;
  background: var(--line);
}

.footer__note {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: rgba(242, 242, 242, 0.78);
}

.footer__details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: clamp(16px, 3vw, 40px);
  align-items: flex-start;
  text-align: left;
}

.footer__details p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(12px, 1.1vw, 14px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}


@media (max-width: 1024px) {
  .footer__inner {
    grid-template-columns: 1fr;
  }

  .footer__details {
    padding-left: 0;
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 20px;
  }

  .footer__logo-img {
    width: min(80vw, 520px);
  }

  .footer__brand {
    border-right: none;
    padding-right: 0;
  }
}

@media (max-width: 640px) {
  .footer {
    padding: 12px 12px 16px;
  }

  .footer__logo-img {
    width: min(60vw, 200px);
  }

  .footer__logo-sub {
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .footer__details {
    gap: 6px;
  }

  .footer__details p {
    font-size: 9px;
    letter-spacing: 0.1em;
    line-height: 1.3;
  }
}
@media (max-width: 640px) {
  .footer__logo {
    letter-spacing: 0.22em;
  }

  .footer__note {
    letter-spacing: 0.04em;
  }
}
