
/* Flowhaze Services — dense editorial service grid.
   User-directed refinement: keep six service tiles close together and visually connected. */

html[data-page="services"] .fh-services-tiles-section{
  background:#f4f4f4!important;
  color:#0d0d0d!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  padding:clamp(72px,7vw,108px) 0!important;
}
html[data-page="services"] .fh-services-tiles-section>.shell{
  width:min(1280px,calc(100% - 48px))!important;
  max-width:1280px!important;
}

html[data-page="services"] .fh-services-grid{
  display:grid!important;
  grid-template-columns:repeat(12,minmax(0,1fr))!important;
  grid-template-rows:repeat(3,clamp(210px,18vw,250px))!important;
  gap:8px!important;
  align-items:stretch!important;
}

html[data-page="services"] .fh-service-tile{
  position:relative!important;
  min-width:0!important;
  min-height:0!important;
  height:auto!important;
  overflow:hidden!important;
  border-radius:14px!important;
  background:#151517!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  isolation:isolate!important;
}

html[data-page="services"] .fh-service-tile-brand{
  grid-column:1 / span 4!important;
  grid-row:1 / span 2!important;
}
html[data-page="services"] .fh-service-tile-product{
  grid-column:5 / span 4!important;
  grid-row:1!important;
}
html[data-page="services"] .fh-service-tile-motion{
  grid-column:9 / span 4!important;
  grid-row:1!important;
}
html[data-page="services"] .fh-service-tile-campaign{
  grid-column:5 / span 4!important;
  grid-row:2!important;
}
html[data-page="services"] .fh-service-tile-ai{
  grid-column:1 / span 8!important;
  grid-row:3!important;
}
html[data-page="services"] .fh-service-tile-pitch{
  grid-column:9 / span 4!important;
  grid-row:2 / span 2!important;
}

html[data-page="services"] .fh-service-tile>img{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
  display:block!important;
  transform:scale(1.01)!important;
  transition:transform .65s cubic-bezier(.2,.7,.2,1),filter .65s ease!important;
}
html[data-page="services"] .fh-service-tile:hover>img{
  transform:scale(1.035)!important;
}
html[data-page="services"] .fh-service-tile-shade{
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  pointer-events:none!important;
  background:
    linear-gradient(180deg,rgba(6,6,9,.05) 0%,rgba(6,6,9,.12) 42%,rgba(6,6,9,.90) 100%)!important;
}
html[data-page="services"] .fh-service-tile-copy{
  position:absolute!important;
  z-index:2!important;
  left:clamp(18px,1.7vw,26px)!important;
  right:clamp(18px,1.7vw,26px)!important;
  bottom:clamp(18px,1.7vw,26px)!important;
  color:#f4f4f4!important;
}
html[data-page="services"] .fh-service-kicker{
  display:block!important;
  margin:0 0 7px!important;
  font:500 10px/1 "DM Mono",ui-monospace,monospace!important;
  letter-spacing:.12em!important;
  color:#bfff00!important;
}
html[data-page="services"] .fh-service-tile h2{
  margin:0 0 7px!important;
  max-width:17ch!important;
  font-family:Inter,Arial,sans-serif!important;
  font-size:clamp(24px,1.8vw,34px)!important;
  line-height:.98!important;
  letter-spacing:-.045em!important;
  font-weight:700!important;
  color:#f4f4f4!important;
}
html[data-page="services"] .fh-service-tile p{
  margin:0!important;
  max-width:45ch!important;
  font-family:Inter,Arial,sans-serif!important;
  font-size:clamp(12px,.9vw,14px)!important;
  line-height:1.4!important;
  color:rgba(244,244,244,.84)!important;
}
html[data-page="services"] .fh-service-tile-product p,
html[data-page="services"] .fh-service-tile-motion p{
  max-width:38ch!important;
}

/* Title-only transition requested between services and project examples. */
html[data-page="services"] .fh-services-transition{
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:#0d0d0d!important;
  color:#f4f4f4!important;
  padding:clamp(120px,12vw,190px) 0!important;
}
html[data-page="services"] .fh-services-transition-inner{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
}
html[data-page="services"] .fh-transition-eyebrow{
  margin:0 0 24px!important;
  font:500 11px/1.2 "DM Mono",ui-monospace,monospace!important;
  letter-spacing:.18em!important;
  color:#bfff00!important;
}
html[data-page="services"] .fh-services-transition h2{
  margin:0!important;
  max-width:21ch!important;
  text-align:center!important;
  font-family:Inter,Arial,sans-serif!important;
  font-size:clamp(42px,5.4vw,82px)!important;
  line-height:.98!important;
  letter-spacing:-.052em!important;
  font-weight:400!important;
  color:#f4f4f4!important;
}
html[data-page="services"] .fh-services-transition h2 em{
  font-family:"Cormorant Garamond",Georgia,serif!important;
  font-style:italic!important;
  font-weight:500!important;
  letter-spacing:-.03em!important;
}

/* Keep the following heading/subtext centered and remove section seams. */
html[data-page="services"] .services-portfolio-section.fh-centered-portfolio{
  border:0!important;
  border-top:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:#f4f4f4!important;
  padding-top:clamp(90px,9vw,140px)!important;
}
html[data-page="services"] .fh-centered-heading{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:18px!important;
  max-width:920px!important;
  margin:0 auto clamp(48px,5vw,76px)!important;
  text-align:center!important;
}
html[data-page="services"] .fh-centered-heading>div,
html[data-page="services"] .fh-centered-heading>p{
  width:100%!important;
  margin-left:auto!important;
  margin-right:auto!important;
  text-align:center!important;
}
html[data-page="services"] .fh-centered-heading h2{
  margin-left:auto!important;
  margin-right:auto!important;
  text-align:center!important;
}
html[data-page="services"] .fh-centered-heading>p{
  max-width:610px!important;
}

/* Tablet: compact 2-column grid. */
@media(max-width:1050px){
  html[data-page="services"] .fh-services-tiles-section>.shell{
    width:min(100% - 36px,900px)!important;
  }
  html[data-page="services"] .fh-services-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-template-rows:none!important;
    grid-auto-rows:minmax(340px,auto)!important;
    gap:10px!important;
  }
  html[data-page="services"] .fh-service-tile{
    grid-column:auto!important;
    grid-row:auto!important;
    min-height:360px!important;
  }
}

/* Mobile: one close, continuous stack. */
@media(max-width:700px){
  html[data-page="services"] .fh-services-tiles-section{
    padding:56px 0!important;
  }
  html[data-page="services"] .fh-services-tiles-section>.shell{
    width:calc(100% - 24px)!important;
  }
  html[data-page="services"] .fh-services-grid{
    grid-template-columns:1fr!important;
    grid-auto-rows:auto!important;
    gap:8px!important;
  }
  html[data-page="services"] .fh-service-tile{
    min-height:350px!important;
    border-radius:12px!important;
  }
  html[data-page="services"] .fh-service-tile-copy{
    left:20px!important;
    right:20px!important;
    bottom:20px!important;
  }
  html[data-page="services"] .fh-service-tile h2{
    font-size:30px!important;
  }
  html[data-page="services"] .fh-service-tile p{
    font-size:13px!important;
  }
  html[data-page="services"] .fh-services-transition{
    padding:100px 0!important;
  }
  html[data-page="services"] .fh-centered-heading{
    gap:14px!important;
    margin-bottom:46px!important;
  }
}
