/* Sierra Ridge logo lockup (bug-crawler chat, 2026-09-25).
   One crisp vector logo (assets/sierra-ridge-logo.svg) + the service area line
   "El Dorado County · Lake Tahoe" as real text, so it stays sharp and readable at any size.
   Markup:
     <span class="sr-lockup"><img class="website-logo" src="./assets/sierra-ridge-logo.svg" alt="Sierra Ridge Deck and Siding">
       <span class="sr-place"><span>El Dorado County</span><span class="sr-sep" aria-hidden="true"> · </span><span>Lake Tahoe</span></span></span>
   Wide screens: location sits to the right of the logo behind a thin rule (2 lines).
   Phones: location drops under the logo on one line.
   Owner CRM pages use <span class="sr-logo"> (a mask, so it follows the light/dark theme color). */
.sr-lockup{--sr-logo-w:200px;display:inline-flex;align-items:center;gap:14px;max-width:100%;color:#F1F4F5;line-height:1;text-decoration:none;vertical-align:middle}
.sr-lockup>img,.sr-lockup>.sr-logo{display:block;flex:none;width:var(--sr-logo-w)!important;height:auto!important;max-width:none;aspect-ratio:1504/856;object-fit:contain}
.sr-place{display:flex;flex-direction:column;justify-content:center;gap:6px;padding:4px 0 4px 14px;border-left:1px solid color-mix(in srgb,currentColor 45%,transparent);font:600 12px/1.15 Inter,"Helvetica Neue",Arial,system-ui,sans-serif;letter-spacing:.16em;text-transform:uppercase;white-space:nowrap;color:inherit;opacity:.92}
.sr-place .sr-sep{display:none}
/* stacked version (used on phones, and anywhere .sr-lockup--stack is set) */
.sr-lockup--stack{flex-direction:column;align-items:flex-start;gap:7px}
.sr-lockup--stack.sr-lockup--center{align-items:center}
.sr-lockup--stack .sr-place{flex-direction:row;gap:0;padding:0;border-left:0;letter-spacing:.13em}
.sr-lockup--stack .sr-place .sr-sep{display:inline;white-space:pre}
@media (max-width:640px){
  .sr-lockup{flex-direction:column;align-items:flex-start;gap:7px}
  .sr-lockup.sr-lockup--center{align-items:center}
  .sr-place{flex-direction:row;gap:0;padding:0;border-left:0;letter-spacing:.13em}
  .sr-place .sr-sep{display:inline;white-space:pre}
}
/* Owner CRM: the logo as a mask filled with the theme's heading color (navy in light mode, white in dark). */
.sr-logo{display:block;aspect-ratio:1504/856;background:currentColor;-webkit-mask:url(/assets/sierra-ridge-logo.svg) center/contain no-repeat;mask:url(/assets/sierra-ridge-logo.svg) center/contain no-repeat}
@media (forced-colors:active){.sr-logo{background:CanvasText}}
/* two-line stacked version for narrow columns (CRM sidebar) */
.sr-lockup--stack2{flex-direction:column;align-items:center;gap:9px}
.sr-lockup--stack2 .sr-place{flex-direction:column;align-items:center;gap:4px;padding:0;border-left:0;letter-spacing:.16em;text-align:center}
.sr-lockup--stack2 .sr-place .sr-sep{display:none!important}

/* ---- sizes per page (one place, so every page matches) ---- */
.site-header .sr-lockup,.portal-header .sr-lockup,.privacy-header .sr-lockup{--sr-logo-w:150px}
.quote-app .landing-logo-header .sr-lockup{--sr-logo-w:200px}
.login-header .sr-lockup{--sr-logo-w:220px}
@media (max-width:900px){.quote-app .landing-logo-header .sr-lockup{--sr-logo-w:180px}}
@media (max-width:640px){
  .site-header .sr-lockup,.portal-header .sr-lockup,.privacy-header .sr-lockup{--sr-logo-w:118px;gap:5px}
  .quote-app .landing-logo-header .sr-lockup{--sr-logo-w:150px}
  .login-header .sr-lockup{--sr-logo-w:190px}
  .site-header .sr-place,.portal-header .sr-place,.privacy-header .sr-place{font-size:12px;letter-spacing:.1em}
}
/* Owner CRM (admin pages): no dark box behind the logo; logo + location follow the theme. */
.brand.sr-brand,.brandbox.sr-brand{background:transparent!important;border-radius:0!important;box-shadow:none!important}
.sr-brand{color:var(--heading,#032B3A)}
.sr-brand .sr-logo{width:var(--sr-logo-w,168px)}
.sr-brand .sr-place{color:var(--muted,#49646F);opacity:1;border-left-color:var(--line2,#C4CDD3);font-family:Inter,system-ui,sans-serif}
.sr-logo--bar{width:64px;flex:none}
.brandbox.sr-brand .sr-lockup{--sr-logo-w:150px}
.brand.sr-brand .sr-lockup--stack2{--sr-logo-w:168px}
@media (max-width:640px){.brandbox.sr-brand .sr-lockup{--sr-logo-w:120px}}
/* the CRM's own ".brand span{...}" rules must not restyle the lockup */
.sr-brand .sr-lockup{display:inline-flex;color:var(--heading,#032B3A)}
.sr-brand .sr-lockup--stack2{display:flex}
.sr-brand .sr-logo{display:block}
.sr-brand .sr-place{display:flex;font:600 11.5px/1.15 Inter,system-ui,sans-serif;letter-spacing:.16em;color:var(--muted,#49646F)}
.sr-brand .sr-place>span:not(.sr-sep){display:inline;font:inherit;letter-spacing:inherit;color:inherit}
.portal-header .sr-lockup{--sr-logo-w:136px}
@media (max-width:640px){.portal-header .sr-lockup{--sr-logo-w:112px}}
/* headers grow to fit the lockup instead of clipping it */
.portal-header,.site-header{height:auto!important;min-height:82px;padding-top:6px!important;padding-bottom:6px!important}
@media (max-width:640px){
  .portal-header,.site-header{min-height:70px}
  .quote-app .landing-logo-header{height:auto!important;padding-top:10px!important}
  .quote-app .landing-logo-header .sr-lockup{--sr-logo-w:138px}
  .quote-app .modern-hero-content{padding-top:130px!important}
}
/* owner estimator header: page title drops under the logo on phones */
@media (max-width:640px){.brandbox.sr-brand{flex-wrap:wrap;row-gap:4px}.brandbox.sr-brand h1{flex-basis:100%;font-size:20px;margin:0}}
@media (max-width:640px){.portal-header .sr-lockup .sr-place{width:0;overflow:visible;justify-content:flex-start}}
.quote-app .landing-logo-header{padding-top:14px!important}
@media (max-width:640px){.quote-app .landing-logo-header{padding-top:10px!important}}
/* SEO footer on the estimator page */
.site-footer .sr-lockup{--sr-logo-w:150px;margin-bottom:12px;color:#E7F0E5}
/* hero text starts below the taller logo lockup (desktop / tablet / phone) */
.quote-app .modern-hero-content{padding-top:160px!important}
@media (max-width:900px){.quote-app .modern-hero-content{padding-top:148px!important}}
@media (max-width:640px){.quote-app .modern-hero-content{padding-top:132px!important}}
/* "Skip to content" link (SEO pass): hidden until tabbed to. login.html doesn't load website-theme.css, so it showed as a raw link above the header. */
.skip-to-content{position:absolute;left:-9999px;top:0;z-index:10000;background:#173f32;color:#fff;padding:14px 20px;font-weight:800;font-size:15px;border-radius:0 0 8px 0;text-decoration:none}
.skip-to-content:focus{left:0}
