:root{
  --qy-ink:#1c1e1a; --qy-soft:#595f54; --qy-rule:#1c1e1a;
  --qy-hair:#d3d0c7; --qy-ground:#ecebe5; --qy-raise:#f6f5f1; --qy-card:#fff;
  --qy-accent:#3f5231; --qy-accent-ink:#fff;
  --qy-gutter:clamp(1.1rem,5vw,3rem);
  --qy-stack:clamp(2.2rem,6vw,3.6rem);
}
*{box-sizing:border-box}
body{margin:0;background:var(--qy-ground);color:var(--qy-ink);
  font:17px/1.66 ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  -webkit-font-smoothing:antialiased}
h1,h2,h3{font-weight:800;letter-spacing:-.03em;line-height:1.12;margin:0}
h1{font-size:clamp(2.2rem,8vw,4rem)}
h2{font-size:clamp(1.35rem,3.4vw,1.9rem)}
h3{font-size:1.1rem}
a{color:var(--qy-accent)}
img{max-width:100%;display:block}
.quarry-shell{max-width:1140px;margin:0 auto;padding:0 var(--qy-gutter)}
.quarry-skip{position:absolute;left:-9999px}
.quarry-skip:focus{left:1rem;top:1rem;background:var(--qy-accent);color:var(--qy-accent-ink);
  padding:.6rem 1rem;z-index:99}

/* the bar — TWO ROWS, and on a phone that is the point: the name and the
   number first, the links on their own line under them, with nothing
   competing for the same 360px. Not sticky, so the H1 gets the whole screen
   on the first scroll. */
.quarry-bar{background:var(--qy-raise);border-bottom:2px solid var(--qy-rule)}
.quarry-bar__row{display:flex;align-items:center;gap:1rem;
  padding-top:.85rem;padding-bottom:.85rem}
.quarry-brand{display:flex;align-items:center;gap:.7rem;margin-right:auto;
  text-decoration:none;color:inherit;min-width:0}
/* NO PLATE BEHIND THE MARK. See chrome.js: this is a light bar, so a logo
   drawn in dark ink on transparency is the normal case rather than the
   problem Anvil has to work around. The height matches the other three so
   the same upload looks the same size whichever layout it lands in. */
.quarry-brand__mark{height:54px;width:auto;max-width:min(240px,48vw);object-fit:contain;
  object-position:left center}
.quarry-brand__glyph{width:42px;height:42px;background:var(--qy-accent);
  color:var(--qy-accent-ink);display:grid;place-items:center;
  font-size:15px;font-weight:800;letter-spacing:.02em;flex:0 0 auto}
.quarry-brand__name{font-size:16.5px;font-weight:800;letter-spacing:-.02em;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* THE NUMBER IS A BLOCK ON A PHONE AND NEVER WRAPS. A call button that
   breaks across two lines is the one control on the page that has to be hit
   first time. */
.quarry-dial{background:var(--qy-accent);color:var(--qy-accent-ink);font-weight:800;
  text-decoration:none;font-size:15px;padding:.6rem 1rem;white-space:nowrap;flex:0 0 auto}
.quarry-dial:hover{background:#344527}
.quarry-nav{border-top:1px solid var(--qy-hair);font-size:15px;font-weight:600}
.quarry-nav__row{display:flex;align-items:center;flex-wrap:wrap;gap:.3rem 1.3rem;
  padding-top:.6rem;padding-bottom:.6rem}
.quarry-nav a{color:var(--qy-soft);text-decoration:none}
.quarry-nav a:hover,.quarry-nav a[aria-current]{color:var(--qy-ink)}

/* the services disclosure — a <details>, so it works with no JavaScript */
.quarry-menu{position:relative}
.quarry-menu>summary{list-style:none;cursor:pointer;color:var(--qy-soft);font-weight:600;
  display:inline-flex;align-items:center;gap:.4rem;-webkit-tap-highlight-color:transparent}
.quarry-menu>summary::-webkit-details-marker{display:none}
.quarry-menu>summary::after{content:"";width:.34em;height:.34em;margin-top:-.22em;
  border-right:1.8px solid currentColor;border-bottom:1.8px solid currentColor;transform:rotate(45deg)}
.quarry-menu>summary:hover,.quarry-menu[open]>summary{color:var(--qy-ink)}
.quarry-menu[open]>summary::after{margin-top:.1em;transform:rotate(225deg)}
.quarry-menu>summary:focus-visible{outline:2px solid var(--qy-accent);outline-offset:4px}
/* STATIC ON A PHONE, DROPPED ON A DESKTOP. An absolutely-positioned panel in
   a 360px column is a panel with its right half off the screen; here it
   simply pushes the row down, which is what a disclosure is for. */
.quarry-menu__list{margin:.6rem 0 .2rem;padding:0;list-style:none;
  border-top:1px solid var(--qy-hair);border-bottom:1px solid var(--qy-hair)}
.quarry-menu__list a{display:block;padding:.55rem 0;color:var(--qy-ink);
  text-decoration:none;font-size:15px;font-weight:500}
.quarry-menu__list a:hover{color:var(--qy-accent)}
.quarry-menu__all a{font-weight:800}

/* the masthead — TYPE FIRST, no picture. The inversion the whole structure
   is built on; see the note at the top of quarry/chrome.js. */
.quarry-masthead{padding:var(--qy-stack) 0 clamp(1.6rem,4vw,2.4rem)}
.quarry-masthead__line{text-wrap:balance;max-width:34ch}
.quarry-masthead__said{color:var(--qy-soft);font-size:clamp(1.05rem,2.6vw,1.2rem);
  margin:1.1rem 0 0;max-width:46ch}
.quarry-masthead__acts{display:flex;flex-wrap:wrap;gap:.6rem;margin:1.6rem 0 0}
.quarry-act{display:inline-block;text-decoration:none;font-weight:800;font-size:15.5px;
  padding:.8rem 1.3rem;border:2px solid var(--qy-rule)}
.quarry-act--solid{background:var(--qy-accent);border-color:var(--qy-accent);
  color:var(--qy-accent-ink)}
.quarry-act--solid:hover{background:#344527;border-color:#344527}
.quarry-act--plain{background:transparent;color:var(--qy-ink)}
.quarry-act--plain:hover{background:var(--qy-ink);color:var(--qy-raise)}

/* the seam — the photograph, full bleed, SHORT. A band the page passes
   through rather than a hero: the hero was the headline. */
.quarry-seam{margin:0;background:var(--qy-hair);
  border-top:2px solid var(--qy-rule);border-bottom:2px solid var(--qy-rule)}
/* THE CROP SITS ABOVE CENTRE, AND FOUR HEADLESS PLUMBERS ARE WHY.
   The band shows about half the frame. Trade photography puts the person in
   the top third and their hands in the bottom third, so a centred crop takes
   the strip between the two: every subject cut off at the jaw, on every page
   of the site. Edwin saw all four of set-4 that way on 17 November and chose
   the faces.
   IT IS A CHOICE, NOT A FIX. The subject spans the whole frame, so you keep
   the faces or you keep the wrench; a band tall enough for both is a hero,
   which is the one thing this structure is defined against. */
.quarry-seam__shot{width:100%;height:clamp(13rem,42vw,22rem);object-fit:cover;
  object-position:50% 12%}

/* the kerb — three stacked rows, label above value */
.quarry-facts{padding:clamp(1.6rem,4vw,2.4rem) 0 0}
.quarry-kerb{margin:0;display:grid;gap:1.1rem}
.quarry-kerb dt{font-size:11px;letter-spacing:.14em;text-transform:uppercase;
  font-weight:800;color:var(--qy-soft)}
.quarry-kerb dd{margin:.3rem 0 0;font-size:16px;font-weight:600}
.quarry-kerb a{color:var(--qy-ink);text-decoration:none}
.quarry-kerb a:hover{color:var(--qy-accent)}

/* bands and prose */
.quarry-band{padding:var(--qy-stack) 0}
/* TWO BANDS IN A ROW PAY THE PADDING ONCE — the rule Beacon had to add after
   its home page opened an eight-rem hole between About and the services, and
   Anvil carries it too. Written in the stylesheet rather than as inline
   style in pages.js, so somebody reading the CSS can see the decision. */
.quarry-band+.quarry-band{padding-top:0}
.quarry-facts+.quarry-band{padding-top:var(--qy-stack)}
.quarry-band__lede{max-width:48rem;margin-bottom:1.6rem}
.quarry-band__lede p{color:var(--qy-soft);margin:.7rem 0 0}
.quarry-prose{max-width:46rem}
.quarry-prose h2{margin:2rem 0 .7rem}
.quarry-prose p{margin:0 0 1rem}
.quarry-prose ul{margin:0 0 1rem;padding-left:1.1rem}
.quarry-prose li{margin:0 0 .45rem}
.quarry-lede{font-size:1.14rem;color:#36392f}

/* the index — the one piece of layout no other structure has anything like.
   ONE COLUMN ON A PHONE, where a sticky list beside a scrolling one is two
   things fighting for the same 360px: the names collapse away and the blurbs
   carry their own numbers, which is why told__tally exists. */
.quarry-index{display:grid;gap:1.4rem}
.quarry-index__col{display:none}
.quarry-index__list{margin:0;padding:0;list-style:none}
.quarry-index__row{border-top:1px solid var(--qy-hair)}
.quarry-index__row:last-child{border-bottom:1px solid var(--qy-hair)}
.quarry-index__row a,.quarry-index__row>span{display:flex;gap:.9rem;align-items:baseline;
  padding:.7rem 0;text-decoration:none;color:inherit}
.quarry-index__row a:hover .quarry-index__name{color:var(--qy-accent)}
.quarry-index__tally{font-size:11.5px;font-weight:800;letter-spacing:.1em;
  color:var(--qy-accent);flex:0 0 auto}
.quarry-index__name{font-weight:700;font-size:16px}
/* A ROW THAT LOOKS CLICKABLE AND IS NOT IS WORSE THAN ONE THAT PLAINLY IS
   NOT. The services past the body cap are shown and unlinked, so they are
   visibly muted rather than quietly inert. */
.quarry-index__row--flat>span{opacity:.5}
.quarry-index__told{display:grid;gap:1.6rem}
.quarry-told{border-top:2px solid var(--qy-rule);padding-top:.9rem;max-width:40rem}
.quarry-told__name{display:flex;gap:.8rem;align-items:baseline;margin:0}
.quarry-told__tally{font-size:11.5px;font-weight:800;letter-spacing:.1em;
  color:var(--qy-accent)}
.quarry-told p{margin:.5rem 0 0;color:var(--qy-soft);font-size:15.5px;line-height:1.6}

/* the break — A RULE AND A HANGING LINE, with no band at all. Beacon's is a
   deep band on a near-white page, Anvil's a raised band on a dark one; this
   is the page's own grid doing the work. */
.quarry-break{padding:clamp(1.8rem,4vw,2.6rem) 0 0}
.quarry-break p{margin:0;padding-top:1.1rem;border-top:2px solid var(--qy-rule);
  font-weight:800;letter-spacing:-.02em;font-size:clamp(1.15rem,3vw,1.6rem);
  max-width:28ch;text-wrap:balance}
/* A BAND EITHER SIDE KEEPS ITS OWN PADDING. The +.quarry-band rule above
   strips the top padding of whatever follows a band, and a break between two
   of them is exactly where that strip must not apply. */
.quarry-break+.quarry-band{padding-top:var(--qy-stack)}

/* the hours — weekdays in one column, the weekend in the other.
   A CONTAINER QUERY, NOT A MEDIA QUERY, AND THE SCREENSHOT IS WHY. This box
   is full-shell-wide on the home page and sits in a ~22rem aside beside the
   prose on a service page. A viewport rule cannot tell those apart, so at
   1440px the service page split a 22rem box into two columns and every row
   read

       Wednesday            7:00 AM
                             – 6:00
                                 PM

   THE BOX IS NOT THE PAGE. The question the rule has to ask is how wide
   THIS box is, which is the one thing a media query cannot answer.
   Pre-container-query browsers fall back to the single column, which is the
   phone layout and is correct, just not split. */
.quarry-hours{margin:2.2rem 0 0;background:var(--qy-raise);
  border:2px solid var(--qy-rule);padding:1.2rem 1.3rem;container-type:inline-size}
.quarry-hours h2{font-size:11px;letter-spacing:.14em;text-transform:uppercase;
  color:var(--qy-soft);margin-bottom:.9rem}
.quarry-hours__split{display:grid;gap:0}
.quarry-hours__col{margin:0}
.quarry-hours__day{display:flex;justify-content:space-between;gap:1rem;
  padding:.5rem 0;border-bottom:1px solid var(--qy-hair);font-size:15px}
.quarry-hours__day dt{font-weight:700}
.quarry-hours__day dd{margin:0;text-align:right}
.quarry-hours--shut dd{color:var(--qy-soft);font-weight:400}
.quarry-hours__note{margin:.9rem 0 0;font-size:13.5px;color:var(--qy-soft)}
/* 30rem IS MEASURED, NOT ROUND. The widest row is a long day name against a
   full range — Wednesday plus 7:00 AM – 6:00 PM — which wants about 15rem of
   column. Two of those plus the gap is 32rem of content, so the box needs
   roughly 30rem inside its padding before the split is an improvement
   rather than the wrapping above. */
@container (min-width:30rem){
  .quarry-hours__split{grid-template-columns:1fr 1fr;gap:0 2.2rem}
}

/* the map */
.quarry-map iframe{width:100%;height:clamp(16rem,50vw,24rem);border:2px solid var(--qy-rule);
  display:block;filter:grayscale(.35) contrast(1.04)}

/* the ring sentence */
.quarry-onward{margin:2.4rem 0 0;padding-top:1.2rem;border-top:2px solid var(--qy-rule);
  color:var(--qy-soft);font-size:15.5px}

/* the contact page — form first, facts after it, which on a phone is the
   only order that puts the thing they came to do above the fold */
.quarry-beside{display:grid;gap:var(--qy-stack)}
.quarry-aside{display:grid;gap:1.6rem;align-content:start}
.quarry-aside .quarry-prose h2{margin:0 0 .5rem;font-size:1.05rem}
.quarry-form{background:var(--qy-card);border:2px solid var(--qy-rule);padding:1.4rem}
.quarry-form__pair{display:grid;gap:0}
.quarry-form label{display:block;font-size:11px;font-weight:800;letter-spacing:.14em;
  text-transform:uppercase;color:var(--qy-soft);margin:1rem 0 .35rem}
.quarry-form__pair>div:first-child label{margin-top:0}
/* 16px OR THE PHONE ZOOMS. Safari on iOS scales the whole page up when a
   focused field's text is under 16px, and it does not scale back out. */
.quarry-form input,.quarry-form textarea{width:100%;font:inherit;font-size:16px;
  color:var(--qy-ink);background:var(--qy-raise);border:1px solid var(--qy-rule);
  padding:.65rem .8rem}
.quarry-form textarea{min-height:8rem;resize:vertical}
.quarry-form input:focus,.quarry-form textarea:focus{outline:2px solid var(--qy-accent);
  outline-offset:1px}
.quarry-form button{margin-top:1.3rem;font:inherit;font-weight:800;font-size:15.5px;
  cursor:pointer;background:var(--qy-accent);color:var(--qy-accent-ink);
  border:2px solid var(--qy-accent);padding:.78rem 1.5rem;width:100%}
.quarry-form button:hover{background:#344527;border-color:#344527}
.quarry-form__note{margin:1rem 0 0;font-size:14px;color:var(--qy-soft)}

/* the foot */
.quarry-foot{background:var(--qy-raise);border-top:2px solid var(--qy-rule);
  color:var(--qy-soft);padding:var(--qy-stack) 0 1.4rem;margin-top:var(--qy-stack)}
.quarry-foot a{color:var(--qy-ink);text-decoration:none}
.quarry-foot a:hover{color:var(--qy-accent)}
.quarry-foot__spread{display:grid;gap:1.8rem}
.quarry-foot__title{font-size:11px;letter-spacing:.14em;text-transform:uppercase;
  color:var(--qy-soft);font-weight:800}
.quarry-foot p{margin:.7rem 0 0;font-size:15px;line-height:1.6}
.quarry-foot ul{list-style:none;margin:.7rem 0 0;padding:0;font-size:15px}
.quarry-foot li{margin:0 0 .45rem}
.quarry-marks{display:flex;gap:.7rem}
.quarry-marks svg{width:19px;height:19px;fill:var(--qy-soft)}
.quarry-marks a:hover svg{fill:var(--qy-accent)}
.quarry-foot__base{display:flex;flex-wrap:wrap;gap:.4rem 1.3rem;margin-top:2rem;
  padding-top:1.2rem;border-top:1px solid var(--qy-hair);font-size:13.5px}

@media (min-width:640px){
  .quarry-brand__mark{height:70px;max-width:min(320px,42vw)}
  .quarry-kerb{grid-template-columns:repeat(3,1fr);gap:1.4rem}
  .quarry-form__pair{grid-template-columns:1fr 1fr;gap:1.1rem}
  .quarry-form__pair label{margin-top:0}
  .quarry-form button{width:auto}
  .quarry-foot__spread{grid-template-columns:1.4fr 1fr 1fr;gap:1.8rem}
  .quarry-index__told{gap:2rem}
}

@media (min-width:960px){
  /* THE DISCLOSURE BECOMES A DROPPED PANEL only once there is room beside
     it. Below this it stays in the flow — see the note on __list above. */
  .quarry-menu__list{position:absolute;top:calc(100% + .8rem);left:-.9rem;z-index:20;
    margin:0;padding:.4rem;min-width:250px;background:var(--qy-card);
    border:2px solid var(--qy-rule);box-shadow:8px 8px 0 rgba(28,30,26,.14)}
  .quarry-menu__list a{padding:.5rem .7rem}
  .quarry-menu__list a:hover{background:var(--qy-ground)}
  .quarry-menu__all{border-bottom:1px solid var(--qy-hair);
    margin-bottom:.3rem;padding-bottom:.3rem}
  /* THE INDEX, AT LAST IN TWO COLUMNS. The names stick while the blurbs run
     past. It needs no top offset, because the bar is not sticky. */
  .quarry-index{grid-template-columns:17rem minmax(0,1fr);gap:3rem}
  .quarry-index__col{display:block;position:sticky;top:2rem;align-self:start}
  /* AND THE BLURBS DROP THEIR OWN NUMBERS, because the column beside them is
     now carrying them. Two sets of 01..06 on one screen is a numbering the
     reader has to reconcile. */
  .quarry-told__tally{display:none}
  .quarry-beside{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);
    gap:clamp(2rem,4vw,3.4rem);align-items:start}
}
