/* KOD DUSHI — Родовой дар, typography matching "Узнайте себя / глубже"
   and a small animated Sphynx climbing the original portal staircase.
   Uses the same font files and palette as the main page; background untouched. */

@font-face{font-family:Manrope;src:url('/assets/approved-20261026/bf76e66978074dcb1b1b.woff') format('woff');font-style:normal;font-weight:200 800;font-display:swap}
@font-face{font-family:Caveat;src:url('/assets/approved-20261026/1fbdfce80f25f93682f0.woff') format('woff');font-style:normal;font-weight:400 700;font-display:swap}
@font-face{font-family:'Golos Text';src:url('/assets/approved-20261026/de7de2ba2eb4dae498e6.woff') format('woff');font-style:normal;font-weight:400 900;font-display:swap}
@font-face{font-family:Onest;src:url('/assets/approved-20261026/d11432cd48a47943ad66.woff') format('woff');font-style:normal;font-weight:100 900;font-display:swap}
@font-face{font-family:'Cormorant Garamond';src:url('/assets/approved-20261026/db5047bc1a2b0d351fac.woff') format('woff');font-style:normal;font-weight:300 700;font-display:swap}
@font-face{font-family:'Marck Script';src:url('/assets/approved-20261026/99b2eb97b2b3f881ea9f.woff') format('woff');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:'Bad Script';src:url('/assets/approved-20261026/249e15b29c676cc5f0d0.woff') format('woff');font-style:normal;font-weight:400;font-display:swap}

body.rd-type-synced{
  --rd-heading-font:Manrope;
  --rd-script-font:Caveat;
  --rd-heading-weight:750;
}
body.rd-type-synced .hero-scene .hero-copy #page-title{
  font-family:var(--rd-heading-font),Manrope,Arial,sans-serif!important;
  font-size:clamp(59px,5.3vw,86px)!important;
  font-weight:var(--rd-heading-weight)!important;
  letter-spacing:-.055em!important;
  line-height:1.03!important;
  color:#4D0E13!important;
  margin:0!important;
  white-space:normal!important;
  text-shadow:0 2px 19px rgba(255,246,231,.2)!important;
}
body.rd-type-synced .hero-scene .hero-copy .subtitle{
  font-family:var(--rd-script-font),Caveat,cursive!important;
  font-size:clamp(55px,6.25vw,98px)!important;
  line-height:.91!important;
  font-weight:400!important;
  letter-spacing:-.03em!important;
  font-style:normal!important;
  color:#95623f!important;
  display:block;
  width:max-content;
  max-width:100%;
  margin:-.1em 0 21px .34em!important;
  transform:rotate(-2deg)!important;
  transform-origin:left center;
  white-space:normal!important;
  -webkit-text-stroke:.35px #f5e5cc;
  paint-order:stroke fill;
  text-shadow:0 8px 15px rgba(77,14,19,.12);
}
body.rd-type-synced .hero-scene .hero-copy .intro{
  margin-top:11px;
}


@media(max-width:810px){
  body.rd-type-synced .hero-scene .hero-copy #page-title{
    font-size:clamp(52px,8vw,75px)!important;
  }
  body.rd-type-synced .hero-scene .hero-copy .subtitle{
    font-size:clamp(45px,9vw,70px)!important;
    margin:-.04em 0 24px .15em!important;
  }
}
@media(max-width:600px){
  body.rd-type-synced .hero-scene .hero-copy #page-title{
    font-size:clamp(49px,11.6vw,69px)!important;
  }
  body.rd-type-synced .hero-scene .hero-copy .subtitle{
    font-size:clamp(42px,11vw,61px)!important;
    line-height:1!important;
    margin:-.03em 0 18px .06em!important;
  }
}

.hero-layout{z-index:3;pointer-events:none}.hero-copy{pointer-events:auto}
.scene-plane{position:absolute;top:0;left:0;width:1672px;height:941px;transform-origin:0 0;pointer-events:none;z-index:2}
.cat-anchor{position:absolute;left:0;top:0;width:0;height:0;will-change:transform,opacity;filter:drop-shadow(1px 3px 2px #392c3040)}
.cat-frame{position:absolute;left:0;top:0;width:78px;height:104px;overflow:hidden;transform:translate(-50%,-85%);will-change:opacity}
.cat-frame.touch{transform:translate(-50%,-93%)}
.cat-frame img{display:block;width:400%;max-width:none;height:200%;will-change:transform}
/* Hide the upper-left spill from adjacent atlas cells, above the actual tail. */
.cat-frame.walk {
  mask: linear-gradient(#000,#000) right top / 88% 100% no-repeat,
        linear-gradient(#000,#000) left bottom / 100% 60% no-repeat;
}
.portal-water{position:absolute;inset:0;width:1672px;height:941px;overflow:visible;opacity:0;will-change:opacity}
.contact-spark{position:absolute;left:1211px;top:631px;width:9px;height:9px;border-radius:50%;background:#fff9dc;box-shadow:0 0 14px 5px #ffe5ad99;opacity:0;transform:translate(-50%,-50%)}

.cat-anchor{opacity:0}
@media(prefers-reduced-motion:reduce){.cat-anchor,.cat-frame,.cat-frame img,.portal-water{will-change:auto}.portal-water,.contact-spark{display:none}}


/* The same Sphynx sits facing the visitor, then turns on the first tread. */
.cat-frame.seated{width:104px;height:104px;transform:translate(-50%,-92%);opacity:0}
.cat-frame.seated img{width:200%;height:200%}
