/* V57: One cohesive desktop/mobile before-after presentation.
   Only the home hero and its original logo interaction are affected. */
.luna-v57-hero {position:relative; isolation:isolate; background:#f8f6f2; color:#111; overflow:hidden;}
.luna-v57-hero-copy {
  position:relative; z-index:3; display:flex; flex-direction:column; align-items:center;
  text-align:center; padding:32px 20px 25px; gap:0;
  background:linear-gradient(180deg,#fcfbf9 0%,#faf8f4 80%,#f5f1ea 100%);
}
.luna-v57-business-name {
  font:800 clamp(24px,2.85vw,42px)/1.15 Georgia, 'Times New Roman',serif;
  letter-spacing:-.026em; color:#171717; max-width:min(95%,950px);
  text-wrap:balance;
}
.luna-v57-location {margin-top:8px; color:#343434; font-size:clamp(10px,1.06vw,13px);letter-spacing:.20em;font-weight:800;text-transform:uppercase;}
.luna-v57-location span {padding:0 .38em;color:#d11722;}
.luna-v57-red-rule {display:block;width:clamp(125px,18vw,230px);height:3px;background:#ed1c24;margin:15px auto 13px;border-radius:4px;}
.luna-v57-hero h1 {
  font:750 clamp(39px,4.35vw,66px)/1.045 Georgia,'Times New Roman',serif;
  color:#111;letter-spacing:-.045em;max-width:950px;margin:0;text-wrap:balance;
}
.luna-v57-hero p {color:#242424;font-size:clamp(14px,1.38vw,18px);line-height:1.45;margin:14px auto 16px;max-width:660px;}
.luna-v57-hero-cta {
  display:inline-flex; min-height:43px; align-items:center; justify-content:center;
  background:#bf0814!important; color:white!important;border-radius:3px;
  text-transform:uppercase; font-weight:800; font-size:12px;letter-spacing:.025em;
  padding:12px 22px;gap:11px;box-shadow:0 5px 13px rgba(137,0,13,.17);
}
.luna-v57-hero-cta:hover,.luna-v57-hero-cta:focus-visible{background:#93050e!important;color:white!important;}
.luna-v57-hero-photo {position:relative; width:100%; overflow:hidden;background:#eee5d9;}
.luna-v57-hero-photo img {
  display:block;width:100%;height:auto;max-height:clamp(380px,43vw,670px);
  object-fit:cover;object-position:center 56%;
}
.luna-v57-picture-labels {position:absolute;inset:auto 0 20px 0;display:grid;grid-template-columns:1fr 1fr;align-items:center;text-align:center;pointer-events:none;}
.luna-v57-picture-labels span {justify-self:center;border-radius:3px;padding:6px 14px;background:rgba(24,23,23,.82);color:#fff;font-size:11px;letter-spacing:.13em;font-weight:850;box-shadow:0 4px 12px #0003;}
.luna-v57-picture-labels span:last-child{background:#bf0814;}
/* No fake logo in the photo: the only emblem stays in the original header. */
/* Paint the real hero brand name, letter by letter, on every device. */
.luna-v57-business-name .luna-v57-glyph {color:inherit;transition:color .22s ease-out,text-shadow .25s ease-out;}
.luna-v57-business-name .luna-v57-glyph.is-painted {color:#ed1c24;text-shadow:0 0 7px rgba(237,28,36,.18);}
.luna-v57-paint-layer {position:fixed;inset:0;z-index:110;pointer-events:none;overflow:visible;}
.luna-v57-paint-drop {position:absolute;display:block;width:var(--size,7px);height:var(--size,7px);transform:translate(-50%,-50%);border-radius:45% 55% 60% 55%;background:radial-gradient(circle at 30% 30%,#ff6e70,#ed1c24 47%,#a50012);box-shadow:0 1px 4px rgba(111,0,18,.34);}
.luna-v57-paint-splash {position:absolute;display:block;left:var(--x);top:var(--y);width:var(--size,4px);height:var(--size,4px);border-radius:50%;background:#ed1c24;opacity:.97;animation:luna-v57-splash var(--duration,400ms) ease-out forwards;}
@keyframes luna-v57-splash {to{opacity:0;transform:translate(var(--dx),var(--dy)) scale(.45);}}
/* Replay the existing original moon glow and bucket swing on desktop and mobile taps/clicks. */
.site-header .brand.luna-logo-has-tapped .luna-moon-v42,
.site-header .brand.luna-logo-has-tapped .luna-bucket-v42{animation:none;}
.site-header .brand.luna-logo-has-tapped .luna-moon-v42{opacity:0;}
.site-header .brand.luna-logo-has-tapped .luna-bucket-v42{transform:rotate(0deg);}
.site-header .brand.luna-logo-has-tapped.luna-logo-tapped .luna-moon-v42{animation:luna-moon-glow-v43 1.8s ease-in-out 0s 1 both;}
.site-header .brand.luna-logo-has-tapped.luna-logo-tapped .luna-bucket-v42{animation:luna-bucket-sway-v43 1.9s ease-in-out .08s 1 both;}
.site-header .brand:focus-visible{outline:3px solid #ed1c24;outline-offset:2px;}
@media(max-width:760px){
  .luna-v57-hero-copy{padding:24px 14px 21px;}
  .luna-v57-business-name{font-size:clamp(25px,6.5vw,34px);max-width:100%;line-height:1.14;}
  .luna-v57-location{margin-top:9px;font-size:10.3px;letter-spacing:.13em;}
  .luna-v57-red-rule{width:132px;height:3px;margin:13px auto 12px;}
  .luna-v57-hero h1{font-size:clamp(33px,8vw,48px);line-height:1.06;letter-spacing:-.044em;}
  .luna-v57-hero p{font-size:clamp(13px,3.48vw,15.5px);line-height:1.4;margin:11px auto 15px;max-width:500px;}
  .luna-v57-hero-cta{font-size:11px;min-height:42px;padding:11px 14px;white-space:normal;}
  /* Display the full before and after without cropping either side on phones. */
  .luna-v57-hero-photo img{width:100%;height:auto;max-height:none;object-fit:contain;object-position:center;}
  .luna-v57-picture-labels{bottom:8px;}
  .luna-v57-picture-labels span{font-size:9px;letter-spacing:.07em;padding:4px 8px;}
}
@media(max-width:360px){
  .luna-v57-business-name{font-size:24px;}
  .luna-v57-hero h1{font-size:31px;}
  .luna-v57-hero-copy{padding:20px 10px 18px;}
}
@media(prefers-reduced-motion:reduce){
  .luna-v57-business-name .luna-v57-glyph{transition:none!important;}
  .luna-v57-paint-layer{display:none!important;}
  .site-header .brand.luna-logo-has-tapped .luna-moon-v42,
  .site-header .brand.luna-logo-has-tapped .luna-bucket-v42{animation:none!important;}
}
/* Wide screens: keep the finished room visible above the fold, like the chosen
   reference. All text remains HTML, layered over the same authentic-looking
   illustrative before-and-after scene. */
@media (min-width:761px) {
  .luna-v57-hero {height:clamp(600px,49vw,700px);min-height:600px;}
  .luna-v57-hero-photo{position:absolute;inset:0;width:100%;height:100%;}
  .luna-v57-hero-photo img{
    width:100%;height:100%;max-height:none;object-fit:cover;object-position:center 71%;
  }
  .luna-v57-hero-copy{
    position:absolute;top:0;left:0;right:0;z-index:3;
    padding:24px 20px 84px;
    background:linear-gradient(180deg,rgba(253,252,250,.96) 0%,rgba(253,252,250,.91) 42%,rgba(253,252,250,.55) 77%,rgba(253,252,250,0) 100%);
  }
  .luna-v57-business-name{font-size:clamp(27px,2.5vw,38px);}
  .luna-v57-location{margin-top:6px;}
  .luna-v57-red-rule{margin:9px auto 10px;}
  .luna-v57-hero h1{font-size:clamp(44px,4.15vw,65px);line-height:1.045;}
  .luna-v57-hero p{margin:8px auto 11px;font-size:clamp(14px,1.1vw,17px);}
  .luna-v57-hero-cta{min-height:40px;padding:10px 17px;}
}

/* Transparent label: AI concept imagery is not represented as a completed Luna project. */
.luna-v57-hero-photo .luna-v57-visual-note {
  position:absolute;left:0;right:0;bottom:0;z-index:2;
  padding:5px 10px;margin:0;background:rgba(0,0,0,.66);
  color:#fff;font-size:10px;line-height:1.3;font-weight:500;text-align:center;
}
.luna-v57-visual-note a {text-decoration:underline;text-underline-offset:2px;color:#fff;}
.luna-v57-hero-photo .luna-v57-picture-labels {bottom:34px;}
@media(max-width:760px){
  .luna-v57-hero-photo .luna-v57-picture-labels {bottom:24px;}
  .luna-v57-hero-photo .luna-v57-visual-note{font-size:9px;padding:4px 6px;}
}
