/* Three brand tabs at the top of every page: Muscle Algorithm, REVERZN, Emergency Protocol. Glass strip, logo medallions, slides in once the opening notices are done. */
.house{position:relative;z-index:51;font-size:12px;color:#2a1f16;background:linear-gradient(180deg,rgba(244,237,223,.86),rgba(234,223,202,.7));-webkit-backdrop-filter:blur(18px) saturate(1.5);backdrop-filter:blur(18px) saturate(1.5);border-bottom:1px solid rgba(60,40,20,.12);box-shadow:inset 0 -1px 0 rgba(255,255,255,.6)}
.house[data-current="rz"]{color:#080a07;background:rgba(255,255,255,.62);border-bottom-color:rgba(8,10,7,.1)}
.house-in{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;max-width:1240px;margin-inline:auto;padding:8px 24px}
.house[data-current="rz"] .house-in{max-width:1200px;width:min(1200px,100% - 40px);padding-inline:0}
.house-tabs{display:grid;grid-template-columns:repeat(3,auto);gap:8px;list-style:none;margin:0;padding:0}
.ht{position:relative;display:flex;align-items:center;gap:10px;padding:5px 18px 5px 5px;border-radius:999px;text-decoration:none;color:inherit;background:rgba(255,255,255,.34);border:1px solid rgba(255,255,255,.65);box-shadow:inset 0 1px 0 rgba(255,255,255,.7);transition:background .25s,transform .25s,box-shadow .25s,border-color .25s}
.ht:hover{background:rgba(255,255,255,.8);transform:translateY(-1px);box-shadow:0 10px 20px -12px rgba(58,42,29,.55)}
.ht:focus-visible{outline:3px solid #7d5521;outline-offset:2px}
.ht.on{background:#fff;border-color:rgba(168,119,58,.45);box-shadow:0 8px 18px -10px rgba(58,42,29,.5)}
.house[data-current="rz"] .ht.on{background:linear-gradient(120deg,#d6ff5a,#a7ef0b);border-color:rgba(110,180,0,.5);box-shadow:0 8px 16px -10px rgba(110,180,0,.9)}
.house[data-current="ep"] .ht.on{background:#fff;border-color:rgba(124,58,237,.45)}
.ht-logo{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;overflow:hidden;background:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.85),0 6px 14px -8px rgba(0,0,0,.55)}
.ht-logo img{display:block;width:100%;height:100%;object-fit:cover}
.ht-mark{width:64%;height:auto}
.house-tabs li:nth-child(2) .ht-logo{background:radial-gradient(circle at 30% 24%,#20241a,#050605)}
.house-tabs li:nth-child(3) .ht-logo{background:#0a0620}
.ht-txt{display:flex;flex-direction:column;gap:2px;min-width:0;line-height:1.15}
.ht-txt b{font-size:13px;font-weight:700;letter-spacing:.01em;color:inherit;white-space:nowrap}
.ht-txt span{font-size:10.5px;opacity:.72;white-space:nowrap}
.house-lbl{font:600 10px/1 system-ui,sans-serif;letter-spacing:.18em;text-transform:uppercase;opacity:.7}
/* hidden until the opening notices are done; visible at once without JavaScript */
.house.hw{opacity:0;visibility:hidden}
@media(scripting:none){.house.hw{opacity:1;visibility:visible}}
@media(prefers-reduced-motion:no-preference){
 .house{transition:opacity .5s ease}
 .house:not(.hw){animation:house-in .8s cubic-bezier(.2,.9,.25,1) both}
 .house:not(.hw) .house-tabs li{animation:ht-in .8s cubic-bezier(.2,.9,.25,1) both}
 .house:not(.hw) .house-tabs li:nth-child(1){animation-delay:.1s}.house:not(.hw) .house-tabs li:nth-child(2){animation-delay:.22s}.house:not(.hw) .house-tabs li:nth-child(3){animation-delay:.34s}
 @keyframes house-in{from{transform:translateY(-100%)}}
 @keyframes ht-in{from{opacity:0;transform:translateY(-10px) scale(.94)}}
}
@media(max-width:700px){
 .house-in{padding:6px 12px}.house[data-current="rz"] .house-in{width:calc(100% - 24px)}
 .house-tabs{width:100%;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 .ht{gap:7px;padding:4px 8px 4px 4px}
 .ht-logo{width:28px;height:28px}
 .ht-txt b{font-size:11px;white-space:normal;line-height:1.15}.ht-txt span{display:none}
 .house-region{margin-left:auto}.house-region .house-lbl{display:none}
}
@media print{.house{display:none!important}}

/* glass sheen on the brand tabs, a brand-coloured edge under the strip, a soft glow on the current tab */
.ht{overflow:hidden;isolation:isolate}
.ht::after{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;pointer-events:none;background:linear-gradient(105deg,transparent 35%,rgba(255,255,255,.75) 50%,transparent 65%);transform:translateX(-130%)}
.ht:hover::after,.ht:focus-visible::after{transform:translateX(130%);transition:transform .8s cubic-bezier(.2,.9,.25,1)}
.house{overflow:visible}
.house::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;pointer-events:none;background:linear-gradient(90deg,transparent,#c9944a 20%,#a7ef0b 50%,#8b5cf6 80%,transparent);opacity:.75;background-size:200% 100%}
.ht.on{box-shadow:0 8px 18px -10px rgba(58,42,29,.5),0 0 0 3px rgba(168,119,58,.12)}
.house[data-current="rz"] .ht.on{box-shadow:0 8px 16px -10px rgba(110,180,0,.9),0 0 0 3px rgba(167,239,11,.18)}
.house[data-current="ep"] .ht.on{box-shadow:0 8px 18px -10px rgba(124,58,237,.6),0 0 0 3px rgba(124,58,237,.14)}
@media(prefers-reduced-motion:no-preference){
 .house:not(.hw)::after{animation:house-edge 1.6s ease-out .5s both}
 .house:not(.hw) .ht.on::after{animation:ht-sheen 1.4s ease .9s both}
 @keyframes house-edge{from{opacity:0;background-position:100% 0}to{opacity:.75;background-position:0 0}}
 @keyframes ht-sheen{from{transform:translateX(-130%)}to{transform:translateX(130%)}}
}
@media(prefers-reduced-motion:reduce){.ht:hover::after,.ht:focus-visible::after{transition:none}}
