/* Pro Pipes Plumbing: the services layouts Alex picked 7 Oct 2026 (brand/services-layout-options (7 Oct)).
   Option 2, the icon grid, on the home page; option 3, the top five rows plus a "More services" accordion, on /services/,
   with the icon grid repeated at the top of /services/ on phones as the jump list. Linked on those two pages only, after
   site.css and brand.css; site.css is not touched. Same palette and type as the rest of the site, no new colours. */

/* ===== The icon grid: eleven tiles, one icon and a few words each. 9 Oct (Yianni: "remove the outline and make them all copper"):
   every tile is the same copper with no outline at rest (copper edge on hover and when open only), and the clog clearing tile is gone. ===== */
.tiles{list-style:none;display:grid;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr));margin:0;padding:0}
@media (min-width:640px){.tiles{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}}
@media (min-width:1000px){.tiles{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}}
/* Every tile: the soft copper tint, a quiet 1px copper edge (no outline), the icon in copper. Contrast: tile name (ink #16273D)
   13.34 to 1 on #FBEFE4, copper icon #AD5D1D 4.26 to 1 on it (3 needed), slate plus 4.81. Hover and open go to the copper edge. */
.tile{position:relative;display:flex;flex-direction:column;background:var(--brass-soft);border:1px solid transparent;border-radius:10px;transition:border-color .2s,box-shadow .2s,transform .2s var(--ease)}
.tile:hover{border-color:var(--copper);box-shadow:0 8px 22px rgba(173,93,29,.16)}
.tile.is-open{border-color:var(--copper);box-shadow:inset 0 0 0 1px var(--copper),0 8px 22px rgba(173,93,29,.16)}
@media (hover:hover){.tile:hover{transform:translateY(-2px)}}
@media (prefers-reduced-motion:reduce){.tile,.tile:hover{transform:none}}
/* Eleven tiles leave one alone on the last row of the two column grid (phones): it sits centred, the width of the others. */
@media (max-width:639px){.tiles>.tile:nth-last-child(1 of .tile):nth-child(odd of .tile){grid-column:1/-1;justify-self:center;width:calc(50% - 6px)}}
.tile-btn{display:flex;flex-direction:column;align-items:flex-start;gap:12px;width:100%;min-height:128px;margin:0;padding:18px 16px 16px;background:none;border:0;border-radius:10px;font:inherit;color:var(--ink);text-align:left;text-decoration:none;cursor:pointer;-webkit-appearance:none;appearance:none}
.tile-btn:hover{color:var(--ink)}
.tile-ico{width:36px;height:36px;color:var(--copper);fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.tile-name{font-family:var(--display);font-weight:800;font-size:1.06rem;line-height:1.2;margin-top:auto;padding-right:30px}
/* 8 Oct to 9 Oct: the five Bryce wants most carried a 2px copper outline (.tile-top). Retired 9 Oct on Yianni's note ("remove the outline and make them all copper"): no tile has an outline at rest now, only the copper edge on hover and when open; the five still lead the grid. */
.tile-plus{position:absolute;right:12px;bottom:12px;width:22px;height:22px;color:var(--slate);fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.tile.is-open .tile-plus .v{display:none}
.tile-legend{margin:0 0 14px;color:var(--slate);font-size:.92rem;max-width:70ch;text-wrap:pretty}  /* 9 Oct: no swatch, nothing to mark now every tile is the same */
.tile-also{margin:14px 0 0;color:var(--slate);font-size:.98rem;max-width:70ch;text-wrap:pretty}
.tile-also a{font-weight:600}
/* Home, 9 Oct (Yianni): faucets, fixtures and appliance hookups are off home; one clear link under the grid sends people to /services/. */
.tile-all{margin:16px 0 0}
.tile-all a{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-family:var(--display);font-weight:800;font-size:1.05rem;color:var(--pipe);text-decoration:none;border-bottom:2px solid var(--brass)}
.tile-all a:hover{color:var(--ink)}
.tile-all svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;flex:none}
.tile-go{margin-top:clamp(22px,3vw,30px);display:flex;flex-wrap:wrap;gap:12px 22px;align-items:center}
.tile-go .or{display:inline-flex;align-items:center;gap:.3em;min-height:44px;color:var(--slate);font-weight:600}
.tile-go .or a{color:var(--pipe);font-weight:700;text-decoration:none;border-bottom:2px solid var(--brass)}
.tile-go .or a:hover{color:var(--ink)}
@media (max-width:560px){.tile-go .btn{flex:1 1 100%}}
@media (max-width:639px){.tile-btn{min-height:116px;padding:16px 14px 14px}.tile-ico{width:32px;height:32px}.tile-name{font-size:1rem}}

/* The detail: with JavaScript one panel drops in under the row that was tapped; without it every tile shows its own text. */
.tile-detail{grid-column:1/-1;background:#fff;border:1px solid var(--copper);border-left:4px solid var(--copper);border-radius:0 10px 10px 0;padding:18px 20px 16px}
.tile-detail h3,.tile-text h3{font-size:1.15rem;margin:0 0 6px;line-height:1.2}
.tile-detail p,.tile-text p{margin:0;max-width:78ch;text-wrap:pretty}
.tile-more{display:inline-flex;align-items:center;gap:6px;margin-top:8px;min-height:44px;font-weight:700;color:var(--pipe);text-decoration:none}
.tile-more:hover{text-decoration:underline;color:var(--ink)}
.tile-more svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;flex:none}
.js .tile-text{display:none}
.no-js .tile-plus{display:none}
.no-js .tile-btn{cursor:default;pointer-events:none;min-height:0;padding-bottom:0}
.no-js .tile-text{display:block;padding:10px 16px 16px;font-size:.98rem}
.no-js .tile-text h3{font-size:1.02rem}

/* ===== /services/ on phones: the same grid as the jump list. Hidden on desktop, where the rows are right there. ===== */
.svc-jump{display:none}
@media (max-width:860px){.svc-jump{display:block;margin-bottom:clamp(28px,4vw,40px)}}
.tile-arrow{position:absolute;right:12px;bottom:12px;width:20px;height:20px;color:var(--slate);fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}

/* ===== /services/: the five jobs Bryce does most as full width rows ===== */
.top5{display:grid;gap:12px;margin:0;padding:0}
.top-row{display:grid;grid-template-columns:40px minmax(0,1fr);gap:6px 14px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:10px;padding:18px 18px 18px 22px;position:relative;overflow:hidden;overflow:clip} /* clip, not hidden: hidden makes the row a scroll container and Chrome drops the scroll-margin-top, so the anchor lands under the sticky header */
.top-row::before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--pipe)}
.row-ico{width:40px;height:40px;color:var(--pipe);fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.top-row h2{margin:0;font-size:clamp(1.25rem,2vw,1.6rem);line-height:1.2}
.row-body{grid-column:1/-1;margin-top:4px}
.row-body p{max-width:72ch;text-wrap:pretty}
.row-body>p:last-child{margin-bottom:0}
.row-go{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-weight:700;color:var(--pipe);text-decoration:none;white-space:nowrap;justify-self:start;grid-column:1/-1}
.row-go svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;flex:none}
.row-go:hover{text-decoration:underline;color:var(--ink)}
@media (min-width:861px){
  .top-row{grid-template-columns:56px minmax(0,1fr) auto;gap:10px 20px;padding:22px 26px 24px 28px}
  .row-ico{grid-column:1;grid-row:1;width:48px;height:48px}
  .top-row h2{grid-column:2;grid-row:1;align-self:center}
  .row-body{grid-column:2;grid-row:2;margin-top:0}
  .top-row .row-go{grid-column:3;grid-row:1;align-self:center;padding-left:20px;border-left:1px solid var(--line);min-height:48px}
}

/* The "when you call" box, the same look it had on the long page (site.css scopes its rule to .svc-row, so it is restated here). */
.top-row .call,.more-item .call{background:var(--mist);border-left:4px solid var(--pipe);border-radius:0 var(--radius) var(--radius) 0;padding:14px 18px;margin:14px 0 0;font-size:.98rem;max-width:72ch}
.top-row .call b,.more-item .call b{font-family:var(--display);font-weight:800;color:var(--pipe);letter-spacing:.06em;text-transform:uppercase;font-size:.78rem;display:block;margin-bottom:4px}
.top-row .call p,.more-item .call p{margin:0}

/* ===== /services/, 9 Oct (Yianni: "make all the services on the service page clean and detailed"): every service, top five and
   More, reads what it is, then "Signs you need it" beside "What we do" (stacked under 700px). Same type and colours as the rest. ===== */
.svc-parts{display:grid;gap:14px 32px;margin-top:14px;max-width:960px}
@media (min-width:700px){.svc-parts{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
.svc-parts .svc-k{font-family:var(--display);font-weight:800;color:var(--pipe);letter-spacing:.06em;text-transform:uppercase;font-size:.78rem;margin:0 0 6px}
.svc-parts p{margin:0;max-width:62ch;text-wrap:pretty}
.svc-signs{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:5px}
.svc-signs li{padding-left:18px;position:relative;line-height:1.4;text-wrap:pretty}
.svc-signs li::before{content:"";position:absolute;left:0;top:.55em;width:8px;height:8px;border-radius:50%;background:var(--brass)}
.row-body>p,.more-item>p{margin-bottom:0}
.more-item .svc-signs li{font-size:1rem}

/* ===== /services/: "More services", a native accordion. Starts closed on every screen since 9 Oct (Yianni: the secondary things to click on);
   the text is still in the HTML for Google, and services.js opens it when the address or a link points inside it. ===== */
.more{margin-top:clamp(18px,2.5vw,24px);border:1px solid var(--line);border-radius:10px;background:#fff}
.more summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:16px;align-items:center;padding:16px 20px;font-family:var(--display);font-weight:800;font-size:1.08rem;color:var(--ink);min-height:52px}
.more summary::-webkit-details-marker{display:none}
.more summary .n{font-family:var(--body);font-weight:600;font-size:.95rem;color:var(--slate);margin-left:auto;white-space:nowrap}
.more summary::after{content:"+";font-size:1.5rem;line-height:1;color:var(--pipe);flex:none;width:28px;text-align:center}
.more[open] summary::after{content:"\2212"}
.more-list{padding:0 20px 18px}
.more-item{padding:clamp(20px,3vw,28px) 0;border-top:1px solid var(--line)}
.more-item h2{font-size:clamp(1.15rem,1.8vw,1.4rem);margin:0 0 .4em;line-height:1.2}
.more-item p{max-width:72ch;text-wrap:pretty;font-size:1rem}
.more-item .row-go{min-height:40px;font-size:.98rem;margin-top:8px}
@media (max-width:599px){.more summary .n{display:none}.more summary{padding:14px 16px}.more-list{padding:0 16px 16px}}
