/* Airbrush Some Stuff V46
   V38 restored + entertainment hero gallery + 40-word Word Search & Save only. */

/* =========================================================
   LANDING HERO — keep V38 typography/color direction, replace
   only the old 3-image collage with an entertainment mosaic.
   ========================================================= */
body.theme-v38 .v46-gallery-hero .v38-hero-shell{
  grid-template-columns:1fr;
  grid-template-rows:auto auto auto;
  gap:0;
  min-height:0;
  padding:30px 36px 38px;
}
body.theme-v38 .v46-gallery-hero .v38-hero-copy{
  width:min(960px,100%);
  max-width:none;
  margin:0 auto;
  padding:34px 36px 36px;
  text-align:center;
  background:rgba(247,248,242,.96);
  color:var(--v38-ink);
  border:1px solid rgba(17,23,20,.1);
  border-radius:34px;
  box-shadow:0 20px 36px rgba(17,23,20,.16);
}
body.theme-v38 .v46-gallery-hero .v38-home-title{
  max-width:7.4ch;
  margin:0 auto;
  justify-items:center;
  color:var(--v38-ink);
}
body.theme-v38 .v46-gallery-hero .v38-home-title .v38-condensed,
body.theme-v38 .v46-gallery-hero .v38-home-title .v38-solid,
body.theme-v38 .v46-gallery-hero .v38-home-title .v38-serif{
  color:var(--v38-ink)!important;
  text-shadow:none;
}
body.theme-v38 .v46-gallery-hero .v38-home-title .v38-condensed,
body.theme-v38 .v46-gallery-hero .v38-home-title .v38-solid{
  transform:none;
}
body.theme-v38 .v46-gallery-hero .v38-home-title .v38-serif{
  margin:.03em 0 -.03em 0;
}
body.theme-v38 .v46-gallery-hero .v38-hero-lede{
  max-width:720px;
  margin:24px auto 18px;
  color:rgba(17,23,20,.82);
}
body.theme-v38 .v46-gallery-hero .hero-actions{justify-content:center}
body.theme-v38 .v46-gallery-hero .v38-hero-copy .btn{background:var(--v38-ink);color:#fff;border-color:var(--v38-ink)}
body.theme-v38 .v46-gallery-hero .v38-hero-copy .btn:hover{background:var(--v38-orange-hot);border-color:var(--v38-orange-hot);color:var(--v38-ink)}
body.theme-v38 .v46-gallery-hero .v38-hero-copy .btn-ghost{background:transparent;color:var(--v38-ink);border-color:rgba(17,23,20,.24)}
body.theme-v38 .v46-gallery-hero .v38-hero-copy .btn-ghost:hover{background:var(--v38-cyan);border-color:var(--v38-cyan);color:var(--v38-ink)}
body.theme-v38 .v46-gallery-hero .v38-hero-stats{
  width:min(720px,100%);
  max-width:720px;
  margin:34px auto 0;
  border-top:1px solid rgba(17,23,20,.16);
}
body.theme-v38 .v46-gallery-hero .v38-hero-stats span{color:rgba(17,23,20,.66)}

body.theme-v38 .v46-entertainment-gallery{
  position:relative;
  z-index:4;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  width:100%;
  min-width:0;
  margin-top:18px;
}
body.theme-v38 .home-linked-gallery{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
body.theme-v38 .home-linked-gallery .gallery-item{opacity:1;transform:none}
body.theme-v38 .home-linked-gallery .gallery-open{height:100%}
body.theme-v38 .home-linked-gallery .gallery-caption{display:grid;align-content:start}
body.theme-v38 .home-linked-gallery .gallery-caption p{min-height:96px}
body.theme-v38 .real-work-grid.rich-gallery,
body.theme-v38 .project-grid.rich-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}

/* =========================================================
   40-WORD SEARCH — V38-native styling. No later global theme.
   ========================================================= */
body.theme-v38 .word-search-discount-section{
  display:grid;
  grid-template-columns:minmax(280px,.72fr) minmax(0,1.28fr);
  gap:34px;
  padding:34px;
  border-radius:28px;
  overflow:hidden;
}
body.theme-v38 .word-search-discount-section .discount-copy{padding:18px 8px}
body.theme-v38 .word-search-discount-section .discount-copy h2{
  font-size:clamp(42px,5vw,72px);
  line-height:.94;
  margin:0 0 18px;
}
body.theme-v38 .word-search-discount-section .discount-copy ul{
  display:grid;
  gap:10px;
  padding-left:20px;
}
body.theme-v38 .word-search-game{
  min-width:0;
  padding:22px;
  border-radius:26px;
  background:rgba(34,215,232,.045);
  border:1px solid rgba(34,215,232,.22);
}
body.theme-v38 .word-search-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:16px;
}
body.theme-v38 .word-search-head small{
  display:block;
  color:var(--v38-orange)!important;
  font-weight:900;
  letter-spacing:.16em;
  margin-bottom:6px;
}
body.theme-v38 .word-search-head strong{display:block;color:var(--v38-cyan)!important}
body.theme-v38 .word-search-progress{
  display:flex;
  align-items:baseline;
  gap:6px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(255,183,79,.34);
  background:rgba(255,183,79,.08);
}
body.theme-v38 .word-search-progress b{font-size:26px;color:var(--v38-orange)!important}
body.theme-v38 .word-search-progress span{
  font-size:10px;
  font-weight:900;
  letter-spacing:.12em;
  color:var(--v38-orange)!important;
}
body.theme-v38 .word-search-board-wrap{
  overflow:auto;
  overscroll-behavior:contain;
  border-radius:22px;
  border:1px solid rgba(34,215,232,.20);
  background:#0a1419;
  -webkit-overflow-scrolling:touch;
}
body.theme-v38 .word-search-board{
  display:grid;
  grid-template-columns:repeat(18,minmax(0,1fr));
  width:100%;
  min-width:500px;
  aspect-ratio:1/1;
  padding:8px;
  gap:2px;
}
body.theme-v38 .word-cell{
  min-width:0;
  aspect-ratio:1/1;
  border:1px solid rgba(34,215,232,.10);
  border-radius:5px;
  background:rgba(34,215,232,.025);
  color:var(--v38-cyan);
  font:900 clamp(10px,1vw,15px)/1 Arial,sans-serif;
  padding:0;
  cursor:pointer;
  transition:transform .12s ease,background .12s ease,color .12s ease,border-color .12s ease;
}
body.theme-v38 .word-cell:hover{background:rgba(34,215,232,.10);border-color:rgba(34,215,232,.40)}
body.theme-v38 .word-cell.start{
  background:var(--v38-orange);
  color:var(--v38-ink);
  border-color:var(--v38-orange);
  transform:scale(1.07);
  position:relative;
  z-index:2;
}
body.theme-v38 .word-cell.found{
  background:var(--v38-cyan);
  color:var(--v38-ink);
  border-color:var(--v38-cyan);
}
body.theme-v38 .word-cell.invalid{
  background:var(--v38-orange-hot);
  color:#fff;
  border-color:var(--v38-orange-hot);
  animation:v46WordInvalid .28s ease;
}
@keyframes v46WordInvalid{50%{transform:scale(.82)}}
body.theme-v38 .word-search-help{margin:14px 0;color:#9fc2cb;font-size:13px}
body.theme-v38 .word-search-list{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:7px;
  margin-top:14px;
}
body.theme-v38 .word-search-word{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:32px;
  padding:5px 7px;
  border-radius:9px;
  border:1px solid rgba(34,215,232,.16);
  background:rgba(34,215,232,.025);
  color:#9fc2cb;
  font-size:10px;
  font-weight:900;
  letter-spacing:.05em;
  text-align:center;
}
body.theme-v38 .word-search-word.found{
  background:var(--v38-cyan);
  color:var(--v38-ink);
  border-color:var(--v38-cyan);
  text-decoration:line-through;
  text-decoration-thickness:2px;
}
body.theme-v38 .word-search-controls{display:flex;justify-content:flex-end;margin-top:14px}
body.theme-v38 .word-search-prize{
  margin-top:18px;
  padding:18px;
  border-radius:20px;
  border:1px solid rgba(255,183,79,.38);
  background:rgba(255,183,79,.08);
}
body.theme-v38 .word-search-prize small{display:block;color:var(--v38-orange)!important;font-weight:900;letter-spacing:.14em}
body.theme-v38 .word-search-prize strong{display:block;color:var(--v38-cyan)!important;font-size:30px;margin:5px 0}
body.theme-v38 .word-search-prize span{display:block;color:#9fc2cb;margin-bottom:12px}

/* Do not allow the retired Checkers UI to resurface from legacy CSS. */
body.theme-v38 :is(.checkers-board,.checkers-legend,.checkers-score,.checker-piece,.checker-square){display:none!important}

@media(max-width:1100px){
  body.theme-v38 .v46-entertainment-gallery{
    grid-template-columns:1fr 1fr;
    grid-template-rows:360px 250px 250px;
  }
  body.theme-v38 .v46-tile-main{grid-column:1/-1;grid-row:1}
  body.theme-v38 .v46-tile-side{grid-column:1;grid-row:2}
  body.theme-v38 .v46-tile-tall{grid-column:2;grid-row:2}
  body.theme-v38 .v46-tile-bottom-a{grid-column:1;grid-row:3}
  body.theme-v38 .v46-tile-bottom-b{grid-column:2;grid-row:3}
  body.theme-v38 .v46-tile-bottom-c{display:none}
  body.theme-v38 .word-search-discount-section{grid-template-columns:1fr}
  body.theme-v38 .word-search-list{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:760px){
  body.theme-v38 .v46-gallery-hero{padding-left:10px;padding-right:10px}
  body.theme-v38 .v46-gallery-hero .v38-hero-shell{padding:18px 10px 20px;border-radius:28px}
  body.theme-v38 .v46-gallery-hero .v38-hero-copy{padding:24px 16px 26px;border-radius:26px}
  body.theme-v38 .v46-gallery-hero .v38-hero-topline{justify-content:center;flex-wrap:wrap;text-align:center;gap:8px}
  body.theme-v38 .v46-gallery-hero .v38-home-title{font-size:clamp(56px,17vw,88px);max-width:100%}
  body.theme-v38 .v46-gallery-hero .v38-home-title .v38-serif{font-size:.7em}
  body.theme-v38 .v46-gallery-hero .v38-hero-stats{grid-template-columns:repeat(3,1fr)}
  body.theme-v38 .v46-entertainment-gallery,
  body.theme-v38 .home-linked-gallery,
  body.theme-v38 .real-work-grid.rich-gallery,
  body.theme-v38 .project-grid.rich-gallery{grid-template-columns:1fr}
  body.theme-v38 .home-linked-gallery .gallery-caption p{min-height:0}
  body.theme-v38 .v46-entertainment-gallery{
    display:flex;
    overflow-x:auto;
    gap:9px;
    scroll-snap-type:x mandatory;
    padding:0 2px 10px;
    scrollbar-width:thin;
    scrollbar-color:var(--v38-orange) var(--v38-ink);
  }
  body.theme-v38 .v46-hero-tile{
    flex:0 0 min(84vw,430px);
    height:360px;
    scroll-snap-align:center;
  }
  body.theme-v38 .v46-tile-bottom-c{display:block}
  body.theme-v38 .word-search-discount-section{width:calc(100% - 20px)!important;padding:20px;gap:20px}
  body.theme-v38 .word-search-game{padding:14px}
  body.theme-v38 .word-search-head{align-items:flex-start}
  body.theme-v38 .word-search-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  body.theme-v38 .word-search-board{min-width:430px}
  body.theme-v38 .word-cell{font-size:10px;border-radius:4px}
  body.theme-v38 .word-search-progress{padding:8px 10px}
}
@media(max-width:480px){
  body.theme-v38 .word-search-board{min-width:390px;padding:5px;gap:1px}
  body.theme-v38 .word-search-word{font-size:9px}
}
@media(prefers-reduced-motion:reduce){
  body.theme-v38 .word-cell,
  body.theme-v38 .v46-hero-tile img{transition:none}
  body.theme-v38 .word-cell.invalid{animation:none}
  body.theme-v38 .v46-hero-tile:hover img{transform:none}
}

/* V49 accent correction: remove neon yellow/lime from public UI. */
:root{--lime:#22d7e8;}
body.theme-v38{--v38-lime:#22d7e8;}
body.theme-v38 .trust-ribbon strong,
body.theme-v38 .opportunity-card a,
body.theme-v38 .section-head>a,
body.theme-v38 .gallery-caption>span,
body.theme-v38 .project-rating,
body.theme-v38 .home-rating{color:var(--v38-cyan)!important;}
body.theme-v38 .gallery-rating-line .stars,
body.theme-v38 .lightbox-rating-summary .stars,
body.theme-v38 .rating-buttons button{color:var(--v38-orange-hot)!important;}

/* =========================================================
   V50 — PUBLIC READABILITY + CLEAN CONTACT CTA
   Remove the stray radiating pseudo-shape and guarantee
   readable typography on all legacy dark UI surfaces.
   ========================================================= */

/* Clean Contact Us / radiant buttons: keep glow, remove detached rings/shapes. */
body.theme-v38 .btn-radiant{
  position:relative!important;
  overflow:hidden!important;
  isolation:isolate!important;
  background:var(--v38-paper-2)!important;
  color:var(--v38-ink)!important;
  border:1px solid rgba(17,23,20,.16)!important;
  box-shadow:0 10px 28px rgba(17,23,20,.14),0 0 22px rgba(34,215,232,.16)!important;
  animation:v50ContactGlow 3.4s ease-in-out infinite!important;
}
body.theme-v38 .btn-radiant::before,
body.theme-v38 .btn-radiant::after{
  content:none!important;
  display:none!important;
  animation:none!important;
}
body.theme-v38 .btn-radiant:hover{
  color:var(--v38-ink)!important;
  background:#fff!important;
  box-shadow:0 14px 34px rgba(17,23,20,.16),0 0 30px rgba(34,215,232,.28)!important;
}
@keyframes v50ContactGlow{
  0%,100%{box-shadow:0 10px 28px rgba(17,23,20,.14),0 0 18px rgba(34,215,232,.12)}
  50%{box-shadow:0 12px 32px rgba(17,23,20,.16),0 0 30px rgba(34,215,232,.25)}
}

/* Dark legacy surfaces: force a readable light type system. */
body.theme-v38 :is(
  .find-us-section>div,
  .search-result,
  .gallery-intro-stats>div,
  .mural-info-grid article,
  .pricing-tier,
  .pricing-tier-grid article,
  .cost-info-grid article,
  .estimate-controls,
  .estimate-live,
  .estimate-client-card,
  .estimate-breakdown-card,
  .article-side>div,
  .project-route-grid a,
  .pc-wizard-intro,
  .what-next-grid article,
  .event-questions article,
  .group-benefits article,
  .product-card,
  .gallery-open,
  .gallery-project-content
){
  color:#f5fbff!important;
}
body.theme-v38 :is(
  .find-us-section>div,
  .search-result,
  .gallery-intro-stats>div,
  .mural-info-grid article,
  .pricing-tier,
  .pricing-tier-grid article,
  .cost-info-grid article,
  .estimate-controls,
  .estimate-live,
  .estimate-client-card,
  .estimate-breakdown-card,
  .article-side>div,
  .project-route-grid a,
  .pc-wizard-intro,
  .what-next-grid article,
  .event-questions article,
  .group-benefits article,
  .product-card,
  .gallery-open,
  .gallery-project-content
) :is(h1,h2,h3,h4,h5,h6,strong,b){
  color:#f5fbff!important;
  -webkit-text-fill-color:#f5fbff!important;
}
body.theme-v38 :is(
  .find-us-section>div,
  .search-result,
  .gallery-intro-stats>div,
  .mural-info-grid article,
  .pricing-tier,
  .pricing-tier-grid article,
  .cost-info-grid article,
  .estimate-controls,
  .estimate-live,
  .estimate-client-card,
  .estimate-breakdown-card,
  .article-side>div,
  .project-route-grid a,
  .pc-wizard-intro,
  .what-next-grid article,
  .event-questions article,
  .group-benefits article,
  .product-card,
  .gallery-open,
  .gallery-project-content
) :is(p,li,span,label){
  color:#b9cbd3!important;
}
body.theme-v38 :is(
  .find-us-section>div,
  .search-result,
  .gallery-intro-stats>div,
  .mural-info-grid article,
  .pricing-tier,
  .pricing-tier-grid article,
  .cost-info-grid article,
  .estimate-controls,
  .estimate-live,
  .estimate-client-card,
  .estimate-breakdown-card,
  .article-side>div,
  .project-route-grid a,
  .pc-wizard-intro,
  .what-next-grid article,
  .event-questions article,
  .group-benefits article,
  .product-card,
  .gallery-open,
  .gallery-project-content
) :is(.eyebrow,small){
  color:var(--v38-orange-hot)!important;
  -webkit-text-fill-color:var(--v38-orange-hot)!important;
}

/* Dark-surface links need visible states too. */
body.theme-v38 :is(
  .find-us-section>div,
  .search-result,
  .mural-info-grid article,
  .pricing-tier,
  .pricing-tier-grid article,
  .cost-info-grid article,
  .article-side>div,
  .project-route-grid a,
  .pc-wizard-intro,
  .what-next-grid article,
  .event-questions article,
  .group-benefits article,
  .gallery-project-content
) a:not(.btn){
  color:var(--v38-cyan)!important;
  text-decoration-color:rgba(34,215,232,.45)!important;
}
body.theme-v38 :is(
  .find-us-section>div,
  .search-result,
  .mural-info-grid article,
  .pricing-tier,
  .pricing-tier-grid article,
  .cost-info-grid article,
  .article-side>div,
  .project-route-grid a,
  .pc-wizard-intro,
  .what-next-grid article,
  .event-questions article,
  .group-benefits article,
  .gallery-project-content
) a:not(.btn):hover{color:#fff!important}

/* Pensacola + Gulf Coast cards from the screenshot. */
body.theme-v38 .find-us-section>div{
  background:#0b171e!important;
  border-color:rgba(34,215,232,.18)!important;
}
body.theme-v38 .find-us-section h2{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  text-shadow:none!important;
}
body.theme-v38 .find-us-section p{color:#b9cbd3!important}
body.theme-v38 .find-us-section .btn{
  background:var(--v38-cyan)!important;
  color:var(--v38-ink)!important;
  border-color:var(--v38-cyan)!important;
}
body.theme-v38 .find-us-section .btn.btn-ghost{
  background:transparent!important;
  color:#fff!important;
  border-color:rgba(255,255,255,.36)!important;
}
body.theme-v38 .find-us-section .btn.btn-ghost:hover{
  background:#fff!important;
  color:var(--v38-ink)!important;
}

/* Restore intentional colors inside gallery cards after broad contrast protection. */
body.theme-v38 .gallery-open .gallery-caption h3,
body.theme-v38 .gallery-open .gallery-caption h3 a{color:#fff!important;-webkit-text-fill-color:#fff!important}
body.theme-v38 .gallery-open .gallery-caption p{color:#aebfc7!important}
body.theme-v38 .gallery-open .gallery-caption>small{color:var(--v38-cyan)!important;-webkit-text-fill-color:var(--v38-cyan)!important}
body.theme-v38 .gallery-open .gallery-rating-line .stars{color:var(--v38-orange-hot)!important}
body.theme-v38 .gallery-open .gallery-rating-line b{color:#bdcbd1!important}
body.theme-v38 .gallery-open .gallery-caption>span{color:var(--v38-cyan)!important}
body.theme-v38 .gallery-open .gallery-visual small{color:#fff!important;background:rgba(7,16,22,.88)!important}

/* Product cards should not inherit dark-on-dark heading overrides. */
body.theme-v38 .product-card .product-info h3,
body.theme-v38 .product-card .product-info strong{color:#fff!important;-webkit-text-fill-color:#fff!important}
body.theme-v38 .product-card .product-info small{color:var(--v38-cyan)!important;-webkit-text-fill-color:var(--v38-cyan)!important}
body.theme-v38 .product-card .product-info a{color:var(--v38-cyan)!important}

/* Inputs remain readable on dark estimator/search surfaces. */
body.theme-v38 :is(.estimate-controls,.estimate-client-card,.estimate-breakdown-card,.site-search-form) :is(input,select,textarea){
  color:#fff!important;
  background:#071016!important;
  border-color:rgba(34,215,232,.30)!important;
}
body.theme-v38 :is(.estimate-controls,.estimate-client-card,.estimate-breakdown-card,.site-search-form) :is(input,textarea)::placeholder{color:#7897a5!important;opacity:1}

/* Footer contrast safeguard. */
body.theme-v38 .site-footer :is(h2,h3,strong){color:#fff!important;-webkit-text-fill-color:#fff!important}
body.theme-v38 .site-footer p,
body.theme-v38 .site-footer span,
body.theme-v38 .site-footer small{color:#aebfc7!important}
body.theme-v38 .site-footer a:not(.btn){color:#d8eef5!important}
body.theme-v38 .site-footer a:not(.btn):hover{color:var(--v38-cyan)!important}

@media(max-width:700px){
  body.theme-v38 .find-us-section>div{padding:26px 22px}
  body.theme-v38 .find-us-section h2{font-size:clamp(32px,10vw,44px)}
}
@media(prefers-reduced-motion:reduce){
  body.theme-v38 .btn-radiant{animation:none!important}
}

/* V50 secondary contrast audit — known dark sections from project/event/local/commerce pages. */
body.theme-v38 :is(.case-story-grid article,.case-next,.case-proof-section,.local-service-links a,.show-chip-cloud span,.event-quick-stats span,.local-proof-points span,.commerce-progress span,.pc-hero-board a){color:#f5fbff!important}
body.theme-v38 :is(.case-story-grid article,.case-next,.case-proof-section,.local-service-links a,.pc-hero-board a) :is(h1,h2,h3,h4,strong,b){color:#fff!important;-webkit-text-fill-color:#fff!important}
body.theme-v38 :is(.case-story-grid article,.case-next,.case-proof-section,.local-service-links a) p{color:#b9cbd3!important}
body.theme-v38 .case-story-grid small,
body.theme-v38 .case-next .eyebrow,
body.theme-v38 .case-proof-section .eyebrow{color:var(--v38-orange-hot)!important;-webkit-text-fill-color:var(--v38-orange-hot)!important}
body.theme-v38 .case-story-grid article>span{background:var(--v38-cyan)!important;color:var(--v38-ink)!important}
body.theme-v38 .case-next .btn{background:var(--v38-cyan)!important;color:var(--v38-ink)!important;border-color:var(--v38-cyan)!important}
body.theme-v38 .case-next .btn.btn-ghost{background:transparent!important;color:#fff!important;border-color:rgba(255,255,255,.34)!important}
body.theme-v38 .show-chip-cloud span{color:#fff!important}
body.theme-v38 .event-quick-stats span,
body.theme-v38 .local-proof-points span,
body.theme-v38 .commerce-progress span{color:#b9cbd3!important}
body.theme-v38 .event-quick-stats b,
body.theme-v38 .commerce-progress b{color:#fff!important}
body.theme-v38 .commerce-progress span.active{background:var(--v38-cyan)!important;color:var(--v38-ink)!important;border-color:var(--v38-cyan)!important}
body.theme-v38 .commerce-progress span.active b{background:var(--v38-ink)!important;color:var(--v38-cyan)!important}
body.theme-v38 .pc-hero-board a small{color:var(--v38-cyan)!important}
body.theme-v38 .pc-hero-board a span{color:#b9cbd3!important}
