/* Blaizes Earthworx, version 4.
   Colours come from the logo and the brand guide: the slate of the lettering,
   the orange of the boom, and the guide's cream and off-white.
   Type: Rokkitt, a slab serif that echoes the logo lettering, for headings,
   in sentence case; Barlow for reading, menus and buttons.
   One rule runs through the layout: things stand on lines. The logo's boom is
   cut flat at the bottom, so it always stands on a rule, and section headings
   sit on a rule in the same way. */

@font-face { font-family: "Rokkitt"; src: url("../fonts/rokkitt-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ink: #1d282d;
  --slate: #3d5059;        /* the logo lettering */
  --slate-deep: #2b383e;
  --night: #17232b;        /* the dark page-header colour from version 3 */
  --orange: #f58220;       /* the logo boom */
  --orange-hover: #e2711a;
  --cream: #f5f0e8;
  --paper: #faf8f4;
  --white: #fff;
  --line: #d8d0c3;
  --muted: #56636a;

  --head: "Rokkitt", Rockwell, Georgia, serif;
  --body: "Barlow", Arial, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --ground: 4px;           /* thickness of the line things stand on */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 7rem; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.125rem/1.55 var(--body);
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-color: currentColor; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
p { margin: 0 0 1rem; max-width: 68ch; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 860px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .6rem 1rem; background: var(--ink); color: var(--white); }
.skip-link:focus { top: 1rem; }

/* ---- type -------------------------------------------------------------- */
.h1, .h2, .h3 { margin: 0; font-family: var(--head); font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.h1 { font-size: clamp(2.4rem, 5vw, 4.1rem); line-height: 1.02; max-width: 18ch; }
.h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1.05; }
.h3 { font-size: 1.45rem; line-height: 1.15; margin-bottom: 1rem; }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.3rem); line-height: 1.5; margin: 1.1rem 0 1.5rem; max-width: 40em; }

/* ---- buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.3rem; border: 2px solid transparent; border-radius: 3px;
  font: 700 1.15rem/1.1 var(--head);
  text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn .icon { width: 1.05em; height: 1.05em; }
.btn--orange { background: var(--orange); color: var(--ink); }
.btn--orange:hover { background: var(--orange-hover); }
.btn--orange:focus-visible { outline-color: var(--ink); }
.btn--line { border-color: currentColor; color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.text-link { font-weight: 600; }
.icon { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---- header: the logo stands on the header's bottom line --------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: var(--ground) solid var(--slate); }
.site-header.is-scrolled { box-shadow: 0 6px 18px rgba(29, 40, 45, .12); }
.site-header__bar { display: flex; align-items: center; gap: 1.5rem; min-height: 92px; }
.brand { align-self: flex-end; flex: none; line-height: 0; padding-top: 6px; }
.brand__logo { height: 84px; width: auto; }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: .25rem; list-style: none; }
.nav__link {
  display: block; padding: .5rem .7rem; text-decoration: none;
  font: 600 1.05rem/1 var(--body); color: var(--slate);
}
.nav__link:hover { color: var(--ink); text-decoration: underline; text-decoration-color: currentColor; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.nav__link[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: currentColor; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.nav__call { display: none; }
.header-phone { font: 700 1.6rem/1 var(--head); color: var(--slate); text-decoration: none; white-space: nowrap; letter-spacing: .02em; }
.header-phone:hover { color: var(--ink); }
.nav-toggle {
  display: none; width: 48px; height: 48px; padding: 0; align-items: center; justify-content: center;
  border: 2px solid var(--slate); border-radius: 3px; background: none; color: var(--slate); cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

/* ---- hero: the photo fills the right and fades into night-slate on the
   left, with the heading over the dark side (as in version 3) ------------- */
.hero { position: relative; z-index: 1; overflow: hidden; background: var(--night); color: var(--white); }
.hero > .hero__media {
  /* pushed past the right edge so the excavator sits right of centre, clear of the heading */
  position: absolute; z-index: 0; top: 0; right: calc(-1 * clamp(0px, 13vw, 300px)); bottom: 0; width: min(90%, 1640px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40%);
  mask-image: linear-gradient(90deg, transparent 0, #000 40%);
}
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--night) 0, rgba(23, 35, 43, 0) 18%); }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.hero > .hero__inner { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; min-height: min(76vh, 700px); padding-top: clamp(3rem, 8vw, 6.5rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.hero__title { margin: 0 0 1.4rem; font: 700 clamp(3rem, 7vw, 5.6rem)/.98 var(--head); letter-spacing: -.015em; color: var(--white); text-shadow: 0 2px 28px rgba(15, 24, 30, .55); }
.hero__line { display: block; }
.hero__lead { max-width: 27rem; margin: 0 0 2rem; color: #dbe4e8; font-size: 1.25rem; line-height: 1.5; text-shadow: 0 1px 14px rgba(15, 24, 30, .8); }
.btn--line-light { border-color: rgba(255, 255, 255, .7); color: var(--white); background: transparent; }
.btn--line-light:hover { background: var(--white); border-color: var(--white); color: var(--ink); }
.hero .ct-dark { stroke: rgba(255, 255, 255, .045); }
/* Above-the-fold content is visible immediately, with no reveal delay. */

/* ---- bands ------------------------------------------------------------- */
.band { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.band--cream { background: var(--cream); }
.band--white { background: var(--white); }
.band--slate { background: var(--slate); color: var(--white); }
.band--slate .h2 { color: var(--white); }

/* a section heading standing on a line, with a short note on the right */
.head-row {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .5rem 2rem;
  padding-bottom: .7rem; margin-bottom: 2rem; border-bottom: 2px solid var(--ink);
}
.head-row__text { margin: 0; color: var(--muted); }
.head-row__text a { color: var(--ink); font-weight: 600; margin-left: .35rem; }

/* ---- services as plain lists ------------------------------------------- */
.svc-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 4vw, 3.5rem); }
.svc-col__head { margin: 0 0 .25rem; font: 700 1.35rem/1.1 var(--head); color: var(--slate); }
.svc-col__list { list-style: none; }
.svc-col__list--grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); column-gap: 2.5rem; }
.svc-link { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.svc-link__name { display: block; font-weight: 600; font-size: 1.15rem; }
.svc-link__text { display: block; color: var(--muted); font-size: 1rem; }
.svc-link:hover .svc-link__name { text-decoration: underline; text-decoration-color: currentColor; text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ---- photos with plain captions ---------------------------------------- */
.photo__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--line); }
.photo--tall .photo__img { aspect-ratio: 4 / 5; }
.photo__cap { margin-top: .5rem; font-size: .95rem; color: var(--muted); }
.photo-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }

/* ---- plant ------------------------------------------------------------- */
.plant { display: grid; grid-template-columns: 5fr 6fr; gap: 2.5rem clamp(2rem, 5vw, 4.5rem); align-items: start; }
.plant .h2 { padding-bottom: .7rem; border-bottom: 2px solid var(--ink); }
.spec { margin: 0 0 1.75rem; }
.spec th, .spec td { padding: .7rem 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec th { width: 34%; padding-right: 1.25rem; font: 700 1.2rem/1.2 var(--head); color: var(--slate); }
.spec td { font-size: 1.05rem; }

/* ---- about, short ------------------------------------------------------ */
.about-short { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem clamp(2rem, 5vw, 4.5rem); align-items: start; }
.about-short .h2 { margin-bottom: 1.25rem; padding-bottom: .7rem; border-bottom: 2px solid var(--ink); }

/* ---- client logos ------------------------------------------------------ */
.logos { display: flex; flex-wrap: wrap; align-items: center; gap: 1.75rem 3rem; margin: 1.5rem 0 0; padding: 1.75rem 0 0; list-style: none; border-top: 2px solid var(--ink); }
.band--logos { background: var(--white); }   /* plain white behind the client logos */
/* contour lines on every second section only: an off section covers the page-wide field.
   Dark sections also cover it and show their own light copy, so lines are never doubled */
main > .ct-off { position: relative; z-index: 1; }
main > .ct-off:not(.band--cream):not(.band--white):not(.band--slate):not(.page-top):not(.hero) { background-color: var(--paper); }
main > .ct-off > .ct-dark { display: none; }
.logos__item { display: flex; align-items: center; height: 74px; }
.logos__img { height: 100%; width: auto; max-width: 190px; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .85; }
.logos__item:hover .logos__img { filter: none; opacity: 1; }
@media (max-width: 600px) { .logos { gap: 1.25rem 2rem; } .logos__item { height: 56px; } .logos__img { max-width: 140px; } }

/* ---- contact band ------------------------------------------------------ */
.contact-band { display: grid; grid-template-columns: 5fr 6fr; gap: 2.5rem clamp(2rem, 5vw, 4.5rem); align-items: start; }
.big-phone { display: inline-block; font: 700 clamp(2.6rem, 6vw, 4.2rem)/1 var(--head); color: var(--orange); text-decoration: none; letter-spacing: .02em; }
.big-phone:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.big-phone--dark { color: var(--slate); margin-bottom: 1.5rem; }
.contact-band__mail { margin-top: .75rem; }
.band--slate a:not(.btn):not(.big-phone) { color: var(--white); }
.contact-band__form { background: var(--slate-deep); padding: clamp(1.25rem, 3vw, 2rem); }

/* ---- forms ------------------------------------------------------------- */
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; margin-bottom: 1.25rem; }
.field--wide { grid-column: 1 / -1; }
.field__label { display: block; margin-bottom: .35rem; font-weight: 600; font-size: 1rem; }
.field__opt { font-weight: 400; color: var(--muted); }
.band--slate .field__opt { color: #c9d2d6; }
.input {
  width: 100%; padding: .7rem .8rem; border: 1.5px solid #a99f90; border-radius: 3px;
  background: var(--white); color: var(--ink); font: 400 1.05rem/1.3 var(--body);
}
.input:focus-visible { outline: 3px solid var(--orange); outline-offset: 0; border-color: var(--ink); }
.input--area { min-height: 7.5rem; resize: vertical; }
select.input { appearance: auto; }
.hp { position: absolute; left: -9999px; }
.form-status { margin-top: 1rem; padding: .75rem 1rem; border-left: var(--ground) solid; background: var(--white); color: var(--ink); }
.form-status--ok { border-color: #2f7d4f; }
.form-status--err { border-color: #b3261e; }
.form-box { background: var(--cream); padding: clamp(1.25rem, 3vw, 2rem); }

/* ---- inner page top ---------------------------------------------------- */
.page-top { position: relative; z-index: 1; background: var(--night); color: #e7ecee; overflow: hidden; padding: clamp(1.5rem, 3vw, 2.25rem) 0 clamp(2.5rem, 5vw, 3.75rem); }
.page-top__grid--aside { display: grid; grid-template-columns: 7fr 5fr; gap: 2rem clamp(2rem, 5vw, 4.5rem); align-items: end; }
.page-top .lede { margin-bottom: 0; }
.page-top__photo .photo__img { aspect-ratio: 4 / 3; }
.page-top__photo--tall .photo__img { aspect-ratio: 4 / 5; max-height: 520px; }
.page-top .h1 { color: var(--white); }
.page-top .crumbs, .page-top .crumbs a { color: #b9c4c9; }
.crumbs { display: flex; flex-wrap: wrap; gap: .25rem .6rem; list-style: none; margin-bottom: 1.25rem; font-size: .95rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .6rem; color: #a99f90; }
.crumbs a { color: var(--muted); }

/* ---- service page detail ----------------------------------------------- */
.detail { display: grid; grid-template-columns: 7fr 5fr; gap: 2.5rem clamp(2rem, 5vw, 4.5rem); align-items: start; }
.ticks { list-style: none; margin-bottom: 1.5rem; }
.ticks li { position: relative; padding: .55rem 0 .55rem 1.4rem; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: .55rem; height: .55rem; background: var(--orange); }
.note { background: var(--cream); padding: clamp(1.25rem, 3vw, 2rem); border-top: var(--ground) solid var(--slate); }
.plain-list { margin: 0 0 1rem 1.2rem; }
.plain-list li { margin-bottom: .3rem; }

/* ---- services page ----------------------------------------------------- */
.svc-group + .svc-group { margin-top: clamp(3rem, 6vw, 4.5rem); }
.svc-group__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .5rem 2rem; padding-bottom: .7rem; border-bottom: 2px solid var(--ink); }
.svc-group__head p { margin: 0; color: var(--muted); }
.svc-rows { list-style: none; }
.svc-row { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 1.5rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.svc-row__img { width: 170px; aspect-ratio: 1; object-fit: cover; }
.svc-row__name { margin: 0 0 .35rem; font: 700 1.6rem/1.1 var(--head); }
.svc-row__name a { text-decoration: none; }
.svc-row__name a:hover { text-decoration: underline; text-decoration-color: currentColor; }
.svc-row p { margin: 0; }

/* ---- plant hire page --------------------------------------------------- */
.kit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 1.75rem; list-style: none; }
.kit__name { margin: 1rem 0 .1rem; font: 700 1.6rem/1.1 var(--head); }
.kit__spec { margin: 0 0 .4rem; font-weight: 600; color: var(--slate); }
.kit p:last-child { margin-bottom: 0; }

/* ---- about page -------------------------------------------------------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem clamp(2rem, 5vw, 4.5rem); }
.two-col .h2 { margin-bottom: 1.25rem; padding-bottom: .7rem; border-bottom: 2px solid var(--ink); }
.map-box { max-width: 26rem; margin-top: 1.5rem; }
.map__land { fill: #e8e0d2; }
.map__band { fill: #f7c99c; }
.map__coast { fill: none; stroke: var(--slate); stroke-width: 2; }
.map__dot { fill: var(--slate); }
.map__dot--home { fill: var(--orange); stroke: var(--ink); stroke-width: 2; }
.map__dot--soft { fill: var(--paper); stroke: var(--slate); stroke-width: 2; }
.map__label { font: 600 17px var(--body); fill: var(--ink); }
.map__label--home { font-weight: 700; }
.map__label--soft { fill: var(--muted); }

/* ---- our work ---------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin-bottom: 1.75rem; }
.filter {
  padding: .5rem .9rem; border: 1.5px solid var(--line); border-radius: 3px; background: var(--white); color: var(--ink);
  font: 600 1rem/1.2 var(--body); cursor: pointer;
}
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.75rem 1.25rem; list-style: none; }
.gallery__item[hidden] { display: none; }
.gallery__btn { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: zoom-in; color: inherit; font: inherit; }
.gallery__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--line); }
.gallery__cap { display: block; margin-top: .5rem; font-size: .95rem; color: var(--muted); }
.gallery__btn:hover .gallery__cap { color: var(--ink); }
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(20, 28, 32, .96); color: var(--white); }
.lightbox::backdrop { background: rgba(20, 28, 32, .96); }
.lightbox__fig { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; padding: 4.5rem 4.5rem 2rem; }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 9rem); width: auto; height: auto; }
.lightbox__cap { margin-top: .9rem; text-align: center; }
.lightbox__btn { position: absolute; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border: 2px solid rgba(255, 255, 255, .6); border-radius: 3px; background: rgba(0, 0, 0, .3); color: var(--white); cursor: pointer; }
.lightbox__btn:hover { background: var(--white); color: var(--ink); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* ---- contact page ------------------------------------------------------ */
.contact { display: grid; grid-template-columns: 5fr 6fr; gap: 2.5rem clamp(2rem, 5vw, 4.5rem); align-items: start; }
.details { margin: 0 0 2.5rem; }
.details div { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.details dt { font-weight: 600; color: var(--muted); }
.details dd { margin: 0; overflow-wrap: anywhere; }
.faq { border-bottom: 1px solid var(--line); }
.faq__q { padding: .8rem 0; font-weight: 600; cursor: pointer; }
.faq p { margin: 0 0 1rem; }

/* ---- footer: name and phone stand on an orange line ----------------------- */
.site-footer { background: var(--slate-deep); color: #e7e2d9; padding-top: clamp(2.5rem, 5vw, 3.5rem); }
.site-footer a { color: #fff; }
.footer-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; }
.footer-top::after { content: ""; flex-basis: 100%; height: var(--ground); background: var(--orange); margin-top: -1rem; order: 3; }
.footer-name { margin: 0; padding-bottom: .55rem; font: 700 clamp(1.8rem, 3.5vw, 2.4rem)/1 var(--head); color: #fff; }
.footer-phone { font: 700 clamp(1.8rem, 3.5vw, 2.4rem)/1 var(--head); text-decoration: none; letter-spacing: .02em; padding-bottom: .55rem; }
.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; padding-top: 2rem; padding-bottom: 2rem; }
.footer-cols p { font-size: 1rem; }
.footer-head { margin: 0 0 .6rem; font: 700 1.2rem/1 var(--head); color: #fff; }
.footer-list { list-style: none; font-size: 1rem; }
.footer-list li { margin-bottom: .35rem; }
.footer-fb { display: inline-flex; align-items: center; gap: .45rem; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-top: 1rem; padding-bottom: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .18); font-size: .9rem; color: #bfc6c9; }
.footer-legal p { margin: 0; }

/* ---- phone call bar (small screens) ------------------------------------ */
.call-bar { display: none; }

/* ---- responsive -------------------------------------------------------- */
@media (max-width: 1180px) {
  .header-phone { display: none; }
}
@media (max-width: 960px) {
  .site-header__bar { min-height: 76px; gap: .75rem; }
  .brand__logo { height: 66px; }
  .nav-toggle { display: inline-flex; }
  .header-quote { margin-left: auto; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: calc(100% + var(--ground));
    margin: 0; padding: .5rem var(--gutter) 1.25rem; background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 28px rgba(29, 40, 45, .15);
  }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { padding: .95rem 0; border-bottom: 1px solid var(--line); font-size: 1.2rem; }
  .nav__call { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; font: 700 1.5rem/1 var(--head); color: var(--slate); text-decoration: none; }
  .plant, .about-short, .contact-band, .page-top__grid--aside, .detail, .two-col, .contact { grid-template-columns: minmax(0, 1fr); }
  .svc-cols { grid-template-columns: minmax(0, 1fr); }
  .photo-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kit-grid, .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-cols > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .hero > .hero__media { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 4 / 3; -webkit-mask-image: none; mask-image: none; }
  .hero__media::after { background: linear-gradient(0deg, var(--night) 0, rgba(23, 35, 43, 0) 45%); }
  .hero > .hero__inner { min-height: 0; padding-top: 0; margin-top: -3.5rem; }
  .hero__title { font-size: clamp(3rem, 15vw, 4.6rem); }
}
@media (max-width: 600px) {
  body { font-size: 1.0625rem; padding-bottom: 64px; }
  .header-quote { display: none; }
  .nav-toggle { margin-left: auto; }
  .brand__logo { height: 60px; }
  .form__grid { grid-template-columns: minmax(0, 1fr); }
  .svc-row { grid-template-columns: 96px minmax(0, 1fr); gap: 1rem; }
  .svc-row__img { width: 96px; }
  .svc-row__name { font-size: 1.35rem; }
  .spec th { width: 40%; }
  .details div { grid-template-columns: minmax(0, 1fr); gap: .1rem; }
  .lightbox__fig { padding: 4.5rem .75rem 2rem; }
  .call-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    border-top: var(--ground) solid var(--slate); background: var(--white);
  }
  .call-bar a { display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 60px; font: 700 1.15rem/1 var(--head); text-decoration: none; }
  .call-bar__call { color: var(--slate); }
  .call-bar__quote { background: var(--orange); color: var(--ink); }
}
@media (prefers-reduced-motion: no-preference) {
  .btn, .filter, .logos__img { transition: background-color .15s, color .15s, border-color .15s, filter .2s, opacity .2s; }
}

/* ---- survey contour linework on the dark panels (as on the capability statement) */
.band--slate { background: var(--slate); overflow: hidden; }
.contact-band__form { background: rgba(43, 56, 62, .9); }

/* ---- one contour field behind the whole page -----------------------------
   Light sections are see-through to it, so the lines run unbroken from section
   to section. The slate band shows the same field, positioned to the page, in
   a lighter tone, so lines carry straight on into it. The field drifts slowly
   as the page scrolls. Photos and the footer sit above it. */
body { position: relative; }
.ct-wrap { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.ct-layer, .ct-dark { fill: none; stroke-linejoin: round; stroke-linecap: round; stroke-width: 1; transform: translate3d(0, var(--drift, 0px), 0); }
.ct-layer { display: block; width: 100%; height: 100%; stroke: rgba(120, 96, 62, .09); }
.ct-dark { position: absolute; left: 0; top: var(--ct-off, 0px); width: 100%; height: var(--ct-h, 100%); z-index: 0; pointer-events: none; stroke: rgba(255, 255, 255, .055); }
main > section > *:not(.ct-dark), .band--slate, .site-footer { position: relative; z-index: 1; }
.band--slate > .ct-dark, .page-top > .ct-dark, .hero > .ct-dark { position: absolute; z-index: 0; }
.page-top .ct-dark { stroke: rgba(255, 255, 255, .045); }
.footer-social { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.contact-band__form { box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }
