/* Little Moments — 2026-10-21: watercolor-cloud alignment refinement.
 * Uses the 1964x892 high-resolution derivative of the supplied watercolor PNG.
 * Scoped to hero decoration and Lukas's position only. */
.header-cloud-left,
.header-cloud-right,
.hero-cloud-cloudlet {
  background-image:url('/images/lm-cloud-watercolor-hd.webp') !important;
  background-size:contain !important;
  background-repeat:no-repeat !important;
}
.hero-clouds-bottom {
  position:absolute !important;
  z-index:9 !important;
  left:0 !important;
  bottom:-58px !important;
  width:100% !important;
  height:156px !important;
  display:flex !important;
  flex-wrap:nowrap !important;
  align-items:flex-end !important;
  justify-content:center !important;
  gap:0 !important;
  overflow:visible !important;
  pointer-events:none;
  isolation:isolate;
}
.hero-clouds-bottom .bottom-cloud {
  display:block !important;
  position:relative !important;
  flex:0 0 auto !important;
  align-self:flex-end !important;
  width:clamp(250px,21vw,380px) !important;
  min-width:0 !important;
  max-width:none !important;
  height:auto !important;
  max-height:none !important;
  aspect-ratio:1964 / 892;
  object-fit:contain !important;
  object-position:center bottom !important;
  margin:0 0 0 clamp(-145px,-8.1vw,-80px) !important;
  border:0 !important;
  opacity:1 !important;
  image-rendering:auto;
  filter:none !important;
  transform-origin:center bottom;
  transform:translateY(0) rotate(0deg) scale(1) !important;
}
.hero-clouds-bottom .bottom-cloud:nth-child(4n+2) {
  transform:translateY(-7px) rotate(3deg) scale(1.04) !important;
}
.hero-clouds-bottom .bottom-cloud:nth-child(4n+3) {
  transform:translateY(5px) rotate(-3deg) scale(.97) !important;
}
.hero-clouds-bottom .bottom-cloud:nth-child(6n+4) {
  transform:translateY(-11px) rotate(2deg) scale(1.07) !important;
}
.hero-clouds-bottom .bottom-cloud:nth-child(7n+5) {
  transform:translateY(2px) rotate(-2deg) scale(1.02) !important;
}
/* Make the transition into the white next section seamless, not a pink strip. */
.hero-clouds-bottom::after {
  content:'';
  position:absolute;
  z-index:40;
  left:-2%;bottom:0;
  width:104%;height:14px;
  background:linear-gradient(to bottom,rgba(255,255,255,0),#fff);
  pointer-events:none;
}
/* Lukas sits a little left and lower than the previous arrangement. */
.hero-visual .hero-kid {
  right:29% !important;
  bottom:-122px !important;
}
@media (min-width:1600px) {
  .hero-visual .hero-kid { right:30% !important; bottom:-125px !important; }
  .hero-clouds-bottom { bottom:-67px !important; height:170px !important; }
  .hero-clouds-bottom .bottom-cloud { width:clamp(340px,19vw,400px) !important; }
}
@media (max-width:1100px) {
  .hero-visual .hero-kid { right:29% !important; bottom:-87px !important; }
  .hero-clouds-bottom { bottom:-54px !important; height:135px !important; }
  .hero-clouds-bottom .bottom-cloud {
    width:clamp(235px,23vw,300px) !important;
    margin-left:-75px !important;
  }
}
@media (max-width:850px) {
  .hero-visual .hero-kid { right:26% !important; bottom:-68px !important; }
  .hero-clouds-bottom { bottom:-52px !important; height:123px !important; }
}
@media (max-width:600px) {
  .hero-visual .hero-kid { right:35% !important; bottom:-25px !important; }
  .hero-visual .hero-girl { right:4% !important; bottom:-8px !important; }
  .hero-clouds-bottom {
    left:0 !important;
    bottom:-43px !important;
    width:100% !important;
    height:105px !important;
    justify-content:center !important;
  }
  .hero-clouds-bottom .bottom-cloud {
    width:220px !important;
    height:auto !important;
    min-width:0 !important;
    margin-left:-85px !important;
  }
  .hero-clouds-bottom .bottom-cloud:nth-child(n+6) {
    display:block !important;
  }
  .hero-cloud-cloudlet { width:136px !important; height:76px !important; bottom:2px !important; }
}
@media (max-width:360px) {
  .hero-visual .hero-kid { right:36% !important; bottom:-23px !important; }
  .hero-clouds-bottom { bottom:-41px !important; height:98px !important; }
  .hero-clouds-bottom .bottom-cloud { width:200px !important; margin-left:-77px !important; }
}
@media(prefers-reduced-motion:reduce) {
  .hero-clouds-bottom .bottom-cloud { transition:none !important; }
}

/* VERSION 15 RESTORATION — ONLY TWO APPROVED TOUCH-UPS.
   Keep all hero decorations, typography, clouds and other layout unchanged. */
/* 1. Move Lukas horizontally left (increasing right offset); preserve bottom/size. */
.hero-visual .hero-kid { right:calc(29% + 13px) !important; }
@media(min-width:1600px){
  .hero-visual .hero-kid { right:calc(30% + 13px) !important; }
}
@media(max-width:1100px){
  .hero-visual .hero-kid { right:calc(29% + 12px) !important; }
}
@media(max-width:850px){
  .hero-visual .hero-kid { right:calc(26% + 12px) !important; }
}
@media(max-width:600px){
  .hero-visual .hero-kid { right:calc(35% + 18px) !important; }
}
@media(max-width:360px){
  .hero-visual .hero-kid { right:calc(36% + 16px) !important; }
}
/* 2. Reduce only the header logo's rendered size by roughly 22–25%. */
.site-header .logo-link .lm-logo {
  width:116px !important;
  max-width:116px !important;
  height:auto !important;
  max-height:70px !important;
  object-fit:contain !important;
}
@media(max-width:850px){
  .site-header .logo-link .lm-logo {
    width:100px !important;
    max-width:100px !important;
    max-height:58px !important;
  }
}
@media(max-width:600px){
  .site-header .logo-link .lm-logo {
    width:88px !important;
    max-width:88px !important;
    max-height:54px !important;
  }
}
@media(max-width:360px){
  .site-header .logo-link .lm-logo {
    width:82px !important;
    max-width:82px !important;
    max-height:50px !important;
  }
}

/* Version 19: mobile-only horizontal alignment and subtle chalk-style doodles.
   Nothing in this section changes layouts above 600px. */
.hero-chalk { display:none !important; }
@media (max-width:600px) {
  /* Move Lukas another 12px left compared to version 18, without resizing/lowering him. */
  .hero-visual .hero-kid { right:calc(35% + 30px) !important; }

  .hero-chalk {
    display:block !important;
    position:absolute;
    z-index:3;
    pointer-events:none;
    color:#fff !important;
    font-family:'Comic Sans MS','Trebuchet MS',cursive;
    font-weight:700;
    line-height:1;
    opacity:.93;
    text-shadow:0 1px 0 rgba(255,255,255,.12);
    user-select:none;
  }
  .hero-chalk-heart-a { top:35%;left:3.5%;font-size:23px;transform:rotate(-14deg); }
  .hero-chalk-heart-b { top:35.5%;right:3.3%;font-size:22px;transform:rotate(14deg); }
  .hero-chalk-sparkle-a { top:18%;left:4.5%;font-size:21px;transform:rotate(-12deg); }
  .hero-chalk-sparkle-b { top:51%;right:5%;font-size:14px;transform:rotate(9deg); }
  .hero-chalk-sparkle-c { top:76%;left:4.5%;font-size:18px;transform:rotate(16deg); }
  .hero-chalk-mini-note {
    top:70%;left:40%;width:70px;
    font-size:11px;line-height:1.12;text-align:center;
    transform:rotate(-10deg);
    white-space:normal;
  }
  .hero-chalk-mini-note span {display:block;margin-top:2px;}
}
@media (max-width:360px) {
  .hero-visual .hero-kid { right:calc(36% + 12px) !important; }
  .hero-chalk-mini-note {font-size:9.5px;width:63px;left:39%;top:69%;}
  .hero-chalk-sparkle-c {top:72%;}
}