/* cit-s116:palms (creative director fronds, 2026-12-01) */
/* CIT palm gutter layer. Pair with palm-frond-1.svg, palm-frond-2.svg, palm-frond-3.svg.
   Place the .palm-layer as the first decorative sibling in <body>, behind all content.
   Soft teal-sage tint at low contrast so the fronds blend into white gutters. */

.palm-layer{
  position:fixed;
  inset:0;
  z-index:0;
  pointer-events:none;
  overflow:hidden;
}
/* Raise content above the leaves without unsticking the header or Book a tour dock */
.bar, main, footer.site{position:relative;z-index:1}

.palm-frond{
  position:absolute;
  display:block;
  background-repeat:no-repeat;
  background-size:contain;
  opacity:.10;
  transform-origin:50% 100%;
  animation:palm-sway 12s cubic-bezier(0.77, 0, 0.175, 1) infinite alternate;
}

.palm-frond-a{
  left:-4%;
  top:8%;
  width:min(340px,26vw);
  height:min(520px,78vh);
  background-image:url("/assets/palms/cit-palm-frond-1.svg");
  animation-duration:12s;
  animation-delay:0s;
}
.palm-frond-b{
  right:-6%;
  top:22%;
  width:min(380px,28vw);
  height:min(500px,72vh);
  background-image:url("/assets/palms/cit-palm-frond-2.svg");
  animation-duration:14s;
  animation-delay:-3s;
}
.palm-frond-c{
  left:-3%;
  top:52%;
  width:min(300px,22vw);
  height:min(440px,64vh);
  background-image:url("/assets/palms/cit-palm-frond-3.svg");
  animation-duration:11s;
  animation-delay:-6s;
}
.palm-frond-d{
  right:-2%;
  top:68%;
  width:min(260px,20vw);
  height:min(400px,58vh);
  background-image:url("/assets/palms/cit-palm-frond-1.svg");
  transform:scaleX(-1);
  animation-name:palm-sway-flip;
  animation-duration:13s;
  animation-delay:-2s;
}

@keyframes palm-sway{
  from{transform:rotate(-2.2deg)}
  to{transform:rotate(2.8deg)}
}
@keyframes palm-sway-flip{
  from{transform:scaleX(-1) rotate(-2.2deg)}
  to{transform:scaleX(-1) rotate(2.8deg)}
}

/* Reduced motion: leaves stay visible, no movement */
@media (prefers-reduced-motion: reduce){
  .palm-frond,
  .palm-frond-d{animation:none}
}

/* Mobile: tiny, faint fronds at the hero edges only, never behind body text */
@media (max-width:700px){
  .palm-frond-c,
  .palm-frond-d{display:none}
  .palm-frond-a{
    left:-18%;
    top:70px;
    width:140px;
    height:220px;
    opacity:.07;
  }
  .palm-frond-b{
    right:-20%;
    top:90px;
    width:150px;
    height:230px;
    opacity:.07;
  }
}

/* cit-s116:hide-old-static — drop the earlier blurred SVG palm wherever the new fronds are on. */
span.palm,
.nhero > .palm,
.shero > .palm,
.big3 > .palm,
.planhero > .palm,
.planhero.cit-swplan > .palm {
  display: none !important;
  background: none !important;
  background-image: none !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}
/* t665u / t727u sitewide gutter palms painted on body::before/::after */
body::before,
body::after {
  content: none !important;
  display: none !important;
  background: none !important;
  background-image: none !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
  animation: none !important;
}
