/* ATP Excavations - mockup 2
   Hero after Unsection "Rally Fleet Management Hero Design": near-white ground, header
   and copy in the left column, a tall square-cornered photo card on the right with a notch cut
   into its top-right corner for the call + quote buttons, a frosted card floating over
   the photo and a caption at its foot. Palette from the ATP badge: warm black ink and the
   badge gold as the one accent (Rally's blue becomes the gold). */

:root {
  --ground: #fcfbf9;          /* near-white, never pure #fff */
  --ink: #12110e;
  --ink-soft: #3c3832;
  --ink-mute: #78726a;
  --ink-rgb: 18 17 14;
  --line: #e6e2dc;

  --gold: #cba86c;            /* the badge gold, button fill; never as text or icons on black (James, 2026-11-18) */
  --gold-deep: #b8945a;       /* hover */
  --gold-text: #8f6f38;       /* gold that reads as text on near-white */

  --font-display: 'Manrope', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --ground-alt: #f5f3ef;      /* the next band down, so sections read as bands */

  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* the hero's two columns, shared by every section so the page lines up down its length */
  --pad-l: clamp(1.25rem, 5.5vw, 5rem);
  --pad-r: clamp(1rem, 1.8vw, 1.6rem);
  --gap: clamp(2rem, 6vw, 6rem);
  --cols: minmax(0, 1fr) minmax(0, 47.5%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ground); color: var(--ink-soft);
  font-family: var(--font-body); font-size: 1rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
.nowrap { white-space: nowrap; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 100;
  padding: .6rem 1rem; border-radius: 0;
  background: var(--ink); color: #fff; font-weight: 600;
}
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  font-family: var(--font-display); font-weight: 700; font-size: .98rem; line-height: 1;
  padding: .85rem 1.1rem; border-radius: 0;
  border: 1px solid transparent; white-space: nowrap;
}
.btn--gold {
  background: var(--gold); color: var(--ink);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .35), 0 1px 2px rgb(var(--ink-rgb) / .12);
}
.btn--gold:hover { background: var(--gold-deep); }
.btn--light {
  background: #fff; color: var(--ink); border-color: var(--line);
  box-shadow: 0 1px 2px rgb(var(--ink-rgb) / .06);
}
.btn--light:hover { border-color: #cfc9c0; }
.btn--light svg { color: var(--gold-text); }

/* ---------- the stage: copy left, photo card right ---------- */
.stage {
  display: grid;
  grid-template-columns: var(--cols);
  column-gap: var(--gap);
  min-height: 100svh;
  padding: clamp(1.25rem, 2.6vw, 2.3rem) var(--pad-r) var(--pad-r) var(--pad-l);
}
.stage__copy { display: flex; flex-direction: column; min-height: 0; }

/* header lives in the left column, level with the notch buttons */
.site-header { display: flex; align-items: center; gap: clamp(1.25rem, 2.2vw, 2rem); padding-top: .2rem; min-height: calc(40px + .2rem); position: relative; z-index: 20; }
.brand { display: inline-flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.brand__badge { width: 56px; height: auto; margin-block: -8px; }   /* 40 until 2026-11-23 (Robby wants the logo bigger); overhangs
   the 40px header row so the nav stays level with the notch buttons */
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; letter-spacing: -0.02em; color: var(--ink); }
.site-nav { display: flex; align-items: center; align-self: stretch; gap: clamp(1rem, 1.8vw, 1.6rem); }
/* top-level links only: the mega panel's links style themselves */
.site-nav > a:not(.btn), .nav-item__link { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--ink); white-space: nowrap; }
.site-nav > a:not(.btn):hover, .nav-item__link:hover { color: var(--gold-text); }

/* ---------- services mega menu ---------- */
.nav-item { display: flex; align-items: center; gap: .1rem; align-self: stretch; }   /* full header height, so the pointer never leaves it on the way down */
.nav-item__toggle {
  width: 26px; height: 26px; display: grid; place-items: center; padding: 0;
  border: 0; border-radius: 0; background: none; color: var(--ink); cursor: pointer;
}
.nav-item__toggle:hover { background: rgb(var(--ink-rgb) / .06); }
.nav-item--mega.is-open .nav-item__toggle svg { transform: rotate(180deg); }

.mega__card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 330px); gap: 1rem;
  padding: 1rem; background: #fff; border: 1px solid var(--line); border-radius: 0;
  box-shadow: 0 2px 6px rgb(var(--ink-rgb) / .05), 0 30px 80px rgb(var(--ink-rgb) / .16);
}
.mega__main { display: flex; flex-direction: column; padding: .55rem .55rem .15rem; }
.mega__label {
  display: flex; justify-content: space-between; gap: 1rem; padding: 0 .55rem .85rem; border-bottom: 1px solid var(--line);
  font-size: .72rem; font-weight: 600; line-height: 1.2; letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
}
.mega__label span { color: var(--ink-mute); }
.mega__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .2rem; padding: .8rem 0; }
.mega__item { display: flex; align-items: center; gap: .9rem; padding: .65rem; border-radius: 0; }
.mega__item:hover { background: var(--ground-alt); }
.mega__thumb { width: 64px; height: 64px; flex-shrink: 0; border-radius: 0; object-fit: cover; background: #d9d3c9; }
.mega__text { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.mega__text strong { font-family: var(--font-display); font-weight: 700; font-size: 1rem; line-height: 1.25; color: var(--ink); }
.mega__text small { font-size: .84rem; line-height: 1.4; color: var(--ink-mute); }
.mega__foot {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem 1rem;
  margin-top: auto; padding: .85rem .55rem .3rem; border-top: 1px solid var(--line);
  font-size: .88rem; color: var(--ink-mute);
}
.mega__links { display: inline-flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.mega__foot a { display: inline-flex; align-items: center; gap: .35rem; font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.mega__foot a:hover { color: var(--gold-text); }
.mega__feature { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: 270px; padding: .75rem; border-radius: 0; background: #d9d3c9; }
.mega__feature img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.mega__glass {
  display: flex; flex-direction: column; gap: .3rem; width: 100%; padding: 1rem; border-radius: 0;
  background: rgb(36 33 28 / .55); border: 1px solid rgb(255 255 255 / .14);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: #fff;
}
.mega__glass strong { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; line-height: 1.25; }
.mega__glass > span:not(.btn) { font-size: .84rem; line-height: 1.45; color: rgb(255 255 255 / .75); }
.mega__glass .btn { align-self: flex-start; margin-top: .55rem; }

/* desktop: a panel the width of the stage, opened by hover OR keyboard focus (works with JS off),
   or pinned open by the chevron for touch screens */
@media (min-width: 1100px) {
  .site-nav__phone-only { display: none; }   /* desktop reaches Machinery through the mega menu */
  .stage { container-type: inline-size; }   /* 100cqw = the stage's width, without the scrollbar */
  .mega {
    position: absolute; top: 100%; left: 0; z-index: 30; width: 100cqw;
    padding-top: .75rem;   /* the bridge between the link and the card */
    opacity: 0; visibility: hidden;
  }
  .nav-item--mega:hover .mega, .nav-item--mega:focus-within .mega, .nav-item--mega.is-open .mega {
    opacity: 1; visibility: visible;
  }
  .nav-item--mega:hover .nav-item__toggle svg, .nav-item--mega:focus-within .nav-item__toggle svg { transform: rotate(180deg); }
  .nav-item--mega.is-shut .mega { opacity: 0; visibility: hidden; }   /* Escape or a pick, until the pointer/focus leaves */
  .nav-item--mega.is-shut .nav-item__toggle svg { transform: none; }
}
@media (min-width: 1100px) and (max-width: 1279px) {
  /* the copy column is too narrow here for four links: Contact goes, the notch's phone button sits right beside it */
  .site-nav__contact { display: none; }
  .mega__card { grid-template-columns: minmax(0, 1fr) minmax(0, 260px); }
  .mega__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.site-nav .site-nav__quote, .site-header__mobile { display: none; }

.hero { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 7vh, 6rem) 0; }

.pill {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .32rem .75rem .32rem .35rem;
  border: 1px solid var(--line); border-radius: 0; background: #fff;
  font-size: .82rem; font-weight: 500; color: var(--ink);
}
.pill:hover { border-color: #cfc9c0; }
.pill__tile {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 0; background: var(--ink); color: #fff;
}

/* Robby's badge as a faint watermark behind the headline (his ask, 2026-11-18: "put the logo
   behind it so it's memorable"). One-colour ink version, so it reads as a seal, not a sticker. */
.hero { position: relative; isolation: isolate; }
.hero__head { position: relative; margin-top: 1.6rem; }
/* the homepage's full-colour badge above the reviews pill (2026-11-23) */
.hero__logo { width: clamp(140px, 12vw, 184px); height: auto; margin-bottom: clamp(1.25rem, 2.4vh, 1.75rem); }
.stage--home .brand__badge { display: none; }   /* the big badge just below is the homepage's logo */
.hero__mark {
  position: absolute; z-index: -1; pointer-events: none; user-select: none;
  width: clamp(250px, 29vw, 440px); height: auto;
  left: clamp(9rem, 17vw, 17rem); top: 50%; transform: translateY(-50%);
  opacity: .075;
}
.hero__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.7rem, 5.6vw, 5.2rem); line-height: 1.02; letter-spacing: -0.035em;
  color: var(--ink);
}
.hero__lede {
  margin-top: 1.6rem; max-width: 27rem;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.02rem, 1.3vw, 1.18rem); line-height: 1.45;
  color: var(--ink-mute);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2.3rem; }

.trust { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem 0; font-size: .9rem; font-weight: 500; color: var(--ink); }
.trust li { display: inline-flex; align-items: center; }
.trust li + li::before { content: ""; width: 3px; height: 3px; margin: 0 .7rem; border-radius: 0; background: #b9b3aa; }
.trust a { color: var(--gold-text); }
.trust a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- the photo card ---------- */
.stage__media {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: 0;
  min-height: clamp(560px, calc(100svh - 4rem), 900px);
  background: #d9d3c9;
  --glass-top: 45%;
}
.stage__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; z-index: -2; }
.stage__media::after {   /* seats the caption, nothing more */
  content: ""; position: absolute; inset: auto 0 0 0; height: 32%; z-index: -1;
  background: linear-gradient(to top, rgb(0 0 0 / .45), rgb(0 0 0 / 0));
}

/* The notch: a square ground-coloured tab cut into the card's top-right corner. */
.notch {
  position: absolute; top: 0; right: 0; z-index: 3;
  display: flex; gap: .5rem;
  padding: 0 1.9rem .9rem 1rem;
  background: var(--notch-bg, var(--ground));
  border-bottom-left-radius: 0;
}

/* frosted card over the photo: Rally's invoice list, here the services */
/* Bottom-right, raised clear of the caption: the Kubota hero (2026-11-18) puts the machine in
   the middle of the card, where the mockup's Hitachi photo had open ground. */
.glass {
  position: absolute; right: 1.4rem; bottom: calc(1.4rem + 48px + 1.1rem);
  width: min(320px, 64%);
  padding: .95rem .5rem .5rem;
  border-radius: 0;
  background: rgb(36 33 28 / .5);
  border: 1px solid rgb(255 255 255 / .14);
  -webkit-backdrop-filter: blur(14px) saturate(1.1); backdrop-filter: blur(14px) saturate(1.1);
  color: #fff;
}
.glass__head { display: flex; justify-content: space-between; align-items: baseline; padding: 0 .75rem .7rem; font-size: .84rem; font-weight: 600; }
.glass__meta { font-size: .72rem; font-weight: 500; color: rgb(255 255 255 / .55); }
.glass__rows { background: rgb(255 255 255 / .1); border-radius: 0; padding: .2rem 0; }
.glass__rows li { display: flex; align-items: center; justify-content: space-between; padding: .62rem .75rem; }
.glass__rows li + li { border-top: 1px solid rgb(255 255 255 / .08); }
.glass__name { display: flex; flex-direction: column; font-size: .8rem; font-weight: 600; line-height: 1.3; }
.glass__name small { font-size: .72rem; font-weight: 400; color: rgb(255 255 255 / .6); }
.glass__tick {
  width: 16px; height: 16px; flex-shrink: 0;
  background: no-repeat center / 16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}
.glass-pill {
  position: absolute; left: 50%; transform: translateX(-50%);
  top: calc(var(--glass-top) + var(--glass-h, 268px) + .7rem);
  padding: .8rem 1.2rem; border-radius: 0;
  background: rgb(36 33 28 / .55); border: 1px solid rgb(255 255 255 / .14);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  color: #fff; font-size: .82rem; font-weight: 500; white-space: nowrap;
}
.glass-pill:hover { background: rgb(36 33 28 / .75); }

.stage__caption {
  position: absolute; left: 1.4rem; bottom: 1.4rem; z-index: 1;
  display: flex; align-items: center; gap: .9rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: #fff;
}
.stage__tile {
  width: 48px; height: 48px; display: grid; place-items: center;
  background: #fff; border-radius: 0;
}
.stage__tile img { width: 36px; }


/* ---------- section bar: Rally's ruled "[02] FEATURES" label strip, on every section ---------- */
.sec-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.05rem var(--pad-r) 1.05rem var(--pad-l);
  border-bottom: 1px solid var(--line);
  font-size: .74rem; font-weight: 600; line-height: 1.2; letter-spacing: .14em; text-transform: uppercase;
}
.sec-bar__title { font: inherit; color: var(--ink); }
.sec-bar__num { margin-right: .3rem; letter-spacing: .06em; color: #b0aaa1; }
.sec-bar__aside { color: var(--ink-mute); }
a.sec-bar__aside:hover { color: var(--gold-text); }

/* ---------- services: the hero's composition again - a list on the copy column and one
   tall photo card on the photo column that shows whichever service is picked ---------- */
.services { background: var(--ground-alt); border-top: 1px solid var(--line); }
.svc { display: grid; grid-template-columns: var(--cols); column-gap: var(--gap); align-items: stretch; }
.svc-list { border-top: 1px solid var(--line); }
.svc-row {
  position: relative;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 1.1rem;
  padding: 1.15rem .25rem; border-bottom: 1px solid var(--line);
}
.svc-row__num {
  width: 40px; height: 40px; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 0;
  font-family: var(--font-display); font-weight: 700; font-size: .82rem; color: var(--ink-mute);
}
.svc-row__name {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.2; letter-spacing: -0.02em;
  color: var(--ink-soft);
}
.svc-row__name a { color: inherit; }
.svc-row__name a::after { content: ""; position: absolute; inset: 0; border-radius: 0; }   /* the whole row links to the service page */
.svc-row__name a:focus-visible { outline: none; }
.svc-row__name a:focus-visible::after { outline: 2px solid var(--ink); outline-offset: -2px; }
.svc-row__text { max-width: 30rem; margin-top: .3rem; font-size: .95rem; line-height: 1.5; color: var(--ink-mute); }
.svc-row__arrow {   /* every row is a link now, so the arrow always shows; gold on the one in the photo */
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 0;
  border: 1px solid var(--line); background: #fff; color: var(--ink-mute);
}
.svc-row:hover .svc-row__name, .svc-row.is-on .svc-row__name { color: var(--ink); }
.svc-row.is-on .svc-row__num { background: var(--ink); border-color: var(--ink); color: #fff; }
.svc-row.is-on .svc-row__arrow { background: var(--gold); border-color: var(--gold); color: var(--ink); }

.svc-photo {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 520px; border-radius: 0; background: #d9d3c9;
}
.svc-photo__shot {
  position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
}
.svc-photo__shot.is-on { opacity: 1; }
.svc-photo__caption {
  position: absolute; left: 1.2rem; bottom: 1.2rem; max-width: calc(100% - 2.4rem);
  padding: .5rem .95rem; border-radius: 0;
  background: rgb(255 255 255 / .92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-family: var(--font-display); font-weight: 700; font-size: .88rem; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.svc-photo__cta {   /* the hero's frosted "text us photos" pill */
  position: absolute; top: 1.2rem; right: 1.2rem;
  padding: .7rem 1.1rem; border-radius: 0;
  background: rgb(36 33 28 / .55); border: 1px solid rgb(255 255 255 / .14);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  color: #fff; font-size: .82rem; font-weight: 500; white-space: nowrap;
}
.svc-photo__cta:hover { background: rgb(36 33 28 / .75); }

/* the footer card's notch: tighter than the hero's, since that corner is square */
.notch--small { padding: 0 0 .75rem .75rem; }

/* ---------- shared section shell: ruled bar (above), a head on the hero's two columns, a body ---------- */
.machinery, .work, .reviews, .quote { border-top: 1px solid var(--line); }
.machinery, .reviews { background: var(--ground); }
.work, .quote { background: var(--ground-alt); }

.sec-head {
  display: grid; grid-template-columns: var(--cols); column-gap: var(--gap); align-items: end;
  padding: clamp(3.5rem, 6vw, 5.5rem) var(--pad-r) clamp(2.25rem, 4vw, 3.5rem) var(--pad-l);
}
.sec-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1.04; letter-spacing: -0.035em;
  color: var(--ink);
}
.sec-lead {
  max-width: 27rem;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1rem, 1.2vw, 1.1rem); line-height: 1.5;
  color: var(--ink-mute); text-wrap: pretty;
}
.sec-lead__link { margin-top: 1.25rem; }
.sec-body { padding: 0 var(--pad-r) clamp(3.5rem, 6vw, 5.5rem) var(--pad-l); }
#services-list { scroll-margin-top: 1.5rem; }

/* ---------- machinery: one card per machine; its width drawn on a shared scale with a 1 m mark ---------- */
.machines { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.75rem, 1.6vw, 1.25rem); }
.machine {
  display: flex; flex-direction: column;
  padding: clamp(1.25rem, 2vw, 1.6rem);
  background: #fff; border: 1px solid var(--line); border-radius: 0;
  box-shadow: 0 1px 2px rgb(var(--ink-rgb) / .04);
}
.machine__tag { align-self: flex-start; padding: .3rem .72rem; border-radius: 0; background: var(--ground-alt); font-size: .76rem; font-weight: 600; color: var(--ink); }
.machine__name { margin-top: 1rem; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.2rem, 1.5vw, 1.4rem); line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); }
.machine__spec { margin-top: .9rem; font-size: .88rem; color: var(--ink-mute); }
.machine__spec strong {
  display: block; margin-bottom: .2rem;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 2.8vw, 2.6rem); line-height: 1; letter-spacing: -0.035em; color: var(--ink);
}
.machine__scale { position: relative; height: 30px; margin-top: 1.1rem; }   /* 0 to 1.3 m */
.machine__scale:not(.machine__scale--none)::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; border-radius: 0; background: #eee9e1; }
.machine__bar {
  position: absolute; left: 0; bottom: 0; height: 8px; width: calc(var(--w) * 100%);
  border-radius: 0; background: var(--gold); transform-origin: left center;
}
.machine__metre {
  position: absolute; left: calc(1000 / 1300 * 100%); bottom: 0; height: 24px; padding-left: .35rem;
  border-left: 1.5px solid var(--ink); font-size: .7rem; font-weight: 600; line-height: 1; color: var(--ink);
}
.machine__uses {
  display: grid; gap: .45rem; margin-top: 1.25rem; padding-top: 1.1rem; border-top: 1px solid var(--line);
  font-size: .9rem; line-height: 1.4; color: var(--ink-soft);
}
.machine__uses li, .scard__jobs li, .ticks li { display: flex; align-items: flex-start; gap: .55rem; }
.machine__uses li::before, .scard__jobs li::before, .ticks li::before {
  content: ""; width: 14px; height: 14px; margin-top: .18rem; flex-shrink: 0;
  background: no-repeat center / 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238f6f38' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}
.kit { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1.25rem; margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.kit__label { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.kit__list { display: flex; flex-wrap: wrap; row-gap: .1rem; font-size: .92rem; line-height: 1.75; color: var(--ink-mute); }
.kit__list li { white-space: nowrap; }
.kit__list li:not(:last-child)::after { content: "\00b7"; margin: 0 .45rem; color: var(--gold-text); }

/* ---------- recent work: square photo cards, a pill tag on the photo, the caption under it ---------- */
.work__pair, .work__grid { display: grid; gap: clamp(.75rem, 1.6vw, 1.25rem); }
.work__pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.work__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(1.75rem, 3vw, 2.5rem); }
.shot__frame {
  position: relative; overflow: hidden; aspect-ratio: 4 / 3;
  border-radius: 0; background: #d9d3c9;
}
.work__grid .shot__frame { border-radius: 0; }
.shot__frame img { width: 100%; height: 100%; object-fit: cover; }
.tag {
  position: absolute; top: 1rem; left: 1rem;
  padding: .35rem .75rem; border-radius: 0;
  background: rgb(255 255 255 / .92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-family: var(--font-display); font-weight: 700; font-size: .8rem; color: var(--ink);
}
.tag--gold { background: var(--gold); }
.shot figcaption { margin-top: .85rem; font-family: var(--font-display); font-weight: 600; font-size: .95rem; line-height: 1.45; color: var(--ink-soft); }

/* ---------- reviews: Rally's tall feature cards in the badge's colours ---------- */
.rcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.75rem, 1.6vw, 1.25rem); }
.rcard {
  display: flex; flex-direction: column;
  min-height: clamp(21rem, 29vw, 27rem); padding: clamp(1.25rem, 2vw, 1.75rem);
  border-radius: 0;
}
.rcard--ink { background: var(--ink); color: #fff; }
.rcard--gold { background: var(--gold); color: var(--ink); }
.rcard--pale { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.rcard__tag {
  align-self: flex-start; padding: .32rem .72rem; border-radius: 0;
  background: #fff; color: var(--ink); font-size: .78rem; font-weight: 600;
}
.rcard--pale .rcard__tag { background: var(--ground-alt); }
.rcard blockquote {
  margin-top: 1.25rem;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.1rem, 1.4vw, 1.28rem); line-height: 1.38; letter-spacing: -0.01em;
  text-wrap: pretty;
}
.rcard__foot { display: flex; align-items: center; gap: .65rem; margin-top: auto; padding-top: 1.75rem; }
.rcard__avatar {
  width: 34px; height: 34px; flex-shrink: 0; display: grid; place-items: center; border-radius: 0;
  background: rgb(255 255 255 / .12); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: .85rem;
}
.rcard--gold .rcard__avatar, .rcard--pale .rcard__avatar { background: var(--ink); }
.rcard__who { display: flex; flex-direction: column; min-width: 0; font-size: .88rem; font-weight: 600; line-height: 1.3; white-space: nowrap; }
.rcard__who small { font-size: .75rem; font-weight: 400; opacity: .65; }
.rcard__stars { display: inline-flex; gap: 2px; margin-left: auto; color: var(--gold); }
.rcard--ink .rcard__stars { color: #fff; }   /* no gold on black (James, 2026-11-18) */
.rcard__stars svg { width: 13px; height: 13px; }
.rcard--gold .rcard__stars { color: var(--ink); }

/* ---------- quote + contact ---------- */
/* ---------- FAQ: a full-width ink band, the one dark section between the light ones. Native
   <details> on the photo column in hairline rows; a "can't see your question" note sits under
   the title on the copy column. White on the ink, never gold (James, 2026-11-18) ---------- */
.faq, .steps { background: var(--ink); color: rgb(255 255 255 / .72); }
.faq :focus-visible, .steps :focus-visible { outline-color: #fff; }
.faq .sec-bar, .steps .sec-bar { border-bottom-color: rgb(255 255 255 / .12); }
.faq .sec-bar__title, .faq .sec-title, .steps .sec-bar__title, .steps .sec-title { color: #fff; }
.faq .sec-bar__num, .steps .sec-bar__num { color: rgb(255 255 255 / .38); }
.faq .sec-bar__aside, .faq .sec-lead, .steps .sec-bar__aside, .steps .sec-lead { color: rgb(255 255 255 / .6); }
.faq__body { display: grid; grid-template-columns: var(--cols); column-gap: var(--gap); align-items: start; }
.faq__aside { position: sticky; top: 1.5rem; max-width: 21rem; font-size: .95rem; line-height: 1.6; color: rgb(255 255 255 / .6); }
.faq__aside-title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: #fff; }
.faq__aside .btn { margin-top: 1.1rem; border-color: #fff; }
.faq__list { border-top: 1px solid rgb(255 255 255 / .14); }
.faq__item { border-bottom: 1px solid rgb(255 255 255 / .14); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.3rem 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.02rem, 1.3vw, 1.15rem); line-height: 1.35; letter-spacing: -0.01em;
  color: #fff;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; width: 34px; height: 34px; flex-shrink: 0; border: 1px solid rgb(255 255 255 / .28); }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px;
  background: #fff; transform: translate(-50%, -50%);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item summary:hover .faq__icon { border-color: #fff; }
.faq__item[open] .faq__icon { background: #fff; border-color: #fff; }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: var(--ink); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }   /* the plus folds into a minus */
.faq__answer { max-width: 38rem; padding: 0 3.5rem 1.5rem 0; font-size: .98rem; line-height: 1.65; color: rgb(255 255 255 / .72); text-wrap: pretty; }
.faq__answer a { font-weight: 600; color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.quote__body { display: grid; grid-template-columns: var(--cols); column-gap: var(--gap); align-items: start; }
.quote-form {
  position: relative;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1rem;
  padding: clamp(1.25rem, 2.4vw, 2rem);
  background: #fff; border: 1px solid var(--line); border-radius: 0;
  box-shadow: 0 1px 2px rgb(var(--ink-rgb) / .04), 0 24px 60px rgb(var(--ink-rgb) / .06);
}
.quote-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.field { display: flex; flex-direction: column; gap: .45rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field > label:not(.upload), .field__label { font-family: var(--font-display); font-weight: 700; font-size: .9rem; color: var(--ink); }
.field__opt { font-weight: 500; color: var(--ink-mute); }
.field input, .field select, .field textarea {
  width: 100%; padding: .78rem .9rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  background-color: var(--ground); border: 1px solid var(--line); border-radius: 0;
}
.field input::placeholder, .field textarea::placeholder { color: #a39d94; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #d3ccc2; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background-color: #fff; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink);
}
.field select {
  -webkit-appearance: none; appearance: none; padding-right: 2.6rem; cursor: pointer;
  background: var(--ground) no-repeat right .95rem center / 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312110e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}
.field select:focus { background-color: #fff; }
.field textarea { resize: vertical; min-height: 7.5rem; }

.upload {
  position: relative; display: flex; align-items: center; gap: .9rem;
  padding: 1rem; border: 1px dashed #cdc6bb; border-radius: 0; background: var(--ground);
  cursor: pointer;
}
.upload:hover { border-color: var(--gold-deep); }
.upload:focus-within { border-style: solid; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.field .upload input { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; opacity: 0; cursor: pointer; }
.upload__tile {
  width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center;
  border-radius: 0; background: var(--ink); color: #fff;
}
.upload__text { display: flex; flex-direction: column; font-size: .9rem; line-height: 1.35; color: var(--ink); }
.upload__text strong { font-family: var(--font-display); font-weight: 700; }
.upload__hint { font-size: .84rem; color: var(--ink-mute); }

/* the big photo drop zone that leads the form */
.upload--big {
  flex-direction: column; justify-content: center; gap: .8rem; text-align: center;
  padding: clamp(1.5rem, 3vw, 2.2rem) 1rem; border-width: 1.5px; background: var(--ground-alt);
}
.upload--big .upload__tile { width: 54px; height: 54px; border-radius: 0; }
.upload--big .upload__text { align-items: center; }
.upload--big .upload__text strong { font-size: 1.12rem; }
.upload__btn {
  display: inline-flex; padding: .6rem 1rem; border-radius: 0;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgb(var(--ink-rgb) / .06);
  font-family: var(--font-display); font-weight: 700; font-size: .9rem; color: var(--ink);
}
.upload.is-drag { border-style: solid; border-color: var(--ink); background: #fff; }
.upload__previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: .5rem; margin-top: .3rem; }
.upload__previews[hidden] { display: none; }
.upload__previews li { position: relative; overflow: hidden; aspect-ratio: 1 / 1; border-radius: 0; background: #d9d3c9; }
.upload__previews img { width: 100%; height: 100%; object-fit: cover; }
.upload__more { display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: .95rem; color: var(--ink); }
li.upload__more { background: var(--ground-alt); border: 1px solid var(--line); }

.quote-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.25rem; margin-top: .35rem; }
.quote-form__submit { padding: 1rem 1.5rem; font-size: 1rem; cursor: pointer; }
.quote-form__alt { font-size: .9rem; color: var(--ink-mute); }
.quote-form__alt a { font-weight: 600; color: var(--gold-text); }
.quote-form__alt a:hover { text-decoration: underline; text-underline-offset: 3px; }
.quote-form__note { padding: .9rem 1rem; border-radius: 0; background: #f6f0e4; font-size: .92rem; color: var(--ink); }

/* contact: the hero's photo card with its frosted panel, then the service area */
.contact { display: grid; gap: clamp(1.75rem, 3vw, 2.5rem); }
.contact-card {
  position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 1 / 1;
  border-radius: 0; background: #d9d3c9;
}
.contact-card__photo { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.contact-card__glass {
  position: absolute; left: 1rem; right: 1rem; bottom: 1rem;
  padding: 1.15rem 1.25rem 1.1rem; border-radius: 0;
  background: rgb(36 33 28 / .55); border: 1px solid rgb(255 255 255 / .14);
  -webkit-backdrop-filter: blur(14px) saturate(1.1); backdrop-filter: blur(14px) saturate(1.1);
  color: #fff;
}
.contact-card__label { display: block; font-size: .8rem; font-weight: 500; color: rgb(255 255 255 / .65); }
.contact-card__phone {
  display: inline-block; margin-top: .15rem;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.1; letter-spacing: -0.03em;
}
.contact-card__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.contact-card__email { display: inline-block; margin-top: .9rem; font-size: .88rem; color: rgb(255 255 255 / .8); }
.contact-card__email:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.areas__label { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.areas__lede { margin-top: .55rem; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.areas__list { display: flex; flex-wrap: wrap; row-gap: .1rem; margin-top: .75rem; font-size: .92rem; line-height: 1.75; color: var(--ink-mute); }
.areas__list li { white-space: nowrap; }   /* never split "Mount Eliza" or "Crib Point" */
.areas__list li:not(:last-child)::after { content: "\00b7"; margin: 0 .45rem; color: var(--gold-text); }

/* ---------- footer: one ink card inset like the hero photo card, notch and all ---------- */
.site-footer { padding: 0 var(--pad-r) var(--pad-r); background: var(--ground); }
.foot {
  --notch-bg: var(--ground);
  position: relative;
  padding: clamp(4.75rem, 7vw, 6rem) clamp(1.5rem, 4vw, 4rem) 1.5rem max(1.5rem, calc(var(--pad-l) - var(--pad-r)));
  background: var(--ink); color: rgb(255 255 255 / .72);
  border-radius: 0;
}
.foot__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem clamp(2rem, 4vw, 4rem); }
.foot__logo { display: inline-flex; align-items: center; gap: .7rem; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; color: #fff; }
.foot__logo img { width: 52px; height: auto; }
.foot__tagline { margin-top: 1.25rem; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.15; letter-spacing: -0.025em; color: #fff; }
.foot__blurb { max-width: 26rem; margin-top: .8rem; font-size: .95rem; line-height: 1.6; }
.foot__label { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgb(255 255 255 / .45); }
.foot__col ul { display: grid; gap: .6rem; margin-top: 1rem; }
.foot__col a { color: rgb(255 255 255 / .85); }
.foot__col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.foot__social {
  width: 40px; height: 40px; display: inline-grid; place-items: center; margin-top: 1.25rem;
  border: 1px solid rgb(255 255 255 / .18); border-radius: 0;
}
.foot__social:hover { border-color: #fff; }
.foot__areas { margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.75rem; border-top: 1px solid rgb(255 255 255 / .1); }
.foot__suburbs { max-width: 72rem; margin-top: .75rem; font-size: .9rem; line-height: 1.75; color: rgb(255 255 255 / .6); }
.foot__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem;
  margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgb(255 255 255 / .1);
  font-size: .82rem; color: rgb(255 255 255 / .5);
}
.foot__legal a { color: rgb(255 255 255 / .75); }
.foot__legal a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.foot :focus-visible { outline-color: #fff; }

/* ---------- inner pages: the homepage's stage, shorter, with a breadcrumb where the pill sits ---------- */
.stage--page { min-height: 0; }
.stage--page .stage__media { min-height: clamp(540px, calc(88svh - 4rem), 780px); }
.stage__photo--path { object-position: 50% 62%; }
.hero--page { padding-block: clamp(3rem, 9vh, 6.5rem); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; font-size: .84rem; font-weight: 500; color: var(--ink-mute); }
.crumbs li + li::before { content: "/"; margin: 0 .55rem; color: #b9b3aa; }
.crumbs a { color: var(--ink); }
.crumbs a:hover { color: var(--gold-text); text-decoration: underline; text-underline-offset: 3px; }
.hero__title--page { margin-top: 1.4rem; font-size: clamp(2.6rem, 4.9vw, 4.6rem); text-wrap: balance; }

/* ---------- services page: six cards, each one link to its service page ---------- */
.svc-index { background: var(--ground-alt); border-top: 1px solid var(--line); }
.scards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.75rem, 1.6vw, 1.25rem); }
.scard {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgb(var(--ink-rgb) / .04);
}
.scard:hover { border-color: #cfc9c0; }
.scard .shot__frame { aspect-ratio: 4 / 3; }
.scard__body { flex: 1; display: flex; flex-direction: column; padding: clamp(1.15rem, 1.8vw, 1.5rem); }
.scard__name {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.22; letter-spacing: -0.02em;
  color: var(--ink); text-wrap: balance;
}
.scard__name a::after { content: ""; position: absolute; inset: 0; }   /* the whole card is the link */
.scard__name a:focus-visible { outline: none; }
.scard__name a:focus-visible::after { outline: 2px solid var(--ink); outline-offset: 2px; }
.scard__text { margin-top: .5rem; font-size: .95rem; line-height: 1.5; color: var(--ink-mute); text-wrap: pretty; }
.scard__jobs {
  display: grid; gap: .45rem; margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--line);
  font-size: .9rem; line-height: 1.4; color: var(--ink-soft);
}
.scard__more {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1.4rem;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem; color: var(--ink);
}
.scard__arrow { width: 34px; height: 34px; flex-shrink: 0; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; color: var(--ink-mute); }
.scard:hover .scard__arrow, .scard:focus-within .scard__arrow { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* other jobs: the FAQ's layout (a note on the copy column, hairline rows on the photo column), light */
.jobs { background: var(--ground); border-top: 1px solid var(--line); }
.jobs__body { display: grid; grid-template-columns: var(--cols); column-gap: var(--gap); align-items: start; }
.jobs__aside { position: sticky; top: 1.5rem; max-width: 21rem; font-size: .95rem; line-height: 1.6; color: var(--ink-mute); }
.jobs__photo { max-width: 18rem; margin-bottom: 1.75rem; }
.jobs__photo .shot__frame { aspect-ratio: 4 / 5; }
.jobs__photo figcaption { margin-top: .75rem; font-family: var(--font-display); font-weight: 600; font-size: .9rem; line-height: 1.45; color: var(--ink-soft); }
.jobs__aside-title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.jobs__aside > p:not(.jobs__aside-title) { margin-top: .3rem; }
.jobs__aside .btn { margin-top: 1.1rem; }
.jobs__list { border-top: 1px solid var(--line); }
.job {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1.5rem; align-items: start;
  padding: 1.3rem 0; border-bottom: 1px solid var(--line);
}
.job__name { grid-column: 1; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.08rem, 1.4vw, 1.25rem); line-height: 1.25; letter-spacing: -0.015em; color: var(--ink); }
.job__text { grid-column: 1; max-width: 34rem; margin-top: .35rem; font-size: .95rem; line-height: 1.55; color: var(--ink-mute); text-wrap: pretty; }
.job__kit {
  grid-column: 2; grid-row: 1 / span 2; padding: .3rem .72rem;
  background: var(--ground-alt); font-size: .76rem; font-weight: 600; color: var(--ink); white-space: nowrap;
}

/* how it works: three steps on the ink band (white, never gold, on black) */
.steps__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.step { padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / .14); }
.step__num {
  width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgb(255 255 255 / .28);
  font-family: var(--font-display); font-weight: 700; font-size: .82rem; color: #fff;
}
.step__title { margin-top: 1.25rem; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.2rem, 1.6vw, 1.45rem); line-height: 1.2; letter-spacing: -0.02em; color: #fff; text-wrap: balance; }
.step__text { max-width: 25rem; margin-top: .55rem; font-size: .98rem; line-height: 1.6; text-wrap: pretty; }
.step__text a { font-weight: 600; color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- service pages: the job (words on the copy column, a facts panel on the photo column),
   their photos, then the FAQ band with the other services in its aside ---------- */
.svc-intro { background: var(--ground-alt); border-top: 1px solid var(--line); }
.intro__body { display: grid; grid-template-columns: var(--cols); column-gap: var(--gap); align-items: start; }
.prose { max-width: 36rem; font-size: 1.02rem; line-height: 1.7; color: var(--ink-soft); text-wrap: pretty; }
.prose p + p { margin-top: 1rem; }
.prose a { font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.prose a:hover { color: var(--gold-text); }
.prose__label {
  margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
}
.prose p.prose__label { margin-top: 2.25rem; }
.ticks { display: grid; gap: .55rem; margin-top: 1rem; font-size: .98rem; line-height: 1.45; color: var(--ink-soft); }

.facts {
  padding: clamp(1.25rem, 2.4vw, 2rem);
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgb(var(--ink-rgb) / .04), 0 24px 60px rgb(var(--ink-rgb) / .06);
  scroll-margin-top: 1.5rem;
}
.facts__label { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.facts__row { margin-top: 1.5rem; }
.facts__row + .facts__row { padding-top: 1.5rem; border-top: 1px solid var(--line); }
.facts__row .machine__spec { margin-top: 0; }
.facts__note { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: .95rem; line-height: 1.6; color: var(--ink-mute); }
.facts .btn { margin-top: 1.25rem; }
/* the photo column can hold the facts panel and a review under it */
.intro__side { display: grid; gap: clamp(.75rem, 1.6vw, 1.25rem); align-content: start; }
.rcard--inline { min-height: 0; }
.rcard--inline .rcard__foot { padding-top: 1.5rem; }

.gallery-sec { background: var(--ground); border-top: 1px solid var(--line); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.75rem, 1.6vw, 1.25rem); }
.shot__frame--tall { aspect-ratio: 3 / 4; }
/* one job in steps: a 2 x 2 of 4:3 photos, numbered in their tags */
.job-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.75rem, 3vw, 2.5rem) clamp(.75rem, 1.6vw, 1.25rem); }

/* the other services, under the FAQ's call note (white on the ink, never gold) */
.related { margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / .14); }
.related__label { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgb(255 255 255 / .45); }
.related__list { display: grid; gap: .55rem; margin-top: .9rem; }
.related a { color: rgb(255 255 255 / .85); }
.related a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- machinery page: a row per machine (words on the copy column, its figures on the photo
   column, on the homepage's 0 to 1.3 m scale), then the attachments as a ruled grid ---------- */
.units { border-top: 1px solid var(--line); }
.unit {
  display: grid; grid-template-columns: var(--cols); column-gap: var(--gap); align-items: start;
  padding-block: clamp(2rem, 3.5vw, 3rem); border-bottom: 1px solid var(--line);
  scroll-margin-top: 1.5rem;
}
.unit:last-child { padding-bottom: 0; border-bottom: 0; }
.unit__copy { max-width: 36rem; }
.unit .machine__tag { display: inline-block; background: #fff; border: 1px solid var(--line); }   /* the band is ground-alt, so the pill turns white */
.unit__name { margin-top: 1rem; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.1; letter-spacing: -0.03em; color: var(--ink); text-wrap: balance; }
.unit__text { margin-top: .8rem; font-size: 1.02rem; line-height: 1.7; color: var(--ink-soft); text-wrap: pretty; }
.unit__label { margin-top: 1.6rem; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.ticks--two { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; }
.unit__facts { box-shadow: 0 1px 2px rgb(var(--ink-rgb) / .04); }
.unit__facts .facts__row:first-child { margin-top: 0; }

.attach { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: #fff; }
.attach__item { padding: clamp(1.15rem, 2vw, 1.6rem); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.attach__name { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.08rem, 1.4vw, 1.25rem); line-height: 1.25; letter-spacing: -0.015em; color: var(--ink); }
.attach__text { margin-top: .4rem; font-size: .95rem; line-height: 1.55; color: var(--ink-mute); text-wrap: pretty; }

/* ---------- our work: a set of photos per job or kind of job, each under a ruled head that
   links to its service; a row of jump links in the lead ---------- */
.case { scroll-margin-top: 1.5rem; }
.case + .case { margin-top: clamp(3rem, 5vw, 4.5rem); }
.case__head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1.5rem;
  margin-bottom: clamp(1.1rem, 2vw, 1.5rem); padding-bottom: .9rem; border-bottom: 1px solid var(--line);
}
.case__name { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.2; letter-spacing: -0.025em; color: var(--ink); }
.case__link { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-display); font-weight: 700; font-size: .95rem; color: var(--ink); }
.case__link svg { color: var(--gold-text); }
.case__link:hover { color: var(--gold-text); }
.jump { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.25rem; }
.jump a { padding: .42rem .8rem; border: 1px solid var(--line); background: #fff; font-size: .85rem; font-weight: 600; color: var(--ink); }
.jump a:hover { border-color: #cfc9c0; }

/* ---------- privacy: the header and title with no photo card, then the policy with a short
   version beside it ---------- */
.stage--plain { grid-template-columns: minmax(0, 1fr); min-height: 0; }
.hero--plain { padding-block: clamp(2.5rem, 7vh, 5rem) clamp(2.25rem, 5vh, 4rem); }
.legal h3 { margin-top: 2.25rem; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.15rem, 1.5vw, 1.3rem); line-height: 1.25; letter-spacing: -0.015em; color: var(--ink); }
.legal h3 + p, .legal h3 + ul { margin-top: .6rem; }
.legal__list { display: grid; gap: .8rem; }
.legal__list li { position: relative; padding-left: 1.15rem; }
.legal__list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 5px; height: 5px; background: var(--gold-text); }
/* privacy and the 404: the light ground, so the band never sits on the quote section's shade */
.plain-sec { background: var(--ground); border-top: 1px solid var(--line); }
.legal__summary { position: sticky; top: 1.5rem; }
.legal__point { font-size: .98rem; line-height: 1.55; color: var(--ink-mute); }
.legal__point strong { display: block; margin-bottom: .15rem; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--ink); }
@media (min-width: 1100px) and (max-width: 1279px) {
  .stage--plain .site-nav__contact { display: revert; }   /* full-width header and no notch here, so keep a way to the form */
}

/* ---------- 404: every page as a ruled list of links ---------- */
.crumbs--code { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); }
.links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(1.5rem, 3vw, 2.5rem); border-top: 1px solid var(--line); }
.links__item { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1rem; align-items: center; padding-block: 1.1rem; border-bottom: 1px solid var(--line); }
.links__name { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.05rem, 1.3vw, 1.18rem); line-height: 1.3; color: var(--ink); }
.links__text { grid-column: 1; margin-top: .15rem; font-size: .92rem; line-height: 1.45; color: var(--ink-mute); }
.links__arrow {
  grid-column: 2; grid-row: 1 / span 2; width: 34px; height: 34px; display: grid; place-items: center;
  border: 1px solid var(--line); background: #fff; color: var(--ink-mute);
}
.links__item:hover .links__arrow, .links__item:focus-visible .links__arrow { background: var(--gold); border-color: var(--gold); color: var(--ink); }
/* contact page: the same ruled list in one column beside the photo tips; the square shows how each row reaches him */
.links--one { grid-template-columns: minmax(0, 1fr); }


/* ---------- below 1100: one column, normal header bar ---------- */
@media (max-width: 1099px) {
  .hero__mark { left: auto; right: 0; width: clamp(210px, 60vw, 380px); }
  .brand__badge { width: 48px; margin-block: 0; }
  .hero__logo { width: clamp(120px, 34vw, 156px); }
  .stage { grid-template-columns: minmax(0, 1fr); min-height: 0; padding: 1rem clamp(1rem, 4vw, 2rem) 1.25rem; }
  .site-header { justify-content: space-between; }
  .site-header__mobile { display: flex; gap: .5rem; }
  .icon-btn {
    width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
    background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 0; cursor: pointer;
  }
  .site-nav {
    position: absolute; top: calc(100% + .6rem); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .4rem 1.1rem 1.1rem; background: #fff;
    border: 1px solid var(--line); border-radius: 0;
    box-shadow: 0 2px 6px rgb(var(--ink-rgb) / .05), 0 24px 60px rgb(var(--ink-rgb) / .12);
    opacity: 0; visibility: hidden;
    max-height: calc(100svh - 6rem); overflow-y: auto; overscroll-behavior: contain;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; }
  .site-nav > a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  /* services folds out under its own row, as a plain list */
  .nav-item--mega { display: grid; grid-template-columns: minmax(0, 1fr) auto; border-bottom: 1px solid var(--line); }
  .nav-item__link { padding: .9rem 0; }
  .nav-item__toggle { width: 40px; height: 40px; }
  .mega { grid-column: 1 / -1; display: none; padding-bottom: .6rem; }
  .nav-item--mega.is-open .mega { display: block; }
  .mega__card { display: block; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
  .mega__main { padding: 0; }
  .mega__label, .mega__foot, .mega__feature, .mega__text small { display: none; }
  .mega__grid { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0; }
  .mega__item { gap: .75rem; padding: .45rem .3rem; border-radius: 0; }
  .mega__thumb { width: 40px; height: 40px; border-radius: 0; }
  .mega__text strong { font-size: .95rem; }
  .site-nav .site-nav__quote { display: inline-flex; margin-top: 1rem; padding-block: 1rem; }

  .hero { padding: clamp(2.5rem, 7vw, 4rem) 0 2rem; }
  .trust { margin-bottom: 1.75rem; }
  .stage__media { min-height: clamp(460px, 110vw, 760px); }
  .stage__media .notch { display: none; }
  .stage__media { border-top-right-radius: 0; }

  .sec-bar { padding-inline: clamp(1rem, 4vw, 2rem); }
}

@media (max-width: 599px) {
  .brand__name { font-size: 1.02rem; }
  .hero__title { font-size: clamp(2.5rem, 11.5vw, 3.2rem); }
  .hero__actions .btn { flex: 1 1 auto; padding-block: 1rem; }
  .glass, .glass-pill { display: none; }   /* too big for a phone-width photo; the services and text-photos button are further down */
  .trust { font-size: .8rem; }
  .trust li + li::before { margin: 0 .5rem; }
  .stage__caption { left: 1rem; bottom: 1rem; font-size: .95rem; }
  .stage__tile { width: 42px; height: 42px; }
  .stage__tile img { width: 31px; }

  .sec-bar { font-size: .68rem; letter-spacing: .12em; }
}

/* ---------- the sections below the hero, at smaller widths ---------- */
@media (max-width: 1099px) {
  .sec-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(1.5rem, 4vw, 3rem); padding-inline: clamp(1rem, 4vw, 2rem); }
  .sec-body { padding-inline: clamp(1rem, 4vw, 2rem); }
  .svc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(1.5rem, 4vw, 3rem); }
  .machines { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote__body { grid-template-columns: minmax(0, 1fr); row-gap: 2.5rem; }
  .faq__body { grid-template-columns: minmax(0, 1fr); row-gap: 2.25rem; }
  .faq__aside { position: static; order: 1; }   /* the questions first, the call note after them */
  .contact-card { aspect-ratio: 16 / 10; }   /* full width now: a wide photo, panel bottom-left, machine clear on the right */
  .contact-card__glass { right: auto; width: min(26rem, calc(100% - 2rem)); }
  .site-footer { padding: 0 clamp(.75rem, 2vw, 1rem) clamp(.75rem, 2vw, 1rem); }
  .foot { padding-left: clamp(1.5rem, 4vw, 2.5rem); }
  .foot__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot__brand { grid-column: 1 / -1; }
  .stage--page .stage__media { min-height: clamp(400px, 92vw, 680px); }
  .hero__title--page { font-size: clamp(2.5rem, 6.4vw, 3.6rem); }
  .intro__body { grid-template-columns: minmax(0, 1fr); row-gap: 2.5rem; }
  .facts, .intro__side { max-width: 36rem; }
  .scards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jobs__body { grid-template-columns: minmax(0, 1fr); row-gap: 2.5rem; }
  /* the note goes under the rows: photo on its left, the words beside it */
  .jobs__aside {
    position: static; order: 1; max-width: 40rem;
    display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); column-gap: 1.5rem; align-content: start;
  }
  .jobs__photo { grid-row: 1 / span 4; margin: 0; }
  .jobs__aside > :not(.jobs__photo) { grid-column: 2; }
  .jobs__aside .btn { justify-self: start; }
  .unit { grid-template-columns: minmax(0, 1fr); row-gap: 1.5rem; }
  .unit__facts { max-width: 36rem; }
  .legal__summary { position: static; order: -1; }   /* the short version first, then the detail */
}

@media (max-width: 759px) {
  .sec-head { grid-template-columns: minmax(0, 1fr); row-gap: 1.1rem; }
  /* services: the photo goes first, and a tap scrolls back up to it if it is out of view */
  .svc { grid-template-columns: minmax(0, 1fr); row-gap: 1.5rem; }
  .svc-photo { order: -1; min-height: 0; aspect-ratio: 4 / 3; }
  /* reviews become a swipeable row, as on Rally */
  .rcards {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(15.5rem, 80%);
    overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; touch-action: pan-x pan-y;
    scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * clamp(1rem, 4vw, 2rem)); padding-inline: clamp(1rem, 4vw, 2rem);
    scroll-padding-inline: clamp(1rem, 4vw, 2rem);
  }
  .rcards::-webkit-scrollbar { display: none; }
  .rcard { scroll-snap-align: start; min-height: 20rem; }
  .steps__list { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .gallery .shot__frame--tall { aspect-ratio: 4 / 5; }
  /* our work: each set becomes a swipeable row, like the reviews, so fifteen photos aren't one long column */
  .case .gallery {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(15rem, 78%);
    overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; touch-action: pan-x pan-y;
    scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * clamp(1rem, 4vw, 2rem)); padding-inline: clamp(1rem, 4vw, 2rem);
    scroll-padding-inline: clamp(1rem, 4vw, 2rem);
  }
  .case .gallery::-webkit-scrollbar { display: none; }
  .case .gallery .shot { scroll-snap-align: start; }
  .attach { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .links { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 599px) {
  .svc-photo { border-radius: 0; }
  .svc-photo__cta { display: none; }
  .svc-row { column-gap: .85rem; padding-block: 1rem; }
  .svc-row__num { width: 36px; height: 36px; }
  .svc-row__arrow { width: 30px; height: 30px; }
  .work__pair, .work__grid, .job-steps { grid-template-columns: minmax(0, 1fr); }
  .machines { grid-template-columns: minmax(0, 1fr); }
  .machine__scale--none { display: none; }   /* stacked cards need no spacer to line up */
  .kit { display: block; }
  .kit__list { margin-top: .4rem; }
  .shot__frame { border-radius: 0; }
  .sec-bar__aside { letter-spacing: .1em; }
  .faq__item summary { gap: 1rem; padding-block: 1.1rem; }
  .faq__answer { padding-right: 0; }
  .quote-form { grid-template-columns: minmax(0, 1fr); padding: 1.1rem; }
  .quote-form__submit { flex: 1 1 100%; }
  .contact-card { aspect-ratio: 4 / 5; border-radius: 0; }
  .contact-card__glass { left: .75rem; right: .75rem; bottom: .75rem; width: auto; padding: 1rem; }
  .contact-card__actions .btn { flex: 1 1 auto; }
  .foot { padding-top: 5.25rem; }
  .foot__top { grid-template-columns: minmax(0, 1fr); }
  .foot__notch-call { display: none; }
  .hero__title--page { font-size: clamp(2.3rem, 10vw, 3rem); }
  .scards { grid-template-columns: minmax(0, 1fr); }
  .job { grid-template-columns: minmax(0, 1fr); }
  .job__kit { grid-column: 1; grid-row: auto; justify-self: start; margin-top: .75rem; }
  .jobs__aside { grid-template-columns: minmax(0, 8.5rem) minmax(0, 1fr); column-gap: 1.1rem; }
  .ticks--two, .attach { grid-template-columns: minmax(0, 1fr); }
  .case__head { flex-direction: column; gap: .35rem; }
}

