/* Заставка «Априори»: жемчуг на весь экран, всё по центру */
@font-face { font-family: "Jost"; src: url("fonts/jost-cyrillic-wght-normal.woff2") format("woff2-variations"); font-weight: 100 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Jost"; src: url("fonts/jost-latin-wght-normal.woff2") format("woff2-variations"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: oklch(0.27 0.012 50);
  --ink-2: oklch(0.42 0.012 55);
  --veil: oklch(0.96 0.008 75);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--veil); color: var(--ink); font: 400 17px/1.5 "Jost", system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }

/* пометка «концепт» без плашки: просто жирный текст поверх жемчуга */
.concept { position: absolute; z-index: 2; top: 0; left: 0; right: 0; color: var(--ink); text-align: center; font-size: 14px; font-weight: 600; padding: 14px 16px; }

.splash { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; padding: 40px 24px 150px; text-align: center; }
.splash__bg { position: absolute; inset: 0; background: url("img/pearls.jpg") 50% 62% / cover no-repeat; animation: drift 40s ease-in-out infinite alternate; }
/* ровная мягкая вуаль: светлее в центре под текстом, без ухода в белое */
.splash__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 55% at 50% 45%, oklch(0.97 0.006 78 / .78), oklch(0.96 0.008 75 / .45) 70%, oklch(0.94 0.01 72 / .2)); }
@keyframes drift { from { transform: scale(1.04); } to { transform: scale(1.1) translateX(-1.5%); } }

.splash__main { position: relative; display: flex; flex-direction: column; align-items: center; }
.splash h1 { margin: 0; line-height: 0; }
.logo-full { display: block; width: clamp(240px, 32vw, 400px); height: auto; }
.splash__lead { margin: 30px 0 0; font-size: 19px; line-height: 1.5; color: var(--ink-2); letter-spacing: .01em; }
.splash__btn { margin-top: 40px; display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 44px; border-radius: 999px; border: 1px solid oklch(0.27 0.012 50 / .55); background: oklch(1 0 0 / .4); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 14px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; transition: background .25s, color .25s, border-color .25s; }
.splash__btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.splash__phone { margin-top: 18px; font-size: 17px; letter-spacing: .03em; }

.splash__foot { position: absolute; left: 0; right: 0; bottom: 28px; display: grid; gap: 8px; justify-items: center; font-size: 14px; color: var(--ink-2); padding: 0 16px; }
.splash__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; }
.splash__links a { padding: 6px 0; color: var(--ink); }
.splash__links a:hover { text-decoration: underline; }
.splash__foot .sep { align-self: center; width: 3px; height: 3px; margin: 0 14px; border-radius: 50%; background: currentColor; font-size: 0; opacity: .6; }
.splash__addr { display: flex; flex-wrap: wrap; justify-content: center; }

/* текстовый блок проявляется одной мягкой волной слева направо */
.splash__main {
  -webkit-mask-image: linear-gradient(100deg, #000 38%, transparent 62%);
  mask-image: linear-gradient(100deg, #000 38%, transparent 62%);
  -webkit-mask-size: 300% 100%; mask-size: 300% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  animation: wave-in 2.2s cubic-bezier(.25, .6, .3, 1) .25s both;
}
@keyframes wave-in {
  from { -webkit-mask-position: 100% 0; mask-position: 100% 0; filter: blur(6px); transform: translateY(10px); }
  to { -webkit-mask-position: 0 0; mask-position: 0 0; filter: blur(0); transform: none; }
}
.splash__foot { animation: foot-in 1.2s ease 1.4s both; }
@keyframes foot-in { from { opacity: 0; } }

@media (max-width: 640px) {
  .concept { font-size: 13px; padding: 12px; }
  .splash { padding: 32px 20px 150px; }
  .splash__bg { background-position: 58% 70%; }
  .splash__bg::after { background: radial-gradient(ellipse 90% 50% at 50% 45%, oklch(0.97 0.006 78 / .8), oklch(0.96 0.008 75 / .45) 75%, oklch(0.94 0.01 72 / .25)); }
  .splash__lead { font-size: 17px; }
  .splash__btn { margin-top: 32px; width: 100%; max-width: 320px; }
  .splash__foot { bottom: 22px; font-size: 13px; }
  .splash__addr .sep { display: none; }
  .splash__addr span { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .splash__bg, .splash__main, .splash__foot { animation: none; }
  .splash__main { -webkit-mask-image: none; mask-image: none; }
}
