@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #0c0e13;
  --text: #e9ebf2;
  --muted: #989eae;
  --accent: #afbfde;
  --line: #aebcdb1a;
  font-family: "Manrope", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 14px; -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { font: inherit; cursor: pointer; color: inherit; }
a { color: inherit; text-decoration: none; }
button[hidden], [hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
::selection { background: #afbfde40; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 4px; }
.icon { width: 20px; height: 20px; flex-shrink: 0; }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 20; padding: 12px 20px; background: var(--accent); color: var(--bg); }
.skip-link:focus { top: 16px; }

/* The landscape sits behind the page; animated mist passes in front of the UI. */
.scene { position: fixed; inset: 0; overflow: hidden; pointer-events: none; isolation: isolate; background: #101b23; }
.scene-landscape { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.scene-shade { position: absolute; inset: 0; background: #07101748; }
.foreground-fog { position: fixed; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; opacity: .78; mask-image: linear-gradient(180deg, transparent, #000 17%, #000 83%, transparent); }
.fog { position: absolute; width: 180%; height: 100%; top: -5%; left: -40%; background: url("assets/images/fog.svg") center / 100% 100% no-repeat; opacity: .95; will-change: transform; animation: fog-drift 22s ease-in-out -7s infinite alternate; }
.fog-two { top: 15%; left: -20%; opacity: .85; transform: rotate(180deg); animation: fog-drift-back 29s ease-in-out -12s infinite alternate; }
.fog-three { top: 32%; left: -35%; height: 75%; opacity: .7; animation-duration: 25s; animation-delay: -17s; }
.scene-grain { position: absolute; inset: 0; opacity: .15; background-image: url("assets/images/grain.svg"); }
.scene-vignette { position: absolute; inset: 0; background: linear-gradient(180deg, #080f184a, transparent 30%, #080f1822 64%, #080f18b8 100%), radial-gradient(ellipse at 50% 45%, #0710191a 15%, transparent 60%, #07101955 100%); }
html[data-paused="true"] .fog { animation-play-state: paused; }
@keyframes fog-drift { from { transform: translate3d(-18%, 6%, 0) scale(1); } to { transform: translate3d(18%, -8%, 0) scale(1.14); } }
@keyframes fog-drift-back { from { transform: rotate(180deg) translate3d(16%, -7%, 0) scale(1.14); } to { transform: rotate(180deg) translate3d(-16%, 8%, 0) scale(1); } }

.page-shell { position: relative; z-index: 1; width: min(1080px, calc(100% - 96px)); margin: 0 auto; min-height: 100svh; display: flex; flex-direction: column; }
.header { height: 105px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { font-size: 32px; line-height: 1; font-weight: 800; letter-spacing: -2px; }
.brand > span { color: var(--accent); }
.language-switch { display: flex; align-items: center; gap: 3px; }
.language-switch > span { color: #686f81; font-size: 11px; }
.language-option { font-size: 11px; font-weight: 600; letter-spacing: .8px; width: 42px; height: 40px; border: 0; background: none; color: #9399a8; transition: color .2s; }
.language-option[aria-pressed="true"] { color: #f0f2f9; }
.language-option:hover { color: var(--accent); }

main { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 52px 0 58px; }
.hero { width: 100%; }
.hero-copy { min-width: 0; width: 100%; text-align: center; }
h1 { font-size: clamp(50px, 5.8vw, 80px); font-weight: 550; line-height: 1.2; letter-spacing: -.065em; margin: 0 0 28px; text-shadow: 0 3px 35px #040b1580; }
h1 > span { color: var(--accent); }
.social-links { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; }
.social-link { display: inline-flex; align-items: center; gap: 10px; min-height: 45px; padding: 0 15px; border: 1px solid #bbc9e027; border-radius: 7px; background: #11151cb3; font-size: 11px; font-weight: 600; color: #d5dae5; transition: background .25s, border-color .25s, transform .25s; }
.social-link > .icon:first-child { width: 17px; height: 17px; }
.social-link > .arrow-icon { width: 13px; height: 13px; margin-left: 7px; opacity: .65; }
.social-link:hover { background: #242c3aaa; border-color: #bbc9e061; transform: translateY(-2px); }
.telegram-link { background: #bccae0; border-color: #c4d1e6; color: #172130; }
.telegram-link:hover { background: #d0dcf0; border-color: #d0dcf0; }

.achievements { width: min(660px, 100%); margin: 58px auto 0; }
.section-heading { display: flex; align-items: center; gap: 20px; margin-bottom: 18px; }
.section-heading h2 { font-size: 11px; font-weight: 500; color: #d3dae3; }
.section-line { flex: 1; height: 1px; background: var(--line); }
.achievement-list { display: grid; gap: 10px; }
.achievement { display: flex; align-items: center; gap: 17px; border: 1px solid #b8c4d32b; background: #101923b8; backdrop-filter: blur(14px); border-radius: 9px; padding: 21px 25px; }
.award-icon { display: grid; place-items: center; width: 39px; height: 39px; flex-shrink: 0; background: #c7af830a; border: 1px solid #c7af831a; border-radius: 9px; color: #c4b38f; }
.award-icon .icon { width: 19px; height: 19px; }
.achievement-copy h3 { font-size: 13px; font-weight: 600; line-height: 1.5; }
.achievement-copy p { margin-top: 5px; font-size: 11px; line-height: 1.6; color: #c5d0dc; }
.award-caption { max-width: 150px; margin-left: auto; text-align: right; font-size: 10px; line-height: 1.7; color: #bbc7d3; }

.footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; padding-block: 24px; }
.footer p { color: #a2aebb; font-size: 10px; }
.motion-toggle { min-height: 36px; display: flex; align-items: center; gap: 10px; padding: 4px 0 4px 12px; border: 0; background: none; color: #919bad; font-size: 10px; }
.motion-toggle .icon { width: 13px; height: 13px; }
.motion-toggle:hover { color: #d7e0ee; }

@media (max-width: 1050px) {
  .page-shell { width: calc(100% - 72px); }
  h1 { font-size: clamp(47px, 6.3vw, 66px); }
  .social-link { gap: 8px; padding-inline: 12px; }
  .social-link > .arrow-icon { margin-left: 1px; }
}
@media (max-width: 760px) {
  .page-shell { width: calc(100% - 44px); }
  .header { height: 80px; }
  .brand { font-size: 29px; }
  main { padding: 45px 0 48px; }
  h1 { font-size: clamp(39px, 9.8vw, 62px); margin: 0 0 25px; letter-spacing: -.062em; }
  .social-links { gap: 8px; }
  .social-link { min-height: 44px; font-size: 10px; padding-inline: 13px; gap: 8px; }
  .social-link > .icon:first-child { width: 15px; height: 15px; }
  .social-link > .arrow-icon { display: none; }
  .achievements { margin-top: 46px; }
  .section-heading { gap: 13px; margin-bottom: 15px; }
  .section-heading h2 { font-size: 10px; }
  .achievement { padding: 20px; gap: 14px; }
  .achievement-copy h3 { font-size: 12px; }
  .achievement-copy p { font-size: 10px; }
  .award-caption { display: none; }
  .award-icon { width: 34px; height: 34px; border-radius: 8px; }
  .footer { min-height: 76px; padding-block: 20px; }
  .footer p, .motion-toggle { font-size: 9px; }
  .scene-landscape { object-position: 47% center; }
  .fog { width: 240%; left: -80%; }
  .fog-three { left: -60%; }
}
@media (max-width: 370px) {
  .page-shell { width: calc(100% - 36px); }
  .social-link { padding-inline: 10px; gap: 6px; }
  .achievement { padding: 18px 15px; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
