/* ADZIVO · 2026 hero product artwork refresh.
   Sharper independent 3D product photography with one coherent emerald
   material palette. Loaded after all earlier theme/hero styles. */

/* Do not let the older concept crops or contrast/blur settings bleed through. */
.hero .hero-reference-rail .hero-rail-projects{
  min-width:0;
  align-items:stretch;
}
.hero .hero-reference-rail .hero-rail-card{
  position:relative!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:end!important;
  isolation:isolate!important;
  min-width:0!important;
  min-height:149px;
  overflow:hidden!important;
  background:#071f17!important;
  border:1px solid rgba(163,255,218,.49)!important;
  border-radius:17px!important;
  box-shadow:inset 0 1px 0 rgba(247,255,246,.14),0 18px 33px rgba(0,0,0,.46),0 0 22px rgba(62,235,154,.06)!important;
  transition:transform .32s ease,border-color .32s ease,box-shadow .32s ease!important;
}
.hero .hero-reference-rail .hero-rail-card img.hero-product-photo{
  position:absolute!important;inset:0!important;z-index:-2!important;
  display:block!important;width:100%!important;height:100%!important;
  object-fit:cover!important;
  object-position:66% center!important;
  opacity:1!important;
  image-rendering:auto!important;
  filter:brightness(1.025) contrast(1.045) saturate(1.045)!important;
  transform:scale(1.0) translateZ(0)!important;
  -webkit-backface-visibility:hidden;backface-visibility:hidden;
  transition:transform .48s cubic-bezier(.2,.7,.2,1),filter .32s ease!important;
}
.hero .hero-reference-rail .hero-rail-card img.hero-product-skincare{object-position:68% 52%!important}
.hero .hero-reference-rail .hero-rail-card img.hero-product-furniture{object-position:69% 50%!important}
.hero .hero-reference-rail .hero-rail-card img.hero-product-footwear{object-position:65% 52%!important}
.hero .hero-reference-rail .hero-rail-card img.hero-product-sneaker{object-position:66% 51%!important}
/* A subtle dark base below live headings—do not darken the photography. */
.hero .hero-reference-rail .hero-rail-card::before{
  content:""!important;display:block!important;
  position:absolute!important;inset:0!important;z-index:-1!important;
  pointer-events:none!important;
  background:linear-gradient(180deg,rgba(0,15,10,.19) 0%,rgba(0,16,12,.01) 29%,rgba(0,16,11,.1) 47%,rgba(0,12,8,.82) 100%)!important;
}
.hero .hero-reference-rail .hero-rail-card::after{
  content:"";display:block;position:absolute;pointer-events:none;
  inset:0;z-index:3;
  border-radius:inherit;
  background:linear-gradient(128deg,rgba(227,255,239,.07),transparent 35%,transparent 76%,rgba(42,231,158,.04));
}
.hero .hero-reference-rail .hero-rail-card .hero-rail-category{
  z-index:5!important;
  top:9px!important;left:9px!important;
  font-size:.66rem!important;
  font-weight:850!important;letter-spacing:.095em!important;
  line-height:1.15!important;
  padding:6px 9px!important;
  color:#F4FFF9!important;
  background:rgba(3,41,28,.91)!important;
  border-color:rgba(189,255,222,.59)!important;
  text-shadow:0 1px 5px rgba(0,0,0,.45)!important;
}
.hero .hero-reference-rail .hero-rail-card .hero-rail-meta{
  z-index:4!important;
  min-width:0!important;
  padding:66px 9px 11px 12px!important;
  background:transparent!important;
  align-self:end!important;
}
.hero .hero-reference-rail .hero-rail-card .hero-rail-meta strong{
  font-size:.88rem!important;line-height:1.17!important;
  font-weight:850!important;letter-spacing:-.014em!important;
  color:#FFFFFF!important;
  text-shadow:0 2px 9px rgba(0,0,0,.87)!important;
}
.hero .hero-reference-rail .hero-rail-card .hero-rail-meta small{
  font-size:.64rem!important;line-height:1.25!important;
  color:#E1FBEA!important;
  text-shadow:0 2px 7px rgba(0,0,0,.83)!important;
}
.hero .hero-reference-rail .hero-rail-arrow{
  position:relative!important;z-index:6!important;
  background:rgba(2,35,24,.88)!important;
  border:1px solid rgba(167,255,215,.67)!important;
}
.hero .hero-reference-rail .hero-rail-card:hover,
.hero .hero-reference-rail .hero-rail-card:focus-visible{
  transform:translateY(-5px) perspective(900px) rotateX(1.5deg)!important;
  border-color:rgba(216,255,236,.85)!important;
  box-shadow:0 24px 47px rgba(0,0,0,.57),0 0 23px rgba(52,235,160,.15)!important;
}
.hero .hero-reference-rail .hero-rail-card:hover img.hero-product-photo,
.hero .hero-reference-rail .hero-rail-card:focus-visible img.hero-product-photo{
  transform:scale(1.055) translateZ(0)!important;
  filter:brightness(1.08) contrast(1.045) saturate(1.07)!important;
}

/* Gallery sits alongside home hero on ultrawide desktops, and below it on laptops. */
@media(min-width:1391px){
  .hero .hero-reference-rail .hero-rail-card{min-height:153px!important}
  .hero .hero-reference-rail .hero-rail-meta{padding-top:74px!important}
}
@media(min-width:781px) and (max-width:1390px){
  .hero .hero-reference-rail .hero-rail-projects{align-items:stretch!important}
  .hero .hero-reference-rail .hero-rail-card{min-height:179px!important}
  .hero .hero-reference-rail .hero-rail-card .hero-rail-meta strong{font-size:.88rem!important}
  .hero .hero-reference-rail .hero-rail-card .hero-rail-meta small{font-size:.62rem!important}
}
@media(min-width:551px) and (max-width:780px){
  .hero .hero-reference-rail .hero-rail-card{min-height:156px!important}
  .hero .hero-reference-rail .hero-rail-card .hero-rail-meta{
    padding:59px 6px 10px 9px!important;
  }
  .hero .hero-reference-rail .hero-rail-card .hero-rail-meta strong{font-size:.76rem!important}
  .hero .hero-reference-rail .hero-rail-card .hero-rail-meta small{font-size:.56rem!important}
  .hero .hero-reference-rail .hero-rail-card .hero-rail-category{font-size:.56rem!important}
}
@media(max-width:550px){
  .hero .hero-reference-rail .hero-rail-projects{
    grid-template-columns:1fr!important;
    gap:14px!important;
  }
  .hero .hero-reference-rail .hero-rail-card{
    min-height:183px!important;
    border-radius:16px!important;
  }
  .hero .hero-reference-rail .hero-rail-card .hero-rail-meta{
    padding:77px 12px 14px 14px!important;
  }
  .hero .hero-reference-rail .hero-rail-card .hero-rail-meta strong{
    font-size:1rem!important;
  }
  .hero .hero-reference-rail .hero-rail-card .hero-rail-meta small{
    font-size:.72rem!important;
  }
  .hero .hero-reference-rail .hero-rail-card .hero-rail-category{
    font-size:.71rem!important;top:11px!important;left:11px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  .hero .hero-reference-rail .hero-rail-card,
  .hero .hero-reference-rail .hero-rail-card img.hero-product-photo{
    transition:none!important;
  }
  .hero .hero-reference-rail .hero-rail-card:hover{
    transform:none!important;
  }
}
