/* One visual idea per brand, built on its name. The body class is b-<logo mark>.
   Each block below says what the idea is. Artwork that needs drawn paths comes from
   brand.signature() and lands in .m-art (on the photo) or .m-foot (the hero's foot). */

/* Cedar & Stone. Two materials: the photo sits on a cedar block, the ampersand joins it to the stone ground. */
.b-monogram_split .hero-art{padding-bottom:44px}
.b-monogram_split .hero-art::before{content:"";position:absolute;top:44px;bottom:0;left:88px;right:-50vw;background:var(--accent)}
.b-monogram_split .hero-photo{border-radius:0}
.b-monogram_split .m-art{position:absolute;left:-52px;bottom:12px;width:148px}

/* Modern Pool Builders. The pool in plan: the photo is cut to the pool shape and ringed with its coping. */
.b-pool_plan .hero-art{padding:22px}
.b-pool_plan .hero-photo{aspect-ratio:4/3;border-radius:96px;outline:8px solid var(--accent-on-band);outline-offset:14px}

/* Redline Electrical. One red line: down the left edge of the whole page, and under the headline. */
.b-redline{border-left:14px solid var(--accent)}
.b-redline .hero h1{padding-bottom:24px;border-bottom:14px solid var(--accent)}
.b-redline .hero .sub{margin-top:28px}
.b-redline .hero-photo{border-radius:0}

/* Clear Way Plumbing. A clear run of pipe: along the foot of the hero, one bend, up past the photo. */
.b-pipe .m-hero{position:absolute;left:0;top:-28px;bottom:32px;right:calc((100vw - min(1200px,100vw - 48px))/2 - 60px);
  border:solid var(--accent);border-width:0 26px 26px 0;border-bottom-right-radius:88px}
.b-pipe .hero-in{padding-bottom:132px}

/* New Leaf Heating and Cooling. The photo is the leaf from the logo, with a second leaf behind it. */
.b-leaf .hero-art{padding:0 0 32px 32px}
.b-leaf .hero-art::before{content:"";position:absolute;inset:32px 32px 0 0;background:var(--accent);clip-path:url(#clip-leaf)}
.b-leaf .hero-photo{aspect-ratio:1;border-radius:0;clip-path:url(#clip-leaf)}
.b-leaf .m-art{position:absolute;width:0;height:0}

/* Peakline Roofing. The top edge of the photo is the two ridges from the logo, traced above it. */
.b-peak .hero-art{padding-top:28px}
.b-peak .hero-photo{border-radius:0;clip-path:polygon(0 30%,30% 4%,46% 20%,68% 0,100% 34%,100% 100%,0 100%)}
.b-peak .m-art{position:absolute;inset:0 0 28px}
.b-peak .m-art svg{width:100%;height:100%;overflow:visible}

/* Astro Bay Painting. A star over the bay: one large star on the corner of the photo, a wave line at the foot. */
.b-astro .hero-photo{border-radius:0}
.b-astro .m-art{position:absolute;right:-56px;top:-64px;width:176px}
.b-astro .m-foot{position:absolute;left:0;right:0;bottom:28px}
.b-astro .hero-in{padding-bottom:112px}

/* Suspire Landscapes. Terraced arcs: the photo is an arch, two contour lines rise around it from the ground line. */
.b-contour .hero-art{padding:48px 48px 0;border-bottom:8px solid var(--ink)}
.b-contour .hero-photo{aspect-ratio:1/1.02;border-radius:50% 50% 0 0/44% 44% 0 0}
.b-contour .hero-art::before,.b-contour .hero-art::after{content:"";position:absolute;border:8px solid var(--accent);border-bottom:0;
  border-radius:50% 50% 0 0/44% 44% 0 0}
.b-contour .hero-art::before{inset:24px 24px 0}
.b-contour .hero-art::after{inset:0}

/* Temple Concrete. Slab lettering: the name cast across the foot of the hero, cut by the joint line. */
.b-slab .hero{border-bottom:14px solid var(--accent)}
.b-slab .hero-in{padding-block:40px 32px}
.b-slab .hero-photo{border-radius:0;aspect-ratio:16/10}
.b-slab .m-foot{width:min(1200px,100% - 48px);margin-inline:auto}
.b-slab .m-foot svg{width:100%;height:auto}

/* Vista Paving. The centre line: a yellow road stripe across the page on asphalt black. */
.b-road .hero-in{padding-bottom:120px}
.b-road .hero-photo{border-radius:0;aspect-ratio:3/2}
.b-road .m-foot{position:absolute;left:0;right:0;bottom:44px}

/* Arborn Tree Care. The cut face of a trunk: a round photo with growth rings around it. */
.b-rings .hero-art{padding:44px}
.b-rings .hero-photo{aspect-ratio:1;border-radius:50%}
.b-rings .hero-art::before,.b-rings .hero-art::after{content:"";position:absolute;border-radius:50%;border:solid var(--accent-on-band)}
.b-rings .hero-art::before{inset:20px 24px 24px 20px;border-width:8px}
.b-rings .hero-art::after{inset:0 8px 6px 0;border-width:5px}

/* Olas Pool Services. Olas means waves: three rows of them roll across the foot of the hero. */
.b-waves .hero-in{padding-bottom:156px}
.b-waves .m-foot{position:absolute;left:0;right:0;bottom:0;height:90px}

@media (max-width:767px){
  .b-monogram_split .hero-art{padding-bottom:24px}
  .b-monogram_split .hero-art::before{top:24px;left:48px}
  .b-monogram_split .m-art{left:-8px;bottom:-4px;width:92px}
  .b-pool_plan .hero-art{padding:16px}
  .b-pool_plan .hero-photo{border-radius:56px;outline-width:6px;outline-offset:10px}
  .b-redline{border-left-width:8px}
  .b-redline .hero h1{padding-bottom:16px;border-bottom-width:8px}
  .b-redline .hero .sub{margin-top:20px}
  .b-pipe .m-hero{display:none}
  .b-pipe .hero-in{padding-bottom:72px}
  .b-pipe .hero-art{margin-right:28px}
  .b-pipe .hero-art::after{content:"";position:absolute;left:-20px;right:-24px;top:-16px;bottom:-28px;
    border:solid var(--accent);border-width:0 16px 16px 0;border-bottom-right-radius:48px}
  .b-leaf .hero-art{padding:0 0 18px 18px}
  .b-leaf .hero-art::before{inset:18px 18px 0 0}
  .b-peak .hero-art{padding-top:18px}
  .b-peak .m-art{inset:0 0 18px}
  .b-astro .m-art{right:-8px;top:-40px;width:104px}
  .b-astro .hero-in{padding-bottom:88px}
  .b-contour .hero-art{padding:32px 32px 0}
  .b-contour .hero-art::before{inset:16px 16px 0}
  .b-road .hero-in{padding-bottom:88px}
  .b-slab .hero-in{padding-block:24px}
  .b-slab .hero-photo{aspect-ratio:16/9}
  .b-road .m-foot{bottom:32px}
  .b-rings .hero-art{padding:30px}
  .b-rings .hero-art::before{inset:13px 16px 16px 13px;border-width:6px}
  .b-rings .hero-art::after{border-width:4px}
  .b-waves .hero-in{padding-bottom:128px}
}
