/* Immaculate Bathrooms: one stylesheet for the whole public site (pages built by website/build.mjs).
   The brand is the business's own, as on the old WordPress site: the bath logo (brand/logo.png), its sage teal
   (#689694, the Elementor kit's primary), #272727 text, #F5F5F5 and white sections, Lora headings and Karla text.
   What changed from the old site is mostly what it got wrong:
   - Contrast. White on #689694 is only 3.3:1, so buttons, links and every teal band that carries body text use the
     deeper --teal-deep (#4E7876, 4.9:1; hover #3B5C5A, 7.3:1). #689694 stays for the logo, rules, borders, icons
     and large type. Section headings use #3B5C5A, the logo's family for the old site's dark slate headings.
   - One type scale, one spacing scale (8 / 12 / 16 / 24 / 32 / 48 / 64), photos cropped to fixed shapes, real
     hover and keyboard-focus states, and layouts checked down to 360 px.
   Fonts are self-hosted at /brand/ (variable Lora and Karla). No inline styles anywhere (the CSP is style-src
   'self'): every look lives here. */

@font-face { font-family: "Lora"; src: url("/brand/lora.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("/brand/lora-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Karla"; src: url("/brand/karla.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Karla"; src: url("/brand/karla-italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }

:root {
  color-scheme: light;

  /* The brand */
  --teal: #689694;        /* the logo's teal: rules, borders, icons, large type (3.3:1 on white) */
  --teal-deep: #4e7876;   /* buttons, links, bands with text (4.9:1 with white) */
  --teal-deeper: #3b5c5a; /* hover, section headings (7.3:1) */
  --teal-tint: #e9f1f0;
  --teal-line: #c3d6d4;
  --ink: #1f2b2a;         /* deep slate, the teal's own dark: 14:1 on white */
  --muted: #56615f;       /* 6.4:1 on white, 5.8:1 on --grey */
  --grey: #eff3f2;        /* porcelain: a cool grey-green, never cream */
  --stone: #dde5e3;       /* photo placeholders, quiet fills */
  --white: #ffffff;
  --line: #e3e7e6;
  --edge: #858c8b;        /* form-control borders: 3.4:1 on white */
  --dark: #1c2928;        /* the footer: the ink, deepened */
  --bottle: #243b39;      /* the deep band on the home page and behind bannerless titles: white text at 12:1 */
  --brass: #a98a52;       /* the one accent, from the tapware in their photos: rules and the timeline's dots only */
  --brass-deep: #7a5f33;  /* brass where it is small type: 5.6:1 on white, 5:1 on --grey */
  --on-dark: #cfd5d4;     /* footer text: 10:1 on --dark */
  --on-dark-accent: #9fc5c1; /* footer hover: 8:1 */
  --bad: #a8322a; --bad-tint: #f7e4e2;
  --good: #28704d; --good-tint: #e3f1e9;
  --warn: #93600f; --warn-tint: #f6ecd8; --warn-ink: #4f3406; --warn-line: #e2cfa6;
  --focus: #1f2b2a;

  --font-head: "Lora", Georgia, "Times New Roman", serif;
  --font-body: "Karla", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Corners by what the thing is (Troy, 21 Nov 2026: "not all pill corners"). Things you press or type in are
     nearly square; photos and small boxes are softer; the few large panels are softest. Full-width bands are square.
     The hero's arch is the only fully round shape, with the small icon and number circles. */
  --radius-sm: 2px;     /* buttons, fields, menu items, suburb chips, status tags */
  --radius: 2px;        /* photos, link cards, notes */
  --radius-lg: 2px;     /* service photos, the featured project, review cards, the quote form's panel */
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 40px + 5vw, 112px);
  --shadow: 0 1px 2px rgb(31 43 42 / 0.06), 0 18px 40px -24px rgb(31 43 42 / 0.45);

  /* The header: its height, and how far it slides up under the window edge once the page scrolls. */
  --hdr-h: 72px;
  --hdr-shrink: 8px;
}
@media (min-width: 64rem) { :root { --hdr-h: 92px; --hdr-shrink: 16px; } }

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 16px; -webkit-tap-highlight-color: rgb(78 120 118 / 0.15); }
/* In-page links ("Request a free quote") land below the sticky header. */
html.js { scroll-padding-top: calc(var(--hdr-real, var(--hdr-h)) - var(--hdr-shrink) + 16px); }
/* --hdr-real is the header's measured height (assets/site.js), in case it is ever taller than --hdr-h (large text). */
/* On a short screen (a phone on its side, or 400% zoom) the header does not stick: it would cover a third of it. */
@media (max-height: 30rem) { html.js { scroll-padding-top: 16px; } }
/* The phone action bar (assets/site.js) is fixed to the bottom: focused fields scroll clear of it. */
@media (max-width: 63.99rem) { html.has-action-bar { scroll-padding-bottom: calc(72px + env(safe-area-inset-bottom)); } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
a, button, input, select, textarea, label { touch-action: manipulation; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }

img { display: block; max-width: 100%; height: auto; }
svg { flex: none; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 16px;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 1.6rem + 2.8vw, 3.75rem); line-height: 1.08; font-weight: 450; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.875rem, 1.45rem + 1.6vw, 2.75rem); line-height: 1.12; font-weight: 450; color: var(--ink); }
h3 { font-size: 1.375rem; line-height: 1.3; margin-bottom: 8px; }
p { margin: 0 0 16px; text-wrap: pretty; }
strong { font-weight: 700; }

a { color: var(--link, var(--teal-deep)); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--link-hover, var(--teal-deeper)); text-decoration-thickness: 2px; }
/* On the porcelain grey, --teal-deep is only 4.4:1 (audit 11 Nov 2026, the "See all" links); one step deeper is 6.6:1. */
.hero, .section-grey { --link: var(--teal-deeper); --link-hover: var(--ink); }

::selection { background: var(--teal-tint); color: var(--ink); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
/* On the teal bands, the photo banners and the footer the ring is white. */
.section-teal, .cta-band, .banner, .hero, .site-footer { --focus: #ffffff; }

.wrap { width: 100%; max-width: 74rem; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 48rem; }
.center { text-align: center; }

.lede { font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem); line-height: 1.6; color: var(--muted); max-width: 44rem; }
.lede-ink { color: var(--ink); }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }
.h-sub { margin-top: 32px; font-size: 1.375rem; }

.skip {
  position: absolute;
  left: 16px;
  top: -10rem;
  z-index: 60;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
}
.skip:focus { top: 12px; color: var(--white); outline-color: var(--teal); }

.visually-h {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* A text link with an arrow: "All our services ->". */
.more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; text-decoration: none; }
.more:hover { text-decoration: underline; }
.more svg { transition: transform 0.15s; }
.more:hover svg { transform: translateX(3px); }
.ext { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; }

/* ----------------------------------------------------------------- Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 24px;
  border: 2px solid var(--teal-deep);
  border-radius: var(--radius-sm);
  background: var(--teal-deep);
  color: var(--white);
  font: 600 1.0625rem/1.2 var(--font-body);
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.btn:hover { background: var(--teal-deeper); border-color: var(--teal-deeper); color: var(--white); text-decoration: none; }
.btn:focus-visible { outline-offset: 3px; }
/* The old site's hero button: larger, in capitals. */
.btn-lg { min-height: 56px; padding: 0 32px; font-size: 1.0625rem; }
.btn-outline { background: var(--white); color: var(--teal-deep); }
.btn-outline:hover { background: var(--teal-tint); color: var(--teal-deeper); border-color: var(--teal-deeper); }
/* On a teal band or a photo: white, with the deepest teal for its text (7.3:1). */
.btn-light { background: var(--white); border-color: var(--white); color: var(--teal-deeper); }
.btn-light:hover { background: var(--teal-tint); border-color: var(--teal-tint); color: var(--teal-deeper); }
.btn-ghost { background: transparent; border-color: rgb(255 255 255 / 0.85); color: var(--white); }
.btn-ghost:hover { background: rgb(255 255 255 / 0.14); border-color: var(--white); color: var(--white); }
.btn svg { margin-left: -2px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-top: 32px; }
.actions-center { justify-content: center; }
@media (max-width: 29.99rem) {
  .actions .btn { flex: 1 1 100%; }
  /* At 320 px (400% zoom) or with larger text spacing a label may need two lines rather than run off the screen. */
  .btn { white-space: normal; padding-block: 8px; }
  .btn-lg { padding-inline: 20px; }
}
/* While the form is sending (assets/site.js): the button says so and cannot send twice. */
.btn[aria-disabled="true"] { opacity: 0.75; cursor: progress; }

/* ------------------------------------------------------------------ Header */

/* White, with the logo on the left, the menu and the teal phone button (as on the old site). With the script it
   sticks to the top: once the page scrolls it slides --hdr-shrink up under the window edge (a negative sticky top,
   so its box never changes size) and the logo scales down. Only transforms change, so nothing on the page moves. */
.site-header { position: relative; z-index: 40; background: var(--white); border-bottom: 1px solid var(--line); }
.js .site-header { position: sticky; top: calc(-1 * var(--hdr-shrink)); transition: box-shadow 0.2s; }
.js.is-stuck .site-header { box-shadow: 0 8px 24px -16px rgb(0 0 0 / 0.35); }
@media (max-height: 30rem) {
  .js .site-header { position: relative; top: 0; }
  .js.is-stuck .site-header { box-shadow: none; }
  .js.is-stuck .brand, .js.is-stuck .header-actions, .js.is-stuck .nav > ul, .js.is-stuck .nav-cta, .js.is-stuck .brand .logo { transform: none !important; }
}
/* Without the script the menu wraps under the logo; with it the menu is a panel (out of the flow), so the logo and
   the buttons always share one row, down to 320 px. */
.header-inner { display: flex; flex-wrap: wrap; align-items: center; column-gap: 8px; }
.js .header-inner { flex-wrap: nowrap; }

.brand { display: flex; align-items: center; min-height: var(--hdr-h); margin-right: auto; flex: none; }
.js .brand { flex: 0 1 auto; min-width: 0; }
.brand .logo { height: 40px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; transform-origin: left center; }
@media (max-width: 24.99rem) { .brand .logo { height: 36px; } }
@media (min-width: 64rem) { .brand .logo { height: 48px; } }
@media (min-width: 80rem) { .brand .logo { height: 52px; } }
.brand, .header-actions, .nav > ul { transition: transform 0.2s ease; }
.js.is-stuck .brand, .js.is-stuck .header-actions { transform: translateY(calc(var(--hdr-shrink) / 2)); }
.js.is-stuck .brand .logo { transform: scale(0.84); }
.brand .logo { transition: transform 0.2s ease; }

.header-actions { display: flex; align-items: center; gap: 8px; order: 2; }
.btn-phone { min-height: 44px; padding: 0 16px; font-size: 1rem; gap: 8px; border-width: 0; }
@media (max-width: 24.99rem) { .btn-phone svg { display: none; } }
/* At 320 px (a small phone, or 400% zoom) the number no longer fits beside the logo: the button is the phone icon,
   still named "Call 0413 273 577" (the number stays in the page, visually hidden). */
@media (max-width: 21.99rem) {
  .btn-phone { width: 44px; padding: 0; }
  .btn-phone svg { display: block; }
  .btn-phone .num { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
/* Wide screens: the phone is the quieter outline button, beside the filled "Request a free quote". Up to 80rem it is
   the icon alone (named "Call 0413 273 577"), so the menu, the quote button and the logo fit on one row at 1024 px. */
@media (min-width: 64rem) {
  .btn-phone { min-height: 48px; padding: 0 16px; font-size: 1.0625rem; border-width: 2px; background: var(--white); color: var(--teal-deep); }
  .btn-phone:hover { background: var(--teal-tint); color: var(--teal-deeper); }
}
@media (min-width: 64rem) and (max-width: 79.99rem) {
  .btn-phone { width: 48px; padding: 0; }
  .btn-phone svg { margin: 0; }
  .btn-phone .num { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

.menu-button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--teal-deep);
  color: var(--white);
  cursor: pointer;
}
.menu-button:hover { background: var(--teal-deeper); }
.menu-button[hidden] { display: none; }
/* With the script, the button shows from the first paint (the script un-hides it once the page has parsed). */
.js .menu-button[hidden] { display: inline-grid; }
.menu-button svg { grid-area: 1 / 1; }
.menu-button .i-close, .menu-button[aria-expanded="true"] .i-menu { display: none; }
.menu-button[aria-expanded="true"] .i-close { display: block; }

.nav { order: 3; width: 100%; --focus: var(--ink); }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav > ul { display: flex; flex-wrap: wrap; column-gap: 20px; }
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}
.nav a:hover { color: var(--teal-deep); }
.nav a[aria-current="page"], .nav a.is-section { color: var(--teal-deeper); box-shadow: inset 0 -2px 0 var(--teal); }
.nav .sub { display: none; }
.nav-cta { display: none; margin: 0; }

/* Narrow screens. Without the script the menu sits in full under the logo (every page reachable with no JS); with
   it, the menu button opens it as a teal panel under the header, as the old site's phone menu was. */
@media (max-width: 63.99rem) {
  .nav { padding-bottom: 8px; border-top: 1px solid var(--line); }
  .js .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    max-height: calc(100vh - var(--hdr-real, var(--hdr-h)));
    max-height: calc(100dvh - var(--hdr-real, var(--hdr-h)));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 8px var(--gutter) 24px;
    border-top: 0;
    background: var(--teal-deep);
    box-shadow: 0 18px 32px -18px rgb(0 0 0 / 0.5);
    --focus: #ffffff;
  }
  .js.menu-open .nav { display: block; }
  .js .nav > ul { flex-direction: column; }
  .js .nav > ul > li { border-bottom: 1px solid rgb(255 255 255 / 0.22); }
  .js .nav a { display: flex; min-height: 52px; color: var(--white); font-size: 1.0625rem; }
  .js .nav a:hover { color: var(--white); text-decoration: underline; }
  .js .nav a[aria-current="page"], .js .nav a.is-section { color: var(--white); box-shadow: inset 4px 0 0 var(--white); padding-left: 16px; }
  .js .nav .sub { display: block; padding: 0 0 8px 16px; }
  .js .nav .sub a { min-height: 44px; font-size: 1rem; font-weight: 500; }
  .js .nav-cta { display: block; padding-top: 24px; }
  .js .nav-cta .btn { width: 100%; justify-content: center; min-height: 52px; color: var(--teal-deeper); }
  .js .nav-cta .btn:hover { color: var(--teal-deeper); text-decoration: none; }
}

/* Wide screens: one row, the services under "Services" in a dropdown on hover or keyboard focus. */
@media (min-width: 64rem) {
  .header-inner { flex-wrap: nowrap; column-gap: 24px; }
  .brand { margin-right: 0; }
  .nav { order: 1; width: auto; margin-left: auto; display: flex; align-items: center; gap: 16px; }
  .nav > ul { flex-wrap: nowrap; column-gap: 4px; }
  .js.is-stuck .nav > ul, .js.is-stuck .nav-cta { transform: translateY(calc(var(--hdr-shrink) / 2)); }
  /* The logo already links home, so "Home" makes room for the quote button. */
  .nav > ul > .nav-home { display: none; }
  .nav-cta { display: block; flex: none; transition: transform 0.2s ease; }
  .nav .nav-cta .btn { min-height: 48px; padding: 0 20px; background: var(--teal-deep); border-color: var(--teal-deep); color: var(--white); font-size: 1rem; }
  .nav .nav-cta .btn:hover { background: var(--teal-deeper); border-color: var(--teal-deeper); color: var(--white); }
  .nav a { min-height: 48px; padding-inline: 8px; white-space: nowrap; }
  .menu-button { display: none !important; }
  .has-sub { position: relative; }
  .has-sub > a::after {
    content: "";
    width: 7px;
    height: 7px;
    margin: -4px 0 0 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    opacity: 0.6;
  }
  .nav .sub {
    position: absolute;
    top: 100%;
    left: -8px;
    z-index: 45;
    display: block;
    min-width: 15rem;
    padding: 8px;
    background: var(--teal-deep);
    border-radius: var(--radius-sm);
    box-shadow: 0 18px 40px -20px rgb(0 0 0 / 0.5);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-4px);
    --focus: #ffffff;
  }
  .has-sub:hover .sub, .has-sub:focus-within .sub { visibility: visible; opacity: 1; transform: none; }
  /* Escape dismisses it (WCAG 1.4.13) until the pointer and focus leave: assets/site.js. */
  .has-sub.sub-dismissed .sub { visibility: hidden; opacity: 0; }
  .nav .sub a { display: flex; width: 100%; min-height: 44px; padding: 0 16px; border-radius: var(--radius-sm); color: var(--white); font-weight: 500; }
  .nav .sub a:hover { background: var(--teal-deeper); color: var(--white); }
  .nav .sub a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--white); color: var(--white); }
}
/* From 80rem the header row is its widest (the 74rem .wrap): the logo, six menu items, the quote button and the phone
   number together fill it, so the menu keeps the 64rem size. */

/* ------------------------------------------------------------ Home: hero */

/* Laid out again 2 Dec 2026 (wireframe A, "the finished room first"). One of their finished rooms fills the top of
   the page edge to edge. The h1, the promise and the two ways to start sit on a white panel over its lower left, so
   the text never depends on the photo for contrast. The three reasons to trust run in a band beneath. On a phone the
   photo comes first at 4:3 and the panel follows it, overlapping its foot. The photo is the one thing on the page
   made to be looked at (Troy, 21 Nov 2026: "give one thing worth looking at"); nothing sits above the h1. */
.hero { position: relative; isolation: isolate; background: #2a3534; }
.hero-img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero-inner { display: flex; align-items: flex-end; min-height: clamp(34rem, 78vh, 46rem); padding-block: 48px; }
.hero-panel { --focus: var(--ink); --link: var(--teal-deeper); width: min(100%, 39rem); padding: clamp(28px, 16px + 2.4vw, 48px); background: var(--white); border-top: 3px solid var(--brass); border-radius: var(--radius-sm) var(--radius-sm) var(--radius-lg) var(--radius-lg); box-shadow: 0 30px 60px -30px rgb(18 28 27 / 0.7); }
.hero h1 { margin: 0 0 20px; font-size: clamp(2.125rem, 1.5rem + 2.3vw, 3.25rem); line-height: 1.1; }
.hero-sub { margin: 0; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); line-height: 1.55; color: var(--muted); }
.hero .actions { margin-top: 28px; }
.hero-note { margin: 16px 0 0; font-size: 1rem; font-weight: 600; color: var(--teal-deeper); }
/* The one movement on the page: the panel settles into place as the page opens. */
@media (prefers-reduced-motion: no-preference) {
  .hero-panel { animation: hero-in 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s both; }
  @keyframes hero-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}
.hero-trust-band { --focus: var(--ink); background: var(--white); border-bottom: 1px solid var(--line); }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; margin: 0 auto; padding-block: 18px; color: var(--ink); font-size: 1rem; font-weight: 600; }
.hero-trust li { display: flex; align-items: center; min-height: 32px; padding-inline: 24px; border-right: 1px solid var(--teal-line); }
.hero-trust li:last-child { border-right: 0; }
.hero-trust a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-block: -6px; color: var(--ink); text-decoration: none; }
.hero-trust a:hover span { text-decoration: underline; }
@media (max-width: 39.99rem) {
  .hero { background: var(--white); }
  .hero picture { display: block; }
  .hero-img { position: static; height: auto; aspect-ratio: 4 / 3; }
  .hero-inner { min-height: 0; padding-block: 0 8px; margin-top: -40px; }
  .hero-panel { width: 100%; }
  .hero-trust { flex-direction: column; align-items: flex-start; padding-block: 16px; }
  .hero-trust li { border-right: 0; padding-inline: 0; min-height: 36px; }
}
@media (forced-colors: active) { .hero-panel { border: 1px solid CanvasText; } }

/* ------------------------------------------------------- Inner page banner */

/* The top of every inner page: a real photo across the full width, darkened from the left where the title sits
   (the left third stays at about 9:1 for the white text, the right shows the room). A page with no photo of its own
   gets the deep teal. */
.banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(56px, 32px + 6vw, 128px);
  background: var(--teal-deeper);
  color: var(--white);
}
.banner-photo { background: #2a3534; }
.banner-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.banner-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Dark behind the words on the left, clear on the right so the room shows in its own colours (3 Dec 2026: the
     scrim across the whole photo turned every banner grey). */
  background: linear-gradient(90deg, rgb(24 33 32 / 0.88) 0%, rgb(24 33 32 / 0.78) 50%, rgb(24 33 32 / 0.15) 84%, rgb(24 33 32 / 0) 100%);
}
/* On a phone the photo sits above the words, in its own colours, and the words are on the solid band below it
   (3 Dec 2026, second review: a veil over the whole photo left a grey smudge and a banner most of a screen tall). */
@media (max-width: 47.99rem) {
  .banner-photo { padding-top: 0; }
  .banner-photo .banner-img { position: static; display: block; height: auto; aspect-ratio: 16 / 10; }
  .banner-photo::after { display: none; }
  .banner-photo .banner-inner { padding-top: 28px; }
}
.banner .lede { max-width: 34rem; }
.banner-inner > * { max-width: 44rem; }
.banner h1 { margin: 0; max-width: 20ch; color: var(--white); font-size: clamp(2.375rem, 1.6rem + 3vw, 4rem); }
.banner .lede { margin: 20px 0 0; color: rgb(255 255 255 / 0.92); }
.banner .lede + .lede { margin-top: 12px; }
.banner a:not(.btn) { color: var(--white); }
.banner .actions { margin-top: 32px; justify-content: flex-start; }
.crumbs { margin: 0 0 12px; font-size: 1rem; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; }
.crumbs a::before { content: "\2190"; content: "\2190" / ""; margin-right: 8px; }
.crumbs a:hover { text-decoration: underline; }

/* --------------------------------------------------------------- Sections */

.section { padding-block: var(--section); }
.section-grey { background: var(--grey); }
.section-tight { padding-block: 40px; }
/* The old site's teal bands, in the deep teal so their white text passes (4.9:1). */
.section-teal { background: var(--bottle); color: var(--white); }
.section-teal h2, .section-teal h3 { color: var(--white); }
.section-teal .lede { color: var(--white); }
.section-teal a:not(.btn) { color: var(--white); }

/* A centred section heading with a short teal rule beneath (the old site's headings were centred Lora). */
.section-head { max-width: 48rem; margin: 0 auto clamp(32px, 24px + 2vw, 56px); text-align: center; }
.section-head h2::after { content: ""; display: block; width: 48px; height: 2px; margin: 20px auto 0; background: var(--teal); }
.section-teal .section-head h2::after { background: rgb(255 255 255 / 0.6); }
.section-head .lede { margin: 20px auto 0; }
.section-head p:last-child { margin-bottom: 0; }
/* A section heading on the left with something beside it on the right (a count, or a button). */
.section-head-row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; text-align: left; }
.section-head-row h2::after { margin-left: 0; }
.section-head-row > :last-child { margin-bottom: 0; }
.section-head-row .actions { margin-top: 0; }
.section-head-row > div { max-width: 44rem; }
.section-head-row .lede { margin: 20px 0 0; }
.section-head-row p { margin-bottom: 0; }

/* A heading on the left, the content on the right. */
.split { display: grid; gap: 24px 64px; }
@media (min-width: 60rem) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.split-aside p:last-child { margin-bottom: 0; }
.split-aside h2::after { content: ""; display: block; width: 48px; height: 2px; margin-top: 20px; background: var(--teal); }
.section-teal .split-aside h2::after { background: rgb(255 255 255 / 0.6); }
@media (min-width: 60rem) { .split-media { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; } }
/* The quote section (quoteSection): invitation, form, then the contact facts, in that order on narrow screens so a
   link to #quote has the first field on screen. Wide: the form on the right across both rows, the facts back under
   the invitation on the left. */
.split-quote .facts { margin-top: 8px; } /* + the 24 px row gap: the 32 px it had under the invitation */
@media (min-width: 60rem) {
  .split-quote { grid-template-rows: auto 1fr; }
  .split-quote > .split-aside { grid-column: 1; grid-row: 1; }
  .split-quote > .form-panel { grid-column: 2; grid-row: 1 / span 2; align-self: start; }
  .split-quote > .split-facts { grid-column: 1; grid-row: 2; }
}
/* The contact page: the form first in the markup (and on narrow screens), the details beside it on the left when
   wide. */
@media (min-width: 60rem) {
  .split-form-first > .split-aside { grid-column: 1; grid-row: 1; }
  .split-form-first > .form-panel { grid-column: 2; grid-row: 1; }
}
.h-aside { font-size: 1.625rem; }

/* ------------------------------------------------------------- Services */

/* Photo cards: a tall photo, then the room's name and its line beneath, on the section's own background. The whole
   card is the link's target; every photo is cropped to the same 4:5. */
.service-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 40px 24px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
}
.service-card { position: relative; display: flex; flex-direction: column; color: var(--ink); --focus: var(--ink); }
.service-card-photo { overflow: hidden; border-radius: var(--radius-lg); background: var(--stone); }
.service-card-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.service-card-band { flex: 1; display: flex; flex-direction: column; padding: 20px 0 0; }
.service-card-band p + p { margin-top: 12px; }
.service-card h2, .service-card h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 8px; font-size: 1.625rem; }
.service-card h2 a, .service-card h3 a { color: var(--ink); text-decoration: none; }
.service-card h2 a::after, .service-card h3 a::after { content: ""; position: absolute; inset: 0; }
.service-card p { margin: 0; color: var(--muted); }
.service-card .more { margin-top: 12px; min-height: 32px; }
.service-card:hover h2 a, .service-card:hover h3 a { color: var(--teal-deeper); text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--teal); }
/* Keyboard focus rings the whole card; without :has() the link keeps its own ring. */
.service-card:has(a:focus-visible) { outline: 3px solid var(--ink); outline-offset: 6px; border-radius: var(--radius-lg); }
.service-card:has(a:focus-visible) a:focus-visible { outline: 0; }
.service-cards + .center { margin: 32px 0 0; }
@media (prefers-reduced-motion: no-preference) {
  .service-card-img { transition: transform 0.6s ease; }
  .service-card:hover .service-card-img { transform: scale(1.04); }
}
/* On the deep band (a services page section), the words go white. */
.section-teal .service-card h2 a, .section-teal .service-card h3 a, .section-teal .service-card p { color: var(--white); }

.inspire { margin-top: 24px; padding: 16px 20px; border-left: 4px solid var(--teal); background: var(--teal-tint); border-radius: 0 var(--radius) var(--radius) 0; }
/* --teal-deep on the tint is 4.3:1, under the 4.5:1 body text needs; the deeper teal is 6.4:1. */
.inspire a { color: var(--teal-deeper); }

/* What every job comes with: six points with an icon each. Dark on a light section; white on the teal band. */
.deliver {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 40px 48px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
}
/* Two columns of three, as on the old page: the points are a paragraph each, too long for three. */
@media (min-width: 64rem) { .deliver { grid-template-columns: 1fr 1fr; column-gap: 72px; } }
.deliver li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; align-items: start; }
.deliver-icon { display: grid; place-items: center; width: 56px; height: 56px; border: 1.5px solid var(--teal); border-radius: 50%; color: var(--teal-deeper); }
.deliver h3 { margin: 8px 0; font-size: 1.375rem; }
.deliver p { margin: 0; color: var(--muted); }
.section-teal .deliver-icon { border-color: rgb(255 255 255 / 0.55); color: var(--white); }
.section-teal .deliver h3 { color: var(--white); }
.section-teal .deliver p { color: rgb(255 255 255 / 0.88); }
@media (max-width: 29.99rem) {
  .deliver li { grid-template-columns: 44px minmax(0, 1fr); gap: 16px; }
  .deliver-icon { width: 44px; height: 44px; }
  .deliver-icon svg { width: 22px; height: 22px; }
  .deliver h3 { margin-top: 8px; }
}

.insured { display: flex; align-items: center; gap: 16px; margin: 0; font-weight: 500; }
.insured svg { color: var(--teal-deep); }
.section-teal .insured {
  justify-content: center;
  max-width: 52rem;
  margin: 56px auto 0;
  padding-top: 32px;
  border-top: 1px solid rgb(255 255 255 / 0.3);
  font-size: 1rem;
}
.section-teal .insured svg { color: var(--white); }
.insured-small { margin-top: 48px; padding: 16px 16px; border: 1px solid var(--teal-line); border-radius: var(--radius); background: var(--white); font-size: 1rem; font-weight: 400; }

/* ---------------------------------------------------------- Lists and Q&A */

/* A tick in a teal circle as the marker. */
.checklist { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.checklist li { position: relative; padding: 16px 0 16px 40px; border-bottom: 1px solid var(--line); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 16px; width: 24px; height: 24px; border-radius: 50%; background: var(--teal-deep); }
.checklist li::after { content: ""; position: absolute; left: 9px; top: 21px; width: 6px; height: 11px; border-right: 2px solid var(--white); border-bottom: 2px solid var(--white); transform: rotate(45deg); }
.checklist strong { font-weight: 700; }
.checklist-lg li { padding-block: 20px; }
.checklist-lg li::before { top: 20px; }
.checklist-lg li::after { top: 25px; }

.qa { border-top: 1px solid var(--line); }
.qa > div { padding-block: 24px; border-bottom: 1px solid var(--line); }
.qa h3 { font-size: 1.25rem; }
.qa p { margin: 0; color: var(--muted); }
.qa-after { margin-top: 32px; }

.link-list { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--line); }
.link-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.link-list a svg { color: var(--teal-deep); }
.link-list a:hover { color: var(--teal-deep); }
.link-list a:hover svg { transform: translateX(3px); }

/* Suburbs as chips. A linked suburb has a page of its own; a plain one is served but has no page. */
.chips { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a, .chips span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--teal-line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}
.chips span { color: var(--muted); background: transparent; border-color: var(--line); font-weight: 500; }
.chips a:hover { border-color: var(--teal-deep); color: var(--teal-deeper); background: var(--teal-tint); }
.chips .chip-here { background: var(--teal-deep); border-color: var(--teal-deep); color: var(--white); }
.chips-lg a, .chips-lg span { min-height: 48px; padding: 0 16px; font-size: 1rem; }

/* A suburb page's own work there (a project, photos, a review naming it), under the nearby areas. */
.local-work { margin-top: clamp(40px, 32px + 2vw, 64px); }
.local-work .h-sub { margin-top: 0; }
.local-work .fig-row, .local-work .review-strip { margin-top: 24px; }

/* The locations index. */
.suburb-list { list-style: none; margin: 0; padding: 0; columns: 2 8.5rem; column-gap: 24px; }
.suburb-list li { break-inside: avoid; }
.suburb-list a, .suburb-list span { display: flex; align-items: center; min-height: 44px; border-bottom: 1px solid var(--line); }
.suburb-list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.suburb-list a::after { content: "\2192"; content: "\2192" / ""; margin-left: auto; padding-left: 8px; color: var(--teal-deep); opacity: 0; transition: opacity 0.15s; }
.suburb-list a:hover { color: var(--teal-deep); }
.suburb-list a:hover::after, .suburb-list a:focus-visible::after { opacity: 1; }
.suburb-list span { color: var(--muted); }
.az { display: grid; gap: 32px 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 8.5rem), 1fr)); }
@media (min-width: 48rem) { .az { grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); } }
.az-h { margin: 0 0 4px; padding-bottom: 8px; border-bottom: 3px solid var(--teal); font-size: 1.5rem; color: var(--teal-deeper); }
.az .suburb-list { columns: 1; }
.az-more { margin: 48px auto 0; max-width: 44rem; text-align: center; }

/* Labelled facts. */
.glance {
  margin: 24px 0 0;
  padding: 4px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.glance div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.glance div:last-child { border-bottom: 0; }
.glance dt { font-size: 1rem; color: var(--muted); }
.glance dd { margin: 0; font-weight: 600; }
.glance-inline { background: transparent; border-inline: 0; border-radius: 0; padding-inline: 0; }
/* The Leeming project's facts in one row under its banner. */
.glance-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 56px; margin: 0; padding: 0; border: 0; background: none; text-align: center; }
.glance-row div { display: block; padding: 0; border: 0; }
.glance-row dd { font-size: 1.125rem; }

.facts { margin: 32px 0 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 16px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: 1rem; }
.facts dd { margin: 0; font-weight: 600; }
/* Phone and email links get a 44 px tap target without making the rows taller. */
.facts dd a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -12px; }
@media (max-width: 29.99rem) { .facts div { grid-template-columns: 1fr; gap: 2px; } }

/* ----------------------------------------------------------- Quote prompt */

/* The foot of most pages: a teal band with the quote and phone buttons, centred. */
.cta-band { background: var(--teal-deeper); color: var(--white); text-align: center; }
.cta-inner { max-width: 48rem; }
.cta-band h2 { color: var(--white); margin-bottom: 12px; }
.cta-band p { margin: 0 auto; color: var(--white); max-width: 36rem; font-size: 1.125rem; }
.cta-band .actions { margin-top: 28px; }

/* ------------------------------------------------------------ Quote form */

.form-panel {
  padding: clamp(20px, 12px + 2.5vw, 40px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.form-title { font-size: 1.625rem; margin-bottom: 8px; }
.form-panel > .muted { margin-bottom: 24px; }
.quote-form { display: grid; gap: 20px 16px; grid-template-columns: minmax(0, 1fr); }
/* With text enlarged the form ran off the side: its tracks and its panel may now shrink. */
.form-panel, .split > * { min-width: 0; }
@media (min-width: 40rem) { .quote-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.quote-form > .form-title { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 1rem; line-height: 1.3; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border: 1px solid var(--edge);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}
.field select {
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none' stroke='%234e7876' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
.field textarea { min-height: 8rem; resize: vertical; line-height: 1.5; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 0;
  border-color: var(--teal-deeper);
}
/* A field the script found wrong: a red edge and the reason beneath it, tied to the field (aria-describedby). */
.field [aria-invalid="true"] { border-color: var(--bad); box-shadow: inset 0 0 0 1px var(--bad); }
.field-error { display: flex; align-items: flex-start; gap: 8px; margin: 0; color: var(--bad); font-size: 1rem; font-weight: 700; line-height: 1.4; }
.field-error::before { content: "!"; content: "!" / ""; display: grid; place-items: center; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: var(--bad); color: var(--white); font-size: 0.75rem; }
.field-error[hidden] { display: none; }
.hint { margin: -8px 0 0; font-size: 1rem; color: var(--muted); }
/* "How should we reach you?" introduces the phone and email pair below it, not the suburb field above: it sits
   close to the pair (8 px, against the form's 20 px row gap) and well clear of the suburb (24 px). */
.quote-form .hint[id$="-reach"] { margin: 4px 0 -12px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; padding-top: 24px; border-top: 1px solid var(--line); }
.form-foot .hint { margin: 0; flex: 1 1 14rem; }
@media (max-width: 29.99rem) { .form-foot .btn { flex: 1 1 100%; } }
/* Honeypot: off-screen rather than display:none, which some bots know to skip. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------------------------------------------------- Status and notices */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  background: #eef0ef;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
}
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill-good { background: var(--good-tint); color: var(--good); }

.notice { margin: 0 0 24px; padding: 16px 20px; border-left: 4px solid; border-radius: 0 var(--radius) var(--radius) 0; }
.notice-bad { background: var(--bad-tint); border-color: var(--bad); }
.notice ul { margin: 0; padding-left: 20px; }
.notice li + li { margin-top: 4px; }

/* ----------------------------------------------------------------- Photos */

/* A photo that opens full size; the corner button says it enlarges. */
.photo-link { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: #dfe5e4; color: var(--ink); }
.photo-link img { width: 100%; transition: transform 0.4s ease; }
.photo-zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.94);
  color: var(--teal-deep);
  opacity: 0;
  transition: opacity 0.15s;
}
/* The expand mark (html.mjs icon 'expand'), drawn here rather than as an inline <svg> in each of the gallery's 125
   links: a mask in the span's own colour, so it stays var(--teal-deep). */
.photo-zoom::before {
  content: "";
  width: 18px;
  height: 18px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5h4.5V8M8 16.5H3.5V12M16.5 3.5L11.5 8.5M3.5 16.5l5-5'/%3E%3C/svg%3E") center / 18px 18px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5h4.5V8M8 16.5H3.5V12M16.5 3.5L11.5 8.5M3.5 16.5l5-5'/%3E%3C/svg%3E") center / 18px 18px no-repeat;
}
@media (forced-colors: active) { .photo-zoom::before { background-color: CanvasText; } }
.photo-link:hover .photo-zoom, .photo-link:focus-visible .photo-zoom { opacity: 1; }
.photo-link:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
/* On a touch screen the corner button always shows, except on the gallery's small tiles, where 125 of them are noise. */
@media (hover: none) { .photo-zoom { opacity: 1; } .gallery-grid .photo-zoom { display: none; } }
@media (prefers-reduced-motion: no-preference) { .photo-link:hover img { transform: scale(1.03); } }

.fig { margin: 0; }
.fig figcaption { margin-top: 12px; color: var(--muted); font-size: 1rem; line-height: 1.5; }
.section-teal .fig figcaption { color: var(--white); }
.fig .photo-link img, .fig-crop .photo-link img, .fig-row .photo-link img, .fig-pair .photo-link img { aspect-ratio: 3 / 2; object-fit: cover; }
.fig-band .photo-link { box-shadow: 0 24px 48px -28px rgb(0 0 0 / 0.6); }
.fig-band .photo-link img { aspect-ratio: 4 / 3; }
.fig-tall .photo-link img { aspect-ratio: 4 / 5; }
/* Derek in the home page's deep band: a portrait, narrower than a room photo, his name beneath. */
.fig-person { max-width: 26rem; justify-self: center; }
.fig-band.fig-person .photo-link img { aspect-ratio: 4 / 5; object-position: 50% 20%; }
.fig-person figcaption { font-weight: 600; }
.pull-review-story { margin: 28px 0 0; }
@media (max-width: 59.99rem) { .fig-tall .photo-link img { aspect-ratio: 4 / 3; } }

.fig-row { display: grid; gap: 32px 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); }
.fig-pair { display: grid; gap: 32px 24px; }
@media (min-width: 48rem) { .fig-pair { grid-template-columns: 1fr 1fr; } }

/* One-shape photo grids (recent projects): cropped to 4:3 here; the whole photo is in the lightbox. */
/* Project cards (projects page, and "More projects" on a project page): a 4:3 photo, the project's name, what was
   renovated and when. The whole card is the link's target, as on the service cards. */
.project-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.project-card { position: relative; --focus: var(--ink); }
.project-card-photo { overflow: hidden; border-radius: var(--radius-lg); background: var(--stone); margin-bottom: 16px; }
.project-card-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.project-card h2, .project-card h3, .project-card h4 { margin: 0 0 4px; font-size: 1.375rem; }
.project-card h2 a, .project-card h3 a, .project-card h4 a { color: var(--ink); text-decoration: none; }
.project-card h2 a::after, .project-card h3 a::after, .project-card h4 a::after { content: ""; position: absolute; inset: 0; }
.project-card p { margin: 0; }
.project-card .muted { font-size: 1rem; }
.project-card:hover h2 a, .project-card:hover h3 a, .project-card:hover h4 a { color: var(--teal-deeper); text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--teal); }
.project-card:has(a:focus-visible) { outline: 3px solid var(--ink); outline-offset: 6px; border-radius: var(--radius-lg); }
.project-card:has(a:focus-visible) a:focus-visible { outline: 0; }
.glance-row dd a { color: var(--teal-deeper); }
.project-links-h { margin: 56px 0 24px; }
.project-links-more { margin: 32px 0 0; }
.actions-aside { margin-top: 24px; }
.process-actions { margin-top: 40px; }
/* The gallery by room: links to each group at the top, a heading over each. */
.gallery-jump { margin: 0 0 40px; }
.gallery-group + .gallery-group { margin-top: 64px; }
.gallery-group h2 { margin: 0 0 20px; }
/* A phone on its side: the photo gets the whole screen and the caption steps aside. */
@media (orientation: landscape) and (max-height: 500px) {
  .lb-caption { display: none; }
  .lb-bar { padding-block: 4px; }
}
/* Project photo grids on a wide screen close their last row: two or four photos go two across, and a count that
   leaves two over opens with two larger photos side by side. */
@media (min-width: 64rem) {
  .photo-grid-three:has(> :nth-child(2):last-child), .photo-grid-three:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-grid-three:is(:has(> :nth-child(5):last-child), :has(> :nth-child(8):last-child), :has(> :nth-child(11):last-child)) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .photo-grid-three:is(:has(> :nth-child(5):last-child), :has(> :nth-child(8):last-child), :has(> :nth-child(11):last-child)) > * { grid-column: span 2; }
  .photo-grid-three:is(:has(> :nth-child(5):last-child), :has(> :nth-child(8):last-child), :has(> :nth-child(11):last-child)) > :nth-child(-n+2) { grid-column: span 3; }
}
/* A phone: three more-projects cards, not six, and the project's facts in one stacked list. */
@media (max-width: 39.99rem) {
  .more-projects .project-card:nth-child(n+4) { display: none; }
  .glance-row { flex-direction: column; align-items: flex-start; gap: 12px; text-align: left; }
}
.chips-also { margin: 12px 0 0; color: var(--muted); }
/* Beside the form: the email address wraps when text is enlarged, and the block keeps clear of the form card. */
.facts dd, .facts a { min-width: 0; overflow-wrap: anywhere; }
.contact-phone { min-height: 48px; }
@media (max-width: 59.99rem) { .split-quote > .split-facts { margin-top: 32px; } }
/* A phone: the three service cards are a small photo beside their words, and one review shows before the link to
   all of them, so the form is not sixteen screens down. */
@media (max-width: 39.99rem) {
  .review-strip > :nth-child(n+2) { display: none; }
  .local-work .review-strip > * { display: revert; }
  h1 { font-size: min(2.25rem, 9vw); }
}
/* Headlines break between words and hyphenate when text is enlarged, never mid-word without a hyphen. */
h1 { overflow-wrap: break-word; hyphens: auto; }
/* The reviews page on a phone: the nine newest, then a button for the rest (site.js adds it; without script every
   review shows). */
.reviews-more { display: none; }
@media (max-width: 59.99rem) {
  .review-wall.is-collapsed .review-col > :nth-child(n+4) { display: none; }
  .review-wall.is-collapsed + .reviews-more { display: flex; justify-content: center; margin-top: 24px; }
}
/* Beside every form: the phone number first and large, the hours under it. */
.contact-lead { margin: 0 0 20px; }
.contact-phone { display: inline-flex; align-items: center; gap: 12px; font: 500 clamp(1.75rem, 1.5rem + 1vw, 2.125rem)/1.2 var(--font-head); color: var(--teal-deeper); text-decoration: none; }
.contact-phone:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.contact-hours { margin: 8px 0 0; color: var(--muted); }
/* A suburb the site has no page for is plain text among the chips, not a faded chip that looks broken. */
.chips span:not(.chip-here) { border-color: transparent; background: transparent; padding-inline: 4px; }
/* What every job comes with, without the icons (3 Dec 2026): each point under a fine rule, the heading leading. */
.deliver-plain li { display: block; border-top: 1px solid var(--line); padding-top: 20px; }
.deliver-plain h3 { margin: 0 0 8px; }
.statement + .statement { margin-top: 16px; }
/* Recent projects on the home page: each tile is one project and the whole tile is its link. */
.showcase-project { position: relative; }
.showcase-project .showcase-photo { overflow: hidden; border-radius: var(--radius-lg); background: var(--stone); }
.showcase-project .showcase-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.showcase-project h3 { margin: 0 0 8px; font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem); }
.showcase-small h3 { margin: 16px 0 4px; font-size: 1.375rem; }
.showcase-project h3 a { color: var(--ink); text-decoration: none; }
.showcase-project h3 a::after { content: ""; position: absolute; inset: 0; }
.showcase-project:hover h3 a { color: var(--teal-deeper); text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--teal); }
.showcase-project:has(a:focus-visible) { outline: 3px solid var(--ink); outline-offset: 6px; border-radius: var(--radius-lg); }
.showcase-project:has(a:focus-visible) a:focus-visible { outline: 0; }
.showcase-body { padding-left: 20px; border-left: 2px solid var(--brass); }
.showcase-body p { margin: 0 0 12px; }
.showcase-body .more { margin: 0; }
.showcase-meta { margin: 0; color: var(--muted); font-size: 1rem; }

.photo-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.photo-grid-three { grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
/* Rows of exactly three (services, suburb recent work) go 1 -> 3 columns, never 2 + an orphan on tablets. Only rows
   that really hold three: a suburb's "Our work" row of one or two photos keeps its own wider columns. */
@media (min-width: 40rem) {
  :is(.service-cards, .fig-row, .photo-grid-three):has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.photo-grid-two { grid-template-columns: repeat(auto-fill, minmax(min(100%, 24rem), 1fr)); }
.photo-grid .photo-link img { aspect-ratio: 4 / 3; object-fit: cover; }
.photo-grid .fig figcaption { margin-top: 12px; font-size: 1rem; }
.photo-grid:has(figcaption) { row-gap: 32px; }
.photo-grid + .actions { margin-top: 40px; }

/* The gallery: rows of same-shape tiles, so the photos read across in page order, the order Tab and the
   lightbox's next / previous take them (CSS columns read down each column instead). Tiles are 3:2, the shape of
   all but three of the photos; those three are cropped here and whole in the lightbox. Two columns on phones,
   three from 40rem, four from 60rem: GALLERY_SIZES and EAGER_TILES in src/pages/projects.mjs follow these. */
.gallery-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 40rem) { .gallery-grid { gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 60rem) { .gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gallery-grid .photo-link img { aspect-ratio: 3 / 2; object-fit: cover; }

/* The featured project on the projects page. */
.feature { display: grid; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
@media (min-width: 60rem) { .feature { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.feature-img img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #dfe5e4; }
.feature-body { padding: clamp(24px, 16px + 2vw, 48px); align-self: center; }
.feature-body h2 a { color: var(--teal-deeper); text-decoration: none; }
.feature-body h2 a:hover { text-decoration: underline; }
.feature-body p { color: var(--muted); }

/* The lightbox (assets/site.js): the photo on near-black, the caption and buttons on a bar beneath. */
.lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgb(18 20 20 / 0.96);
  color: var(--white);
  overscroll-behavior: contain;
  --focus: #ffffff;
}
.lightbox[open] { display: flex; flex-direction: column; }
.lightbox::backdrop { background: rgb(18 20 20 / 0.9); }
/* The stage needs a definite track: with an auto row the photo's max-height:100% has nothing to resolve against,
   so the width/height attributes site.js sets (up to 1600 px) become its size and it spills under the bar. */
.lb-stage {
  flex: 1 1 0;
  min-height: 0;
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  padding: 16px;
  overflow: hidden;
}
.lb-img { max-width: 100%; max-height: 100%; width: auto; height: auto; min-width: 0; min-height: 0; object-fit: contain; border-radius: var(--radius); will-change: transform; }
.lb-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  padding: 12px var(--gutter) max(12px, env(safe-area-inset-bottom));
  border-top: 1px solid rgb(255 255 255 / 0.12);
}
.lb-caption { flex: 1 1 20rem; margin: 0; font-size: 1rem; line-height: 1.45; color: rgb(255 255 255 / 0.9); }
.lb-count { margin: 0; font-size: 1rem; color: rgb(255 255 255 / 0.75); font-variant-numeric: tabular-nums; }
.lb-buttons { display: flex; gap: 8px; margin-left: auto; }
.lb-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 0.45);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--white);
  cursor: pointer;
}
.lb-btn[hidden] { display: none; }
.lb-btn:hover { background: rgb(255 255 255 / 0.12); border-color: var(--white); }
.lb-open { overflow: hidden; }

/* ---------------------------------------------------------------- Reviews */

.stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.star .star-on { fill: var(--teal-deep); }
.star .star-off { fill: #d9dfdd; }

.rating { margin: 0; }
.rating p { margin: 0; }
.rating-score { display: flex; align-items: center; gap: 12px; }
.rating-num { font: 500 2.75rem/1 var(--font-head); color: var(--teal-deeper); }
.rating-note { margin-top: 8px !important; color: var(--muted); font-size: 1rem; }
.section-head .rating { display: flex; flex-direction: column; align-items: center; margin-top: 20px; }
.rating-inline .rating-num { font-size: 2rem; }
.rating-panel { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 32px; text-align: center; }
.rating-panel .rating-note { margin-top: 0 !important; }

.review {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 28px 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.review-short .review-head { order: 2; margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.review-short .review-text { font: 400 1.1875rem/1.55 var(--font-head); color: var(--ink); }
.review-short::before { content: "\201C"; content: "\201C" / ""; display: block; height: 40px; margin: -8px 0 0 -4px; font: 400 4.5rem/1 var(--font-head); color: var(--teal); }
.review-head { margin-bottom: 12px; }
.review-name { margin: 0 0 4px; font-family: var(--font-head); font-weight: 500; line-height: 1.3; font-size: 1.1875rem; }
.review-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 0; color: var(--muted); font-size: 1rem; }
.review-text p { margin: 0 0 12px; }
.review-text p:last-child { margin-bottom: 0; }
.review-empty { margin: 0; color: var(--muted); font-style: italic; }
.review-reply { margin-top: 16px; padding: 12px 16px; border-left: 3px solid var(--teal); background: var(--teal-tint); border-radius: 0 var(--radius) var(--radius) 0; font-size: 1rem; }
.review-reply p { margin: 0; }
.review-reply-h { font-weight: 700; color: var(--teal-deeper); margin-bottom: 4px !important; }

/* All the reviews, newest first: rows of cards that read across in page order (CSS columns read down each
   column, which scattered the newest). The cards in a row share its height. */
/* Each card is as tall as its own review (a one-line review was a tall empty card beside a long one). */
/* Every review, packed in columns (3 Dec 2026): as a grid, a long review left its row's short neighbours with a tall
   gap under them and the page ran to fourteen screens. Reviews read down each column, newest at the top left. */
.review-wall { display: flex; flex-direction: column; gap: 20px; }
.review-col { display: contents; }
/* Three columns on a wide screen, each its own stack; the reviews are dealt across them in turn, so the newest three
   lead the columns. Narrower, the columns dissolve and the order below puts the reviews back newest first (up to 72). */
@media (min-width: 60rem) {
  .review-wall { flex-direction: row; align-items: flex-start; }
  .review-col { display: flex; flex-direction: column; gap: 20px; flex: 1 1 0; min-width: 0; }
}
@media (max-width: 59.99rem) { .review-col:nth-child(1) > :nth-child(1) { order: 1; } .review-col:nth-child(2) > :nth-child(1) { order: 2; } .review-col:nth-child(3) > :nth-child(1) { order: 3; } .review-col:nth-child(1) > :nth-child(2) { order: 4; } .review-col:nth-child(2) > :nth-child(2) { order: 5; } .review-col:nth-child(3) > :nth-child(2) { order: 6; } .review-col:nth-child(1) > :nth-child(3) { order: 7; } .review-col:nth-child(2) > :nth-child(3) { order: 8; } .review-col:nth-child(3) > :nth-child(3) { order: 9; } .review-col:nth-child(1) > :nth-child(4) { order: 10; } .review-col:nth-child(2) > :nth-child(4) { order: 11; } .review-col:nth-child(3) > :nth-child(4) { order: 12; } .review-col:nth-child(1) > :nth-child(5) { order: 13; } .review-col:nth-child(2) > :nth-child(5) { order: 14; } .review-col:nth-child(3) > :nth-child(5) { order: 15; } .review-col:nth-child(1) > :nth-child(6) { order: 16; } .review-col:nth-child(2) > :nth-child(6) { order: 17; } .review-col:nth-child(3) > :nth-child(6) { order: 18; } .review-col:nth-child(1) > :nth-child(7) { order: 19; } .review-col:nth-child(2) > :nth-child(7) { order: 20; } .review-col:nth-child(3) > :nth-child(7) { order: 21; } .review-col:nth-child(1) > :nth-child(8) { order: 22; } .review-col:nth-child(2) > :nth-child(8) { order: 23; } .review-col:nth-child(3) > :nth-child(8) { order: 24; } .review-col:nth-child(1) > :nth-child(9) { order: 25; } .review-col:nth-child(2) > :nth-child(9) { order: 26; } .review-col:nth-child(3) > :nth-child(9) { order: 27; } .review-col:nth-child(1) > :nth-child(10) { order: 28; } .review-col:nth-child(2) > :nth-child(10) { order: 29; } .review-col:nth-child(3) > :nth-child(10) { order: 30; } .review-col:nth-child(1) > :nth-child(11) { order: 31; } .review-col:nth-child(2) > :nth-child(11) { order: 32; } .review-col:nth-child(3) > :nth-child(11) { order: 33; } .review-col:nth-child(1) > :nth-child(12) { order: 34; } .review-col:nth-child(2) > :nth-child(12) { order: 35; } .review-col:nth-child(3) > :nth-child(12) { order: 36; } .review-col:nth-child(1) > :nth-child(13) { order: 37; } .review-col:nth-child(2) > :nth-child(13) { order: 38; } .review-col:nth-child(3) > :nth-child(13) { order: 39; } .review-col:nth-child(1) > :nth-child(14) { order: 40; } .review-col:nth-child(2) > :nth-child(14) { order: 41; } .review-col:nth-child(3) > :nth-child(14) { order: 42; } .review-col:nth-child(1) > :nth-child(15) { order: 43; } .review-col:nth-child(2) > :nth-child(15) { order: 44; } .review-col:nth-child(3) > :nth-child(15) { order: 45; } .review-col:nth-child(1) > :nth-child(16) { order: 46; } .review-col:nth-child(2) > :nth-child(16) { order: 47; } .review-col:nth-child(3) > :nth-child(16) { order: 48; } .review-col:nth-child(1) > :nth-child(17) { order: 49; } .review-col:nth-child(2) > :nth-child(17) { order: 50; } .review-col:nth-child(3) > :nth-child(17) { order: 51; } .review-col:nth-child(1) > :nth-child(18) { order: 52; } .review-col:nth-child(2) > :nth-child(18) { order: 53; } .review-col:nth-child(3) > :nth-child(18) { order: 54; } .review-col:nth-child(1) > :nth-child(19) { order: 55; } .review-col:nth-child(2) > :nth-child(19) { order: 56; } .review-col:nth-child(3) > :nth-child(19) { order: 57; } .review-col:nth-child(1) > :nth-child(20) { order: 58; } .review-col:nth-child(2) > :nth-child(20) { order: 59; } .review-col:nth-child(3) > :nth-child(20) { order: 60; } .review-col:nth-child(1) > :nth-child(21) { order: 61; } .review-col:nth-child(2) > :nth-child(21) { order: 62; } .review-col:nth-child(3) > :nth-child(21) { order: 63; } .review-col:nth-child(1) > :nth-child(22) { order: 64; } .review-col:nth-child(2) > :nth-child(22) { order: 65; } .review-col:nth-child(3) > :nth-child(22) { order: 66; } .review-col:nth-child(1) > :nth-child(23) { order: 67; } .review-col:nth-child(2) > :nth-child(23) { order: 68; } .review-col:nth-child(3) > :nth-child(23) { order: 69; } .review-col:nth-child(1) > :nth-child(24) { order: 70; } .review-col:nth-child(2) > :nth-child(24) { order: 71; } .review-col:nth-child(3) > :nth-child(24) { order: 72; } }
/* The glossary's letters: jump to the first term that starts with each. */
.article .az { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 40px; padding: 0 0 24px; border-bottom: 1px solid var(--line); list-style: none; }
.article .az li { margin: 0; padding: 0; list-style: none; }
.article .az li::before { content: none; }
.az a { display: grid; place-items: center; min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); font-weight: 600; text-decoration: none; background: var(--white); }
.az a:hover { border-color: var(--teal-deep); color: var(--teal-deeper); background: var(--teal-tint); }
/* Three on the home page, side by side. */
.review-strip { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.section:not(.section-grey) .review { background: var(--grey); border-color: transparent; }

/* ----------------------------------------------------------- Long text */

/* The cost guide and the privacy policy: about 70 characters a line, headings with room above. */
.article { max-width: 42rem; margin-inline: auto; font-size: 1.125rem; line-height: 1.7; }
.article > :first-child { margin-top: 0; }
.article h2 { margin: 56px 0 16px; font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem); }
.article h3 { margin: 40px 0 12px; font-size: 1.3125rem; }
.article h2 + h3 { margin-top: 16px; }
.article p { margin-bottom: 20px; }
.article ul { margin: 0 0 24px; padding-left: 0; list-style: none; }
.article li { position: relative; margin-bottom: 12px; padding-left: 24px; }
.article li::before { content: ""; position: absolute; left: 2px; top: 0.7em; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.article li ul { margin: 12px 0 0; }
.article li li::before { background: transparent; border: 1.5px solid var(--teal-deep); }

/* ------------------------------------------------- Signposts and steps */

/* The thanks and 404 pages: cards that each lead to one page, with that page's own line beneath its name. The whole
   card is the link's target, as on the service cards. Grey on white sections, white on grey ones. */
.signposts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px 20px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
}
.signpost {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 24px 24px;
  background: var(--grey);
  border: 1px solid transparent;
  border-top: 3px solid var(--teal);
  border-radius: var(--radius);
}
.section-grey .signpost { background: var(--white); border-color: var(--line); border-top-color: var(--teal); }
.signpost h3 { margin: 0 0 8px; font-size: 1.3125rem; }
.signpost h3 a { display: inline-flex; align-items: center; min-height: 32px; color: var(--ink); text-decoration: none; }
.signpost h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.signpost p { margin: 0; color: var(--muted); }
.signpost .signpost-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 12px; color: var(--ink); font-size: 1rem; font-weight: 600; }
.signpost:hover { border-top-color: var(--teal-deep); }
.signpost:hover h3 a { color: var(--teal-deeper); text-decoration: underline; text-decoration-thickness: 2px; }
.signpost:has(a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.signpost:has(a:focus-visible) a:focus-visible { outline: 0; }
.signposts-more { margin: 24px 0 0; }
.section-head + .signposts + .signposts-more { text-align: center; }

/* Numbered steps (what happens after the quote form): the number in a teal circle, as the checklist's ticks. */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.steps li { position: relative; counter-increment: step; padding: 20px 0 20px 56px; border-bottom: 1px solid var(--line); }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 16px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal-deep);
  color: var(--white);
  font: 600 1.0625rem/1 var(--font-head);
}
.steps h3 { margin: 4px 0 8px; font-size: 1.25rem; }
.steps p { margin: 0; color: var(--muted); }

/* --------------------------------------------------------------- Footer */

/* Dark, as the old footer was, with the white logo, white headings and a teal rule over the base line. */
.site-footer { background: var(--dark); color: var(--on-dark); font-size: 1rem; padding-top: clamp(48px, 32px + 3vw, 80px); }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--on-dark-accent); text-decoration: underline; }
.footer-grid { display: grid; gap: 40px 32px; padding-bottom: clamp(40px, 32px + 2vw, 64px); }
/* Phones: the about block and "Get in touch" across the width, then the two link lists side by side (one column
   made the footer nearly two screens tall). */
.footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 39.99rem) {
  .footer-grid { gap: 32px 20px; }
  .footer-grid > :nth-child(-n + 2) { grid-column: 1 / -1; }
  .footer-grid .plain a { line-height: 1.35; }
  .footer-logo { margin-bottom: 12px; }
}
/* Wide: four columns; "Get in touch" (the email address) and the last column (its "Immaculate Bathrooms" heading)
   take the width they need, the other two share the rest. */
@media (min-width: 64rem) {
  .footer-grid { grid-template-columns: minmax(0, 1fr) max-content minmax(0, 1fr) max-content; column-gap: clamp(24px, 4vw - 16px, 48px); }
}
.footer-logo { display: inline-block; margin-bottom: 20px; }
.footer-logo .logo { height: 56px; width: auto; }
.footer-about p { max-width: 24rem; }
.footer-insured { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; }
.footer-insured svg { margin-top: 2px; color: var(--teal); }
.footer-rating { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-decoration: underline !important; text-decoration-color: var(--teal) !important; }
.footer-h { margin: 0 0 16px; font: 400 1.375rem/1.3 var(--font-head); color: var(--white); }
.footer-h-more { margin-top: 28px; }
.plain { list-style: none; margin: 0; padding: 0; }
.plain a, .plain span { display: inline-flex; align-items: center; gap: 12px; min-height: 40px; max-width: 100%; overflow-wrap: anywhere; }
.plain svg { color: var(--teal); }
.plain .no-icon { padding-left: 24px; }
/* A footer link that wraps to two lines stays apart from the next one. */
.site-footer .plain li + li { margin-top: 4px; }
@media (max-width: 47.99rem) { .plain a { min-height: 44px; } }
.footer-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.site-footer .footer-social li + li { margin-top: 0; } /* a row, not the stacked link lists above */
.footer-social a { display: grid; place-items: center; width: 44px; height: 44px; min-height: 0; border-radius: var(--radius-sm); background: rgb(255 255 255 / 0.1); color: var(--white); }
.footer-social a:hover { background: var(--white); color: var(--teal-deep); }
.footer-social svg { color: currentColor; }
.footer-base { border-top: 1px solid rgb(176 141 87 / 0.55); font-size: 1rem; }
.footer-base-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 32px; padding-block: 12px; }
.footer-base p { margin: 0; }
.footer-base .num { white-space: nowrap; }
.footer-base a { display: inline-flex; align-items: center; min-height: 44px; }

/* ------------------------------------------------- Home: new sections */

/* How a renovation runs: the business's four steps, numbered because they are a sequence. The number in Lora on a
   teal rule; the steps stack on phones and sit two by two when wide. */
.process { list-style: none; counter-reset: step; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.process li { counter-increment: step; display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); column-gap: 16px; padding-block: 24px; border-bottom: 1px solid var(--line); }
.process li::before { content: counter(step); content: counter(step) / ""; grid-row: 1 / span 2; font: italic 400 2.75rem/0.9 var(--font-head); color: var(--teal-deeper); }
.process h3 { margin: 0 0 8px; font-size: 1.375rem; }
.process p { margin: 0; color: var(--muted); }
/* 2 Dec 2026: on the home page the four steps run across the page as a timeline once there is room: a brass dot for
   each on one grout-thin line, the number above it. Narrower than that they stay the numbered list above. */
@media (min-width: 64rem) {
  .process-line { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; border-top: 0; position: relative; }
  .process-line::before { content: ""; position: absolute; left: 0; right: 0; top: 4.25rem; height: 1px; background: var(--teal-line); }
  .process-line li { display: block; padding-block: 0; border-bottom: 0; position: relative; }
  .process-line li::before { display: block; margin-bottom: 3.25rem; color: var(--brass-deep); font-size: 3rem; }
  .process-line li::after { content: ""; position: absolute; left: 0; top: calc(4.25rem - 6px); width: 13px; height: 13px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 5px var(--grey); }
  .process-line h3 { margin-bottom: 10px; }
}

/* The philosophy, set as a statement in Lora on the deep band. */
.statement { font: 400 clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem)/1.7 var(--font-head); color: rgb(255 255 255 / 0.94); max-width: 36rem; }

/* Recent projects (2 Dec 2026): two shown large, each beside its own caption and on alternate sides, then three in
   a row. All their own photos; the whole photo opens in the lightbox. */
.showcase { list-style: none; display: grid; gap: 32px 24px; margin: 0; padding: 0; }
.showcase .photo-link img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.showcase-text { margin: 0; padding-left: 20px; border-left: 2px solid var(--brass); font: 400 clamp(1.1875rem, 1.1rem + 0.4vw, 1.4375rem)/1.5 var(--font-head); color: var(--ink); }
.showcase-row { display: grid; gap: 20px; align-items: center; }
@media (min-width: 40rem) {
  .showcase { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .showcase-row { grid-column: 1 / -1; }
}
@media (min-width: 64rem) {
  .showcase { gap: 64px 24px; }
  .showcase-row { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 56px; }
  .showcase-row:nth-child(even) { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
  .showcase-row:nth-child(even) .showcase-photo { order: 2; }
}
.showcase + .actions { margin-top: 48px; }

/* A client's own words (2 Dec 2026). Large on the home page between the three rooms and the process; smaller beside
   every quote form. Lora, a brass rule, the reviewer and their stars beneath. Never a card. */
.pull-review { margin: 0; }
.pull-review blockquote { margin: 0; }
.pull-review blockquote p { margin: 0; font: 400 1.1875rem/1.55 var(--font-head); color: var(--ink); }
.pull-review blockquote p::before { content: "\201C"; }
.pull-review blockquote p::after { content: "\201D"; }
.pull-review figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 14px; font-size: 1rem; font-weight: 600; color: var(--muted); }
.pull-review-side { margin-bottom: 28px; padding-left: 20px; border-left: 2px solid var(--brass); }
.pull-review-after { margin: 32px 0 0; }
.section-said { padding-block: 0 var(--section); }
.section-said-top { padding-top: var(--section); }
.section-said-top .pull-review-lg { padding-top: 0; border-top: 0; }

/* Before and after (2 Dec 2026): the same room twice. Without the script, two labelled photos side by side. With it
   (html.js) they are stacked, the "before" on top and cut off at a line that a range input drags across; the line
   and its round handle are drawn on the frame. The input covers the whole photo, so a press anywhere moves the line,
   and it keeps vertical scrolling on a phone. */
.ba { margin: 0; }
.ba-grid { display: grid; gap: 32px 24px; }
@media (min-width: 56rem) { .ba-grid { grid-template-columns: 1fr 1fr; } .ba-grid-one { grid-template-columns: minmax(0, 56rem); justify-content: center; } }
.ba-frame { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; overflow: hidden; border-radius: var(--radius); background: var(--stone); }
.ba-pane { position: relative; }
.ba-pane img { display: block; width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.ba-tag { position: absolute; top: 12px; padding: 4px 10px; border-radius: var(--radius-sm); background: rgb(24 33 32 / 0.82); color: var(--white); font-size: 1rem; font-weight: 600; }
.ba-before .ba-tag { left: 12px; }
.ba-after .ba-tag { right: 12px; }
.ba figcaption { margin-top: 12px; font-size: 1rem; font-weight: 600; color: var(--muted); }
.js .ba-frame { display: block; aspect-ratio: 3 / 2; --pos: 50%; }
.js .ba-pane { position: absolute; inset: 0; }
.js .ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.js .ba-frame::before { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 2; width: 3px; margin-left: -1.5px; background: var(--white); box-shadow: 0 0 0 1px rgb(24 33 32 / 0.25); pointer-events: none; }
.js .ba-frame::after { content: "\2194"; position: absolute; top: 50%; left: var(--pos); z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: var(--white); color: var(--ink); font: 700 1.25rem/1 var(--font-body); box-shadow: 0 2px 10px rgb(24 33 32 / 0.45), 0 0 0 2px var(--brass); pointer-events: none; }
.ba-range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.ba-range::-webkit-slider-thumb { width: 56px; height: 400px; }
.ba-range::-moz-range-thumb { width: 56px; height: 400px; }
.ba-frame:has(.ba-range:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
@media (forced-colors: active) { .js .ba-frame::before { background: CanvasText; } }
.pull-review-lg { max-width: 54rem; margin-inline: auto; padding-top: clamp(40px, 24px + 3vw, 64px); border-top: 1px solid var(--line); text-align: center; }
.pull-review-lg blockquote p { font-size: clamp(1.5rem, 1.15rem + 1.6vw, 2.375rem); line-height: 1.32; }
.pull-review-lg figcaption { justify-content: center; margin-top: 24px; font-size: 1rem; }
.pull-review-lg::before { content: ""; display: block; width: 56px; height: 2px; margin: 0 auto 28px; background: var(--brass); }

/* The rating beside the reviews heading: teal stars and the score in words. */
.rating-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 16px 0 0; color: var(--muted); }
.rating-line strong { color: var(--ink); }

/* The areas of Perth: each area's name, then its suburb pages. */
.areas { display: grid; gap: 32px 32px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
.area h3 { margin: 0 0 8px; padding-bottom: 12px; border-bottom: 1px solid var(--teal); font-size: 1.3125rem; }
.area h3 a { color: var(--ink); text-decoration: none; }
.area h3 a:hover { color: var(--teal-deeper); text-decoration: underline; }
.area-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0 16px; margin: 0; padding: 0; }
.area-list a { display: inline-flex; align-items: center; min-height: 40px; color: var(--teal-deeper); font-weight: 600; text-decoration: none; }
.area-list a:hover { text-decoration: underline; }
.area-list .area-more { color: var(--teal-deeper); }
@media (max-width: 47.99rem) { .area-list a { min-height: 44px; } }

/* The same areas on a suburb page: "More suburbs in North coast". */
.area-links { margin-top: clamp(40px, 32px + 2vw, 56px); }
.area-links .h-sub { margin-top: 0; }

/* ------------------------------------------------------ Phone action bar */

/* Phones and tablets: "Call" and "Free quote" fixed to the bottom of the window once the page has scrolled past its
   banner (assets/site.js builds it from the header's own links; without the script there is none). Not on the
   contact page or after sending, and hidden while the menu or the lightbox is open. */
.action-bar { display: none; }
@media (max-width: 63.99rem) {
  .action-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 35;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px var(--gutter) max(8px, env(safe-area-inset-bottom));
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px -16px rgb(0 0 0 / 0.35);
    transform: translateY(110%);
    visibility: hidden;
    transition: transform 0.2s ease, visibility 0s linear 0.2s;
  }
  .action-bar.is-shown { transform: none; visibility: visible; transition: transform 0.2s ease, visibility 0s; }
  .menu-open .action-bar, .lb-open .action-bar { transform: translateY(110%); visibility: hidden; }
  .action-bar .btn { min-height: 52px; padding: 0 12px; white-space: nowrap; }
  .has-action-bar .footer-base { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
}
/* At 400% zoom (a 320 x 256 window) the bar would cover over a quarter of the screen, as the sticky header would; the
   header's menu still has the quote button. Phones on their side (360 px and taller) keep it. */
@media (max-height: 20rem) {
  .action-bar { display: none !important; }
  html.has-action-bar { scroll-padding-bottom: 0; }
  .has-action-bar .footer-base { padding-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) { .action-bar, .action-bar.is-shown { transition: none; } }

/* --------------------------------------------------------- Draft marker */
/* A page that still carries placeholder copy (a data-draft block) gets class="is-draft" from the build, and this
   banner. The rebuilt pages carry the business's own copy, so none has it today. */
.draft-banner {
  margin: 0;
  padding: 8px var(--gutter);
  background: var(--warn-tint);
  color: var(--warn-ink);
  border-bottom: 1px solid var(--warn-line);
  font-size: 1rem;
  text-align: center;
}
.is-draft [data-draft] { outline: 1px dashed var(--warn); outline-offset: 6px; }

@media (prefers-reduced-motion: no-preference) {
  .btn, .nav a, .chips a, .link-list a, .field input, .field select, .field textarea, .footer-social a, .menu-button {
    transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.12s cubic-bezier(0.22, 1, 0.36, 1);
  }
  /* Pressing a button: it gives a little (21 Nov 2026). */
  .btn:active, .lb-btn:active, .menu-button:active { transform: scale(0.97); }
  .lb-btn { transition: background-color 0.15s, border-color 0.15s, transform 0.12s cubic-bezier(0.22, 1, 0.36, 1); }
  /* A field the form refused shakes once (site.js adds the class on a refused send). */
  .shake { animation: shake 0.36s cubic-bezier(0.22, 1, 0.36, 1); }
  /* The phone menu and the photo viewer arrive rather than appear. */
  .js.menu-open .nav { animation: drop-in 0.22s cubic-bezier(0.22, 1, 0.36, 1); }
  .lightbox[open] { animation: fade-in 0.18s ease-out; }
  .lightbox[open] .lb-bar { animation: rise-in 0.3s cubic-bezier(0.22, 1, 0.36, 1); }
}
@keyframes shake { 0%, 100% { transform: none; } 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }
@keyframes drop-in { from { opacity: 0; transform: translateY(-8px); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: no-preference) {
  .nav .sub { transition: opacity 0.15s, transform 0.15s, visibility 0.15s; }
}
@media (prefers-reduced-motion: reduce) {
  .more svg, .photo-link img, .brand, .brand .logo, .header-actions, .nav > ul, .site-header { transition: none; }
}

/* ------------------------------------------------------------------ Print */
/* A client printing a service page, an article or the cost guide gets black text on white paper: the logo (with
   the site's address beside it, so the paper says where it came from), the words, small photos, and the phone
   number and hours from the footer. Nothing that only works on screen: no menu, buttons, action bar, forms, quote
   bands or lightbox. Links in the articles print their address after them. Nothing breaks across a page inside a
   card, a photo or a heading, and a heading never sits alone at the foot of a page. */
@media print {
  @page { margin: 15mm 16mm; }

  /* Black on white, everywhere: no tints, bands, shadows or white text left on a background that will not print. */
  *, *::before, *::after { color: #000 !important; background: transparent !important; box-shadow: none !important; text-shadow: none !important; }
  html, body { background: #fff !important; }
  body { display: block; min-height: 0; font-size: 11pt; line-height: 1.5; }

  /* Screen-only parts. */
  .skip, .draft-banner, .nav, .menu-button, .header-actions, .action-bar, .lightbox, dialog, .photo-zoom, .crumbs,
  form, .quote-form, .form-panel, .hp, .cta-band, .actions, .banner-img, .hero-img, .hero::after, .banner-photo::after,
  .footer-logo, .footer-social, .footer-grid > :nth-child(n + 3), .footer-base a[href="/privacy-policy/"],
  .signposts-more, video, iframe { display: none !important; }

  /* The header: the logo and the site's address, once, at the top of the first page. */
  .site-header, .js .site-header { position: static; border-bottom: 1px solid #000; }
  .header-inner { display: flex; flex-wrap: nowrap; align-items: center; padding-inline: 0; }
  .brand { min-height: 0; padding-block: 0 4mm; }
  .brand .logo, .js.is-stuck .brand .logo { height: 13mm; width: auto; transform: none !important; }
  .brand::after { content: "www.immaculatebathrooms.com.au"; margin-left: 6mm; font-size: 10pt; }
  .js.is-stuck .brand { transform: none !important; }

  /* Every band becomes plain text in the column. */
  .wrap { max-width: none; padding-inline: 0; }
  .section, .section-tight { padding-block: 6mm; }
  .hero, .banner { min-height: 0; padding-block: 6mm 2mm; text-align: left; }
  .hero-inner { display: block; padding: 0; }
  .hero-panel { padding: 0; border: 0; max-width: none; text-align: left; }
  .banner h1, .banner .lede, .hero-sub, .section-head, .section-head .lede { max-width: none; margin-inline: 0; text-align: left; }
  .section-head { margin-bottom: 4mm; }
  .section-head h2::after, .split-aside h2::after { display: none; }
  .split { display: block; }
  .split > * + * { margin-top: 4mm; }

  h1, h2, h3, h4 { break-after: avoid; break-inside: avoid; }
  h1 { font-size: 22pt; }
  h2 { font-size: 16pt; margin-bottom: 3mm; }
  h3 { font-size: 13pt; }
  .article { max-width: none; font-size: 11pt; }
  .article h2 { margin-top: 8mm; font-size: 15pt; }
  .article h3 { margin-top: 6mm; font-size: 12.5pt; }
  .lede { font-size: 12pt; }
  .muted, .lede, .hint { color: #000 !important; }
  p, li { orphans: 3; widows: 3; }

  /* Links read as text; in the articles (and their related reading) each prints its address after it. */
  a { text-decoration: none; }
  .article a, .link-list a { text-decoration: underline; }
  .article a[href^="/"]::after, .link-list a[href^="/"]::after { content: " (www.immaculatebathrooms.com.au" attr(href) ")"; }
  .article a[href^="http"]::after, .link-list a[href^="http"]::after { content: " (" attr(href) ")"; }
  .article a::after, .link-list a::after { font-size: 9pt; font-weight: 400; overflow-wrap: anywhere; }
  .link-list a { display: block; min-height: 0; padding-block: 2mm; }
  .link-list a svg, .more svg, .ext svg { display: none; }

  /* What was a button prints as its words. */
  .btn { display: inline; min-height: 0; padding: 0; border: 0; font: inherit; letter-spacing: 0; text-transform: none; }

  /* Photos kept small: none wider than 8 cm or taller than 6 cm, keeping their shape; the gallery's at a third of
     that, four across. */
  main img { width: auto !important; height: auto !important; max-width: min(100%, 8cm) !important; max-height: 6cm !important; aspect-ratio: auto !important; object-fit: contain !important; transform: none !important; }
  .photo-link, .service-card-photo, .feature-img { display: inline-block; border-radius: 0; overflow: visible; }
  .gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3mm; }
  .gallery-grid img, .photo-grid img { max-height: 4cm !important; }
  .photo-grid, .fig-row, .fig-pair { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 3mm; }
  figcaption { font-size: 9pt; }

  /* Cards: a thin rule instead of the colours, never split across pages. */
  .service-card, .signpost, .review, .feature, .glance, .inspire, .review-reply, .form-panel { border: 1px solid #999 !important; border-radius: 0; }
  .service-card-band { display: block; padding: 3mm; text-align: left; }
  .feature { display: block; }
  .feature-body { padding: 3mm; }
  .service-cards, .signposts, .review-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4mm; }
  .review-wall { gap: 4mm; }
  .az { display: none; }
  .service-card, .signpost, .review, .feature, .glance, .glance div, .facts div, .qa > div, .deliver li, .checklist li,
  .steps li, .inspire, figure, .fig, .photo-grid li, .gallery-grid li, .az-group, .chips li, tr { break-inside: avoid; }

  /* Markers drawn with a fill (the ticks, bullets, step numbers and stars) in black outline instead. */
  .checklist li::before { border: 1.5px solid #000; }
  .checklist li::after { border-color: #000 !important; }
  .article li::before { background: #000 !important; }
  .article li li::before { background: transparent !important; border-color: #000; }
  .steps li::before { border: 1.5px solid #000; }
  .star .star-on { fill: #000; }
  .star .star-off { fill: #fff; stroke: #000; stroke-width: 1; }
  .deliver-icon { border-color: #000; }
  .chips a, .chips span { min-height: 0; padding: 1mm 3mm; border-color: #999; }

  /* The footer: the business, its insurance and rating, and how to reach it. */
  .site-footer { padding-top: 5mm; border-top: 1px solid #000; font-size: 10pt; break-inside: avoid; }
  .footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 8mm; padding-bottom: 3mm; }
  .footer-grid > * { grid-column: auto !important; }
  .footer-h { font-size: 11pt; margin-bottom: 1mm; }
  .plain a, .plain span { min-height: 0; }
  .footer-base { border-top: 1px solid #999; }
  .footer-base a { min-height: 0; }
}

/* ------------------------------------------------------------ The luxury pass, 4 Dec 2026
   Troy: "it needs to feel luxury like immaculate is" and "switch back to using their colours". The brand colours
   above are back as they were; this block changes only the finish: near-square corners (2px, set in the radius
   tokens), lighter and larger Lora headings, more air between sections, hairlines in place of boxes and shadows,
   quieter buttons, and photos that ease in slowly under the pointer. The home page opens on one of their rooms
   across the full width, with the headline on the photo itself. */
:root { --section: clamp(80px, 44px + 6vw, 152px); --shadow: 0 30px 60px -40px rgb(31 43 42 / 0.35); }
h1, h2 { font-weight: 400; letter-spacing: -0.015em; }
h2 { font-size: clamp(2rem, 1.45rem + 2.1vw, 3.25rem); line-height: 1.1; }
h3 { font-weight: 450; }
.lede { font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); line-height: 1.7; }
.section-head h2::after, .split-aside h2::after { width: 40px; height: 1px; margin-top: 28px; background: var(--brass); }
.section-teal .section-head h2::after, .section-teal .split-aside h2::after { background: rgb(255 255 255 / 0.5); }
.section-head { margin-bottom: clamp(40px, 24px + 3vw, 72px); }

/* Buttons: square, a hairline heavier than the text, a touch of spacing in the letters. */
.btn { min-height: 52px; padding: 0 30px; border-width: 1px; font-weight: 500; letter-spacing: 0.03em; transition: background-color 0.25s, border-color 0.25s, color 0.25s; }
.btn-lg { min-height: 58px; padding: 0 36px; }
.btn-outline { background: transparent; }

/* The header: a little more air, the logo a little larger. */
.btn-phone, .nav .nav-cta .btn { letter-spacing: 0.01em; white-space: nowrap; }
@media (max-width: 47.99rem) { .header-actions .btn-phone { min-height: 44px; padding-inline: 14px; } }
.brand .logo { height: 44px; }
@media (max-width: 24.99rem) { .brand .logo { height: 38px; } }
.js.is-stuck .site-header { box-shadow: 0 1px 0 var(--line); }

/* Photos: no rounded cards and no drop shadows; they ease in slowly under the pointer. */
.fig-band .photo-link { box-shadow: none; }
.service-card-img, .project-card-photo img, .showcase-photo img { transition: transform 1.2s cubic-bezier(0.2, 0.6, 0.2, 1); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .service-card:hover .service-card-img, .project-card:hover .project-card-photo img, .showcase-project:hover .showcase-photo img { transform: scale(1.035); }
}
.service-cards { gap: 48px 32px; }
.service-card-band { padding-top: 24px; }
.service-card h3 { font-size: 1.75rem; }

/* Reviews on the home page: words on a hairline, not grey boxes. */
.review-strip { gap: 40px 48px; }
.review-strip .review, .section:not(.section-grey) .review-strip .review { background: none; border: 0; border-top: 1px solid var(--teal-line); border-radius: 0; padding: 28px 0 0; box-shadow: none; }

/* The quote form's panel: square, a hairline and a soft shadow. */
.form-panel { border-radius: var(--radius-lg); }

/* The client's words on their own pale band. */
.section-tint { background: var(--teal-tint); }
.section-said.section-tint { padding-block: clamp(64px, 36px + 5vw, 120px); }
.section-tint .pull-review-lg { padding-top: 0; border-top: 0; }
.pull-review-lg blockquote p { font-weight: 400; }

/* The home page's opening: the room across the full width, darkened on the left so the headline reads on it. */
.hero-lux { position: relative; isolation: isolate; display: grid; background: var(--bottle); color: var(--white); }
.hero-lux .hero-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero-lux::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgb(22 32 31 / 0.86) 0%, rgb(22 32 31 / 0.66) 38%, rgb(22 32 31 / 0.12) 70%, rgb(22 32 31 / 0) 100%); }
.hero-lux .hero-inner { display: flex; align-items: center; min-height: clamp(36rem, 86vh, 54rem); padding-block: 72px; }
.hero-lux .hero-copy { max-width: 36rem; }
.hero-lux .hero-copy::before { content: ""; display: block; width: 40px; height: 1px; margin-bottom: 32px; background: rgb(255 255 255 / 0.7); }
.hero-lux h1 { margin: 0 0 24px; color: var(--white); font-size: clamp(2.375rem, 1.5rem + 3vw, 4.25rem); line-height: 1.06; hyphens: manual; -webkit-hyphens: manual; }
.hero-lux .hero-sub { margin: 0; max-width: 32rem; color: rgb(255 255 255 / 0.9); font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.65; }
.hero-lux .actions { margin-top: 40px; }
.hero-lux .hero-note { margin: 18px 0 0; color: rgb(255 255 255 / 0.85); font-weight: 400; }
.hero-lux .hero-trust { justify-content: flex-start; gap: 4px 0; margin: 48px 0 0; padding: 0; color: var(--white); font-size: 1rem; }
.hero-lux .hero-trust li { padding-inline: 0 20px; margin-right: 20px; border-right: 1px solid rgb(255 255 255 / 0.35); }
.hero-lux .hero-trust li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero-lux .hero-trust a { color: var(--white); }
.hero-lux .star .star-on { fill: var(--white); }
.hero-lux .star .star-off { fill: rgb(255 255 255 / 0.3); }
@media (max-width: 47.99rem) {
  .hero-lux { background: var(--bottle); }
  .hero-lux::before { display: none; }
  .hero-lux picture, .hero-lux .hero-img { display: block; position: static; height: auto; aspect-ratio: 4 / 3; }
  .hero-lux .hero-inner { min-height: 0; margin-top: 0; padding-block: 40px 48px; }
  .hero-lux .hero-trust { flex-direction: column; align-items: flex-start; }
  .hero-lux .hero-trust li { border-right: 0; margin-right: 0; padding-right: 0; min-height: 36px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-lux .hero-copy > * { animation: hero-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s both; }
}
@media print { .hero-lux { display: block; background: none; color: #000; } .hero-lux::before { display: none; } .hero-lux h1 { color: #000; } .hero-lux .hero-inner { min-height: 0; padding: 0; } }

/* ------------------------------------------------------------ The luxury pass, every page (4 Dec 2026)
   Troy: "do the service and suburb banners too. Like do everything ... it needs to feel like they paid 50k for this
   look". The same finish as the home page, carried through: tall photo banners, finer details in place of filled
   shapes, quieter type at small sizes. Colours unchanged. */
::selection { background: var(--teal-tint); color: var(--ink); }

/* Inner page banners: taller, the words low on the left like the home page, the room in its own colours. */
.banner { background: var(--bottle); }
.banner-photo { display: flex; align-items: flex-end; min-height: clamp(28rem, 66vh, 44rem); padding-block: clamp(56px, 32px + 5vw, 112px); }
.banner-photo .banner-inner { width: 100%; }
.banner-photo::after { background:
  linear-gradient(0deg, rgb(22 32 31 / 0.55) 0%, rgb(22 32 31 / 0) 45%),
  linear-gradient(90deg, rgb(22 32 31 / 0.84) 0%, rgb(22 32 31 / 0.66) 40%, rgb(22 32 31 / 0.1) 75%, rgb(22 32 31 / 0) 100%); }
.banner h1 { font-weight: 400; font-size: clamp(2.5rem, 1.5rem + 3.4vw, 4.5rem); line-height: 1.04; }
.banner .lede { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.65; }
.banner .actions { margin-top: 40px; }
.banner .btn:not(.btn-ghost):not(.btn-light) { background: var(--white); border-color: var(--white); color: var(--teal-deeper); }
.banner .btn:not(.btn-ghost):not(.btn-light):hover { background: var(--teal-tint); border-color: var(--teal-tint); }
.banner .btn-outline { background: transparent; border-color: rgb(255 255 255 / 0.85); color: var(--white); }
.banner .btn-outline:hover { background: rgb(255 255 255 / 0.12); border-color: var(--white); color: var(--white); }
.crumbs { margin-bottom: 20px; font-size: 0.9375rem; letter-spacing: 0.04em; }
.crumbs a { font-weight: 500; }
@media (max-width: 47.99rem) {
  .banner-photo { display: block; min-height: 0; padding-top: 0; }
  .banner-photo picture, .hero-lux picture { display: block; overflow: hidden; } /* clips the stamp crop to the photo */
  .banner-photo .banner-inner { padding-top: 36px; }
}

/* The header: menu links underline from the left under the pointer. */
.nav a { font-weight: 500; letter-spacing: 0.01em; }
@media (min-width: 64rem) and (prefers-reduced-motion: no-preference) {
  .nav > ul > li > a:not([aria-current]):not(.is-section) { background: linear-gradient(var(--teal), var(--teal)) left bottom / 0 1px no-repeat; transition: background-size 0.35s ease, color 0.2s; }
  .nav > ul > li > a:not([aria-current]):not(.is-section):hover { background-size: 100% 1px; }
}
.nav a[aria-current="page"], .nav a.is-section { box-shadow: inset 0 -1px 0 var(--teal); }

/* Lists of points: a fine ring and tick in place of the filled teal dot. */
.checklist li::before { background: transparent; border: 1px solid var(--teal); }
.checklist li::after { border-color: var(--teal-deeper); border-width: 0 1.5px 1.5px 0; }
.checklist li { padding-left: 44px; }

/* The "Need design inspiration?" note: a line of serif beside a fine brass rule, not a tinted box. */
.inspire { padding: 4px 0 4px 20px; border-left: 1px solid var(--brass); background: none; border-radius: 0; font: italic 400 1.125rem/1.6 var(--font-head); color: var(--ink); }
.inspire a { font-style: normal; font-family: var(--font-body); font-size: 1rem; }

/* The insurance line under "What every job comes with": a line of text over a hairline, not a box. */
.insured-small { padding: 24px 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; }

/* Suburb chips: hairline, square, no fill until the pointer is on them. */
.chips a, .chips span { font-weight: 500; letter-spacing: 0.01em; background: transparent; }
.chips .chip-here { background: var(--teal-deep); }

/* Reviews everywhere: words on a hairline, not boxes. */
.review { background: none; border: 0; border-top: 1px solid var(--teal-line); border-radius: 0; padding: 28px 0 8px; }
.section:not(.section-grey) .review { background: none; }
.review-short::before { font-size: 3.5rem; height: 32px; color: var(--brass); }

/* Signposts (links to other pages): a hairline over each, no tinted panel. */
.signpost, .section-grey .signpost { background: none; border: 0; border-top: 1px solid var(--teal-line); border-radius: 0; padding: 24px 0 8px; }
.signpost:hover { border-top-color: var(--teal-deep); }

/* The quote form: taller, finer fields; labels a shade lighter. */
.field label { font-weight: 600; }
.field input, .field select { min-height: 54px; }
.form-panel { border: 1px solid var(--line); box-shadow: var(--shadow); }

/* The process: the numbers larger and lighter. */
.process li::before { font-size: 3.25rem; color: var(--teal); }
.process-line li::after { background: var(--brass); }

/* The footer: more room, a larger logo, finer details. */
.site-footer { padding-top: clamp(64px, 40px + 5vw, 128px); }
.footer-grid { padding-bottom: clamp(56px, 40px + 3vw, 96px); }
.footer-logo .logo { height: 64px; }
.footer-h { font-size: 1.25rem; letter-spacing: 0.01em; margin-bottom: 20px; }
.footer-social a { background: transparent; border: 1px solid rgb(255 255 255 / 0.3); }
.footer-social a:hover { background: var(--white); border-color: var(--white); }
.footer-rating { font-weight: 600; }
.footer-base { border-top-color: rgb(255 255 255 / 0.14); color: rgb(207 213 212 / 0.85); }
.footer-base-inner { padding-block: 20px; }

/* ------------------------------------------------------------ After an art director's critique (4 Dec 2026)
   Their test: does it look like a site the owner paid $50,000 for. What follows is what they found cheapened it. */

/* The logo stamped in the bottom-left corner of their photos: cropped off on the page (the photo viewer still shows
   the whole photo). The crop keeps the top-right 86% of each photo. */
.service-card-img, .project-card-photo img, .showcase-photo img, .photo-link img, .ba-pane img, .banner-img, .hero-lux .hero-img { transform: scale(1.16); transform-origin: 100% 0; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .service-card:hover .service-card-img, .project-card:hover .project-card-photo img, .showcase-project:hover .showcase-photo img, .photo-link:hover img { transform: scale(1.2); }
}
.service-card-photo, .project-card-photo, .showcase-photo, .photo-link, .ba-pane, .hero-lux { overflow: hidden; }

/* Inner page banners on a wide screen: the words on a solid deep panel, the room in full colour beside it. */
@media (min-width: 64rem) {
  .banner-photo { background: var(--bottle); }
  /* The photo grows from its top-left corner for the stamp crop, so it stays to the right of the panel. */
  .banner-photo .banner-img { left: 44%; width: 56%; transform-origin: 0 0; }
  .banner-photo::after { display: none; }
  .banner-photo .banner-inner > * { max-width: calc(44vw - max(var(--gutter), (100vw - 74rem) / 2 + var(--gutter)) - 48px); }
}

/* Next to "Request a free quote", the call is a quiet underlined link (still a full finger tall). */
.banner .actions .btn-outline, .banner .actions .btn-ghost, .hero-lux .actions .btn-ghost { border-color: transparent; background: none; padding-inline: 8px; text-decoration: underline 1px; text-underline-offset: 0.4em; }
.banner .actions .btn-outline:hover, .banner .actions .btn-ghost:hover, .hero-lux .actions .btn-ghost:hover { background: rgb(255 255 255 / 0.08); border-color: transparent; }
@media (max-width: 29.99rem) { .banner .actions .btn-outline, .banner .actions .btn-ghost, .hero-lux .actions .btn-ghost { justify-content: flex-start; } }

/* Areas on the suburbs page: one white page with a hairline between areas, not seven alternating bands. */
.section-area { padding-block: clamp(48px, 32px + 3vw, 88px); }
.section-area + .section-area { border-top: 1px solid var(--line); }
.section-set + .section-set { padding-top: 0; }

/* Lists of points: a short brass line, the lead-in in Lora. */
.checklist li { padding-left: 40px; }
.checklist li::before { top: 30px; width: 20px; height: 1px; border: 0; border-radius: 0; background: var(--brass); }
.checklist-lg li::before { top: 34px; }
.checklist li::after { content: none; }
.checklist strong { font: 450 1.1875rem/1.4 var(--font-head); color: var(--ink); }

/* Suburb links: an underlined list, not boxed tags. */
.chips { gap: 4px 28px; }
.chips a, .chips span { border: 0; border-bottom: 1px solid var(--teal-line); border-radius: 0; padding-inline: 0; background: none; }
.chips a:hover { background: none; border-bottom-color: var(--teal-deep); }
.chips .chip-here { background: none; color: var(--ink); border-bottom: 2px solid var(--brass); }
.chips .chip-here svg { color: var(--brass-deep); }

/* On a phone the three rooms are shown large. */
@media (max-width: 39.99rem) { .service-card-img { aspect-ratio: 4 / 3; } .service-cards { gap: 48px; } }

/* The quote prompt at the foot of a page: light, so the footer is the one dark block at the bottom. */
.cta-band { background: var(--grey); color: var(--ink); }
.cta-band h2 { color: var(--ink); }
.cta-band p { color: var(--muted); }
.cta-band .btn-light { background: var(--teal-deep); border-color: var(--teal-deep); color: var(--white); }
.cta-band .btn-light:hover { background: var(--teal-deeper); border-color: var(--teal-deeper); color: var(--white); }
.cta-band .btn-ghost { color: var(--teal-deeper); border-color: transparent; background: none; text-decoration: underline 1px; text-underline-offset: 0.4em; }
.cta-band .btn-ghost:hover { background: var(--teal-tint); color: var(--teal-deeper); border-color: transparent; }
.cta-band { --focus: var(--ink); }

/* The header: one filled button. The phone number is plain on a wide screen; the menu button is outlined. */
@media (min-width: 64rem) { .header-actions .btn-phone { border-color: transparent; background: none; color: var(--ink); font-weight: 500; } .header-actions .btn-phone:hover { background: var(--grey); color: var(--teal-deeper); } }
.menu-button { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.menu-button:hover { background: var(--grey); color: var(--ink); }
@media (max-width: 63.99rem) { .header-actions .btn-phone { background: transparent; color: var(--teal-deeper); border: 1px solid var(--teal-line); } .header-actions .btn-phone:hover { background: var(--teal-tint); } }

/* Before and after: the labels in the corners as plain white words, a hairline divider and a glass handle; the
   frame the width of the page. */
.ba-tag { top: auto; bottom: 16px; padding: 0; background: none; color: var(--white); font-weight: 600; letter-spacing: 0.06em; text-shadow: 0 1px 10px rgb(0 0 0 / 0.6); }
.js .ba-frame::before { width: 1px; margin-left: -0.5px; box-shadow: none; }
.js .ba-frame::after { width: 56px; height: 56px; margin: -28px 0 0 -28px; background: rgb(255 255 255 / 0.2); border: 1px solid var(--white); box-shadow: none; color: var(--white); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
@media (min-width: 56rem) { .ba-grid-one { grid-template-columns: minmax(0, 1fr); } }

/* Body copy in ink, not grey; grey is for dates and other small print. */
.process p, .deliver p, .qa p, .service-card p, .signpost p { color: var(--ink); }

/* Project card titles that are h4s, in Lora like the rest. */
.project-card h4 { font-family: var(--font-head); font-weight: 450; letter-spacing: -0.01em; }

/* The gallery: three larger photos across, the first of each room twice the size. */
@media (min-width: 60rem) {
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .gallery-grid > li:first-child { grid-column: span 2; grid-row: span 2; }
  .gallery-grid > li:first-child .photo-link, .gallery-grid > li:first-child picture { height: 100%; }
  .gallery-grid > li:first-child .photo-link img { height: 100%; aspect-ratio: auto; }
}

/* The reviews page: more room between reviews, words in ink, the first of each column larger. */
.review-wall, .review-col { gap: 40px; }
@media (min-width: 60rem) { .review-wall { column-gap: 56px; } }
.review-text { color: var(--ink); max-width: 60ch; }
.review-col > .review:first-child .review-text { font: 400 1.25rem/1.55 var(--font-head); }

/* The footer: round social links, more space between columns. */
.footer-social a { border-radius: 50%; }
@media (min-width: 64rem) { .footer-grid { column-gap: clamp(32px, 4vw, 72px); } }

/* The project page's facts: on hairlines, the answers in Lora. */
.glance-row { padding-block: 24px; border-block: 1px solid var(--line); gap: 16px 72px; }
.glance-row dd { font: 450 1.375rem/1.3 var(--font-head); }

/* ------------------------------------------------------------ Motion, 4 Dec 2026
   Troy: "a web devs wet dream with like stuff that scrolls at different rates", after "first practical with good
   seo". So every effect here is CSS driven by the scroll itself (scroll-driven animations): no script, nothing hidden
   from a search engine or a browser without support (it simply shows the page still), and the browser runs it off the
   main thread, so scrolling stays smooth. All of it is off for anyone who asks their device for less motion.
   What moves:
   - a fine brass line across the top fills as you read down the page;
   - the photos at the top of each page drift slower than the page, and the words lift away faster;
   - photos inside cards and project frames slide within their frames as they pass (the room moves at its own rate);
   - headings, cards, steps and reviews rise into place as they come into view, one after another;
   - the process line draws itself from left to right;
   - gallery photos open like a blind as they arrive;
   - moving between pages cross-fades, the header staying put.
   Photos that move inside a frame are drawn larger first (the stamp crop above, made a little deeper) so no edge or
   corner stamp ever slides into view. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .site-header { view-transition-name: site-header; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.35s; }

  @supports (animation-timeline: view()) {
    /* Reading progress. */
    body::after {
      content: ""; position: fixed; inset: 0 0 auto 0; z-index: 60; height: 2px; background: var(--brass);
      transform-origin: 0 50%; scale: 0 1; pointer-events: none;
      animation: mo-progress linear both; animation-timeline: scroll(root);
    }
    @keyframes mo-progress { to { scale: 1 1; } }

    /* The opening photo: slower than the page; the words: faster, and fading. */
    .hero-lux .hero-img, .banner-photo .banner-img { transform: scale(1.3); transform-origin: 100% 50%; animation: mo-drift linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    @keyframes mo-drift { from { translate: 0 0; } to { translate: 0 9%; } }
    /* A wide screen's banner photo sits right of the panel: it grows rightwards (clipped at the page edge), never over the panel. */
    @media (min-width: 64rem) { .banner-photo .banner-img { transform-origin: 0 50%; } }
    /* Wide screens only: on a phone the words sit below the photo and are still being read as the page scrolls. */
    @media (min-width: 48rem) { .hero-lux .hero-copy, .banner-photo .banner-inner { animation: mo-lift linear both; animation-timeline: scroll(root); animation-range: 0 90vh; } }
    /* The words stay fully readable for the first third of the scroll before they lift away. */
    @keyframes mo-lift { 0%, 35% { translate: 0 0; opacity: 1; } 100% { translate: 0 -72px; opacity: 0.15; } }

    /* Photos inside frames: the room slides within its frame as the frame passes. */
    .service-card-img, .project-card-photo img, .showcase-photo img, .fig-person .photo-link img { transform: scale(1.35); transform-origin: 100% 50%; animation: mo-inframe linear both; animation-timeline: view(); }
    @keyframes mo-inframe { from { translate: 0 8%; } to { translate: 0 0; } }

    /* Things rise into place as they arrive, in turn. */
    .review-strip > *, .review-col > *, .deliver li,
    .process li, .checklist li, .qa > div, .signpost, .glance-row > div, .area, .local-work > *, .service-card-band, .project-card h2, .project-card h3, .project-card h4, .project-card p {
      animation: mo-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 70%;
    }
    @keyframes mo-rise { from { opacity: 0; translate: 0 36px; } to { opacity: 1; translate: 0 0; } }
    :is(.service-cards, .project-cards, .showcase, .review-strip, .deliver, .process, .checklist, .qa, .signposts) > :nth-child(3n+2) { animation-range: entry 8% entry 78%; }
    :is(.service-cards, .project-cards, .showcase, .review-strip, .deliver, .process, .checklist, .qa, .signposts) > :nth-child(3n+3) { animation-range: entry 16% entry 86%; }

    /* The process line draws itself, and each step's dot follows. */
    @media (min-width: 64rem) {
      .process-line::before { transform-origin: 0 50%; animation: mo-draw linear both; animation-timeline: view(); animation-range: entry 20% cover 45%; }
      @keyframes mo-draw { from { scale: 0 1; } to { scale: 1 1; } }
      .process-line li::after { animation: mo-dot linear both; animation-timeline: view(); animation-range: entry 30% entry 90%; }
      @keyframes mo-dot { from { scale: 0; } to { scale: 1; } }
    }

    /* Gallery and project photos open like a blind. */
    .gallery-grid li, .photo-grid li { animation: mo-blind linear both; animation-timeline: view(); animation-range: entry 0% entry 80%; }
    @keyframes mo-blind { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
  }
}
/* Hovering a photo in a frame still eases it closer (larger than its drawn size). */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .service-card:hover .service-card-img, .project-card:hover .project-card-photo img, .showcase-project:hover .showcase-photo img { transform: scale(1.42); }
  }
}
@media print { body::after { display: none; } }

/* ------------------------------------------------------------ Motion, round two (4 Dec 2026)
   Troy: "we can do better than stuff just appearing and disappearing". Each of these is tied to the scroll position
   itself, so it moves as far as you scroll and runs backwards when you scroll back up:
   - headings wipe up from behind their own baseline, like type set in place;
   - big photos open out from a soft inset frame to their full size;
   - the large client quote and Derek's statement light up word by word as you read down them;
   - two lines of large type slide past in opposite directions between sections;
   - on a phone the recent projects stack: each card stays put while the next slides over it;
   - the before-and-after line sweeps from the old room to the new as it crosses the screen (site.js), until
     someone drags it themselves. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    /* Headings set in place. */
    .section-head h2, .split-aside h2, .project-card-photo + h3, .showcase-body h3 {
      animation: mo-set linear both; animation-timeline: view(); animation-range: entry 10% entry 90%;
    }
    @keyframes mo-set { from { clip-path: inset(0 0 100% 0); translate: 0 0.5em; } to { clip-path: inset(0 0 -0.3em 0); translate: 0 0; } }
    .section-head h2::after, .split-aside h2::after { transform-origin: 0 50%; animation: mo-rule linear both; animation-timeline: view(); animation-range: entry 40% cover 40%; }
    .section-head:not(.section-head-row) h2::after { transform-origin: 50% 50%; }
    @keyframes mo-rule { from { scale: 0 1; } to { scale: 1 1; } }

    /* Big photos open out. */
    .showcase-photo, .ba-frame, .fig-band .photo-link, .service-card-photo, .project-card-photo, .split-media .fig .photo-link {
      animation: mo-open linear both; animation-timeline: view(); animation-range: entry 0% cover 40%;
    }
    @keyframes mo-open { from { clip-path: inset(9% 7% round 18px); } to { clip-path: inset(0 0 round 2px); } }

    /* Read along: each word lights as it passes the upper middle of the screen. */
    .read-along .w { animation: mo-word linear both; animation-timeline: view(); animation-range: cover 18% cover 42%; }
    @keyframes mo-word { from { opacity: 0.16; } to { opacity: 1; } }

    /* Two lines of type sliding past each other. */
    html .type-band { display: block; }
    .type-row { animation: mo-slide linear both; animation-timeline: view(); }
    .type-row-back { animation-name: mo-slide-back; }
    @keyframes mo-slide { from { translate: 4% 0; } to { translate: -38% 0; } }
    @keyframes mo-slide-back { from { translate: -38% 0; } to { translate: 4% 0; } }

    /* (The recent projects used to stack on phones here; round four turns them into a sideways strip instead.) */
  }
}
/* The type band: large Lora words in a single line, one row filled, one drawn in outline. Hidden where nothing moves
   (no support, or less motion asked for): still words add nothing. */
.type-band { display: none; overflow: hidden; padding-block: clamp(40px, 24px + 4vw, 88px); background: var(--white); }
.type-row { display: flex; gap: 0.5em; margin: 0; white-space: nowrap; font: 400 clamp(3rem, 1.6rem + 6vw, 7.5rem)/1.05 var(--font-head); letter-spacing: -0.02em; color: var(--ink); }
.type-row span::after { content: ""; display: inline-block; width: 0.16em; height: 0.16em; margin-left: 0.5em; vertical-align: middle; background: var(--brass); rotate: 45deg; }
.type-row-back { color: transparent; -webkit-text-stroke: 1px var(--teal); }
@media (forced-colors: active) { .type-band { display: none !important; } }
@media print { .type-band { display: none !important; } }

/* ------------------------------------------------------------ Motion, round three (4 Dec 2026)
   Troy: "continue improving the website with allat". The one moment on arrival, and details that answer the hand:
   - each page's headline arrives word by word, rising out of a soft blur, as the page opens (once, on load);
   - on a wide screen a section's heading stays pinned beside its list while the list scrolls past;
   - over a project, service or gallery photo, a round "View" label follows the pointer (site.js; mouse only);
   - buttons fill from the left under the pointer, and "See ..." arrows step forward. */
@media (prefers-reduced-motion: no-preference) {
  .h-in .w { display: inline-block; animation: mo-word-in 0.9s cubic-bezier(0.2, 0.75, 0.15, 1) both; }
  .h-in .w:nth-child(2) { animation-delay: 0.06s; }
  .h-in .w:nth-child(3) { animation-delay: 0.12s; }
  .h-in .w:nth-child(4) { animation-delay: 0.18s; }
  .h-in .w:nth-child(5) { animation-delay: 0.24s; }
  .h-in .w:nth-child(6) { animation-delay: 0.3s; }
  .h-in .w:nth-child(7) { animation-delay: 0.36s; }
  .h-in .w:nth-child(8) { animation-delay: 0.42s; }
  .h-in .w:nth-child(n+9) { animation-delay: 0.48s; }
  @keyframes mo-word-in { from { opacity: 0; translate: 0 0.45em; filter: blur(10px); } to { opacity: 1; translate: 0 0; filter: blur(0); } }
  /* The rest of the opening follows the headline in. */
  .hero-lux .hero-sub, .hero-lux .actions, .hero-lux .hero-note, .hero-lux .hero-trust, .banner .lede, .banner .actions, .banner .crumbs {
    animation: mo-follow 0.9s cubic-bezier(0.2, 0.75, 0.15, 1) 0.45s both;
  }
  .hero-lux .actions, .banner .actions { animation-delay: 0.6s; }
  .hero-lux .hero-note, .hero-lux .hero-trust { animation-delay: 0.75s; }
  @keyframes mo-follow { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
  /* The opening photo settles as the page opens. On the photo itself, never on its <picture>: a scale on the
     <picture> made it the box the absolutely placed photo fills, and that box is empty, so on wide screens the photo
     vanished (fixed in round four). With scroll-driven support the photo also drifts, so both are listed together. */
  .hero-lux .hero-img, .banner-photo .banner-img { animation: mo-settle 1.6s cubic-bezier(0.2, 0.75, 0.15, 1) both; }
  @supports (animation-timeline: view()) {
    .hero-lux .hero-img, .banner-photo .banner-img {
      animation: mo-drift linear both, mo-settle 1.6s cubic-bezier(0.2, 0.75, 0.15, 1) both;
      animation-timeline: scroll(root), auto; animation-range: 0 100vh, normal;
    }
  }
  @keyframes mo-settle { from { opacity: 0.4; scale: 1.06; } to { opacity: 1; scale: 1; } }
}
/* The page-load words are a span each; keep the headline wrapping where it always did. */
.h-in .w { white-space: normal; }

/* Pinned headings beside long lists (wide screens). */
@media (min-width: 60rem) {
  .split:not(.split-quote):not(.split-media):not(.split-form-first) > .split-aside { position: sticky; top: calc(var(--hdr-real, var(--hdr-h)) - var(--hdr-shrink) + 40px); align-self: start; }
}

/* A round label that follows the pointer over photos (site.js adds it; hidden until it has somewhere to be). */
.cursor-label { position: fixed; top: 0; left: 0; z-index: 70; display: grid; place-items: center; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%;
  background: rgb(36 59 57 / 0.94); color: var(--white); font: 500 0.875rem/1.2 var(--font-body); letter-spacing: 0.02em; text-align: center;
  pointer-events: none; opacity: 0; scale: 0.4; transition: opacity 0.25s, scale 0.35s cubic-bezier(0.2, 0.75, 0.15, 1); box-shadow: 0 10px 30px -12px rgb(0 0 0 / 0.45); }
.cursor-label.is-on { opacity: 1; scale: 1; }
.has-cursor-label :is(.service-card-photo, .project-card-photo, .showcase-photo, .gallery-grid .photo-link, .photo-grid .photo-link) { cursor: none; }

/* Buttons fill from the left; arrows step forward. */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .btn:not(.btn-ghost):not(.btn-outline):not(.btn-light):not(.btn-phone) { background-image: linear-gradient(var(--teal-deeper), var(--teal-deeper)); background-repeat: no-repeat; background-size: 0% 100%; transition: background-size 0.45s cubic-bezier(0.2, 0.75, 0.15, 1), border-color 0.25s, color 0.25s; }
  .btn:not(.btn-ghost):not(.btn-outline):not(.btn-light):not(.btn-phone):hover { background-color: var(--teal-deep); background-size: 100% 100%; }
  .btn-light { background-image: linear-gradient(var(--teal-tint), var(--teal-tint)); background-repeat: no-repeat; background-size: 0% 100%; transition: background-size 0.45s cubic-bezier(0.2, 0.75, 0.15, 1); }
  .btn-light:hover { background-color: var(--white); background-size: 100% 100%; }
  .more svg, .btn svg { transition: translate 0.3s cubic-bezier(0.2, 0.75, 0.15, 1); }
  a:hover > .more svg, .more:hover svg, :is(.service-card, .project-card, .showcase-project):hover .more svg { translate: 5px 0; }
}

/* ------------------------------------------------------------ Motion, round four (4 Dec 2026)
   The recent projects on the home page become a strip that travels sideways as you scroll down: the strip holds still
   in the window while the page scrolls under it, the five projects pass across, and then the page carries on. Native
   scrolling throughout (nothing is captured: scrolling up runs it backwards, and a flick scrolls past it). The photos
   inside the cards drift against the strip, so the rooms move at a slower rate than their frames, and a brass line
   under the strip fills as it travels.
   Only where it fits: scroll-driven animations supported, motion welcome, and a window at least 560px tall (the card
   must fit inside the held strip). Anywhere else the projects are the ordinary list above. A keyboard user who tabs
   to a card that is still off to the side is scrolled to it (site.js). */
.hs-bar { display: none; }
@media (prefers-reduced-motion: no-preference) and (min-height: 560px) {
  @supports (animation-timeline: view()) and (view-timeline: --a block) {
    .hs {
      --n: 5; --card: min(82vw, 24rem); --gap: 16px; --pad: var(--gutter);
      --travel: calc(var(--n) * (var(--card) + var(--gap)) - var(--gap) + 2 * var(--pad) - 100vw);
      --pin: calc(100svh - var(--hdr-real, var(--hdr-h)) + var(--hdr-shrink));
      position: relative; margin-inline: calc(50% - 50vw); height: calc(var(--pin) + max(var(--travel), 0px));
      view-timeline: --hs block;
      /* Measure the strip's progress from where it is held (under the header) to where it lets go (the window's
         foot), not from the page's scroll padding. */
      view-timeline-inset: calc(var(--hdr-real, var(--hdr-h)) - var(--hdr-shrink)) 0px;
      /* 5 Dec 2026, iPhone: Safari's address bar hides and shows as you scroll, which changes the window's height
         (the scrollport) but not 100svh. The pin is 100svh tall, so the window's foot is held at 100svh too: the strip
         then travels the same distance for the same scroll whether the bar is showing or not (no sideways lurch). The
         line above stays for a browser that cannot read the percentage. */
      view-timeline-inset: calc(var(--hdr-real, var(--hdr-h)) - var(--hdr-shrink)) calc(100% - 100svh);
    }
    /* The strip is full width: clip the sideways overflow (clip, not hidden, so the sticky hold still works). */
    .section:has(.hs) { overflow-x: clip; }
    .hs:has(.showcase > li:nth-child(4)) { --n: 4; }
    .hs:has(.showcase > li:nth-child(5)) { --n: 5; }
    .hs:has(.showcase > li:nth-child(6)) { --n: 6; }
    .hs:has(.showcase > li:nth-child(7)) { --n: 7; }
    .hs:has(.showcase > li:nth-child(8)) { --n: 8; }
    .hs-pin {
      position: sticky; top: calc(var(--hdr-real, var(--hdr-h)) - var(--hdr-shrink)); height: var(--pin);
      display: grid; align-content: center; gap: 28px; overflow: clip;
    }
    /* Phones and tablets: leave room for the Call / Free quote bar along the bottom. */
    @media (max-width: 63.99rem) { .hs-pin { padding-bottom: 64px; } }
    .hs .showcase {
      display: flex; gap: var(--gap); width: max-content; padding-inline: var(--pad); align-items: start;
      animation: hs-move linear both; animation-timeline: --hs; animation-range: contain 0% contain 100%;
    }
    @keyframes hs-move { 0%, 4% { translate: 0 0; } 96%, 100% { translate: calc(-1 * max(var(--travel), 0px)) 0; } }
    .hs .showcase > li { flex: 0 0 var(--card); display: block; animation: none; }
    .hs .showcase > li > *, .hs .showcase-body > * { animation: none; }
    .hs .showcase-body { padding-left: 0; border-left: 0; }
    .hs .showcase-body h3, .hs .showcase-small h3 { margin: 18px 0 6px; font-size: clamp(1.375rem, 1.25rem + 0.5vw, 1.75rem); }
    .hs .showcase-photo { animation: none; clip-path: none; }
    /* The photo as tall as the held window allows (a phone shows a tall room, not a letterbox). */
    .hs .showcase-photo img { aspect-ratio: auto; height: clamp(200px, 48svh - 40px, 440px); transform: scale(1.3); transform-origin: 50% 50%; animation: hs-drift linear both; animation-timeline: --hs; animation-range: contain 0% contain 100%; }
    @keyframes hs-drift { from { translate: 9% 0; } to { translate: -9% 0; } }
    .hs .showcase-row .showcase-meta { margin-bottom: 10px; }
    /* The line that fills as the strip travels. */
    .hs-bar { display: block; height: 2px; margin-inline: var(--pad); width: min(calc(100vw - 2 * var(--pad)), 74rem - 2 * var(--gutter)); background: rgb(36 59 57 / 0.14); position: relative; }
    .hs-bar::after { content: ""; position: absolute; inset: 0; background: var(--brass); transform-origin: 0 50%; scale: 0 1; animation: mo-progress linear both; animation-timeline: --hs; animation-range: contain 0% contain 100%; }
    @media (min-width: 64rem) {
      .hs { --card: clamp(22rem, 33vw, 32rem); --gap: 32px; --pad: max(var(--gutter), (100vw - 74rem) / 2 + var(--gutter)); }
      .hs .showcase-photo img { height: clamp(240px, 52svh - 60px, 460px); }
    }
  }
}

/* ------------------------------------------------------------ Motion, round five (4 Dec 2026)
   Phones, where Troy looks at the site:
   - the photo at the top of each page stays where it is while the words slide up over it, dimming as they cover it
     (a curtain, by position: sticky; the page scrolls natively);
   - a project's room photos are laid out as a mosaic (one wide, then two side by side), and the right-hand photo of
     each pair travels at its own rate, so the two columns slide past each other.
   Off where less motion is asked for or scroll-driven animations are missing: the photos then sit in one column. */
@media (max-width: 47.99rem) and (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .hero-lux, .banner-photo { overflow: clip; } /* clip, not hidden: a sticky photo needs the page as its scroller */
    .hero-lux picture, .banner-photo picture { position: sticky; top: calc(var(--hdr-real, var(--hdr-h)) - var(--hdr-shrink)); z-index: 0; }
    .hero-lux .hero-inner, .banner-photo .banner-inner { position: relative; z-index: 1; background: var(--bottle); }
    .hero-lux picture::after, .banner-photo picture::after {
      content: ""; position: absolute; inset: 0; background: rgb(22 32 31); opacity: 0; pointer-events: none;
      animation: mo-dim linear both; animation-timeline: scroll(root); animation-range: 0 60vh;
    }
    @keyframes mo-dim { to { opacity: 0.6; } }

    .photo-grid-three { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 10px; }
    .photo-grid-three > li:nth-child(3n+1), .photo-grid-three > li:nth-child(3n+2):last-child { grid-column: 1 / -1; }
    .photo-grid-three > li:not(:nth-child(3n+1)) .photo-link img { aspect-ratio: 4 / 5; }
    /* 5 Dec 2026: the right-hand photo of each pair moved as a whole tile and could overlap the photo above or below
       it by up to 20px; now the room slides inside its own frame instead, so tiles never touch. The photo is drawn
       larger first (as the other frames are) so no edge or corner stamp slides into view. */
    .photo-grid-three > li:nth-child(3n) .photo-link img { transform: scale(1.3); transform-origin: 100% 50%; animation: mo-lag linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
    @keyframes mo-lag { from { translate: 0 0; } to { translate: 0 10%; } }
  }
}

/* ------------------------------------------------------------ Motion, round six (4 Dec 2026)
   - The deep slate-green panels open out to the full width as they arrive (from a card with rounded corners);
   - the footer rises from beneath the page as the page ends: its contents start a little lower and darker and settle
     as the last of the page scrolls away;
   - buttons press in under a finger or a click, and on a wide screen lean a little towards the mouse (site.js). */
@media (prefers-reduced-motion: no-preference) {
  .btn:active { scale: 0.97; }
  @supports (animation-timeline: view()) {
    .section-teal { animation: mo-panel linear both; animation-timeline: view(); animation-range: entry 0% entry 90%; }
    @keyframes mo-panel { from { clip-path: inset(0 clamp(12px, 4vw, 64px) round clamp(12px, 2vw, 28px)); } to { clip-path: inset(0 0 round 0); } }
    .site-footer { overflow: clip; }
    .site-footer > * { animation: mo-foot linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
    @keyframes mo-foot { from { translate: 0 -96px; opacity: 0.2; } to { translate: 0 0; opacity: 1; } }
  }
}

/* ------------------------------------------------------------ The gallery on a phone, round seven (4 Dec 2026)
   Ninety photos in an even grid of small squares read as a wall. On a phone they now run in a rhythm of five: one
   photo across the full width, then two pairs of tall photos side by side (larger photos for older eyes, and a pace
   to the page). Where motion is welcome the right-hand column slides at its own rate, like the project pages. */
@media (max-width: 39.99rem) {
  .gallery-grid { gap: 12px 8px; }
  .gallery-grid > li:nth-child(5n+1) { grid-column: 1 / -1; }
  .gallery-grid > li:nth-child(5n+1) .photo-link img { aspect-ratio: 3 / 2; }
  .gallery-grid > li:not(:nth-child(5n+1)) .photo-link img { aspect-ratio: 4 / 5; }
  /* A lone photo at the end of a room's list takes the full width rather than leave a gap. */
  .gallery-grid > li:nth-child(5n+2):last-child, .gallery-grid > li:nth-child(5n+4):last-child { grid-column: 1 / -1; }
  .gallery-grid > li:nth-child(5n+2):last-child .photo-link img, .gallery-grid > li:nth-child(5n+4):last-child .photo-link img { aspect-ratio: 3 / 2; }
}
@media (max-width: 39.99rem) and (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    /* Inside the frame, not the whole tile (5 Dec 2026: tiles could overlap their neighbours). */
    .gallery-grid > li:is(:nth-child(5n+3), :nth-child(5n+5)) .photo-link img { transform: scale(1.3); transform-origin: 100% 50%; animation: mo-lag linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
  }
}

/* A photo sliding in its frame keeps its larger drawing under the pointer too (5 Dec 2026). */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .photo-grid-three > li:nth-child(3n) .photo-link:hover img { transform: scale(1.38); }
  }
}

/* ------------------------------------------------------------ Round eight (5 Dec 2026)
   The pages that were still plain beside the home page, and a harsher look at the motion.
   - Rails: the locations page's area links and the glossary's letters stay at the top of the window (under the
     header) while the list scrolls under them, and the area or letter on screen is marked (site.js spy). A finger can
     slide the row sideways when it is wider than the phone. Not on a short screen, where the header does not stick
     either; without the script the row simply sits where it is in the page.
   - Signposts (the 404 and thanks pages): the page's name larger in Lora, an arrow at the right, and a brass line
     drawn across the top under the pointer.
   - A suburb page's own work: one photo across the phone, the other two side by side, not three full screens.
   - The about page's process opens with its first paragraph set large, in Lora.
   - Motion toned down: the page-load headline blurs less and arrives sooner; read-along words start brighter; the
     footer settles in the first stretch of it rather than staying dim until all of it is on screen. */

/* Rails. */
.area-jump .chips { margin-top: 0; }
.area-index { position: relative; }
.js .area-jump, .js .article .az[data-spy] {
  position: sticky; top: calc(var(--hdr-real, var(--hdr-h)) - var(--hdr-shrink)); z-index: 30;
  background: rgb(255 255 255 / 0.97);
}
.js .area-jump { border-bottom: 1px solid var(--line); }
.js .area-jump .chips, .js .article .az[data-spy] {
  flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
}
.js .area-jump .chips::-webkit-scrollbar, .js .article .az[data-spy]::-webkit-scrollbar { display: none; }
.js .area-jump .chips { gap: 0 28px; padding-block: 4px; padding-right: 28px; }
.js .area-jump .chips li { flex: none; }
.js .area-jump .chips a { white-space: nowrap; border-bottom: 2px solid transparent; }
.area-jump .chips a[aria-current] { color: var(--ink); border-bottom: 2px solid var(--brass); }
/* The areas land below the rail as well as the header. */
.area-index .section-area { scroll-margin-top: 64px; }
@media (min-width: 60rem) {
  .area-index .split:not(.split-quote):not(.split-media):not(.split-form-first) > .split-aside { top: calc(var(--hdr-real, var(--hdr-h)) - var(--hdr-shrink) + 104px); }
}
/* The glossary's letters: a row of letters in Lora, not a keypad of boxes. */
.article .az[data-spy] { gap: 0; margin-bottom: 32px; padding: 4px 28px 4px 0; }
.js .article .az[data-spy] { -webkit-mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 28px), transparent); }
.article .az[data-spy] a { min-width: 44px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: none; color: var(--teal-deeper); font: 400 1.25rem/1 var(--font-head); }
.article .az[data-spy] a:hover { background: var(--grey); color: var(--ink); }
.article .az[data-spy] a[aria-current] { color: var(--ink); border-bottom-color: var(--brass); }
.article .az[data-spy] ~ h2 { scroll-margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); }
@media (max-height: 30rem) { .js .area-jump, .js .article .az[data-spy] { position: static; } }
@media print { .area-jump { display: none; } }

/* Signposts. */
.signpost { padding-right: 52px; }
.signpost h3 { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem); font-weight: 400; line-height: 1.2; }
.signpost::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px; background: var(--brass); transform-origin: 0 50%; scale: 0 1; }
.signpost::after { content: ""; position: absolute; top: 40px; right: 10px; width: 11px; height: 11px; border-top: 1.5px solid var(--teal-deep); border-right: 1.5px solid var(--teal-deep); rotate: 45deg; }
.signpost:hover::before, .signpost:has(a:focus-visible)::before { scale: 1 1; }
.signpost:hover::after { translate: 5px 0; border-color: var(--ink); }
.signpost:hover h3 a { text-decoration: none; }
@media (prefers-reduced-motion: no-preference) {
  .signpost::before { transition: scale 0.6s cubic-bezier(0.2, 0.75, 0.15, 1); }
  .signpost::after { transition: translate 0.3s cubic-bezier(0.2, 0.75, 0.15, 1), border-color 0.3s; }
}
@media (forced-colors: active) { .signpost::before, .signpost::after { display: none; } }

/* A suburb page's own work on a phone: one wide, then a pair. */
@media (max-width: 39.99rem) {
  .local-work .fig-row:has(> :nth-child(3):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 10px; }
  .local-work .fig-row:has(> :nth-child(3):last-child) > :first-child { grid-column: 1 / -1; }
  .local-work .fig-row:has(> :nth-child(3):last-child) > :not(:first-child) .photo-link img { aspect-ratio: 4 / 5; }
}

/* The process's first paragraph, large. */
.lead-first > p:first-child { margin-top: 0; font: 400 clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem)/1.45 var(--font-head); color: var(--ink); letter-spacing: -0.005em; }

/* Motion, toned down. */
@media (prefers-reduced-motion: no-preference) {
  .h-in .w { animation-duration: 0.75s; }
  @keyframes mo-word-in { from { opacity: 0; translate: 0 0.3em; filter: blur(4px); } to { opacity: 1; translate: 0 0; filter: blur(0); } }
  @supports (animation-timeline: view()) {
    @keyframes mo-word { from { opacity: 0.32; } to { opacity: 1; } }
    .site-footer > * { animation-range: entry 0px entry 320px; }
    @keyframes mo-foot { from { translate: 0 -48px; opacity: 0.55; } to { translate: 0 0; opacity: 1; } }
  }
}
.article .az[data-spy] + h2 { border-top: 0; padding-top: 0; }

/* Numbered steps (the thanks page's "What happens next"): a line runs down from one number to the next, the numbers
   in Lora inside a fine ring, so the three read as one sequence rather than three rows of a table. Where motion is
   welcome the line draws down as you read. */
.steps { border-top: 0; }
.steps li { padding: 4px 0 40px 72px; border-bottom: 0; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { top: 0; z-index: 1; width: 48px; height: 48px; background: var(--white); border: 1px solid var(--teal-line); color: var(--teal-deeper); font: 400 1.375rem/1 var(--font-head); }
.steps li::after { content: ""; position: absolute; left: 24px; top: 48px; bottom: 0; width: 1px; background: var(--teal-line); transform-origin: 50% 0; }
.steps li:last-child::after { content: none; }
.steps h3 { margin: 10px 0 8px; font-size: clamp(1.375rem, 1.25rem + 0.5vw, 1.625rem); font-weight: 400; }
.steps p { color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .steps li::after { animation: mo-step linear both; animation-timeline: view(); animation-range: entry 60% cover 60%; }
    @keyframes mo-step { from { scale: 1 0; } to { scale: 1 1; } }
  }
}

/* 5 Dec 2026: "What happens next" beside the contact form, a smaller version of the timeline (steps) so the
   column under the contact details answers what sending the form leads to. */
.h-aside-next { margin-top: 48px; }
.steps-compact { margin-top: 20px; }
.steps-compact li { padding: 2px 0 28px 56px; }
.steps-compact li::before { width: 36px; height: 36px; font-size: 1.125rem; }
.steps-compact li::after { left: 18px; top: 36px; }
.steps-compact h3 { margin: 6px 0 4px; font-size: 1.1875rem; }
.steps-compact p { font-size: 1rem; color: var(--muted); }
