/* ==========================================================================
   Oracle of Selene — shared UI layer (desktop + mobile reuse)
   fonts, pulse CTA, fixed badge, carousels
   Редакция 29.10.2026 (t_63af57f4): оболочка страницы больше не 1440px,
   позиционирование контента — в layout.css (grid). Здесь только шрифты,
   анимация пульсации, карусели и a11y.
   ========================================================================== */

@font-face{font-family:Idiqlat;src:url(../fonts/idiqlat.woff2) format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Keania One';src:url(../fonts/keania-one.woff2) format('woff2');font-weight:400;font-style:normal;font-display:swap}
/* Gill Sans is a macOS system font; the site ships Gillius ADF (its free metric twin)
   under the same family name so the mock's typography renders identically everywhere. */
@font-face{font-family:'Gill Sans';src:url(../fonts/gill-regular.woff2) format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Gill Sans';src:url(../fonts/gill-italic.woff2) format('woff2');font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:'Gill Sans';src:url(../fonts/gill-bold.woff2) format('woff2');font-weight:600 700;font-style:normal;font-display:swap}
@font-face{font-family:'Gill Sans';src:url(../fonts/gill-bolditalic.woff2) format('woff2');font-weight:600 700;font-style:italic;font-display:swap}
@font-face{font-family:'Helvetica Neue';src:url(../fonts/helv.woff2) format('woff2');font-weight:400;font-style:normal;font-display:swap}

*,*::before,*::after{box-sizing:border-box}
h1,h2,h3,h4,p,figure,blockquote{margin:0;padding:0;font-weight:inherit}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:#01020a;color:#bbb;font-family:'Gill Sans','Gill Sans MT',sans-serif;
  -webkit-font-smoothing:antialiased;text-rendering:geometricPrecision;overflow-x:hidden}
img{max-width:none}
.oracle a{color:inherit}

/* оболочка: ширина = ширина окна, сетку секций задаёт layout.css */
.page{position:relative;width:100%;margin-inline:auto;overflow:clip}
.sec{position:relative;width:100%}

/* ---------- focus ring ---------- */
.oracle-btn:focus-visible,
a:focus-visible,button:focus-visible,select:focus-visible,textarea:focus-visible,input:focus-visible,
.fixed-badge:focus-visible,.oracle-nav:focus-visible{outline:2px solid #cc9e2c;outline-offset:3px}
/* touch targets: любой интерактив не меньше 44px по короткой стороне */
.oracle-nav,.oracle-btn,.fixed-badge{min-height:44px}

/* ---------- soft pulse: only the single main CTA, disabled for reduced motion ---------- */
@keyframes oraclePulse{
  0%,100%{box-shadow:0 0 0 0 rgba(204,158,44,0);transform:scale(1)}
  50%{box-shadow:0 0 24px 5px rgba(204,158,44,.30);transform:scale(1.014)}
}
.pulse-btn{animation:oraclePulse 2.8s ease-in-out infinite;will-change:transform}
@media (prefers-reduced-motion:reduce){
  .pulse-btn{animation:none!important}
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;
    transition-duration:.001ms!important;scroll-behavior:auto!important}
}

/* ---------- carousel layer (used by the mobile build; hidden when no overflow) ---------- */
.carousel{position:relative}
.carousel__track{display:flex;gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;scrollbar-width:none}
.carousel__track::-webkit-scrollbar{display:none}
.carousel__track>*{scroll-snap-align:center;flex:0 0 auto}
.carousel__arrow{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;
  border-radius:50%;border:1px solid rgba(187,187,187,.5);background:rgba(1,2,10,.85);color:#cc9e2c;
  font-size:20px;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:6}
.carousel__arrow[disabled]{opacity:.25;cursor:default}
.carousel__arrow--prev{left:-52px}
.carousel__arrow--next{right:-52px}
.carousel.is-static .carousel__track{overflow:visible}
.carousel.is-static .carousel__arrow{display:none}
@media (prefers-reduced-motion:reduce){.carousel__track{scroll-behavior:auto}}
