/* LAMBAC visual refinement v3 */

/* Larger floating logo at the top; compact white header after scroll */
.site-header{overflow:visible}
.site-header:not(.is-scrolled){background:transparent!important;border-color:transparent!important;box-shadow:none!important;backdrop-filter:none!important}
.nav{min-height:84px;overflow:visible}
.brand{position:relative;z-index:4;gap:14px}
.brand-logo-shell{
  width:106px!important;height:106px!important;
  margin-bottom:-26px;
  padding:8px;
  border-radius:50%;
  background:rgba(255,255,255,.92)!important;
  border:1px solid rgba(255,255,255,.96);
  box-shadow:0 18px 42px rgba(3,45,31,.14);
  backdrop-filter:blur(10px);
  transform-origin:50% 45%;
}
.brand img{width:90px!important;height:90px!important;object-fit:contain}
.brand-word{font-size:1.48rem;font-weight:700;letter-spacing:-.02em;transition:opacity .25s ease,transform .25s ease}
.brand:hover .brand-logo-shell{
  transform:translateY(4px) rotate(-4deg) scale(1.055)!important;
  box-shadow:0 22px 54px rgba(0,107,63,.20)!important;
}
.brand:hover img{transform:rotate(4deg) scale(1.04)!important}
.brand:hover .brand-word{transform:translateX(3px);opacity:.76}

.site-header.is-scrolled .nav{min-height:72px}
.site-header.is-scrolled .brand-logo-shell{
  width:66px!important;height:66px!important;margin-bottom:0;padding:5px;
  background:#fff!important;box-shadow:0 10px 28px rgba(3,45,31,.10)
}
.site-header.is-scrolled .brand img{width:56px!important;height:56px!important}

/* Menu hover: soft pill + animated line */
.nav-links{gap:8px}
.nav-links a{
  position:relative;
  isolation:isolate;
  padding:10px 14px;
  border-radius:999px;
  overflow:hidden;
  transition:color .28s ease,transform .28s ease,letter-spacing .28s ease;
}
.nav-links a::before{
  content:"";
  position:absolute;inset:0;
  border-radius:999px;
  background:rgba(0,107,63,.085);
  transform:scale(.72);
  opacity:0;
  z-index:-1;
  transition:transform .3s cubic-bezier(.2,.9,.2,1),opacity .25s ease;
}
.nav-links a::after{
  content:"";
  position:absolute;
  left:15px;right:15px;bottom:6px;
  height:2px;border-radius:99px;
  background:linear-gradient(90deg,var(--green),var(--lime));
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .34s cubic-bezier(.2,.9,.2,1);
}
.nav-links a:hover,.nav-links a:focus-visible{
  color:var(--green)!important;
  transform:translateY(-2px);
  letter-spacing:.01em;
}
.nav-links a:hover::before,.nav-links a:focus-visible::before{transform:scale(1);opacity:1}
.nav-links a:hover::after,.nav-links a:focus-visible::after{transform:scaleX(1)}

/* Actual event artwork */
.event-poster img{aspect-ratio:4/5;object-fit:cover}
.event-poster{border:1px solid rgba(255,255,255,.12)}

/* Our Region now uses the supplied island aerial */
.region-art{background:#103f31}
.region-map{
  filter:saturate(.9) contrast(.98) brightness(.9)!important;
  transform:scale(1.015)!important;
}
.region-art:hover .region-map{
  transform:scale(1.075) translate3d(-1%,0,0)!important;
  filter:saturate(1.03) contrast(1.02) brightness(.94)!important;
}
.region-map-wash{
  background:
    linear-gradient(180deg,rgba(3,31,24,.03),rgba(3,31,24,.18) 52%,rgba(3,31,24,.82)),
    linear-gradient(120deg,rgba(0,107,63,.18),transparent 55%)!important
}
.region-places span{backdrop-filter:blur(9px);box-shadow:0 6px 20px rgba(0,0,0,.08)}
.map-credit{display:none}

/* Footer uses the same landscape as a full-width atmospheric background */
.site-footer{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:#031f18!important;
}
.site-footer::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-2;
  background:url("https://lambac.org/images/adobestock_136857026.webp") center 56%/cover no-repeat;
  transform:scale(1.035);
  filter:saturate(.82) contrast(1.03);
}
.site-footer::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:
    linear-gradient(90deg,rgba(3,31,24,.94) 0%,rgba(3,31,24,.84) 46%,rgba(3,31,24,.72) 100%),
    linear-gradient(180deg,rgba(3,31,24,.30),rgba(3,31,24,.93));
}
.footer-grid,.land-ack,.footer-bottom{position:relative}
.footer-logo{
  background:rgba(255,255,255,.93)!important;
  backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,.75);
}
.footer-contact{
  padding:26px;
  border-radius:24px;
  background:rgba(3,31,24,.28);
  border:1px solid rgba(255,255,255,.11);
  backdrop-filter:blur(10px);
}

/* Keep the top floating mark practical on smaller screens */
@media(max-width:1000px){
  .site-header:not(.is-scrolled){background:transparent!important;backdrop-filter:none!important}
  .brand-logo-shell{
    width:82px!important;height:82px!important;
    margin-bottom:-14px;
  }
  .brand img{width:68px!important;height:68px!important}
  .nav-links{
    top:78px;
    border:1px solid rgba(7,59,44,.10);
    box-shadow:0 18px 54px rgba(3,45,31,.14);
  }
}
@media(max-width:650px){
  .brand-logo-shell{width:76px!important;height:76px!important}
  .brand img{width:62px!important;height:62px!important}
  .footer-contact{padding:20px}
}
