
“Piemares Masti” is a wind energy project on the Kurzeme coast, in Sakas pagasts. The site is a single Latvian-language page whose whole job is to explain the project to the people who live next to it, and to answer the objections they already have. We built it from the client’s Figma design, in Latvian only.
Every section is a block the client owns
The build is WordPress on Bedrock with a custom theme, ACF Pro and ACF Extended. Each band of the page is its own flexible-content layout, so the nine sections that make up the homepage can be edited, reordered or hidden from wp-admin without touching a template. The layout names are the project’s own Latvian vocabulary, so a section is called the same thing in the CMS, in the design file and in the code.
Two details of the field design matter more than they sound. A line break the designer measured is a field a client can type, not a span they have to hand-code. And the rust-coloured phrase in a heading is its own separate field: the editor types the words they want highlighted and the renderer finds them, so nobody can break the markup by getting an HTML tag wrong.
The objection-handling section is a myths-and-facts accordion, working through the standard claims a wind project attracts one at a time. All copy on the site is the client’s, reproduced verbatim.
The map is the argument
The hardest question a wind project gets is what it will look like from where you stand. So the map section is not an illustration, it is the answer: 52 surveyed viewpoints, each a real observation point with a real photograph taken from it.

It runs on the Google Maps JS API with a custom style array to match the brand palette. The viewpoints are a custom post type, and the numbered pins are DOM overlays rather than map markers, which is what lets a pin carry its own number and grow when it becomes active. Clicking a pin opens the card; the card steps forward and back through the whole set for anyone who would rather browse than hunt.
The section was deliberately split so that the card half needs no Google at all. Stepping through viewpoints and their photos works on its own, and the API key unlocks exactly two things: the basemap tiles and the pin positions.
Fast, on a page this long
PageSpeed Insights, mobile and desktop, August 2026.
That is a perfect score on all four, with a full-bleed photographic hero, a live map, and a page that runs to nine bands. Fonts are self-hosted, images are served as WebP through core, and the CSS is inlined.
Stack: WordPress (Bedrock, Composer-managed), ACF Pro and ACF Extended, Tailwind CSS with esbuild, Google Maps JS API.