/* Coastal site fixes, Nov 29 2026. Local preview only. Loaded last. */

/* ------------------------------------------------------------------
   2. Subpage hero contrast + no slow above-the-fold fade
   ------------------------------------------------------------------ */
.phero,
.phero.has-img,
.phero.solar-hero,
.phero.town-hero,
.phero.town-hero--clip{
  background:#001F51;
  color:#F6F2EA;
}
.phero h1,
.phero.has-img h1{
  color:#F6F2EA !important;
}
.phero h1 .hl,
.phero.has-img h1 .hl{
  color:#FDD300 !important;
}
.phero p,
.phero .lead-solar,
.phero p.crumbs,
.phero .crumbs,
.phero .crumbs a,
.phero.has-img p,
.phero.has-img .crumbs a{
  color:#E6EBF2 !important;
}
.phero p.lbl,
.phero .lbl,
.phero.has-img p.lbl{
  color:#FDD300 !important;
}
.phero a:not(.btn):not(.hb),
.phero p a,
.phero.has-img a:not(.btn):not(.hb),
.phero.has-img p a{
  color:#FDD300 !important;
  text-decoration:underline;
  text-underline-offset:2px;
}
.phero a:not(.btn):not(.hb):hover,
.phero p a:hover{
  color:#FFFFFF !important;
}

/* Hero copy must be readable on first paint — no 1s opacity fade. */
html.rv .phero .wrap>*,
html.rv .phero .ph-tx>*,
html.rv .phero .ph-grid>*,
html.rv .hero-copy>*,
html.rv .cx-hero .cx-in>*,
html.rv .cx-hero .cx-wrap>*,
html.rv .emc-hero .copy>*,
html.rv .phero .bgimg picture{
  animation:none !important;
  animation-delay:0s !important;
  opacity:1 !important;
  transform:none !important;
}

/* ------------------------------------------------------------------
   4. Mobile menu above sticky bottom bar
   ------------------------------------------------------------------ */
.hdr{z-index:90}
.mnav,
.mnav.open{z-index:80}
.dock{z-index:60}
body.menu-open{overflow:hidden}
body.menu-open .dock{
  visibility:hidden;
  pointer-events:none;
}

/* ------------------------------------------------------------------
   5. Mid-width hero contrast + 1440 edge-to-edge fill
   ------------------------------------------------------------------ */
/* Stack the homepage and business-signs clip heroes through tablet
   widths so bright signs cannot sit under white text at ~769px. */
@media (max-width:1023px){
  .cx-hero--clip,
  .phero.town-hero--clip{
    display:flex;
    flex-direction:column;
  }
  .cx-hero--clip .cx-bg,
  .phero.town-hero--clip .cx-bg{
    position:relative !important;
    inset:auto !important;
    left:auto !important;
    width:100% !important;
    aspect-ratio:16/10;
    z-index:0;
    overflow:hidden;
    background:#001F51;
  }
  .cx-hero--clip .cx-video,
  .phero.town-hero--clip .cx-video{
    transform:scale(1.06);
    transform-origin:50% 50%;
  }
  .cx-hero--clip .cx-bg:after,
  .phero.town-hero--clip .cx-bg:after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(0deg,#001F51 0%,rgba(0,31,81,.55) 32%,rgba(0,31,81,0) 58%);
  }
  .cx-hero--clip:after,
  .phero.town-hero--clip:after{display:none}
  .cx-hero--clip .cx-wrap,
  .phero.town-hero--clip .wrap{
    position:relative;
    z-index:1;
    padding-top:22px;
    min-height:0;
    background:#001F51;
  }
}

/* Desktop: keep a stronger left scrim and pin media to the right edge
   so no 1px navy seam shows beside the City of Taylor / business-signs hero. */
@media (min-width:1024px){
  .cx-hero--clip .cx-bg,
  .phero.town-hero--clip .cx-bg{
    position:absolute;
    top:0; right:0; bottom:0;
    left:auto;
    width:64%;
    overflow:hidden;
    background:#001F51;
  }
  .cx-hero--clip .cx-video,
  .phero.town-hero--clip .cx-video{
    position:absolute;
    inset:-2px -2px -2px -8%;
    width:auto;
    height:auto;
    min-width:108%;
    min-height:104%;
    object-fit:cover;
    transform:none;
    transform-origin:100% 50%;
  }
  .cx-hero--clip:after,
  .phero.town-hero--clip:after{
    display:block;
    background:
      linear-gradient(90deg,#001F51 0%,#001F51 38%,rgba(0,31,81,.88) 46%,rgba(0,31,81,.45) 58%,rgba(0,31,81,.12) 72%,rgba(0,31,81,0) 86%),
      linear-gradient(0deg,rgba(0,27,62,.4),rgba(0,27,62,0) 28%);
  }
}

/* ------------------------------------------------------------------
   6. Faster scroll-reveal + 1-col Signage Solutions on small phones
   ------------------------------------------------------------------ */
html.rv .rv-i{
  transition:opacity .28s ease, transform .32s ease !important;
  transition-delay:0s !important;
}
@media (max-width:400px){
  .cx-tiles{grid-template-columns:1fr !important; gap:16px}
  .cx-tile{aspect-ratio:16/10}
  .cx-tile .cx-tx{padding:16px 16px 16px 18px}
  .cx-tile b{font-size:20px}
  .cx-tile small{font-size:15px}
}

/* ------------------------------------------------------------------
   8. FAQ: space below the navy hero
   ------------------------------------------------------------------ */
.faq.wrap,
section.wrap.faq{
  padding-top:48px;
}

/* ------------------------------------------------------------------
   9. Quote radios: high-contrast ring + gold selected badge
   ------------------------------------------------------------------ */
.opt .chk,
.pc .chk{
  width:26px;
  height:26px;
  border:2px solid #FDD300 !important;
  box-shadow:0 0 0 2px #fff, 0 0 0 4px #001F51;
  background:#001F51 !important;
  color:transparent !important;
  z-index:2;
}
.pc .chk{
  top:10px;
  right:10px;
  transform:none;
}
.opt:has(input:checked),
.pc:has(input:checked),
.pcs.st .pc:has(input:checked){
  border-color:#FDD300 !important;
  box-shadow:0 0 0 3px #FDD300 !important;
  background:#fff !important;
}
.opt:has(input:checked) .chk,
.pc:has(input:checked) .chk,
.pcs.st .pc:has(input:checked) .chk{
  background:#FDD300 !important;
  border-color:#001F51 !important;
  box-shadow:0 0 0 2px #fff;
  color:#001F51 !important;
  font-weight:800;
}
.opt:has(input:focus-visible),
.pc:has(input:focus-visible){
  outline:3px solid #FDD300;
  outline-offset:3px;
}
