@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/static/fonts/manrope-latin-v20.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/static/fonts/manrope-cyrillic-v20.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  color-scheme: dark;
  --landing-ink: #08090b;
  --landing-paper: #f6efdf;
  --landing-muted: #9d968d;
  --landing-ember: #ff8a29;
  --landing-font: 'Manrope', 'Trebuchet MS', sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--landing-ink); }
body { margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
button:focus-visible, a:focus-visible { outline: 2px solid #ffd8a5; outline-offset: 7px; }
::selection { color: var(--landing-ink); background: #ffa452; }

.landing {
  min-width: 280px;
  min-height: 640px;
  min-height: max(640px, 100svh);
  display: grid;
  grid-template-rows: auto 1fr auto;
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  color: var(--landing-paper);
  background: var(--landing-ink);
  font-family: var(--landing-font);
  -webkit-font-smoothing: antialiased;
}
.landing-atmosphere {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(ellipse at 76% 42%, #e95b0b12, transparent 53%),
    radial-gradient(ellipse at 2% 95%, #d7862207, transparent 45%), #08090b;
}
.landing-atmosphere::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .12;
  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='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' opacity='.4' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
}
.landing-header, .landing-footer { position: relative; z-index: 2; display: flex; align-items: center; }
.landing-header {
  justify-content: space-between;
  padding: max(36px, env(safe-area-inset-top)) 5.6vw 24px;
  animation: landing-reveal .8s both;
}
.landing-wordmark { font-size: clamp(24px, 3.05vw, 46px); font-weight: 800; letter-spacing: .115em; line-height: 1; }
.landing-wordmark-dot { color: var(--landing-ember); letter-spacing: 0; }
.landing-language { display: flex; align-items: center; gap: 4px; }
.landing-language button {
  color: #a09a91;
  background: transparent;
  border: 0;
  border-radius: 5px;
  padding: 12px 10px;
  min-height: 44px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  transition: color .2s;
}
.landing-language button[aria-pressed='true'] { color: var(--landing-paper); }
.landing-language button:hover { color: var(--landing-ember); }
.landing-language > span { color: #5a5145; font-size: 10px; }

.landing-scene { position: relative; min-height: 490px; overflow: clip; }
.landing-art {
  position: absolute;
  width: min(49vw, 730px);
  height: min(70svh, 770px);
  right: 3.4vw;
  top: 47%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  pointer-events: none;
}
.landing-wolf {
  display: block;
  position: absolute;
  inset: 5%;
  width: 90%;
  height: 90%;
  z-index: 1;
  filter: drop-shadow(0 0 30px #fa5a0018);
  animation: landing-wolf-reveal 1.4s cubic-bezier(.16,1,.3,1) both;
}
.landing-wolf img { display: block; width: 100%; height: 100%; object-fit: contain; }
.landing-orbit { position: absolute; border-radius: 50%; width: 112%; height: 100%; transform: rotate(-28deg) scaleY(.86); }
.landing-orbit--outer {
  border: 1px solid #e881282c;
  border-top-color: #ec9633a8;
  border-right-color: #8a43184a;
  box-shadow: 0 -1px 10px #fb790c12, inset 0 1px 12px #fb790c08;
  animation: landing-reveal 1.8s both;
}
.landing-orbit--outer::before, .landing-orbit--outer::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  width: 5px;
  height: 5px;
  background: #fff0c2;
  box-shadow: 0 0 7px 2px #ffac48, 0 0 30px 9px #ff6d0044;
}
.landing-orbit--outer::before { top: 14.1%; left: 14.1%; }
.landing-orbit--outer::after { bottom: 14.1%; right: 14.1%; width: 3px; height: 3px; opacity: .65; }
.landing-orbit--inner { width: 122%; height: 110%; border: 1px solid #dc7d1710; }
.landing-copy {
  position: absolute;
  left: 5.6vw;
  bottom: 9%;
  z-index: 2;
  animation: landing-copy-reveal 1s .1s both;
}
.landing-eyebrow { display: flex; gap: 12px; align-items: center; margin: 0 0 22px 4px; font-size: 9px; font-weight: 500; letter-spacing: .23em; text-transform: uppercase; color: #b1a18a; }
.landing-eyebrow > span { width: 22px; height: 1px; background: #e89b59; box-shadow: 0 0 8px #ff872a55; }
.landing-copy h1 { margin: 0; font-size: clamp(58px, 7.25vw, 112px); line-height: 1.02; letter-spacing: -.055em; word-spacing: .075em; font-weight: 500; }
.landing-copy h1 > span { display: block; }
.landing-title-second { color: #c6b79f; }
.landing-title-second i { font-style: normal; color: var(--landing-ember); }

.landing-enter {
  position: absolute;
  top: 47%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  color: #ffe0b4;
  text-decoration: none;
  display: grid;
  place-items: center;
  animation: landing-reveal 1s .25s both;
}
.landing-enter-ring {
  position: absolute;
  inset: -9px;
  border: 1px solid #a96a362e;
  border-top-color: #ffbd758c;
  border-bottom-color: #f583355c;
  border-radius: 50%;
  transform: rotate(-36deg);
  transition: transform .8s cubic-bezier(.16,1,.3,1), box-shadow .5s, border-color .5s;
}
.landing-enter-core {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  height: 100%;
  border: 1px solid #ed9a5057;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 0, #ac5d272b, #101010 70%);
  box-shadow: inset 0 1px 14px #ffd4a009, 0 0 40px #ee6d0010, 0 16px 36px #0008;
  transition: border-color .4s, box-shadow .4s, color .4s;
}
.landing-enter-core > span { font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; padding-left: .2em; }
.landing-enter-core svg { transition: transform .45s cubic-bezier(.16,1,.3,1); }
.landing-enter:hover, .landing-enter:focus-visible { color: #fff6e5; }
.landing-enter:hover .landing-enter-ring, .landing-enter:focus-visible .landing-enter-ring { transform: rotate(144deg); border-top-color: #ffb968; box-shadow: 0 0 22px #ec7e2022; }
.landing-enter:hover .landing-enter-core, .landing-enter:focus-visible .landing-enter-core { border-color: #ffc37bb0; box-shadow: inset 0 0 20px #ffb24f12, 0 0 50px #fb7a0824, 0 16px 36px #0008; }
.landing-enter:hover svg { transform: translateX(3px); }
.landing-enter:active .landing-enter-core { transform: scale(.97); }

.landing-footer { padding: 28px 5.6vw max(28px, env(safe-area-inset-bottom)); gap: 28px; color: var(--landing-muted); font-size: 10px; letter-spacing: .08em; animation: landing-reveal 1.2s .25s both; }
.landing-footer-brand { color: #b6a189; font-size: 10px; letter-spacing: .2em; }
.landing-footer-line { height: 1px; width: 62px; margin-left: auto; background: linear-gradient(90deg, transparent, #d8934566); }
@keyframes landing-reveal { from { opacity: 0; } to { opacity: 1; } }
@keyframes landing-copy-reveal { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes landing-wolf-reveal { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }

@media (min-width: 1600px) {
  .landing-copy { bottom: 12%; }
  .landing-art { right: 8vw; }
}
@media (max-width: 1000px) and (min-width: 701px) {
  .landing-copy h1 { font-size: 7.8vw; }
  .landing-art { right: 1vw; width: 53vw; }
  .landing-enter { width: 108px; height: 108px; left: 45%; }
}
@media (max-width: 700px) {
  .landing { min-height: max(600px, 100svh); }
  .landing-header { padding: max(22px, env(safe-area-inset-top)) 24px 12px; }
  .landing-wordmark { font-size: clamp(20px, 5.8vw, 27px); letter-spacing: .1em; }
  .landing-language { gap: 0; }
  .landing-language button { font-size: 10px; padding: 10px 8px; }
  .landing-scene { min-height: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 28px; padding: 20px 20px 24px; }
  .landing-art { position: relative; top: auto; right: auto; transform: none; width: min(74vw, 355px); height: clamp(210px, 32svh, 320px); flex-shrink: 0; }
  .landing-wolf { inset: 0; width: 100%; height: 100%; }
  .landing-orbit { width: 114%; }
  .landing-orbit--inner { width: 124%; }
  .landing-copy { position: relative; left: auto; bottom: auto; text-align: center; }
  .landing-eyebrow { font-size: 8px; letter-spacing: .18em; justify-content: center; margin: 0 0 14px; gap: 8px; }
  .landing-eyebrow > span { width: 16px; }
  .landing-copy h1 { font-size: clamp(44px, 11vw, 64px); line-height: 1.04; }
  .landing-enter { position: relative; top: auto; left: auto; transform: none; width: 88px; height: 88px; margin: 6px 0; flex-shrink: 0; }
  .landing-enter-ring { inset: -7px; }
  .landing-enter-core { gap: 4px; }
  .landing-enter-core svg { width: 26px; height: 26px; }
  .landing-enter-core > span { font-size: 8px; }
  .landing-footer { justify-content: space-between; gap: 16px; padding: 16px 24px max(24px, env(safe-area-inset-bottom)); font-size: 9px; letter-spacing: .02em; }
  .landing-footer-brand { font-size: 9px; }
  .landing-footer-line { display: none; }
}
@media (max-height: 700px) and (max-width: 700px) {
  .landing-scene { gap: 18px; padding-top: 12px; }
  .landing-copy h1 { font-size: clamp(40px, 10.5vw, 52px); }
  .landing-eyebrow { margin-bottom: 10px; }
  .landing-art { height: 210px; }
  .landing-header { padding-top: 12px; }
  .landing-footer { padding-bottom: max(16px, env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
