/* Sigma division switcher + page transitions (shared by all four sites).
   Loaded in <head> of every page from /assets/division.css. */

/* ---------- page transitions ----------
   Click and the new page simply appears, like any normal website. No dissolve, no sliding marker. */
@keyframes dv-in{from{opacity:0}}
html{background:var(--bg,#fff)}

/* ---------- desktop: segmented switcher with a gliding marker ---------- */
html.dv-on .brandbar.sbb .sbb-seg{position:relative}
html.dv-on .brandbar.sbb .sbb-seg a:not(.l){position:relative;z-index:1;background:transparent!important;box-shadow:none!important;transition:color .22s ease}
html.dv-on .brandbar.sbb .sbb-seg a.on{color:#1A2226!important}
.dv-ind,.dv-hov{position:absolute;top:0;bottom:0;left:0;width:0;pointer-events:none;border-radius:2px;transition:opacity .15s ease}
.dv-ind{background:#fff;box-shadow:inset 0 -3px 0 #BE1E2D;z-index:0}
.dv-hov{background:rgba(255,255,255,.1);opacity:0;z-index:0}
.sbb-seg:hover .dv-hov{opacity:1}
html.dv-on .brandbar.sbb .sbb-seg a:not(.l):hover{background:transparent!important}
.dv-ind[hidden]{display:block!important;opacity:0}

/* ---------- phone and tablet: one row of direct links with a gliding red underline ---------- */
.dv-bar{display:none}
@media (max-width:1180px){
 html.dv-on .brandbar.sbb .sbb-seg{display:none!important}
 html.dv-on .brandbar.sbb .dv-bar{order:3;flex:1 1 100%;position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0 calc(-1 * max(16px,env(safe-area-inset-left,0px)));border-top:1px solid #3A464B}
 .dv-bar a{position:relative;display:flex;align-items:center;justify-content:center;min-height:54px;padding:6px 8px;color:#9AA6AC;text-decoration:none;font:600 15.5px/1.2 var(--f-body,"Source Sans 3",Arial,sans-serif);text-align:center;-webkit-tap-highlight-color:transparent;transition:color .25s ease,background .2s ease}
 .dv-bar a+a{border-left:1px solid #2A3438}
 .dv-bar a.on{color:#fff}
 .dv-bar a:active{background:rgba(255,255,255,.06)}
 .dv-bar a:focus-visible{outline:3px solid #2F7FD1;outline-offset:-3px}
 .dv-line{position:absolute;left:0;bottom:0;height:3px;width:0;background:#BE1E2D;z-index:1;pointer-events:none;}
}

@media (prefers-reduced-motion:reduce){
 ::view-transition-old(root),::view-transition-new(root),::view-transition-group(*){animation:none!important}
 .dv-ind,.dv-hov,.dv-line{transition:none!important}
}

/* division start page at the top of the phone menu */
.dv-mhome{font-weight:700!important}
.dv-mhome[hidden]{display:none!important}

/* online store link */
.brandbar.sbb .sbb-links a.sbb-shop{display:inline-flex;align-items:center;gap:7px;color:#fff}
.brandbar.sbb .sbb-links a.sbb-shop svg,.nm-shop svg,.shop-btn svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round;flex:none}
.nm-shop{display:flex!important;align-items:center;gap:8px}
.shop-note{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin-top:18px;padding:12px 14px;border:1px solid var(--line,#E3E7EA);border-left:3px solid #BE1E2D;background:var(--surface,#fff);border-radius:2px;font-size:15.5px;color:var(--ink-2,#4A5563)}
.shop-btn{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border:1.5px solid var(--ink,#1F2933);border-radius:3px;color:var(--ink,#1F2933)!important;font-weight:600;text-decoration:none!important;white-space:nowrap}
.shop-btn:hover{border-color:#BE1E2D;color:#BE1E2D!important}

/* landing page only: Homeowner button, right side of the black band at every size */
.brandbar.sbb a.sbb-hw{order:2;flex:none;display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:0 14px;border:1.5px solid rgba(255,255,255,.45);border-radius:3px;color:#fff;text-decoration:none;font:600 14.5px/1 var(--f-body,"Source Sans 3",Arial,sans-serif);white-space:nowrap;transition:border-color .2s,background .2s}
.brandbar.sbb a.sbb-hw:hover{border-color:#EF3E36;background:rgba(255,255,255,.06)}
.brandbar.sbb a.sbb-hw svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round}
@media (max-width:1180px){.brandbar.sbb a.sbb-hw{margin:0 0 12px 0;align-self:center}}
/* landing page: the logo alone, no name beside it */
.brandbar.sbb.sbb-landing .sbb-name{display:none!important}
.brandbar.sbb.sbb-landing .sbb-brand{flex:0 0 auto!important}
@media (max-width:1180px){.brandbar.sbb.sbb-landing .sbb-links{margin-left:auto}}
@media (max-width:960px){.brandbar.sbb.sbb-landing a.sbb-hw{margin-left:auto!important}}
@media (max-width:420px){.brandbar.sbb a.sbb-hw{padding:0 11px;font-size:14px;min-height:38px}.brandbar.sbb a.sbb-hw svg{display:none}}
/* Homeowner button: small and quiet */
.brandbar.sbb a.sbb-hw{min-height:30px!important;padding:0 10px!important;font:500 12.5px/1 var(--f-body,"Source Sans 3",Arial,sans-serif)!important;letter-spacing:.02em;color:#C9D2D6!important;border:1px solid rgba(255,255,255,.25)!important;gap:6px}
.brandbar.sbb a.sbb-hw:hover{color:#fff!important;border-color:rgba(255,255,255,.5)!important;background:transparent}
.brandbar.sbb a.sbb-hw svg{width:12px!important;height:12px!important}
@media (max-width:420px){.brandbar.sbb a.sbb-hw{min-height:28px!important;padding:0 9px!important;font-size:12px!important}}

/* Homeowner: a touch smaller still, same gray */
.brandbar.sbb a.sbb-hw{font-size:11.5px!important;min-height:28px!important;padding:0 9px!important}
@media (max-width:420px){.brandbar.sbb a.sbb-hw{font-size:11px!important;min-height:26px!important;padding:0 8px!important}}
/* hero videos: show the poster photo if the phone pauses the video while rotating */
video.hx-vid{background:#1A2226 center/cover no-repeat}

/* Homeowner button sits in the same spot on all four sites; on phones a long division name wraps beside the logo instead of pushing the button down */
@media (max-width:1180px){
 .brandbar.sbb .sbb-brand{flex:1 1 0!important;min-width:0}
 .brandbar.sbb .sbb-name{white-space:normal!important;min-width:0;line-height:1.2}
 .brandbar.sbb a.sbb-hw{margin-left:auto!important;align-self:center}
}
@media (max-width:420px){.brandbar.sbb .sbb-name{font-size:14.5px!important}.brandbar.sbb .sbb-name small{display:none!important}}
