/* Our Work (/our-work/), 2026-10-05.
   Full-bleed photo hero (panel-hero pattern) + photo row under it.
   Scoped here so site.css stays untouched. */

/* Hero uses shared .panel-hero from site.css. Tweaks for baked left navy fade
   on our-work-hero-chargers-row and mobile crop that keeps the chargers. */
.ow-hero.panel-hero{
  min-height:min(72vh, 640px);
}
.ow-hero .panel-hero-photo{
  object-position:62% center;
}
/* Baked fade already covers ~left 40%; keep CSS wash lighter so they blend. */
.ow-hero.panel-hero::after{
  background:linear-gradient(90deg,
    rgba(11,31,51,.78) 0%,
    rgba(11,31,51,.52) 18%,
    rgba(11,31,51,.18) 42%,
    rgba(11,31,51,0) 62%);
}
.ow-hero .btn-navy{
  background:#F6F3EC;
  color:var(--navy);
  border-color:#F6F3EC;
  font-weight:600;
}
.ow-hero .btn-navy:hover{
  background:#fff;
  color:var(--navy);
  border-color:#fff;
}
.ow-hero h1{max-width:10ch}
.ow-hero .lead{
  max-width:36ch;
  margin-bottom:22px;
  font-size:17px;
}

/* Former three-photo strip, now a row under the hero */
.ow-photo-row{
  padding:28px 0 8px;
  background:var(--paper);
  border-bottom:1px solid color-mix(in srgb, var(--ink) 8%, transparent);
}
.ow-photo-row .ow-photo-strip{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin:0;
  padding:0;
  list-style:none;
}
.ow-photo-row figure{
  margin:0;
  border-radius:var(--radius,12px);
  overflow:hidden;
  background:var(--navy,#0B1F33);
  aspect-ratio:4 / 5;
}
.ow-photo-row img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.ow-photo-row .pos-shop{object-position:center 35%}
.ow-photo-row .pos-mimi{object-position:48% 40%}
.ow-photo-row .pos-panel{object-position:center 35%}

@media (max-width:900px){
  .ow-hero.panel-hero{
    min-height:min(68vh, 520px);
  }
  .ow-hero .panel-hero-photo{
    /* Bias toward the charger row so bollards stay in frame when cover crops */
    object-position:70% 45%;
  }
  .ow-hero.panel-hero::after{
    background:linear-gradient(180deg,
      rgba(11,31,51,.15) 0%,
      rgba(11,31,51,.35) 40%,
      rgba(11,31,51,.82) 72%,
      rgba(11,31,51,.94) 100%);
  }
  .ow-hero .wrap{
    padding-top:100px;
    padding-bottom:28px;
  }
  .ow-photo-row .ow-photo-strip{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }
  .ow-photo-row figure:last-child{
    grid-column:1 / -1;
    max-width:calc(50% - 5px);
    justify-self:center;
  }
}
@media (max-width:640px){
  .ow-hero .cta-row .btn{width:100%}
  .ow-hero .lead{font-size:15px}
}

/* Before/after job story beside the panel slider */
.compare-story { margin-top: 1.25rem; display: grid; gap: .75rem; }
.compare-story p { margin: 0; line-height: 1.6; }
.compare-story strong { color: inherit; font-weight: 700; }

/* "What the work looks like" calm grid, 2026-10-06.
   Overrides the shared .work-mosaic rules in site.css for this page only.
   Two shapes: 4:5 tiles and one 8:5 wide tile at the top and bottom.
   Per-tile focal point via --fp (object-position) so faces and gear stay in frame.
   Order is built so 3-col (desktop) and 2-col (tablet/phone) both fill every row. */
.ow-mosaic.work-mosaic{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  grid-auto-rows:auto;
  gap:12px;
}
.ow-mosaic .work-tile{
  aspect-ratio:4 / 5;
  grid-column:auto;
  grid-row:auto;
}
.ow-mosaic .work-tile--wide{
  grid-column:span 2;
  aspect-ratio:auto; /* takes the row height set by its 4:5 neighbour (~8:5) */
}
.ow-mosaic .work-tile img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:var(--fp, 50% 50%);
}
.ow-mosaic .work-tile span{z-index:1}
@media (max-width:900px){
  .ow-mosaic.work-mosaic{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .ow-mosaic .work-tile--wide{grid-column:1 / -1;aspect-ratio:8 / 5}
}
@media (max-width:520px){
  .ow-mosaic.work-mosaic{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .ow-mosaic .work-tile span{padding:28px 10px 9px;font-size:13px;line-height:1.25}
}
/* 2026-10-06 w2: headroom pass. Wide tiles get their height from the 4:5 row, so they
   come out about 1.63:1 on desktop. In the yard, Our crew and the pedestal tile --fp
   were moved up so every head has clear space above it at 1024-1920. */

/* 2026-10-07: Yelp section links to the real Yelp listing (logo + teal button). */
.yelp-mark-link{display:inline-block;border-radius:6px;line-height:0}
.yelp-mark-link:focus-visible{outline:2px solid var(--teal);outline-offset:4px}
.compare-section .yelp-cta{margin-top:24px}
@media (max-width:700px){.compare-section .yelp-cta .btn{width:100%}}
.ow-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* 2026-11-23: on the stacked mobile hero (<=800px), crop the baked left navy
   fade off-screen so the charger row is edge to edge. Desktop/tablet overlay layout unchanged. */
@media (max-width:800px){
  .ow-hero.panel-hero{overflow:hidden}
  .ow-hero .panel-hero-photo{
    width:172% !important;
    max-width:none !important;
    margin-left:-72%;
    object-fit:cover;
    object-position:100% 45%;
    height:auto !important;
    aspect-ratio:16 / 9;
  }
}

/* 2026-11-23: photo row becomes a peeking scroll-snap slider on phones.
   Overrides the <=900px 2-col + centered last-child grid. Desktop/tablet unchanged. */
@media (max-width:640px){
  .ow-photo-row .ow-photo-strip{
    display:flex;
    grid-template-columns:none;
    gap:12px;
    overflow-x:auto;
    overscroll-behavior-x:contain;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    padding-bottom:2px;
  }
  .ow-photo-row .ow-photo-strip::-webkit-scrollbar{display:none}
  .ow-photo-row figure,
  .ow-photo-row figure:last-child{
    flex:0 0 88%;
    width:88%;
    max-width:88%;
    grid-column:auto;
    justify-self:auto;
    scroll-snap-align:start;
    aspect-ratio:4 / 5;
    border-radius:12px;
  }
  .ow-photo-dots{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:8px;
    margin:12px 0 0;
  }
  .ow-photo-dots button{
    width:8px;height:8px;padding:0;border:0;border-radius:50%;
    background:rgba(11,31,51,.28);
    cursor:pointer;
  }
  .ow-photo-dots button[aria-selected="true"]{background:var(--navy,#0B1F33);transform:scale(1.2)}
  .ow-photo-dots button:focus-visible{outline:2px solid var(--teal,#0E7A86);outline-offset:3px}
}
@media (min-width:641px){
  .ow-photo-dots{display:none}
}
