/* ORACLASTRA premium visual layer — intentionally additive */
.master-shell{position:relative;isolation:isolate;background:radial-gradient(900px 520px at 8% 12%,rgba(45,91,143,.18),transparent 66%),radial-gradient(760px 520px at 92% 28%,rgba(35,73,122,.15),transparent 68%),linear-gradient(180deg,#071427 0%,#08172b 48%,#050f21 100%)}
.master-shell::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:.3;background-image:radial-gradient(circle at 12% 18%,rgba(240,207,138,.8) 0 1px,transparent 1.5px),radial-gradient(circle at 72% 14%,rgba(240,207,138,.55) 0 1px,transparent 1.5px),radial-gradient(circle at 42% 67%,rgba(255,255,255,.4) 0 1px,transparent 1.5px),radial-gradient(circle at 88% 76%,rgba(240,207,138,.45) 0 1px,transparent 1.5px);background-size:280px 260px,360px 340px,430px 390px,510px 470px}
.master-shell::after{content:"";position:fixed;left:50%;top:0;width:min(1100px,90vw);height:100vh;transform:translateX(-50%);z-index:-1;pointer-events:none;opacity:.1;background:radial-gradient(ellipse at 50% 18%,rgba(216,173,99,.3),transparent 52%)}
.master-header{box-shadow:0 12px 38px rgba(0,0,0,.2)}
.master-header::after{content:"";position:absolute;left:5%;right:5%;bottom:-1px;height:1px;background:linear-gradient(90deg,transparent,rgba(240,207,138,.55),transparent);pointer-events:none}
.master-brand img{filter:drop-shadow(0 0 10px rgba(240,207,138,.18))}
.master-nav a:not([data-master-lang]){position:relative}.master-nav a:not([data-master-lang])::after{content:"";position:absolute;left:0;right:0;bottom:-7px;height:1px;background:#f0cf8a;transform:scaleX(0);transition:transform .2s ease}.master-nav a:not([data-master-lang]):hover::after{transform:scaleX(1)}
.master-langs{padding-left:12px;border-left:1px solid rgba(216,173,99,.22)}
.master-section{position:relative;background:transparent}.master-section::before{content:"";position:absolute;top:0;left:8%;right:8%;height:1px;background:linear-gradient(90deg,transparent,rgba(216,173,99,.13),transparent)}
.master-section-head::after{text-shadow:0 0 18px rgba(240,207,138,.28)}
.master-card{transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease}.master-card:hover{transform:translateY(-5px);box-shadow:0 30px 80px rgba(0,0,0,.4);border-color:rgba(240,207,138,.48)}
.master-editorial-card{transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}.master-editorial-card:hover{border-color:rgba(216,173,99,.34)}
.master-newsletter{position:relative;overflow:hidden}.master-newsletter::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 20%,rgba(216,173,99,.1),transparent 38%),radial-gradient(circle at 12% 80%,rgba(46,95,150,.15),transparent 35%);pointer-events:none}.master-newsletter-inner{position:relative}
@media(min-width:1200px){.master-section{padding-top:104px;padding-bottom:104px}.master-services{gap:22px}.master-card,.master-card img{height:410px;min-height:410px}.master-editorial{gap:22px}.master-section-head{margin-bottom:52px}}
@media(max-width:650px){.master-shell::before{opacity:.22}.master-shell::after{opacity:.07}.master-langs{padding-left:0;border-left:0}.master-section::before{left:4%;right:4%}}

/* ANIMAL TOTEM — authoritative reference visual */
.animal-totem-hero,.animal-totem-hero-art{background-image:url('/images/animal-totem-hero.webp?v=animal-totem-reference-20260905') !important;background-size:cover !important;background-position:center center !important;background-repeat:no-repeat !important}
body:has(#totemForm) .ora-art,body:has(#totemForm) .hero-art,body:has(#totemForm) .animal-art{background-image:url('/images/animal-totem-hero.webp?v=animal-totem-reference-20260905') !important;background-size:cover !important;background-position:center center !important;background-repeat:no-repeat !important;overflow:hidden}
body:has(#totemForm) .ora-art > *,body:has(#totemForm) .hero-art > *,body:has(#totemForm) .animal-art > *{opacity:0 !important}
.master-card[href="/animal-totem.html"]{position:relative;overflow:hidden}
.master-card[href="/animal-totem.html"] img{visibility:hidden}
.master-card[href="/animal-totem.html"]::before{content:"";position:absolute;inset:0;background:url('/images/animal-totem-hero.webp?v=animal-totem-reference-20260905') center center/cover no-repeat;z-index:0}
.master-card[href="/animal-totem.html"] .master-card-content{position:relative;z-index:1}
.ora-card:has(a[href="/animal-totem.html"]){position:relative;overflow:hidden}
.ora-card:has(a[href="/animal-totem.html"])::before{content:"";display:block;width:100%;aspect-ratio:16/9;background:url('/images/animal-totem-hero.webp?v=animal-totem-reference-20260905') center center/cover no-repeat;margin-bottom:18px}
.ora-card:has(a[href="/animal-totem.html"]) > span:first-child{display:none}
.ora-card:has(a[href="/animal-totem.html"]) h3,.ora-card:has(a[href="/animal-totem.html"]) p,.ora-card:has(a[href="/animal-totem.html"]) a{position:relative;z-index:1}
@media(max-width:700px){body:has(#totemForm) .ora-art,body:has(#totemForm) .hero-art,body:has(#totemForm) .animal-art{background-position:center center !important}}

/* ANIMAL TOTEM — cascade lock: this rule intentionally outranks the legacy page CSS. */
html body:has(#totemForm) section.hero > .hero-art{background-image:url('/images/animal-totem-hero.webp?v=animal-totem-reference-20260905') !important;background-size:cover !important;background-position:center center !important;background-repeat:no-repeat !important;min-height:650px !important}
@media(max-width:900px){html body:has(#totemForm) section.hero > .hero-art{min-height:340px !important;height:340px !important;background-position:center center !important}}
html body:has(#totemForm) section.hero > .hero-art::before{content:"";display:block;position:absolute;inset:0;background:url('/images/animal-totem-hero.webp?v=animal-totem-reference-20260905') center center/cover no-repeat;z-index:0}
