/* ==========================================================================
   1-2-1 Landscapes: the site's design (17 Nov 2026)
   Light and traditional, like the firm and its logo: the logo's black and red on white, warm stone greys
   like the paving they lay, the logo's split red bars as the site's rule (under the header, beside each
   eyebrow, along the top of the dark cards, framing the slogan), and a bold old-style serif (Crimson Pro)
   for the headings, close to the logo's lettering, over a plain sans (Source Sans 3). The logo always sits
   on white or stone, where it reads as drawn. Square-cut corners and buttons, no glows or gradients.
   Built on the template's components (engine 1.1.0, first made for SK Plumbing's trade look), restyled:
   class names are the template's, so the build needs nothing new. None of SK's navy, orange or blue is
   left. The colours and fonts live here (site.json's "theme" is empty, as Loosey Goosey's is); site.json's
   fonts.stylesheet is only what fetch_fonts.py downloads, so the stand-in fonts below can be measured ones
   (Adam's design rule 12: headings never jump when the font arrives).
   ========================================================================== */

/* Stand-ins while the fonts load, scaled to the fonts' own widths and heights, so nothing moves when they arrive
   (Adam's design rule 12). Measured 17 Nov 2026 on the site's own words (46 headings, 68 paragraphs and list
   items, 53 buttons and labels): Crimson Pro 700 is 98.6% of Times New Roman Bold's width; Source Sans 3 is
   93.4% of Arial's (400), 91.7% (700) and 89.3% (600) of Arial Bold's. Times New Roman, Liberation Serif and Tinos
   share their widths, as do Arial, Liberation Sans, Arimo and (near enough) Roboto. The heights are the fonts'
   own (Crimson Pro 0.896 over 0.215, Source Sans 3 1.024 over 0.400), divided by the size adjustment. */
@font-face { font-family: "Crimson Pro Times"; src: local("Times New Roman Bold"), local("TimesNewRomanPS-BoldMT"), local("Liberation Serif Bold"), local("Tinos Bold"); font-weight: 600 800; size-adjust: 98.6%; ascent-override: 90.9%; descent-override: 21.8%; line-gap-override: 0%; }
@font-face { font-family: "Source Sans Arial"; src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Arimo"), local("Roboto"), local("Roboto-Regular"); font-weight: 400; size-adjust: 93.4%; ascent-override: 109.6%; descent-override: 42.8%; line-gap-override: 0%; }
@font-face { font-family: "Source Sans Arial"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("Arimo Bold"), local("Roboto Bold"), local("Roboto-Bold"); font-weight: 600 700; size-adjust: 90.5%; ascent-override: 113.1%; descent-override: 44.2%; line-gap-override: 0%; }

:root {
  --ink: #0f0f0f;              /* the logo's black: the dark cards, the footer, the phone menu */
  --ink-2: #1b1a19;
  --ink-3: #2c2a28;
  --red: #ff0000;              /* the logo's own red: the split bars, map pins and small marks */
  --accent: #e10000;           /* buttons: the logo's red, a shade deeper so white text on it reads (5:1) */
  --accent-hi: #ff4136;        /* red on black (5:1) */
  --accent-lo: #b30000;        /* red text on white or stone (7:1) */
  --accent-tint: #fcebe9;
  --accent-2: #3b3734;         /* the template's second colour: a charcoal here */
  --accent-2-lo: #0f0f0f;
  --accent-2-tint: #efebe5;
  --bg: #ffffff;
  --stone: #f5f2ed;            /* sandstone paving: the alternate sections and the page heads */
  --stone-2: #ebe6de;
  --mist: var(--stone);
  --line: #e5dfd6;
  --line-strong: #cfc7bb;
  --text: #171615;
  --muted: #5d5750;
  --faint: #9a9288;
  --on-dark: #f5f2ed;
  --on-dark-muted: #bcb5ab;
  --star: #fbbc04;
  --whatsapp: #25d366;
  --ink-deep: #000000;
  /* the logo's split bars: a thick red line over a thin one */
  --bars: linear-gradient(#ff0000, #ff0000) 0 0 / 100% 3px no-repeat, linear-gradient(#ff0000, #ff0000) 0 5px / 100% 1px no-repeat;

  --font-display: "Crimson Pro", "Crimson Pro Times", Georgia, serif;
  --font-body: "Source Sans 3", "Source Sans Arial", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 4px;
  --r: 8px;
  --r-lg: 12px;
  --shadow-sm: 0 1px 2px rgb(45 35 25 / 0.06), 0 3px 10px rgb(45 35 25 / 0.05);
  --shadow: 0 20px 40px -24px rgb(45 35 25 / 0.38);
  --shadow-lg: 0 34px 68px -34px rgb(45 35 25 / 0.5);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(72px, 10vw, 128px);
  --header-h: 88px;
  --footer-h: 56px;            /* the slim footer: the last home page section shares its screen with it */
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* Links to a section (the menu, "Contact us") jump straight there: no scrolling
   through everything in between. Carousels still glide (see .carousel__track). */
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* 1-2-1 Landscapes (25 Nov 2026, Adam: "when the content of the page is too short, the footer floats and isn't at the
   bottom of the page"): the page is a column at least one screen tall, and the main part takes any spare height, so
   the footer always meets the bottom of the screen. Everything else in body is fixed or absolute (the ribbon, the
   icons, the skip link, the call bar, the photo viewer), so the column holds just the header, main and the footer. */
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
body > main { flex: 1 0 auto; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: #fff; }
/* the logo's split bars as a rule (a thick red line over a thin one) */
.bars { display: block; height: 6px; background: var(--bars); }
:focus-visible { outline: 3px solid var(--focus, var(--accent-lo)); outline-offset: 3px; border-radius: 8px; }
/* the light red focus ring on the dark parts (the header, hero and page heads are light here) */
.rating-card, .cta-band, .quote, .footer, .callbar, .lightbox, .about__media { --focus: var(--accent-hi); }
@media (max-width: 1080px) { .nav { --focus: var(--accent-hi); } }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  padding: 10px 16px; border-radius: var(--r-sm);
  background: var(--accent); color: #fff; font-weight: 700;
}
.skip-link:focus { top: 12px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--mist { background: var(--mist); }
/* a faint pattern of paving joints (slabs laid in a stretcher bond) */
.section--dots {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='60'%3E%3Cpath d='M0 .5h120M0 30.5h120M.5 0v30M60.5 30v30' stroke='%23786a5a' stroke-opacity='.09' fill='none'/%3E%3C/svg%3E");
  background-size: 120px 60px;
}
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* One screen per section: on desktop-sized windows each home page section fills the window
   below the header, so the menu links land on exactly one "page" at a time. Smaller
   windows and phones let sections take the height they need. */
@media (min-width: 1081px) and (min-height: 700px) {
  .section--screen {
    display: flex; flex-direction: column; justify-content: center;
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100svh - var(--header-h));
    padding-block: clamp(36px, 6vh, 72px);
  }
  .section--screen .section-head { margin-bottom: clamp(28px, 4.5vh, 48px); }
  /* the last section shares its screen with the footer */
  main > .section--screen:last-child {
    min-height: calc(100vh - var(--header-h) - var(--footer-h));
    min-height: calc(100svh - var(--header-h) - var(--footer-h));
  }
  .about .h2, .contact .h2 { font-size: clamp(2.2rem, 1.1rem + 2vw, 3rem); }
  /* the home page's services: 16:10 photos and tighter gaps, so the heading, a row of cards and the button
     fit one screen at 1080p */
  #services.section--screen .section-head { margin-bottom: clamp(24px, 3vh, 40px); }
  #services.section--screen .service-card__media { aspect-ratio: 16 / 10; }
  #services.section--screen .service-card__body { padding-block: 1.2rem 1.1rem; }
  #services.section--screen .section-foot { margin-top: clamp(16px, 2.2vh, 32px); }
}

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent-lo);
}
.eyebrow::before { content: ""; flex: none; width: 28px; height: 6px; background: var(--bars); }
.eyebrow--light { color: var(--accent-hi); }
.page-hero .eyebrow--light { color: var(--accent-lo); }   /* the page heads are light here */

.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--split {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px;
  max-width: none; flex-wrap: wrap;
}
.section-head--split > div { max-width: 640px; }
.h2, .section-head h2 { font-size: clamp(2.2rem, 1.35rem + 3vw, 3.5rem); margin-top: 0.9rem; }
.section-head p { margin-top: 1.1rem; font-size: 1.125rem; color: var(--muted); }
.lead { font-size: 1.125rem; color: var(--muted); }
/* the highlighted words of a heading: the logo's red, plain (the class name is the template's) */
.text-grad { color: var(--red); }
.nowrap { white-space: nowrap; }

/* ---------- Buttons ---------- */
/* square-cut and solid, like a sign-writer's panel: no pills, gradients or glows */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 52px; padding: 0.85rem 1.5rem;
  border: 2px solid transparent; border-radius: var(--r-sm);
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: 1.0625rem; font-weight: 700; line-height: 1.1; letter-spacing: 0.005em; white-space: nowrap;
  transition: box-shadow 0.2s var(--ease), background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn .icon { width: 1.15em; height: 1.15em; }
/* white on the logo's red, deepened just enough to read (5:1) */
.btn--primary { box-shadow: 0 1px 0 rgb(0 0 0 / 0.12), 0 10px 22px -16px rgb(225 0 0 / 0.9); }
.btn--primary:hover { --btn-bg: #c40000; }
/* the second button: outlined in black on the light hero and page heads, in white on the dark cards */
.btn--glass { --btn-bg: transparent; --btn-fg: var(--text); border-color: var(--text); }
.btn--glass:hover { --btn-bg: var(--text); --btn-fg: #fff; }
.rating-card .btn--glass, .cta-band .btn--glass, .quote .btn--glass { --btn-fg: #fff; border-color: rgb(255 255 255 / 0.45); }
.rating-card .btn--glass:hover, .cta-band .btn--glass:hover, .quote .btn--glass:hover { --btn-bg: #fff; --btn-fg: var(--ink); border-color: #fff; }
.btn--dark { --btn-bg: var(--ink); }
.btn--dark:hover { --btn-bg: var(--ink-3); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn--light:hover { --btn-bg: var(--stone); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--text); border-color: var(--line-strong); }
.btn--outline:hover { border-color: var(--text); }
.btn--whatsapp { --btn-bg: var(--whatsapp); --btn-fg: #052e16; }
.btn--whatsapp:hover { --btn-bg: #1fbf5b; }
.btn--lg { min-height: 60px; padding: 1rem 1.9rem; font-size: 1.0625rem; }
.btn--sm { min-height: 42px; padding: 0.55rem 1rem; font-size: 0.9rem; }
.btn--block { width: 100%; }
@media (max-width: 480px) { .btn { white-space: normal; text-align: center; } }

.link-arrow { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 700; color: var(--accent-lo); }
.link-arrow .icon { width: 1.1em; height: 1.1em; transition: transform 0.2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

.stars { display: inline-flex; gap: 2px; color: var(--star); }
.stars .icon { width: 17px; height: 17px; }
.stars .is-off { color: var(--line-strong); }

/* ---------- Header: white and solid, so the logo reads as drawn, over the logo's split red bars ---------- */
.header {
  position: sticky; top: 0; z-index: 70;
  padding-bottom: 6px;          /* the bars' own strip: the header is exactly --header-h tall */
  background: #fff;
  box-shadow: 0 14px 28px -24px rgb(45 35 25 / 0.55);
}
.header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: var(--bars);
}
.header__inner { display: flex; align-items: center; gap: 1.5rem; height: calc(var(--header-h) - 6px); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: auto; height: 66px; }
.brand__name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--text); }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 0.15rem; }
.nav__link {
  position: relative; display: inline-flex; align-items: center;
  padding: 0.55rem 0.9rem; border-radius: var(--r-sm);
  color: var(--text); font-size: 1.0625rem; font-weight: 600;
  transition: color 0.2s, background-color 0.2s;
}
.nav__link:hover { color: var(--accent-lo); background: var(--stone); }
/* the section on screen (set by main.js on the home page): a short red bar under it */
.nav__link.is-active { color: var(--accent-lo); }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px;
  width: 18px; height: 3px; margin-left: -9px; background: var(--red);
}
.nav__cta { display: none; }
.header__cta { flex: none; }
.header__cta .btn { min-height: 48px; padding: 0.65rem 1.25rem; font-size: 1rem; }
.nav-toggle {
  display: none; place-items: center; flex: none;
  width: 48px; height: 48px; padding: 0;
  border: 2px solid var(--text); border-radius: var(--r-sm);
  background: #fff; color: var(--text);
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .icon--menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }

@media (max-width: 1080px) {
  /* The toggle comes before the menu in the DOM (keyboard order) but sits last visually */
  .nav-toggle { display: inline-grid; order: 1; }
  .header__cta { margin-left: auto; }
  /* the open menu covers the whole screen under the header, in the logo's black, and the page behind it
     stays still (Adam's design rule 13); the call bar stays on top of it */
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    margin: 0; padding: 16px var(--gutter) calc(96px + env(safe-area-inset-bottom));
    background: var(--ink);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
    overflow-y: auto; overscroll-behavior: contain;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  body:has(.nav.is-open) { overflow: hidden; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  /* (1-2-1 Landscapes, 25 Nov 2026, Adam: "the 'contact' button has a weird strike through"): each link fills its row,
     so the red mark for the section on screen sits at the row's right-hand end, not over the end of the word */
  .nav__link {
    display: flex;
    padding: 1rem 0.25rem; border-radius: 0; border-bottom: 1px solid rgb(255 255 255 / 0.1);
    color: #fff; font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; line-height: 1.1;
  }
  .nav__link:hover { color: #fff; background: none; }
  .nav__link.is-active { color: #fff; background: none; }
  .nav__link.is-active::after { left: auto; right: 4px; top: 50%; bottom: auto; margin: -1.5px 0 0; }
}
@media (max-width: 560px) {
  /* (the menu's own call button is gone: the call bar is always on screen on phones, Adam, 25 Nov 2026) */
  :root { --header-h: 72px; }
  .brand img { height: 54px; }
  .header__inner { gap: 0.75rem; }
  .header__cta .btn { width: 48px; min-height: 48px; padding: 0; }
  .header__cta .btn span { display: none; }
}

/* ---------- Hero: the words on stone, and on the right a framed white board: the logo, until a photo of a
   real job takes its place (the same frame then holds the photo) ---------- */
.hero { --board-w: clamp(360px, 40vw, 520px); position: relative; isolation: isolate; overflow: hidden; background: var(--stone); color: var(--text); }
/* faint paving joints behind the board, fading out before the words */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='60'%3E%3Cpath d='M0 .5h120M0 30.5h120M.5 0v30M60.5 30v30' stroke='%23786a5a' stroke-opacity='.12' fill='none'/%3E%3C/svg%3E");
  background-size: 120px 60px;
  -webkit-mask-image: linear-gradient(90deg, transparent 35%, #000 75%); mask-image: linear-gradient(90deg, transparent 35%, #000 75%);
}
/* the words and the board share one grid: the location label has a row of its own, and the board spans the
   rows from the heading to the last line, so it starts level with the heading (Adam's design rule 3) and ends
   level with the words (rule 2); the whole group sits in the middle of the screen */
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1fr) var(--board-w); column-gap: clamp(40px, 5vw, 80px);
  align-content: center;
  min-height: clamp(600px, 86vh, 800px);
  padding-block: clamp(56px, 9vw, 110px) clamp(150px, 15vw, 190px);
}
.hero__content { display: contents; }
.hero__content > * { grid-column: 1; max-width: 640px; }
.hero__content > .hero__badge { justify-self: start; margin-bottom: 1.4rem; }
.hero__content > h1 { margin-top: 0; }
.hero__media {
  grid-column: 2; grid-row: 2 / span 4;
  position: relative; display: grid; place-items: center; min-height: 0; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-lg);
  animation: rise 0.9s 0.2s var(--ease) both;
}
.hero__media picture { display: contents; }
.hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 40%);
  transform: scale(1.03); animation: hero-zoom 14s var(--ease) forwards;
}
/* the logo itself, whole, on white as it was drawn */
.hero__media .hero__logo { position: static; width: 84%; height: auto; object-fit: contain; transform: none; animation: none; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.35rem 0.9rem 0.35rem 0.35rem; border-radius: var(--r-sm);
  background: #fff; border: 1px solid var(--line);
  font-size: 0.9375rem; font-weight: 600; color: var(--text);
}
.hero__badge-icon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 2px; background: var(--accent); color: #fff; }
.hero__badge-icon .icon { width: 14px; height: 14px; }
.hero h1 { margin-top: 0; font-size: clamp(2.75rem, 1.4rem + 5vw, 5rem); font-weight: 700; line-height: 1.0; letter-spacing: -0.015em; }
/* no location label: the board starts with the heading's row */
.hero__content:not(:has(.hero__badge)) ~ .hero__media { grid-row: 1 / span 4; }
.hero__lead { max-width: 560px; margin-top: 1.4rem; font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem); color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2.2rem; }
.hero__proof { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.6rem; margin-top: 2.2rem; font-size: 1rem; color: var(--text); }
.hero__proof li { display: inline-flex; align-items: flex-start; gap: 0.5rem; line-height: 1.4; }
.hero__proof .tick { margin-top: 0.05em; }
.hero__proof .tick { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 2px; background: var(--accent-tint); color: var(--accent-lo); }
.hero__proof .tick .icon { width: 13px; height: 13px; }

.hero__badge { animation: rise 0.8s var(--ease) both; }
.hero h1 { animation: rise 0.9s 0.08s var(--ease) both; }
.hero__lead { animation: rise 0.9s 0.16s var(--ease) both; }
.hero__actions { animation: rise 0.9s 0.24s var(--ease) both; }
.hero__proof { animation: rise 0.9s 0.32s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1.0); } }

/* tablets and phones: one column. The board steps aside while it only holds the logo (the header shows
   the logo), and a photo, once there is one, sits above the words */
@media (max-width: 960px) {
  .hero::before { -webkit-mask-image: none; mask-image: none; opacity: 0.6; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__media { grid-column: 1; grid-row: auto; order: -1; margin-bottom: 28px; aspect-ratio: 16 / 10; }
  .hero__media--logo { display: none; }
  .hero__content > * { max-width: 660px; }
}
@media (max-width: 760px) {
  .hero__inner { min-height: 0; padding-block: 44px 140px; }
  .intro:not(:has(.features)) .hero__inner { padding-bottom: 48px; }
  /* the two buttons stay side by side, a touch more compact (Adam's design rule 13) */
  .hero__actions { gap: 0.6rem; }
  .hero__actions .btn { flex: 1 1 0; min-width: 0; padding-inline: 0.8rem; font-size: 0.9375rem; }
}
/* matches the <picture> source: the phone crop has its own focus point */
@media (max-width: 480px) { .hero__media img { object-position: var(--focus-m, var(--focus, 50% 40%)); } }

/* 1-2-1 Landscapes (25 Nov 2026, Adam: "i'd also like the hero photo to be fullscreen, like sk plumbing if we can achieve
   that, just for better visuals"): with a photo, it fills the hero edge to edge behind the words, as on SK Plumbing's
   site: darkened from the left, where the words are, to clear on the right, where the van is, and the words in white.
   The hero fills the screen under the header: on a computer through the .intro rule below, elsewhere here. */
.hero--photo { background: var(--ink); color: #fff; }
/* phones and tablets: the words run the full width, so the photo darkens from the top down, as on SK's */
.hero--photo::before {
  background: linear-gradient(180deg, rgb(15 15 15 / 0.58) 0%, rgb(15 15 15 / 0.8) 42%, rgb(15 15 15 / 0.94) 100%);
  -webkit-mask-image: none; mask-image: none; opacity: 1;
}
.hero--photo .hero__media {
  position: absolute; inset: 0; z-index: -2; display: block; overflow: hidden; order: 0;
  margin: 0; aspect-ratio: auto; border: 0; border-radius: 0; background: var(--ink); box-shadow: none; animation: none;
}
.hero--photo .hero__inner { display: flex; flex-direction: column; justify-content: center; min-height: calc(100svh - var(--header-h)); }
.hero--photo .hero__content { display: block; }
.hero--photo .text-grad { color: var(--accent-hi); }
.hero--photo .hero__lead { color: rgb(255 255 255 / 0.88); }
.hero--photo .hero__proof { color: rgb(255 255 255 / 0.9); }
.hero--photo .hero__proof .tick { background: rgb(255 65 54 / 0.2); color: var(--accent-hi); }
.hero--photo .hero__badge { background: rgb(255 255 255 / 0.1); border-color: rgb(255 255 255 / 0.22); color: #fff; }
.hero--photo .btn--glass { --btn-fg: #fff; border-color: rgb(255 255 255 / 0.55); }
.hero--photo .btn--glass:hover { --btn-bg: #fff; --btn-fg: var(--ink); border-color: #fff; }
.hero--photo { --focus: var(--accent-hi); }
/* computers: the photo fills the hero from 30% across, fading in out of the black on the left, so the van (40% into the
   photo) stays clear of the words, which sit on the black and the faded edge; a light shade from the left and along the
   foot keeps them crisp. It reads as one full-screen photo, as SK's does: SK's left side is almost solid dark too. */
@media (min-width: 1081px) {
  .hero--photo .hero__media {
    left: 30%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 40%); mask-image: linear-gradient(90deg, transparent 0%, #000 40%);
  }
  .hero--photo::before {
    background:
      linear-gradient(90deg, rgb(15 15 15 / 0.7) 0%, rgb(15 15 15 / 0.55) 40%, rgb(15 15 15 / 0.12) 56%, rgb(15 15 15 / 0) 66%),
      linear-gradient(0deg, rgb(15 15 15 / 0.45) 0%, rgb(15 15 15 / 0) 26%);
  }
}

/* Feature strip (overlaps the bottom of the hero) */
.features { position: relative; z-index: 2; margin-top: calc(-1 * clamp(96px, 10vw, 118px)); }
.features__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--line); box-shadow: var(--shadow-lg);
}
.feature { display: flex; align-items: flex-start; gap: 1rem; padding: 1.7rem 1.5rem; background: #fff; }
.feature__icon {
  display: grid; place-items: center; flex: none; width: 50px; height: 50px; border-radius: var(--r);
  background: var(--accent-tint); color: var(--accent-lo);
}
.feature:nth-child(even) .feature__icon { background: var(--stone-2); color: var(--text); }
.feature__icon .icon { width: 24px; height: 24px; }
.feature h3 { font-size: 1.125rem; line-height: 1.2; letter-spacing: -0.01em; }
.feature p { margin-top: 0.3rem; font-size: 0.9375rem; line-height: 1.45; color: var(--muted); }
@media (max-width: 1000px) { .features__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .features__grid { grid-template-columns: 1fr; }
  .feature { padding: 1.25rem 1.25rem; }
}
/* desktop: the hero grows so hero + feature strip fill the first screen exactly */
@media (min-width: 1081px) and (min-height: 700px) {
  .intro {
    display: flex; flex-direction: column;
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100svh - var(--header-h));
    padding-bottom: clamp(20px, 3.5vh, 36px);
  }
  .intro .hero { flex: 1; display: flex; flex-direction: column; }
  .intro .hero__inner { flex: 1; min-height: 0; padding-block: clamp(28px, 5vh, 88px) calc(clamp(96px, 10vw, 118px) + clamp(24px, 4vh, 56px)); }
  /* no feature strip under the hero: the words sit in the middle of the screen, level with the board */
  .intro:not(:has(.features)) .hero__inner { padding-block: clamp(32px, 6vh, 72px); }
  /* 1-2-1 Landscapes (25 Nov 2026, Adam: "there's a weird white bar below the hero page on the homepage - this should be
     a smooth transition into the 'what we do' section"): the bar was the space kept under a feature strip; with none,
     the hero runs straight into the next section */
  .intro:not(:has(.features)) { padding-bottom: 0; }
  /* capped at its 1080p size (7.8vh of 950px), so a 1440p screen shows the same heading, not a bigger one (rule 1) */
  .intro .hero h1 { font-size: clamp(2.75rem, 7.8vh, 4.625rem); margin-top: 0; }
  .intro .hero__badge { margin-bottom: clamp(0.9rem, 2.2vh, 1.4rem); }
  .intro .hero__lead { margin-top: clamp(0.9rem, 2.2vh, 1.4rem); }
  .intro .hero__actions, .intro .hero__proof { margin-top: clamp(1.25rem, 3.4vh, 2.2rem); }
}

/* ---------- Carousels (services, work, reviews) ---------- */
.carousel { --per-view: 3; --gap: 20px; position: relative; min-width: 0; }
.carousel__track {
  display: grid; grid-auto-flow: column; gap: var(--gap);
  grid-auto-columns: calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  /* room for hover lifts and focus rings, which the scroll box would otherwise clip */
  padding: 10px 8px 22px; margin: -10px -8px -4px; scroll-padding-inline: 8px;
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; min-width: 0; }
.carousel__controls { display: flex; align-items: center; margin-top: 0.75rem; }
/* everything already fits on screen: no arrows needed (set by main.js) */
.carousel.is-static .carousel__controls { display: none; }
/* fewer cards than fit (e.g. "Other services"): centre them under the centred heading */
.carousel--center.is-static .carousel__track { justify-content: center; }
/* how far through the carousel you are (filled by main.js) */
.carousel__progress { display: none; flex: 1; max-width: 260px; height: 3px; border-radius: 0; background: var(--line); overflow: hidden; }
.js .carousel__progress { display: block; }
.carousel__progress span {
  display: block; height: 100%; border-radius: inherit; background: var(--red);
  transform: scaleX(var(--progress, 0)); transform-origin: left; transition: transform 0.3s var(--ease);
}
/* The arrows sit on the carousel's left and right edges, level with the middle of the cards
   (or of their photos), so they are in view whenever the cards are. */
.carousel { --arrow-top: 50%; --arrow-out: min(24px, calc(var(--gutter) - 10px)); }
.carousel--photos { --arrow-top: 33%; }
.carousel__btn {
  position: absolute; top: var(--arrow-top); z-index: 5; translate: 0 -50%;
  display: grid; place-items: center; width: 52px; height: 52px; padding: 0;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: #fff; color: var(--ink);
  box-shadow: var(--shadow);
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, opacity 0.2s, visibility 0.2s;
}
.carousel__btn[data-prev] { left: calc(-1 * var(--arrow-out)); }
.carousel__btn[data-next] { right: calc(-1 * var(--arrow-out)); }
.carousel__btn:hover:not([aria-disabled="true"]) { background: var(--ink); border-color: var(--ink); color: #fff; }
/* at either end that arrow steps aside, unless it has keyboard focus (so focus never vanishes) */
.carousel__btn[aria-disabled="true"] { cursor: default; color: var(--faint); }
.carousel__btn[aria-disabled="true"]:not(:focus-visible) {
  opacity: 0; visibility: hidden;
  /* it fades at once but goes on catching clicks for a moment (and ignores them), so a quick extra
     click past the end does nothing instead of opening the card underneath */
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, opacity 0.2s, visibility 0s 1.5s;
}
.carousel__btn[aria-disabled="true"]:hover { visibility: visible; }   /* still under the pointer: keep taking the clicks */
.carousel__btn .icon { width: 22px; height: 22px; }
/* phones: no arrows over the cards (they covered the photos: Adam's design rule 9); the cards swipe, the next
   one peeking in from the edge, with the progress bar under them */
@media (max-width: 640px) { .carousel:not(.carousel--head) .carousel__btn { display: none; } }
@media (max-width: 1180px) { .carousel { --per-view: 2; } }
@media (max-width: 640px) { .carousel { --per-view: 1.16; --gap: 14px; } }
/* A carousel with its arrows in the heading row ("More of our work", "Other services"): the heading on the
   left; the progress bar and the arrows on the right. Nothing sits over the cards, so an arrow at either end
   just dims instead of stepping aside, and the row keeps the arrows' height when they are not needed. */
.carousel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; min-height: 36px; }
.carousel__head > h2 { min-width: 0; margin: 0; }
.carousel--head > .carousel__head { margin-bottom: 1.25rem; }
.carousel--head .carousel__controls { flex: none; gap: 8px; margin: 0; }
.carousel--head .carousel__progress { flex: none; width: 96px; margin-right: 6px; }
.carousel--head .carousel__btn { position: static; translate: none; width: 36px; height: 36px; box-shadow: none; }
.carousel--head .carousel__btn .icon { width: 20px; height: 20px; }
.carousel--head .carousel__btn[aria-disabled="true"]:not(:focus-visible) { opacity: 0.45; visibility: visible; }
@media (max-width: 640px) {
  .carousel__head { min-height: 42px; }
  .carousel--head .carousel__btn { width: 42px; height: 42px; }
  .carousel--head .carousel__progress { display: none; }
}
/* 1-2-1 Landscapes (25 Nov 2026, as on Loosey Goosey's; Adam: "mobile version for 'services' & 'portfolio' need the
   buttons moving to simplify the sections"): on phones the home page's services and work sections put their link
   button and the carousel's arrows on one row under the heading (the button on the left, the arrows on the right),
   then the cards. The head and the carousel lay their parts out in the section's grid (display: contents); in the
   page the parts stay in order (heading, button, cards, arrows). */
@media (max-width: 640px) {
  .container--carousel { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: center; }
  .container--carousel > .section-head, .container--carousel > .carousel { display: contents; }
  .container--carousel > .section-head > div { grid-column: 1 / -1; margin-bottom: 20px; }
  .container--carousel > .section-head > .btn {
    grid-row: 2; grid-column: 1; justify-self: start; min-height: 44px; padding: 0.55rem 1rem; gap: 0.5rem; font-size: 0.9375rem;
  }
  .container--carousel > .carousel > .carousel__controls { grid-row: 2; grid-column: 2; gap: 8px; margin: 0; }
  .container--carousel > .carousel .carousel__progress { display: none; }
  .container--carousel > .carousel .carousel__btn { display: grid; position: static; translate: none; width: 42px; height: 42px; box-shadow: none; }
  .container--carousel > .carousel .carousel__btn .icon { width: 20px; height: 20px; }
  .container--carousel > .carousel .carousel__btn[aria-disabled="true"]:not(:focus-visible) { opacity: 0.4; visibility: visible; }
  .container--carousel > .carousel > .carousel__track { grid-row: 3; grid-column: 1 / -1; margin-top: 8px; }
}

/* ---------- Service cards ---------- */
.service-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.service-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.service-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.05); }
.service-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgb(15 15 15 / 0.28)); }
.service-card__media:not(:has(img))::after { content: none; }
/* a service with no real photo yet shows its icon on a white disc over laid paving (never a stock photo) */
.service-card__placeholder {
  position: absolute; inset: 0; display: grid; place-items: center; color: var(--accent);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='48'%3E%3Cpath d='M0 .5h96M0 24.5h96M.5 0v24M48.5 24v24' stroke='%23ffffff' stroke-opacity='.75' fill='none'/%3E%3C/svg%3E") 0 0 / 96px 48px, var(--stone-2);
}
.service-card__placeholder .icon { width: 84px; height: 84px; padding: 22px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); stroke-width: 1.6; }
.service-card__tag {
  position: absolute; left: 16px; top: 16px; z-index: 1;
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.4rem 0.8rem; border-radius: var(--r-sm);
  background: color-mix(in srgb, var(--ink) 80%, transparent); color: #fff; font-size: 0.8125rem; font-weight: 700;
}
.service-card__tag .icon { width: 15px; height: 15px; color: var(--accent-hi); }
.service-card__body { display: flex; flex: 1; flex-direction: column; padding: 1.4rem 1.5rem 1.3rem; }
.service-card h3 { font-size: 1.6rem; line-height: 1.08; transition: color 0.2s; }
/* the title link covers the whole card: anywhere on it (photo included) opens the service page */
.service-card__link::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.service-card__link:focus-visible { outline: none; }
.service-card:has(.service-card__link:focus-visible) { outline: 3px solid var(--accent-lo); outline-offset: 3px; }
.service-card__body p { margin-top: 0.5rem; font-size: 0.98rem; color: var(--muted); }
.service-card:hover h3 { color: var(--accent-lo); }

.checklist { display: grid; gap: 0.6rem; }
.checklist li { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.98rem; line-height: 1.4; }
.checklist .icon {
  width: 21px; height: 21px; margin-top: -1px; padding: 4px; border-radius: 2px;
  background: var(--accent-tint); color: var(--accent-lo);
}

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(32px, 4vw, 56px) clamp(40px, 6vw, 96px); align-items: center; }
.about__media { position: relative; }
.about__photo { overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); background: var(--mist); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 0.85rem;
  padding: 0.9rem 1.1rem; border-radius: var(--r);
  background: #fff; border-top: 3px solid var(--red); box-shadow: var(--shadow);
}
.float-card--br { right: clamp(-28px, -2vw, -12px); bottom: 36px; }
.float-card img { width: 46px; height: 46px; }
.float-card strong { display: block; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.15; }
.float-card span { display: block; font-size: 0.875rem; color: var(--muted); line-height: 1.3; }
/* no photo of the team yet: the slogan stands in, large, on the logo's black, between the logo's split bars
   (above and below it, as they frame the name on the logo). It starts level with the heading (rule 3) and
   ends level with the buttons (rule 2) */
.about:not(:has(.about__photo)) { align-items: stretch; }
/* (the eyebrow's line is the body text's: 1.0625rem at 1.65, then the heading's 0.9rem margin) */
.about__media:not(:has(.about__photo)) { display: flex; flex-direction: column; padding-top: calc(1.0625rem * 1.65 + 0.9rem); }
.about__media:not(:has(.about__photo)) .float-card {
  position: static; flex: 1; display: grid; place-items: center; min-height: 280px;
  padding: clamp(28px, 4vw, 56px); border: 0; border-radius: var(--r-lg);
  background: var(--ink); box-shadow: var(--shadow-lg); text-align: center;
}
.about__media:not(:has(.about__photo)) .float-card strong {
  max-width: 100%; padding-block: 30px; color: #fff; text-wrap: balance;
  font-size: clamp(2rem, 1.1rem + 1.9vw, 2.9rem); font-weight: 700; line-height: 1.06;
  background:
    linear-gradient(#ff0000, #ff0000) 50% 0 / 100% 3px no-repeat,
    linear-gradient(#ff0000, #ff0000) 50% 5px / 100% 1px no-repeat,
    linear-gradient(#ff0000, #ff0000) 50% calc(100% - 5px) / 100% 1px no-repeat,
    linear-gradient(#ff0000, #ff0000) 50% 100% / 100% 3px no-repeat;
}
.about__body > p { margin-top: 1rem; color: var(--muted); }
.about__body > p:first-of-type { margin-top: 1.4rem; font-size: 1.1875rem; color: var(--text); }
.about__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2.25rem; }
.about > *, .cta-band > *, .areas > *, .detail > * { min-width: 0; }
/* desktop: the photo's height is capped so the section always fits one screen */
@media (min-width: 1081px) and (min-height: 700px) {
  .about { grid-template-columns: 0.9fr 1.1fr; }
  .about__photo { max-height: calc(100svh - var(--header-h) - 2 * clamp(36px, 6vh, 72px)); }
}
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .about__media { width: 100%; max-width: 520px; margin-inline: auto; }
  /* the slogan comes after the words, so the section opens with its heading */
  .about__media:not(:has(.about__photo)) { order: 2; padding-top: 0; }
  .about__media:not(:has(.about__photo)) .float-card { min-height: 0; }
}
@media (max-width: 560px) {
  .float-card--br { right: 12px; bottom: 16px; }
}
/* 1-2-1 Landscapes (30 Nov 2026, Jez's answers to the About questions): the About page under its story: who does what,
   how a job goes and how they look after a customer's home, as white cards on the shaded band, two to a row; the
   numbered steps of a job take the full width, in two columns */
.about-more__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.about-block { padding: clamp(22px, 2.6vw, 36px); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.about-block--wide { grid-column: 1 / -1; }
.about-block__title { font-size: clamp(1.35rem, 1.15rem + 0.7vw, 1.75rem); line-height: 1.15; }
.about-block > p { margin-top: 0.9rem; color: var(--muted); }
.about-steps { counter-reset: step; columns: 2; column-gap: clamp(20px, 3vw, 44px); margin-top: 1.2rem; }
.about-steps li { counter-increment: step; position: relative; padding-left: 2.6rem; margin-bottom: 12px; color: var(--muted); break-inside: avoid; }
.about-steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0.05em; display: grid; place-items: center;
  width: 1.8rem; height: 1.8rem; border-radius: 2px; background: var(--accent-tint); color: var(--accent-lo);
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; line-height: 1;
}
.about-points { display: grid; gap: 0.55rem; margin-top: 1rem; color: var(--muted); }
.about-points li { position: relative; padding-left: 1.25rem; }
.about-points li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 3px; background: var(--bars); }
.about__who strong { font-size: 1.15rem; }
@media (max-width: 800px) {
  .about-more__grid { grid-template-columns: minmax(0, 1fr); }
  .about-steps { columns: 1; }
}

/* ---------- Our work (project cards) ---------- */
/* positioned, so a screen-reader-only word in the card ("(sample)") stays inside it: left to the page, it sits
   out past the carousel's last card and widens the whole page on a phone */
.project { position: relative; display: flex; flex-direction: column; }
.project__media {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden;
  margin: 0; padding: 0; border: 0; border-radius: var(--r-lg); background: var(--mist); cursor: zoom-in;
  box-shadow: var(--shadow-sm);
}
.project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.project__media:hover img, .project__media:focus-visible img { transform: scale(1.05); }
.project__zoom {
  position: absolute; right: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.45rem 0.6rem; border-radius: var(--r-sm);
  background: color-mix(in srgb, var(--ink) 75%, transparent); color: #fff; font-size: 0.8125rem; font-weight: 700; line-height: 1;
  transition: background-color 0.2s;
}
.project__zoom .icon { width: 16px; height: 16px; }
.project__media:hover .project__zoom { background: var(--accent); color: #fff; }
.project__body { padding: 1rem 0.3rem 0; }
.project h3 { font-size: 1.1875rem; letter-spacing: -0.01em; }
/* the service, the town and the month, each after the first with a dot in the gap before it. A dot that would
   start a wrapped line sits left of the 6px side padding, so overflow-x: clip hides it: no line ends or starts
   with a stray dot. The 6px keeps a link's focus ring (3px out, 3px wide) whole, and nothing changes vertically */
.project__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem calc(1rem + 0.2em);
  margin: 0.35rem -6px 0; padding-inline: 6px; overflow-x: clip;
  font-size: 0.9375rem; color: var(--muted);
}
.project__meta > * { position: relative; }
.project__meta > * + *::before {
  content: "\00B7"; content: "\00B7" / ""; position: absolute; right: 100%; width: calc(1rem + 0.2em);
  text-align: center; color: var(--muted); font-weight: 400; pointer-events: none;
}
.project__meta a { position: relative; z-index: 1; font-weight: 600; color: var(--accent-lo); }
.project__meta a:hover { text-decoration: underline; }
/* a job with a page of its own: the title link covers the whole card (the service link in it stays its own) */
.project--page .project__media { cursor: pointer; }
.project__link::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.project__link:focus-visible { outline: none; }
.project--page:has(.project__link:focus-visible) { outline: 3px solid var(--accent-lo); outline-offset: 4px; border-radius: var(--r-lg); }
.project--page .project__meta a { z-index: 3; }
.project--page h3 { transition: color 0.2s; }
.project--page:hover h3 { color: var(--accent-lo); }
.project--page:hover .project__media img { transform: scale(1.05); }
/* a sample job (made-up details that show the layout) always says so */
.project__sample {
  position: absolute; left: 12px; top: 12px; z-index: 1;
  padding: 0.3rem 0.65rem; border-radius: var(--r-sm);
  background: color-mix(in srgb, var(--ink) 78%, transparent); color: #fff; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.02em;
}
.sample-note {
  margin-top: 1.1rem; padding: 0.7rem 1rem; border-left: 3px solid var(--red); border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: var(--accent-tint); color: var(--ink); font-size: 0.95rem; line-height: 1.55;
}
/* a service card with no page of its own (the one-page package) is not a link, so it doesn't lift */
.service-card--plain:hover { transform: none; border-color: var(--line); box-shadow: var(--shadow-sm); }
.service-card--plain:hover .service-card__media img { transform: none; }
.service-card--plain:hover h3 { color: inherit; }

/* ---------- A job's photos (partials/photo-display) ----------
   One box whose shape the design sets (--pd-ratio), whatever the mode, so the page around it never moves:
   before and after with a slider; one photo; folding panels (two to five photos); a mosaic (six or more). */
.pd { position: relative; overflow: hidden; aspect-ratio: var(--pd-ratio, 4 / 3); border-radius: inherit; background: var(--mist); isolation: isolate; }
.pd img { width: 100%; height: 100%; object-fit: cover; }
/* buttons inside take their look from their own class (zero specificity here, so any class wins) */
:where(.pd button) { padding: 0; border: 0; background: none; color: inherit; font: inherit; }
.pd__item, .pd__tile { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; cursor: zoom-in; }
.pd__item img, .pd__tile img { transition: transform 0.7s var(--ease); }
.pd__item:hover img, .pd__tile:hover img { transform: scale(1.03); }
/* a photo that fills the box takes its rounded corners, so its focus ring follows them */
.pd__item { border-radius: inherit; }
/* keyboard focus: a ring drawn inside the photo (one outside would be cut off by the box) and over it (over a
   zoomed photo and the "+2" veil too), red with a dark band inside so it shows on light and dark photos alike.
   The transparent outline is for forced colours (Windows High Contrast), which drops shadows but draws outlines
   in the system colour. */
.pd__item:focus-visible, .pd__tile:focus-visible, .pd__fold-open:focus-visible { outline: none; }
.pd__item:focus-visible::after, .pd__tile:focus-visible::after, .pd__fold-open:focus-visible::after {
  content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 3px var(--accent-hi), inset 0 0 0 5px var(--ink); outline: 3px solid transparent; outline-offset: -3px;
}
/* the small round marks on top of the photos (zoom, captions, tags, "+2") share one look */
.pd__zoom, .pd__caption, .pd__tag, .pd__more, .pd__expand, .pd__zoom-btn {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.4rem 0.7rem; border-radius: var(--r-sm); font-size: 0.8125rem; font-weight: 700; line-height: 1.2;
  background: color-mix(in srgb, var(--ink) 76%, transparent); color: #fff;
}
.pd .icon { width: 16px; height: 16px; }
/* the zoom mark sits at the top right of the main photo in every mode (the "Sample" badge takes the top left) */
.pd__zoom { top: 12px; right: 12px; padding: 0.45rem; pointer-events: none; transition: background-color 0.2s, color 0.2s; }
.pd__item:hover .pd__zoom, .pd__tile:hover .pd__zoom { background: var(--accent); color: #fff; }
.pd__sample { z-index: 3; pointer-events: none; }
.pd__caption { left: 12px; bottom: 12px; max-width: calc(100% - 24px); pointer-events: none; }

/* before and after: the "after" photo, with the "before" photo over it cut off at the slider */
/* drag sideways anywhere on it (main.js); a vertical swipe still scrolls the page and a pinch still zooms */
.pd--compare { --pos: 50%; container-type: inline-size; user-select: none; touch-action: pan-y pinch-zoom; cursor: ew-resize; }
.pd--compare img { pointer-events: none; }
.pd__after { position: absolute; inset: 0; }
.pd__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.pd__line { position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 2; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 10px rgb(0 0 0 / 0.35); pointer-events: none; }
.pd__knob {
  position: absolute; top: 50%; left: 50%; display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 2px solid #fff; border-radius: 50%;
  background: color-mix(in srgb, var(--ink) 55%, transparent); color: #fff; box-shadow: 0 6px 18px rgb(0 0 0 / 0.35);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.pd__knob .icon { width: 15px; height: 15px; }
/* each label keeps to its own half (a long one wraps rather than running into the other) */
.pd__tag { bottom: 12px; max-width: calc(50% - 18px); overflow-wrap: anywhere; pointer-events: none; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.75rem; }
.pd__tag--before { left: 12px; }
.pd__tag--after { right: 12px; }
/* a narrow box: tighter labels, so a long word ("Waterproofing") still fits on one line */
@container (max-width: 400px) { .pd__tag { padding-inline: 0.5rem; font-size: 0.6875rem; letter-spacing: 0.02em; } }
/* the slider itself: invisible, for the keyboard (arrow keys) and screen readers; the pointer drags the box */
.pd__range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.pd__range:focus-visible ~ .pd__line .pd__knob { outline: 3px solid var(--accent-hi); outline-offset: 3px; }
.pd__expand { top: 12px; right: 12px; z-index: 4; padding: 0.45rem; cursor: zoom-in; transition: background-color 0.2s, color 0.2s; }
.pd__expand:hover { background: var(--accent); color: #fff; }
/* more photos than the pair: the button says how many open in the photo viewer */
.pd__expand--count { padding: 0.4rem 0.7rem; }

/* folding panels: one photo open, the rest folded into strips beside it; hover or tap a strip to open it */
.pd--accordion { display: flex; gap: 4px; background: #fff; }
.pd__fold { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: 6px; transition: flex-grow 0.55s var(--ease); }
.pd__fold.is-open { flex-grow: 6; }
@media (hover: hover) {
  .pd--accordion:hover .pd__fold { flex-grow: 1; }
  .pd--accordion .pd__fold:hover { flex-grow: 6; }
}
.pd__fold-open { display: block; width: 100%; height: 100%; cursor: pointer; }
.pd__fold-open img { filter: saturate(0.7) brightness(0.85); transition: filter 0.4s; }
.pd__fold.is-open .pd__fold-open img, .pd__fold:hover .pd__fold-open img, .pd__fold-open:focus-visible img { filter: none; }
.pd__fold .pd__caption, .pd__zoom-btn { opacity: 0; transition: opacity 0.3s; }
.pd__zoom-btn { top: 12px; right: 12px; padding: 0.45rem; cursor: zoom-in; }
.pd__fold.is-open .pd__caption, .pd__fold.is-open .pd__zoom-btn { opacity: 1; }
@media (hover: hover) {
  .pd--accordion:hover .pd__fold.is-open:not(:hover) .pd__caption, .pd--accordion:hover .pd__fold.is-open:not(:hover) .pd__zoom-btn { opacity: 0; }
  .pd__fold:hover .pd__caption, .pd__fold:hover .pd__zoom-btn { opacity: 1; }
}
.pd__fold:focus-within .pd__zoom-btn { opacity: 1; }
/* on a touch screen a tap on a folded strip opens it out, even where its (hidden) zoom button sits */
@media (hover: none) { .pd__fold:not(.is-open) .pd__zoom-btn { pointer-events: none; } }

/* a mosaic: one large photo and up to three more beside it ("+2" when there are more still) */
.pd--mosaic { display: grid; gap: 4px; background: #fff; }
.pd--tiles-2 { grid-template-columns: 1fr 1fr; }
.pd--tiles-3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.pd--tiles-3 .pd__tile:first-child { grid-row: span 2; }
.pd--tiles-4 { grid-template-columns: 2fr 1fr; grid-template-rows: repeat(3, 1fr); }
.pd--tiles-4 .pd__tile:first-child { grid-row: span 3; }
.pd__tile { border-radius: 6px; }
.pd__tile:first-child { border-radius: 0; }
.pd__more { inset: 0; justify-content: center; border-radius: 0; font-size: 1.5rem; background: color-mix(in srgb, var(--ink) 55%, transparent); }

@media (prefers-reduced-motion: reduce) {
  .pd img, .pd__fold, .pd__fold-open img { transition: none !important; }
}

/* project pages: the service, the town, the month and the time on site under the heading, each with its icon */
.job-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin-top: 1rem; font-weight: 600; color: var(--muted); }
.job-meta li { display: inline-flex; align-items: center; gap: 0.45rem; }
.job-meta .icon { width: 18px; height: 18px; color: var(--accent-lo); }
.job-meta a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.job-meta a:hover { color: var(--accent-lo); }

/* Lightbox */
.lightbox {
  width: min(100vw - 32px, 1100px); max-width: none; max-height: calc(100vh - 32px);
  padding: 0; border: 0; border-radius: var(--r-lg); background: transparent; color: #fff; overflow: visible;
}
.lightbox:not([open]) { display: none; }
.lightbox::backdrop { background: rgb(12 11 10 / 0.9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox[open] { animation: rise 0.35s var(--ease); }
.lightbox figure { margin: 0; }
.lightbox img { width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border-radius: var(--r); background: #000; }
.lightbox figcaption { margin-top: 0.9rem; text-align: center; font-weight: 600; color: rgb(255 255 255 / 0.85); }
.lightbox__btn {
  position: absolute; top: 50%; z-index: 2; display: grid; place-items: center;
  width: 52px; height: 52px; margin-top: -40px; padding: 0;
  border: 1px solid rgb(255 255 255 / 0.2); border-radius: var(--r-sm);
  background: color-mix(in srgb, var(--ink) 72%, transparent); color: #fff;
  transition: background-color 0.2s;
}
.lightbox__btn:hover { background: var(--accent); border-color: var(--accent); }
.lightbox__btn .icon { width: 24px; height: 24px; }
.lightbox__btn--prev { left: 12px; }
.lightbox__btn--next { right: 12px; }
.lightbox__btn--close { top: 12px; right: 12px; margin-top: 0; width: 46px; height: 46px; }
.lightbox.is-single .lightbox__btn--prev, .lightbox.is-single .lightbox__btn--next { display: none; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.rating-card {
  position: relative; overflow: hidden; padding: 2.25rem 2rem 2rem;
  border-radius: var(--r-lg); background: var(--ink); color: #fff; box-shadow: var(--shadow-lg);
}
/* the logo's split bars along the top of the dark cards */
.rating-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--bars);
}
.rating-card__top { position: relative; display: flex; align-items: center; gap: 0.75rem; font-weight: 700; }
.rating-card__score { position: relative; display: flex; align-items: flex-end; gap: 0.6rem; margin-top: 1.5rem; }
.rating-card__score strong { font-family: var(--font-display); font-size: 4.5rem; font-weight: 800; line-height: 0.9; letter-spacing: -0.04em; }
.rating-card__score span { padding-bottom: 0.35rem; color: var(--on-dark-muted); font-weight: 600; }
.rating-card p { position: relative; margin-top: 1rem; color: var(--on-dark-muted); font-size: 0.98rem; }
.rating-card p strong { color: #fff; }
.rating-card__actions { position: relative; display: grid; gap: 0.6rem; margin-top: 1.6rem; }
.rating-card__actions .btn { min-height: 48px; font-size: 0.9375rem; }
/* Google's own G (images/google-g.png), only in the "View on Google" button: on white, with clear space
   at least as wide as the G on every side */
.rating-card__actions .g { width: 16px; height: 16px; margin-right: 0.5rem; }
/* no review quoted yet (each reviewer has to agree first). 1-2-1 Landscapes (25 Nov 2026, Adam: "the google reviews
   section is lacking - the design needs recompleting if we're not including the actual quotes"; then "I'm not sure the
   'our work' should be shown again in reviews"): the rating on Google and the rating on Facebook, cards of one shape,
   each a big figure, a line and a way to see more, the buttons level along the bottom. Wide screens: the heading on
   the left, the two cards side by side on the right (reviews-split); tablets: the heading over them; phones: one
   column. */
.reviews-split { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.reviews-split > .section-head { margin-bottom: 0; }
.reviews--solo { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
.reviews--solo .rating-card { display: flex; flex-direction: column; min-height: 300px; }
.reviews--solo .rating-card__actions { grid-template-columns: 1fr; margin-top: auto; padding-top: 1.6rem; }
@media (max-width: 1000px) {
  .reviews-split { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .reviews-split > .section-head { margin-bottom: clamp(28px, 5vw, 48px); }
}

.review {
  display: flex; flex-direction: column;
  padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: #fff; box-shadow: var(--shadow-sm);
}
.review__head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.review__quote { width: 28px; height: 28px; color: var(--red); opacity: 0.3; }
/* long reviews are trimmed; the full text is a click away via "View on Google" */
.review__text {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; line-clamp: 6; overflow: hidden;
  margin-top: 1rem; font-size: 1.0625rem; line-height: 1.6; color: var(--text);
}
.review__text--empty { color: var(--muted); font-style: italic; }
.review__author { display: flex; align-items: flex-end; gap: 0.75rem; margin-top: auto; padding-top: 1.25rem; }
.review__avatar {
  display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 1.125rem;
}
.review:nth-child(3n + 2) .review__avatar { background: var(--ink); }
.review:nth-child(3n + 3) .review__avatar { background: var(--stone-2); color: var(--text); }
.review__name { font-weight: 700; line-height: 1.25; text-wrap: balance; }
@media (max-width: 960px) {
  .reviews:not(.reviews--solo) { grid-template-columns: 1fr; }
  .rating-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 1.5rem; }
  .rating-card__top, .rating-card p { grid-column: 1 / -1; }
  .rating-card__actions { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .rating-card { display: block; }
  .rating-card__actions, .reviews--solo .rating-card__actions { grid-template-columns: 1fr; }
  .reviews--solo { grid-template-columns: minmax(0, 1fr); }
  .reviews--solo .rating-card { min-height: 0; }
}

/* ---------- CTA band (optional home page section) ---------- */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 1.25fr 0.75fr; align-items: stretch;
  border-radius: calc(var(--r-lg) + 4px); background: var(--ink); color: #fff; box-shadow: var(--shadow-lg);
}
.cta-band::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; z-index: 2; height: 6px; background: var(--bars);
}
.cta-band__body { padding: clamp(32px, 6vw, 72px); }
.cta-band h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); margin-top: 0.9rem; }
.cta-band p { max-width: 520px; margin-top: 1.1rem; font-size: 1.125rem; color: rgb(255 255 255 / 0.8); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.cta-band__pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.75rem; }
.pill {
  display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.8rem; border-radius: var(--r-sm);
  background: rgb(255 255 255 / 0.07); border: 1px solid rgb(255 255 255 / 0.12);
  font-size: 0.85rem; font-weight: 600; color: rgb(255 255 255 / 0.88);
}
.pill .icon { width: 14px; height: 14px; color: var(--accent-hi); }
.cta-band__media { position: relative; min-height: 320px; }
.cta-band__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.cta-band__media::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, var(--ink) 0%, transparent 40%);
}
@media (max-width: 860px) {
  .cta-band { grid-template-columns: 1fr; }
  .cta-band__media { min-height: 280px; order: -1; }
  .cta-band__media::before { background: linear-gradient(0deg, var(--ink) 0%, transparent 55%); }
  .cta-band__actions .btn { flex: 1 1 100%; }
}

/* ---------- Areas (town list + map) ---------- */
.areas { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(28px, 4.5vw, 72px); align-items: center; }
.areas--no-map { grid-template-columns: minmax(0, 820px); }
.areas__body > p { margin-top: 1.1rem; color: var(--muted); font-size: 1.0625rem; }
.areas__body > p + p { margin-top: 0.8rem; }
.area-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.6rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.45rem 0.85rem 0.45rem 0.65rem; border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  background: #fff; font-size: 1rem; font-weight: 600; line-height: 1.2; color: var(--text);
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
button.chip { cursor: default; }
.js button.chip { cursor: pointer; }
.js button.chip:hover { border-color: var(--text); }
.chip .icon { width: 15px; height: 15px; color: var(--accent); }
.chip--home { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip--home .icon { color: var(--accent-hi); }
.js button.chip--home:hover { background: var(--ink-3); border-color: var(--ink-3); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip[aria-pressed="true"] .icon { color: #fff; }
.chip--more { background: transparent; border-style: dashed; color: var(--muted); }
/* 1-2-1 Landscapes (25 Nov 2026, as on Loosey Goosey's; Adam: "where we work section on mobile is overwhelming, lets
   introduce the drop down ... to keep the locations contained"): on phones the 38 towns and villages fold away behind
   one button and open as a tidy two-column list. They stay in the page, so Google still reads every place, and they
   simply show without JavaScript */
.areas__toggle { display: none; }
@media (max-width: 640px) {
  .js .areas__toggle {
    display: flex; align-items: center; gap: 0.6rem; width: 100%; min-height: 52px; margin-top: 1.4rem; padding: 0.75rem 1rem;
    border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: #fff;
    color: var(--text); font: inherit; font-weight: 700; text-align: left; cursor: pointer;
  }
  .areas__toggle .icon { flex: none; width: 18px; height: 18px; color: var(--accent); }
  .areas__toggle-arrow { margin-left: auto; transition: transform 0.2s var(--ease); }
  .areas__toggle[aria-expanded="true"] .areas__toggle-arrow { transform: rotate(180deg); }
  .area-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.4rem; margin-top: 1.2rem; }
  .js .areas .area-chips { margin-top: 0.6rem; }
  .js .areas .area-chips:not(.is-open) { display: none; }
  .area-chips > li { display: flex; min-width: 0; }
  .area-chips > li > .chip { flex: 1; min-width: 0; }
  .area-chips .chip { gap: 0.35rem; padding-inline: 0.55rem 0.6rem; font-size: 0.875rem; }
  .area-chips .chip .icon { width: 13px; height: 13px; }
}
.areas__note {
  display: flex; align-items: center; gap: 0.9rem; margin-top: 1.5rem; padding: 0.9rem 1.1rem;
  border: 1px solid var(--line); border-radius: var(--r); background: #fff; font-weight: 600; line-height: 1.4;
}
.areas__note .icon { width: 40px; height: 40px; padding: 9px; border-radius: var(--r-sm); background: var(--accent-tint); color: var(--accent-lo); }
@media (max-width: 900px) { .areas { grid-template-columns: minmax(0, 1fr); } }

/* The map: an SVG drawing of the area, with the towns as pins on top. main.js zooms it
   by changing the visible part (--vx, --vy: top-left corner; --vf: share of the map shown). */
.map { position: relative; --vx: 0; --vy: 0; --vf: 1; }
.map__frame {
  position: relative; isolation: isolate; aspect-ratio: 1; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: #f6f3ee; box-shadow: var(--shadow);
  container-type: inline-size;
}
.map__base { position: absolute; inset: 0; width: 100%; height: 100%; }
/* a warm, quiet map: stone land, sandy towns, grey-green water, so the red ring and pins lead */
.map__land { fill: #f7f4ef; }
.map__builtup { fill: #e9e2d7; }
.map__water { fill: #cbd8d5; }
.map__river { fill: none; stroke: #9fb5b0; stroke-width: 1.6px; stroke-linecap: round; stroke-linejoin: round; }
.map__road { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.map__road--minor { stroke: #ddd4c7; stroke-width: 1.2px; }
.map__road--casing { stroke: #cbc1b2; stroke-width: 4px; }
.map__road--major { stroke: #fff; stroke-width: 2.2px; }
.map__area { fill: rgb(255 0 0 / 0.035); stroke: var(--red); stroke-width: 1.6px; stroke-dasharray: 7 6; }

.map__pins { position: absolute; inset: 0; z-index: 1; }
.map__pin {
  position: absolute; width: 0; height: 0; cursor: pointer;
  left: calc((var(--x) - var(--vx)) / var(--vf) * 100%);
  top: calc((var(--y) - var(--vy)) / var(--vf) * 100%);
}
.map__pin::before {
  content: ""; position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--red); border: 2px solid #fff; box-shadow: 0 1px 4px rgb(0 0 0 / 0.3);
  transition: transform 0.2s var(--ease);
}
.map__pin.is-base::before { left: -9px; top: -9px; width: 18px; height: 18px; background: var(--ink); border: 3px solid var(--red); }
.map__pin:hover::before { transform: scale(1.25); }
.map__pin.is-active { z-index: 2; }
.map__pin.is-active::before { transform: scale(1.45); }
.map__pin.is-active::after {
  content: ""; position: absolute; left: -14px; top: -14px; width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--accent); animation: ping 1.6s var(--ease) infinite;
}
@keyframes ping { from { opacity: 0.9; transform: scale(0.5); } to { opacity: 0; transform: scale(1.6); } }
.map__label {
  position: absolute; top: 0; left: 0; transform: translate(9px, -50%);
  white-space: nowrap; font-size: 12.5px; font-weight: 700; line-height: 1.2; color: var(--ink); pointer-events: none;
  text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 2px #fff, 0 0 1px #fff;
  transition: opacity 0.2s;
}
.map__pin.is-left .map__label { transform: translate(calc(-100% - 9px), -50%); }
.map__pin.is-top .map__label { transform: translate(-50%, calc(-100% - 11px)); }
.map__pin.is-bottom .map__label { transform: translate(-50%, 11px); }
.map__pin.is-base .map__label { font-size: 13.5px; }
.map__pin.is-minor .map__label { opacity: 0; }
.map.is-zoomed .map__label, .map__pin:hover .map__label, .map__pin.is-active .map__label { opacity: 1; }
/* small maps: only the base and the towns with their own page are named until you zoom in */
@container (max-width: 480px) {
  .map__pin:not(.is-base, .is-page, .is-active) .map__label { opacity: 0; }
  .map__label { font-size: 11px; }
  .map__pin.is-base .map__label { font-size: 12px; }
}

.map__reset {
  position: absolute; right: 12px; top: 12px; z-index: 3;
  display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.5rem 0.85rem;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: #fff; box-shadow: var(--shadow-sm);
  font-size: 0.875rem; font-weight: 700; line-height: 1.2;
}
.map__reset:hover { border-color: var(--accent); }
.map__reset .icon { width: 16px; height: 16px; color: var(--accent-lo); }
.map__reset[hidden] { display: none; }
.map__credit { position: absolute; right: 10px; bottom: 6px; z-index: 3; font-size: 10.5px; color: rgb(23 22 21 / 0.62); }
.map__credit a { text-decoration: underline; }
.map__card {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0.15rem 1rem;
  min-height: 76px; margin-top: 12px; padding: 0.8rem 1.1rem;
  border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: var(--shadow-sm);
  font-size: 0.9375rem; line-height: 1.4;
}
.map__card > :not(.map__card-actions) { grid-column: 1; }
.map__card-actions { grid-column: 2; grid-row: 1 / span 3; }
.map__card-title { display: flex; align-items: center; gap: 0.45rem; font-family: var(--font-display); font-size: 1.125rem; line-height: 1.2; }
.map__card-title .icon { width: 18px; height: 18px; color: var(--accent-lo); }
.map__card-text { color: var(--muted); }
.map__card-links { color: var(--muted); }
.map__card-links a { font-weight: 700; color: var(--accent-lo); }
.map__card-links a:hover { text-decoration: underline; }
.map__card-links a:not(:last-child)::after { content: ","; color: var(--muted); font-weight: 400; margin-right: 0.35em; }
.map__card-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.5rem; }
@media (max-width: 560px) {
  .map__card { grid-template-columns: minmax(0, 1fr); }
  .map__card-actions { grid-column: 1; grid-row: auto; justify-content: flex-start; margin-top: 0.5rem; }
}

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact__lead { margin-top: 1.1rem; }
.contact__cards { display: grid; gap: 14px; margin-top: 2rem; }
.contact-card {
  display: flex; align-items: center; gap: 1rem; padding: 1.05rem 1.3rem;
  border: 1px solid var(--line); border-radius: var(--r); background: #fff;
  transition: box-shadow 0.2s var(--ease), border-color 0.2s;
}
.contact-card:hover { border-color: var(--text); box-shadow: var(--shadow-sm); }
.contact-card__icon { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: var(--r-sm); background: var(--accent-tint); color: var(--accent-lo); }
.contact-card__icon .icon { width: 24px; height: 24px; }
.contact-card--wa .contact-card__icon { background: #e3f9eb; color: #128c4b; }
.contact-card--fb .contact-card__icon { background: #e8f0fe; color: #1877f2; }
.contact-card__label { display: block; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.contact-card__value { display: block; font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; line-height: 1.15; overflow-wrap: anywhere; }
/* phones: the email address fits on one line (the arrow is only a hint, so it goes) */
@media (max-width: 560px) {
  .contact-card { padding-inline: 1rem; }
  .contact-card__value { font-size: 1.15rem; }
  .contact-card > .icon { display: none; }
}
.contact-card > .icon { margin-left: auto; width: 20px; height: 20px; color: var(--faint); transition: transform 0.2s var(--ease), color 0.2s; }
.contact-card:hover > .icon { transform: translateX(3px); color: var(--accent); }
/* 1-2-1 Landscapes (30 Nov 2026): the landline (an answer phone), a line under the three ways in */
.contact__landline { margin-top: 0.9rem; font-size: 0.98rem; color: var(--muted); }
.contact__landline a { font-weight: 700; color: var(--text); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
@media (max-width: 640px) {
  .contact__landline { margin-top: 0.7rem; font-size: 0.9rem; }
}
/* Instagram, Facebook and the Google listing, together (Adam's design rule 5). 1-2-1 Landscapes (25 Nov 2026, Adam:
   they "don't look good ... they need reworking on mobile & desktop to fit the design & line up better"): a small label
   and a row of three equal buttons, the full width of the column, in the contact cards' own style (white, the same line
   and corners), each its icon and name; on phones the same three columns and gap as the tiles above, so the two rows
   line up */
.contact__follow { margin-top: 1.5rem; }
.contact__follow-label { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.contact__socials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 0.6rem; }
.contact-social {
  display: flex; align-items: center; justify-content: center; gap: 0.55rem; min-height: 56px; padding: 0.6rem 0.75rem;
  border: 1px solid var(--line); border-radius: var(--r); background: #fff; color: var(--text); font-weight: 700; line-height: 1.2;
  transition: border-color 0.2s, box-shadow 0.2s, color 0.2s;
}
.contact-social .icon { flex: none; width: 20px; height: 20px; transition: color 0.2s; }
.contact-social:hover { border-color: var(--text); box-shadow: var(--shadow-sm); }
.contact-social:hover .icon { color: var(--accent-lo); }
@media (max-width: 640px) {
  .contact__follow { margin-top: 1.1rem; }
  .contact__follow-label { font-size: 0.75rem; }
  .contact__socials { gap: 8px; margin-top: 0.5rem; }
  .contact-social { min-height: 48px; padding: 0.5rem 0.3rem; gap: 0.4rem; font-size: 0.875rem; }
  .contact-social .icon { width: 18px; height: 18px; }
}

/* "#contact-<service>" targets: at the top of the section, so they land exactly like #contact */
.has-anchors { position: relative; }
.anchor { position: absolute; top: 0; }

.quote {
  position: relative; overflow: hidden; padding: clamp(24px, 4vw, 40px);
  border-radius: var(--r-lg); background: var(--ink); color: #fff; box-shadow: var(--shadow-lg);
}
.quote::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--bars); }
.quote > * { position: relative; }
.quote h3 { font-size: 2.1rem; }
.quote > p { margin-top: 0.5rem; color: var(--on-dark-muted); }
.quote__form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.75rem; }
.field { display: grid; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.875rem; font-weight: 600; color: rgb(255 255 255 / 0.85); }
.field__optional { opacity: 0.6; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.85rem 1rem;
  border: 1px solid rgb(255 255 255 / 0.34); border-radius: var(--r-sm);
  background: rgb(255 255 255 / 0.05); color: #fff; font: inherit; font-size: 1rem;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, rgb(255 255 255 / 0.65) 50%), linear-gradient(135deg, rgb(255 255 255 / 0.65) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.5rem; }
.field select option { color: var(--text); }
.field input::placeholder, .field textarea::placeholder { color: rgb(255 255 255 / 0.6); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent-hi); background-color: rgb(255 255 255 / 0.08); box-shadow: 0 0 0 4px rgb(255 65 54 / 0.28);
}
.quote__actions {
  grid-column: 1 / -1; display: grid; gap: 0.75rem; margin-top: 0.4rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}
.quote__note { grid-column: 1 / -1; font-size: 0.8125rem; color: rgb(255 255 255 / 0.55); }
@media (min-width: 1081px) and (min-height: 700px) {
  .field textarea { min-height: 96px; }
}
/* wide screens: the quote card starts level with the heading, not the eyebrow (Adam's design rule 3), and the
   left column ends level with it, the socials pinned to its foot (rule 2) */
@media (min-width: 961px) {
  .contact { align-items: stretch; }
  .contact > :first-child { display: flex; flex-direction: column; }
  .contact > .quote { margin-top: calc(0.8125rem * 1.65 + 0.9rem); }
  .contact .contact__follow { margin-top: auto; padding-top: 1.5rem; }
}
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }
/* 1-2-1 Landscapes (25 Nov 2026, as on Loosey Goosey's; Adam: the contact section "is too long and doesn't fit the phone
   screen"). Phones: Call, WhatsApp and Email side by side as three tiles, an icon over a word (the number and the
   address stay in the links for screen readers and Google); the form's boxes all one height, the two short ones side
   by side, its intro left out (the note under the buttons says the same) and the buttons side by side as "WhatsApp"
   and "Email". The boxes keep 16px text: iOS zooms in on anything smaller. */
.phone-only { display: none; }
@media (max-width: 640px) {
  .phone-hide { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .phone-only { display: inline; }
  .contact__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 1.5rem; }
  .contact-card { flex-direction: column; justify-content: center; gap: 0.55rem; padding: 0.95rem 0.4rem 0.85rem; text-align: center; }
  .contact-card__icon { width: 44px; height: 44px; }
  .contact-card__icon .icon { width: 22px; height: 22px; }
  .contact-card > .icon { display: none; }
  .contact-card__label { font-size: 0.9375rem; letter-spacing: 0; text-transform: none; color: var(--text); }
  .quote { padding: 22px 16px 18px; }
  .quote h3 { font-size: 1.75rem; }
  .quote > p { display: none; }
  .quote__form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem 0.6rem; margin-top: 1rem; }
  .field { gap: 0.3rem; align-content: end; }
  .field label { font-size: 0.8125rem; line-height: 1.25; }
  .field input, .field select, .field textarea { min-width: 0; min-height: 46px; padding: 0.55rem 0.75rem; }
  .field input, .field select { height: 46px; }
  .field select { padding-right: 2rem; background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; }
  .field textarea { min-height: 78px; }
  .quote__actions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; margin-top: 0.15rem; }
  .quote__actions .btn { min-height: 48px; padding-inline: 0.5rem; }
  .quote__note { font-size: 0.75rem; line-height: 1.4; }
}
/* the smallest phones: too narrow for boxes in pairs, so one to a row (the buttons stay side by side) */
@media (max-width: 359px) { .quote__form { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Page head (the Services page, plain pages, the 404 page): words on stone, like the hero ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--stone); color: var(--text); border-bottom: 1px solid var(--line); }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
/* a photo behind the words gets a stone veil on the left, so they stay readable */
.page-hero:has(.page-hero__media)::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgb(245 242 237 / 0.97) 0%, rgb(245 242 237 / 0.9) 45%, rgb(245 242 237 / 0.35) 100%);
}
.page-hero__inner { padding-block: clamp(48px, 7vw, 92px); }
.page-hero--tall { display: flex; flex-direction: column; justify-content: center; min-height: calc(100svh - var(--header-h) - var(--footer-h)); }
.page-hero--tall .page-hero__inner { padding-block: clamp(72px, 11vw, 136px); }
.page-hero h1 { max-width: 820px; margin-top: 1rem; font-size: clamp(2.6rem, 1.5rem + 3.8vw, 4.5rem); font-weight: 700; letter-spacing: -0.015em; line-height: 1.02; animation: rise 0.9s 0.08s var(--ease) both; }
.page-hero__inner > p { max-width: 620px; margin-top: 1.25rem; font-size: 1.1875rem; color: var(--muted); animation: rise 0.9s 0.16s var(--ease) both; }
.page-hero .hero__actions { animation: rise 0.9s 0.24s var(--ease) both; }
.page-hero__inner > .page-hero__proof { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-top: 1.75rem; font-size: 1rem; color: var(--text); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.5rem; font-size: 0.9375rem; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; gap: 0.5rem; }
.crumbs li + li::before { content: "/"; color: var(--faint); }
.crumbs a { color: var(--text); font-weight: 600; }
.crumbs a:hover { color: var(--accent-lo); text-decoration: underline; }
@media (max-width: 760px) { .page-hero .hero__actions .btn { flex: 1 1 100%; } }

/* ---------- Service pages: just the content, no hero ---------- */
.service-page { padding-block: clamp(28px, 4vw, 56px) clamp(64px, 9vw, 112px); }
.service-page__title { margin-bottom: 1.25rem; font-size: clamp(2.2rem, 1.5rem + 2.4vw, 3.4rem); letter-spacing: -0.03em; }
.service-page .detail { align-items: start; }
.service-page__more { margin-top: clamp(56px, 7vw, 88px); }
.service-page__more > .detail__title { margin: 0 0 1.5rem; }
.jobs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 28px 24px; }
.detail { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.detail__intro { font-size: 1.1875rem; line-height: 1.6; }
.detail__intro + .detail__intro { margin-top: 1rem; font-size: 1.0625rem; color: var(--muted); }
.detail__title { margin-top: 2.25rem; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.checklist--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem 1.5rem; margin-top: 1.3rem; }
.detail__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2.25rem; }
.detail__media > img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
/* the photo sits beside the intro on wide screens, and straight after it on phones */
.service-page .detail { grid-template-areas: "lead media" "more media"; grid-template-rows: auto 1fr; row-gap: 0; }
/* no photo yet: one readable column (beats the phone layout below too) */
.service-page .detail.detail--text { grid-template-columns: minmax(0, 1fr); grid-template-areas: "lead" "more"; max-width: 760px; }
.detail__lead { grid-area: lead; }
.detail__more { grid-area: more; }
.service-page .detail__media { grid-area: media; }
.detail__credentials { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 1.25rem; font-weight: 600; }
.detail__credentials li { display: inline-flex; align-items: center; gap: 0.45rem; }
.detail__credentials .icon { color: var(--accent-lo); }
.detail__credentials a { text-decoration: underline; text-underline-offset: 3px; }
/* the owner's own sections ("sections" in site.json): a comfortable reading width */
.service-section { max-width: 760px; margin-top: clamp(48px, 6vw, 72px); }
.service-section > .detail__title { margin: 0 0 1rem; }
.service-section > p { line-height: 1.65; }
.service-section > p + p { margin-top: 0.9rem; }
.service-section .checklist { margin-top: 1.2rem; }
.project__text { margin-top: 0.4rem; font-size: 0.95rem; color: var(--muted); }
/* project pages: a sample's note sits under the heading, before the story */
.sample-note + .detail__intro { margin-top: 1.25rem; }
/* project pages, wide screens: the facts and the one button sit under the photo, so the button is on the first screen */
@media (min-width: 901px) { .project-page .detail { grid-template-areas: "lead media" "lead more"; } }
/* project pages (the standard layout): the photos in the media slot, headed parts of the story, and a line
   above the one button */
.project-page .detail__media .pd { --pd-ratio: 5 / 4; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.project-page .job-meta { margin: -0.25rem 0 0; }
.project-section { margin-top: 1.75rem; }
.project-section > .detail__title { margin: 0 0 0.6rem; font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); }
.project-section > p { line-height: 1.65; }
.project-section > p + p { margin-top: 0.8rem; }
.project-section .checklist { margin-top: 0.9rem; }
.detail__cta-lead { margin-top: 1.5rem; font-weight: 700; }
.detail__cta-lead + .detail__actions { margin-top: 0.75rem; }
@media (max-width: 900px) {
  .detail { grid-template-columns: minmax(0, 1fr); }
  .service-page .detail { grid-template-areas: "lead" "media" "more"; grid-template-rows: auto; row-gap: 1.75rem; }
  .service-page .detail__more > .detail__title:first-child { margin-top: 0.5rem; }
}
@media (max-width: 560px) { .checklist--cols { grid-template-columns: 1fr; } }

/* FAQ (service pages, when a service has "faqs") */
.faq__list { display: grid; gap: 0.75rem; max-width: 880px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.3rem; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.0625rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--red); transition: transform 0.2s var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 1.3rem 1.2rem; color: var(--muted); }

/* ---------- Footer: one slim bar in the logo's black (Adam's design rule 4): the ©, the name, the privacy
   notice. Its height is --footer-h, so the last home page section and the footer make one screen ---------- */
.footer { background: var(--ink-deep); color: var(--on-dark-muted); font-size: 0.9375rem; }
.footer__bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.25rem 1.5rem;
  min-height: var(--footer-h); padding-block: 0.6rem;
}
.footer__bar p { margin: 0; }
.footer__links { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.footer__links a { color: var(--on-dark); text-decoration: underline; text-decoration-color: rgb(255 255 255 / 0.3); text-underline-offset: 3px; transition: color 0.2s, text-decoration-color 0.2s; }
.footer__links a:hover { color: #fff; text-decoration-color: var(--accent-hi); }
@media (max-width: 560px) { .footer__bar { flex-direction: column; justify-content: center; padding-block: 0.9rem; text-align: center; } }

/* ---------- The van on the footer (Adam, 18 Nov 2026: "can we switch the mower for this?") ----------
   Adam's drawing of a 1-2-1 Landscapes van (brand.van) drives along the top of the black footer as if it were the
   road: in from the left, across the page and out at the right, then round again after a pause out of sight. It only
   ever drives that way, because turned round its lettering would read backwards. It drives smoothly, its wheels
   turning (cut from the drawing, as Loosey Goosey's goose has its legs); no bounce, which suited the mower, not a van
   (Adam: "the animation is for a mower - the van bounces"). Decoration only: no script, no clicks, hidden from screen
   readers, and the images (21KB, and 3KB for each wheel) load only as the footer nears. Only transforms move, so
   nothing on the page is redrawn. With reduced motion it stands still near the left-hand end, facing into the page. It's 56px tall: 48px on phones, and 42px on a short laptop screen, where the
   home page's social links come within 46px of the footer (1366 x 768). The part of the page above the footer sits a
   layer above it, so if they ever meet it drives behind them; the 404 page's stone head keeps its own layer, so the
   van drives in front of it. */
.footer { position: relative; }
.van-track { --van-cycle: 36s; --wheel-turn: 0.9s; position: absolute; left: 0; right: 0; bottom: 100%; z-index: 0; height: 60px; overflow: hidden; pointer-events: none; }
main > :last-child:not(.page-hero) { position: relative; z-index: 1; }
.van-path { position: absolute; inset: 0; animation: van-drive var(--van-cycle) linear infinite; will-change: transform; }
.van { position: absolute; left: 0; bottom: 0; height: 56px; aspect-ratio: 350 / 168; }
.van > img { position: absolute; display: block; max-width: none; }
.van__body { inset: 0; width: 100%; height: 100%; }
/* each wheel where it sits in the drawing (van_wheels_make.py), turning about its own centre about as fast as the van
   covers the road (one turn is 58px of road at 56px tall); the turning edge falls on plain tyre rubber, so no seam */
.van__wheel { animation: van-wheel var(--wheel-turn) linear infinite; }
.van__wheel--back { left: 14%; top: 72.024%; width: 12%; height: 25%; transform-origin: 49.95% 50.4%; }
.van__wheel--front { left: 75.714%; top: 72.024%; width: 12%; height: 25%; transform-origin: 51.04% 50.15%; }
/* across in the first 84% of the cycle, then out of sight until the next pass */
@keyframes van-drive { 0% { transform: translateX(-130px); } 84% { transform: translateX(100%); } 100% { transform: translateX(100%); } }
@keyframes van-wheel { to { rotate: 360deg; } }
@media (max-width: 1100px) { .van-track { --van-cycle: 26s; --wheel-turn: 1.2s; } }
@media (max-width: 700px) { .van-track { --van-cycle: 14s; --wheel-turn: 1.1s; } .van { height: 48px; } }
@media (min-width: 1081px) and (max-height: 820px) { .van { height: 42px; } }

/* ---------- Mobile call bar (over the open menu too) ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: none; grid-template-columns: 1.35fr 1fr; gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--ink) 95%, transparent); border-top: 1px solid rgb(255 255 255 / 0.08);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.callbar .btn { min-height: 50px; padding-inline: 1rem; font-size: 0.98rem; }
.callbar:has(> :only-child) { grid-template-columns: 1fr; }
@media (max-width: 760px) {
  html { scroll-padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .callbar { display: grid; }
  /* the dark footer runs under the fixed bar instead of a white spacer */
  .footer { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}

/* ---------- Scroll reveal ----------
   Uses an animation on the `translate` property so it never fights
   the hover `transform` / `transition` rules on cards. */
.js .reveal { opacity: 0; }
.js .reveal.is-visible { animation: reveal 0.85s var(--ease) var(--d, 0s) both; }
@keyframes reveal { from { opacity: 0; translate: 0 26px; } to { opacity: 1; translate: 0 0; } }
/* the section a link jumped to (#contact, or a #contact-<service> marker inside it) is simply there,
   with no fade-in; sections reached by scrolling still fade in */
.js section:target .reveal, .js section:has(> :target) .reveal { opacity: 1; animation: none; }

@media (prefers-reduced-motion: reduce) {
  .carousel__track { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  /* the van stands still near the left-hand end, facing into the page */
  .van-path, .van__wheel { animation: none !important; }
  .van-path { transform: translateX(clamp(16px, 3vw, 48px)); }
}

/* ==========================================================================
   Origin Metric master engine additions (12 Nov 2026). Loosey Goosey's general features in this trade look:
   the full footer, social links, plain pages (the privacy notice), the "personal" service page section and the
   job page's line above its button. Then the master's own: the Services and Our work pages (D8), the home
   page's links to them, and the client preview's ribbon (G6).
   ========================================================================== */

/* (1-2-1 Landscapes: the master's full footer, with its link lists, contact block and "Peace of mind" column,
   is replaced by the slim bar above, as Adam's design rule 4 asks; its styles went with it.) */

/* social links */
.socials { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.1rem; }
.socials__link {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-width: 48px; height: 48px; padding: 0 0.85rem;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: #fff; color: var(--text); font-size: 1rem; font-weight: 600;
  transition: border-color 0.2s, color 0.2s;
}
.socials__link .icon { width: 20px; height: 20px; }
.socials__link:hover { border-color: var(--accent-lo); color: var(--accent-lo); }
.socials__link span { display: none; }
.socials--lg .socials__link { padding: 0 1rem 0 0.8rem; }
.socials--lg .socials__link span { display: inline; }

/* plain pages of words (the privacy notice) */
.text-page { max-width: 780px; padding-block: clamp(36px, 5vw, 64px) clamp(64px, 9vw, 112px); }
.text-section + .text-section { margin-top: 2.25rem; }
.text-section h2 { font-size: 1.75rem; line-height: 1.15; }
.text-section p, .text-section li { margin-top: 0.75rem; color: var(--muted); line-height: 1.65; }
.text-section ul { padding-left: 1.2rem; list-style: disc; }

/* a service page's "personal" section, and a job page's line above its button */
.personal {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 56px); align-items: center;
  margin-top: clamp(56px, 7vw, 88px); padding: clamp(18px, 3vw, 36px);
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--mist);
}
.personal__media { overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--r); box-shadow: var(--shadow); background: var(--line); }
.personal__media img { width: 100%; height: 100%; object-fit: cover; }
.personal__body > .detail__title { margin: 0 0 1rem; }
.personal__body > p { color: var(--muted); line-height: 1.7; }
.personal__body > p:first-of-type { color: var(--text); font-size: 1.125rem; }
.personal__body > p + p { margin-top: 0.9rem; }
.personal__review { margin: 1.6rem 0 0; padding: 1.1rem 1.3rem; border-left: 3px solid var(--red); border-radius: 0 var(--r) var(--r) 0; background: #fff; }
.personal__review blockquote { margin: 0.55rem 0 0; }
.personal__review p { font-style: italic; color: var(--text); }
.personal__review figcaption { margin-top: 0.55rem; font-weight: 700; color: var(--accent-lo); }
@media (max-width: 900px) {
  .personal { grid-template-columns: minmax(0, 1fr); }
  .personal__media { aspect-ratio: 4 / 3; }
}
.detail__cta-text { max-width: 62ch; margin-top: 0.4rem; color: var(--muted); line-height: 1.65; }
.service-card__more { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: auto; padding-top: 1rem; font-size: 0.9375rem; font-weight: 700; color: var(--accent-lo); }
.service-card__more .icon { width: 1em; height: 1em; transition: transform 0.2s var(--ease); }
.service-card:hover .service-card__more .icon { transform: translateX(4px); }

/* the home page's links to the Services and Our work pages (D8) */
.section-head__link { color: inherit; text-decoration: none; }
.section-head__link:hover { color: var(--accent-lo); text-decoration: underline; text-underline-offset: 0.12em; text-decoration-thickness: 0.06em; }
.section-foot { display: flex; justify-content: center; margin-top: clamp(24px, 3vw, 36px); }

/* the Services and Our work pages (D8) */
.hub { padding-block: clamp(40px, 6vw, 72px) clamp(64px, 9vw, 112px); }
.hub__filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: clamp(24px, 3vw, 36px); }
/* 1-2-1 Landscapes (25 Nov 2026, Adam: "a simple filter (maybe a drop down) rather than clickable buttons"): a label
   and one drop-down of the services, a comfortable tap on phones (the box keeps 16px text, so iOS doesn't zoom) */
.hub__filters[hidden] { display: none; }
.hub__filters:not([hidden]) { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.hub__filter-label { font-weight: 700; }
.hub__select {
  min-width: min(100%, 320px); min-height: 50px; padding: 0.7rem 2.75rem 0.7rem 1rem;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm); background-color: #fff; color: var(--text);
  font: inherit; font-size: 1rem; font-weight: 600; appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--text) 50%), linear-gradient(135deg, var(--text) 50%, transparent 50%);
  background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat;
}
.hub__select:hover { border-color: var(--text); }
.hub__select:focus-visible { outline: 3px solid var(--accent-lo); outline-offset: 2px; }
@media (max-width: 640px) { .hub__filters:not([hidden]) { display: grid; gap: 0.4rem; } .hub__select { width: 100%; } }
.hub__grid > .service-card, .hub__item { height: 100%; }
.hub__item[hidden] { display: none; }
.cta-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem;
  margin-top: clamp(48px, 7vw, 80px); padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--mist);
}
.cta-strip h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); }
.cta-strip p { margin-top: 0.5rem; max-width: 560px; color: var(--muted); }

/* (the About page, 1-2-1 Landscapes, 25 Nov 2026: just the story beside the photo for now, in the home page's About
   layout, so it needs nothing of its own here) */

/* the client preview's ribbon (G6): on every page of a --client-preview build, never on the live site */
.preview-ribbon {
  position: fixed; z-index: 1000; top: 0; left: 50%; transform: translateX(-50%);
  padding: 0.3rem 0.9rem; border-radius: 0 0 10px 10px; background: #b3261e; color: #fff;
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.02em; pointer-events: none;
  box-shadow: 0 4px 14px rgb(0 0 0 / 0.25);
}
