/* Brushworks — shared stylesheet (mobile-first).
   Layout, type scale and component metrics follow the go.aussiebinhire.com.au reference
   (see research/aussiebinhire/PAGE_TOPOLOGY.md). Colours and fonts are the brushworks.au brand
   (Astra global colours 0–8, Inter + Roboto). */

:root {
  /* Brand palette (brushworks.au) */
  --lime: #cbff54;          /* ast-global-color-0 — accent (ref #f3c633) */
  --lime-600: #b4f625;      /* ast-global-color-1 — accent hover */
  --teal: #063231;          /* ast-global-color-2 — dark brand (ref #014221) */
  --sage: #495b55;          /* ast-global-color-3 — body text (ref #434a56) */
  --white: #ffffff;         /* ast-global-color-4 */
  --mist: #f6f7f7;          /* ast-global-color-5 — light cards (ref #fefbf5) */
  --line: #e0e7e3;          /* ast-global-color-6 — secondary button (ref #fcf3d6) */
  --teal-900: #033231;      /* ast-global-color-7 — darkest (ref #001a0d) */
  --black: #000000;         /* ast-global-color-8 — footer bar (ref #0d0d0c) */

  --heading: var(--teal-900);
  --text: var(--sage);
  --on-dark-muted: rgba(255, 255, 255, .86);

  --font-head: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Reference type scale */
  --fs-display: clamp(2.25rem, 1.1rem + 4.6vw, 4.5rem);   /* 72 / 79.2 */
  --fs-section: clamp(2rem, 1.1rem + 3.6vw, 3.75rem);     /* 60 / 72 */
  --fs-card: clamp(1.35rem, 1.1rem + .8vw, 1.625rem);     /* 26 / 36.4 */
  --fs-body: 1.05rem;                                      /* 16.8 / 31.08 */
  --lh-body: 1.85;
  --fs-btn: clamp(1rem, .85rem + .45vw, 1.25rem);         /* 20 / 30, 800, uppercase */

  --wrap: 1440px;
  --gutter: 16px;
  --section: 64px;
  --radius: 8px;
  --header-h: 64px;
  --mbar-h: 72px;
  --shadow: 0 20px 50px rgba(3, 50, 49, .18);

  /* Brush-stroke highlight (reference uses a painted underline under key phrases) */
  --brush: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 30' preserveAspectRatio='none'%3E%3Cpath fill='%23cbff54' d='M4 17c38-7 92-10 150-9 52 1 100 4 142 1l-1 9c-40 5-95 3-146 3-54 0-104 3-146 7z'/%3E%3Cpath fill='%23cbff54' opacity='.65' d='M12 10c64-5 150-6 282-2l-1 4c-118-3-208-2-281 3z'/%3E%3Cpath fill='%23cbff54' opacity='.8' d='M2 24c70-3 170-4 290-1v3c-110-2-210-1-290 2z'/%3E%3C/svg%3E");
}
@media (min-width: 768px) { :root { --gutter: 32px; --section: 80px; } }
@media (min-width: 1100px) { :root { --gutter: 64px; --header-h: 120px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font-body); font-size: var(--fs-body); line-height: var(--lh-body); color: var(--text); background: var(--white); padding-bottom: var(--mbar-h); }
@media (min-width: 1100px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; color: var(--heading); margin: 0 0 .4em; }
h1, h2 { letter-spacing: .01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
.on-light :focus-visible, .form-card :focus-visible { outline-color: var(--teal); }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--lime); color: var(--teal-900); padding: 10px 16px; font-weight: 700; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; }

/* ---------- Layout utilities ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.center { text-align: center; }
.list-reset { list-style: none; }
.mt-24 { margin-top: 24px; }

.h-display { font-size: var(--fs-display); line-height: 1.1; }
.h-section { font-size: var(--fs-section); line-height: 1.2; }
.hl { background: var(--brush) no-repeat 0 92% / 100% .42em; padding-inline: .06em; margin-inline: -.06em; }
.eyebrow { display: block; font-family: var(--font-head); font-size: .85rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.is-dark .eyebrow { color: var(--lime); }
.section-head { max-width: 900px; margin: 0 auto 48px; text-align: center; }
.section-head p { max-width: 720px; margin-inline: auto; }
.is-dark { color: var(--on-dark-muted); }
.is-dark h1, .is-dark h2, .is-dark h3 { color: var(--white); }

/* ---------- Buttons (ref: 20/30 800 uppercase, padding 16 32, radius 8, 1px light border) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 56px; padding: 14px 28px;
  font-family: var(--font-head); font-weight: 800; font-size: var(--fs-btn); line-height: 1.5; text-transform: uppercase; letter-spacing: .01em;
  text-decoration: none; text-align: center;
  border: 1px solid var(--mist); border-radius: var(--radius);
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
@media (min-width: 768px) { .btn { padding: 16px 32px; min-height: 64px; } }
.btn:hover { transform: translateY(-1px); }
.btn .icon { width: 1em; height: 1em; }
.btn-lime { background: var(--lime); color: var(--teal-900); }
.btn-lime:hover { background: var(--lime-600); }
.btn-light { background: var(--line); color: var(--teal-900); }
.btn-light:hover { background: var(--white); }
.btn-outline-lime { background: transparent; color: var(--lime); border-color: var(--lime); }
.btn-outline-lime:hover { background: var(--lime); color: var(--teal-900); }
.btn-outline { background: transparent; color: var(--teal-900); border-color: var(--teal-900); }
.btn-outline:hover { background: var(--teal-900); color: var(--white); }
.btn-block { width: 100%; }
.btn-sm { min-height: 44px; padding: 8px 16px; font-size: 1rem; }
@media (min-width: 768px) { .btn-sm { min-height: 44px; padding: 8px 16px; } }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px 20px; }
.btn-row.center { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .35em; font-family: var(--font-head); font-weight: 800; font-size: .95rem; text-transform: uppercase; text-decoration: none; color: var(--teal); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.is-dark .link-arrow { color: var(--lime); }

/* ---------- Header (ref: 120px transparent over hero → 73px fixed dark bar after scroll) ---------- */
.site-header { position: relative; z-index: 200; background: var(--teal); color: var(--white); }
.header-inner { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.logo { display: block; flex: none; }
.logo img { width: 140px; height: auto; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; flex: none; }
.header-call { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; line-height: 1; color: var(--white); text-decoration: none; border: 2px solid rgba(255, 255, 255, .35); border-radius: var(--radius); }
.header-call .num { display: none; }
.header-quote { display: none; white-space: nowrap; }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: transparent; border: 2px solid rgba(255, 255, 255, .35); border-radius: var(--radius); color: var(--white); cursor: pointer; }
.menu-toggle .icon { width: 22px; height: 22px; }
.menu-toggle .i-close { display: none; }
.menu-open .menu-toggle .i-close { display: block; }
.menu-open .menu-toggle .i-menu { display: none; }
.menu-open .site-header { position: fixed; inset: 0 0 auto 0; }

/* Mobile/tablet nav panel */
.primary-nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--teal-900); overflow-y: auto; padding: 8px var(--gutter) calc(var(--mbar-h) + 24px); display: none; }
.menu-open .primary-nav { display: block; }
.nav-list { list-style: none; }
.nav-list > li { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.nav-link, .nav-sub-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 52px; padding: 12px 4px; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--white); text-decoration: none; background: none; border: 0; cursor: pointer; text-align: left; white-space: nowrap; }
.nav-link[aria-current="page"] { color: var(--lime); }
.nav-sub-toggle .icon { transition: transform .15s; }
.nav-sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.subnav { list-style: none; display: none; padding: 0 0 12px 12px; }
.nav-sub-toggle[aria-expanded="true"] + .subnav { display: block; }
.subnav a { display: block; padding: 10px 4px; color: var(--on-dark-muted); text-decoration: none; line-height: 1.4; }
.subnav a:hover { color: var(--lime); }
.subnav .subnav-all { color: var(--lime); font-weight: 700; }
.nav-mobile-cta { display: grid; gap: 12px; margin-top: 24px; }

@media (min-width: 640px) { .header-quote { display: inline-flex; } }

@media (min-width: 1100px) {
  .site-header { position: absolute; inset: 0 0 auto 0; background: transparent; }
  .site-header.is-stuck { position: fixed; background: var(--teal-900); box-shadow: 0 6px 24px rgba(0, 0, 0, .18); animation: header-in .3s ease both; }
  .site-header.is-stuck .header-inner { height: 73px; }
  .site-header.is-stuck .logo img { width: 150px; }
  .logo img { width: 190px; }
  .header-call { border: 0; min-width: 0; padding: 16px 0; }
  .header-call .num { display: inline; }
  .menu-toggle { display: none; }
  .primary-nav { position: static; display: block; padding: 0; background: none; overflow: visible; margin-left: 12px; }
  .nav-list { display: flex; align-items: center; gap: 2px; }
  .nav-list > li { position: relative; border: 0; }
  .nav-link, .nav-sub-toggle { min-height: 44px; padding: 8px 10px; font-size: 1rem; gap: 4px; justify-content: flex-start; }
  .nav-link:hover, .nav-sub-toggle:hover { color: var(--lime); }
  .subnav { position: absolute; top: calc(100% + 6px); left: 0; min-width: 290px; padding: 10px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
  .subnav.cols-2 { min-width: 440px; columns: 2; column-gap: 8px; }
  .subnav li { break-inside: avoid; }
  .subnav a { color: var(--teal-900); padding: 8px 12px; border-radius: 6px; }
  .subnav a:hover { background: var(--mist); color: var(--teal-900); }
  .subnav .subnav-all { color: var(--teal); }
  .nav-mobile-cta { display: none; }
  .header-actions { gap: 20px; }
}
@media (min-width: 1100px) and (max-width: 1379px) { .header-call .num { display: none; } .header-call { border: 2px solid rgba(255, 255, 255, .35); min-width: 44px; padding: 0; } }
@keyframes header-in { from { transform: translateY(-100%); } to { transform: translateY(0); } }
.header-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 240px; pointer-events: none; }

/* Mobile sticky action bar (ref: CALL light w/ 3px border + accent CTA) */
.mobile-bar { position: fixed; inset: auto 0 0 0; z-index: 150; display: grid; grid-template-columns: 1.15fr 1fr; gap: 8px; min-height: var(--mbar-h); padding: 10px 10px calc(10px + env(safe-area-inset-bottom)); background: var(--teal); }
.mobile-bar .btn { min-height: 50px; padding: 6px 8px; font-size: .88rem; }
.mobile-bar .btn-light { border: 3px solid var(--mist); }
@media (min-width: 1100px) { .mobile-bar { display: none; } }

/* ---------- Hero (ref: 2 cols 616 / 552, trust row at the foot) ---------- */
.hero { position: relative; isolation: isolate; color: var(--white); background: var(--teal-900); }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(3, 50, 49, .88) 0%, rgba(3, 50, 49, .82) 60%, var(--teal-900) 100%); }
@media (min-width: 1100px) { .hero::before { background: linear-gradient(90deg, rgba(3, 50, 49, .95) 0%, rgba(3, 50, 49, .82) 45%, rgba(3, 50, 49, .45) 100%), linear-gradient(0deg, rgba(3, 50, 49, .9) 0%, transparent 30%); } }
.hero-grid { display: grid; gap: 40px; padding-block: 40px 48px; }
@media (min-width: 1100px) { .hero-grid { grid-template-columns: minmax(0, 616px) minmax(0, 552px); justify-content: space-between; align-items: start; padding-block: calc(var(--header-h) + 60px) 64px; } }
.hero h1 { color: var(--white); margin-bottom: .25em; font-size: clamp(2.25rem, 1.1rem + 4vw, 4rem); }
.hero .hl { white-space: nowrap; }
.hero-sub { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.2rem, 1rem + .9vw, 1.6rem); line-height: 1.3; color: var(--white); margin-bottom: .5em; }
.hero-lead { color: var(--on-dark-muted); margin-bottom: 1.2em; }

/* Hero bullets: single column, bold, filled circle ticks (approved style) */
.hero-bullets { list-style: none; display: grid; gap: 12px; margin-bottom: 28px; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.05rem, .95rem + .5vw, 1.25rem); line-height: 1.3; color: var(--white); text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
.hero-bullets li { display: flex; align-items: center; gap: 12px; }
.hero-bullets .icon { width: 30px; height: 30px; padding: 5px; border-radius: 50%; background: var(--lime); color: var(--teal-900); box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.hero-bullets a { color: var(--white); text-decoration-color: var(--lime); text-underline-offset: 4px; }
/* .bullets-first: below 1100px the bullets sit straight under the H1 so they're visible on load (long sub/lead copy follows) */
@media (max-width: 1099px) {
  .hero-copy.bullets-first { display: flex; flex-direction: column; }
  .hero-copy.bullets-first > * { order: 2; }
  .hero-copy.bullets-first > .eyebrow, .hero-copy.bullets-first > h1 { order: 0; }
  .hero-copy.bullets-first > .hero-bullets { order: 1; margin-top: 12px; }
}

/* Stacked full-width hero buttons with check notes (ref 566×64) */
.hero-ctas { display: grid; gap: 10px; max-width: 566px; }
.hero-ctas .btn { width: 100%; }
.cta-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 14px; font-size: 1rem; line-height: 1.5; color: var(--white); }
.cta-note .icon { color: var(--lime); width: 20px; height: 20px; }
.hero-address { margin: 8px 0 0; font-size: .95rem; color: var(--on-dark-muted); display: flex; align-items: center; gap: 8px; }
.hero-address .icon { color: var(--lime); }

/* Hero trust row (ref: 4 items, gap 48, accent circle icons) */
.hero-trust { list-style: none; display: grid; gap: 18px; padding-block: 28px 36px; border-top: 1px solid rgba(255, 255, 255, .14); }
@media (min-width: 768px) { .hero-trust { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .hero-trust { grid-template-columns: repeat(4, 1fr); gap: 48px; } }
.hero-trust li { display: flex; align-items: center; gap: 14px; font-size: 1rem; line-height: 1.45; color: var(--white); }
.hero-trust .badge { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--lime); color: var(--teal-900); }
.hero-trust .badge .icon { width: 22px; height: 22px; }
.hero-trust strong { display: block; font-family: var(--font-head); }
.hero-trust a { color: var(--white); text-underline-offset: 3px; }

/* Quote form card (ref: white card, underline fields, 32px title) */
.form-card { background: var(--white); color: var(--text); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 20px; }
@media (min-width: 768px) { .form-card { padding: 36px 40px; } }
.form-card h2 { font-size: clamp(1.6rem, 1.3rem + .9vw, 2rem); line-height: 1.3; color: var(--teal); margin-bottom: 6px; }
.form-grid { display: grid; gap: 18px; }
.field label { display: block; font-weight: 700; font-size: .94rem; line-height: 1.25; color: var(--teal-900); margin-bottom: 2px; }
.field .req { color: #b42318; }
.field input, .field select, .field textarea { width: 100%; min-height: 44px; padding: 10px 0; font: inherit; font-size: 1rem; line-height: 1.4; color: #333; background: transparent; border: 0; border-bottom: 1px solid var(--teal); border-radius: 0; }
.field select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='%23063231'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") no-repeat right 4px center; padding-right: 24px; }
.field textarea { min-height: 72px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom: 2px solid var(--teal); box-shadow: 0 3px 0 0 var(--lime); }
.field [aria-invalid="true"] { border-bottom-color: #b42318; }
.field-error { display: none; margin: 4px 0 0; font-size: .85rem; line-height: 1.4; color: #b42318; }
.field-error::before { content: "⚠ "; }
.field [aria-invalid="true"] ~ .field-error { display: block; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-submit { margin-top: 24px; min-height: 58px; border: 0; border-radius: 6px; font-size: 1.125rem; letter-spacing: .02em; }
.form-status { margin: 14px 0 0; padding: 12px 14px; border-radius: var(--radius); font-size: .95rem; line-height: 1.5; }
.form-status[hidden] { display: none; }
.form-status.is-error { background: #fff6f5; border: 1px solid #f4c7c3; color: #7a1b12; }
.form-status.is-success { background: #f3ffe0; border: 1px solid var(--lime-600); color: var(--teal-900); }
.form-creds { margin: 14px 0 0; font-size: .85rem; line-height: 1.5; color: var(--text); text-align: center; }
.form-creds a { color: var(--teal); }

/* ---------- Photo strip (ref: padding 8, gap 10, 4 cols, img 348.5×219) ---------- */
.strip { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 8px; background: var(--white); }
@media (min-width: 900px) { .strip { grid-template-columns: repeat(4, 1fr); } }
.strip img { width: 100%; aspect-ratio: 348.5 / 219; object-fit: cover; }

/* ---------- Title band (ref S4: light band, centred 60px heading) ---------- */
.title-band { background: var(--mist); padding-block: var(--section) 40px; text-align: center; }
.title-band h2 { max-width: 880px; margin-inline: auto; }
.title-band p { max-width: 760px; margin-inline: auto; }

/* ---------- Testimonial slider (ref S5: one slide, square arrows) ---------- */
.slider { position: relative; background: var(--mist); padding-bottom: var(--section); }
.slider-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.slider-track::-webkit-scrollbar { display: none; }
.slide { scroll-snap-align: center; margin: 0; padding: 8px var(--gutter); display: grid; place-items: center; }
.slide-card { max-width: 900px; width: 100%; background: var(--white); border-radius: 12px; padding: 32px 24px; text-align: center; box-shadow: 0 4px 20px rgba(3, 50, 49, .06); overflow: hidden; }
.slide-media { display: block; width: calc(100% + 48px); max-width: none; margin: -32px -24px 24px; aspect-ratio: 16 / 9; object-fit: cover; }
@media (min-width: 768px) { .slide-card { padding: 48px 64px; } .slide-media { width: calc(100% + 128px); margin: -48px -64px 32px; } }
.slide-card .qc-context { margin: 0 0 4px; font-weight: 500; }
.stars { display: block; color: #b7791f; letter-spacing: 3px; font-size: 1.15rem; margin-bottom: 12px; }
.slide-card blockquote { margin: 0 0 20px; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.15rem, 1rem + .7vw, 1.6rem); line-height: 1.45; color: var(--teal-900); }
.slide-card cite { font-style: normal; font-weight: 700; color: var(--teal); }
.slider-nav { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 24px; }
.slider-btn { display: grid; place-items: center; width: 48px; height: 48px; background: var(--white); border: 1px solid var(--teal); border-radius: 6px; color: var(--teal); cursor: pointer; }
.slider-btn:hover { background: var(--lime); border-color: var(--lime); }
.slider-btn .icon { width: 22px; height: 22px; }
.slider-count { font-weight: 700; color: var(--teal-900); min-width: 3.5em; text-align: center; }
.slider .btn-row { margin-top: 32px; }
.slider .creds { margin: 16px 0 0; text-align: center; font-size: .92rem; }
.slider .creds a { color: var(--teal); }

/* ---------- Dark service cards (ref S6: photo fading into dark, cards 416, body pad 32 gap 24) ---------- */
.svc-dark { position: relative; isolation: isolate; background: var(--teal); padding-bottom: var(--section); overflow: hidden; }
.svc-dark-media { position: absolute; inset: 0 0 auto 0; height: 560px; z-index: -1; }
.svc-dark-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.svc-dark-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 50, 49, .35) 0%, rgba(6, 50, 49, .75) 45%, var(--teal) 100%); }
.svc-dark .section-head { padding-top: clamp(140px, 22vw, 300px); }
.svc-grid { display: grid; gap: 24px; }
@media (min-width: 768px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .svc-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 1312px; margin-inline: auto; } }
.svc-card { display: flex; flex-direction: column; background: var(--teal-900); overflow: hidden; }
.svc-card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--white); }
.svc-card-media img { width: 100%; height: 100%; object-fit: cover; }
.svc-card-body { display: flex; flex-direction: column; gap: 20px; flex: 1; padding: 32px; text-align: center; align-items: center; }
.svc-card-body h3 { font-size: var(--fs-card); line-height: 1.4; margin: 0; }
.svc-card-body h3 a { color: var(--white); text-decoration: none; }
.svc-card-body h3 a:hover { color: var(--lime); }
.svc-card-body p { margin: 0; color: var(--white); }
.svc-card-body .btn { margin-top: auto; width: 100%; }
.svc-card-body .link-arrow { font-size: .9rem; }
.svc-note { max-width: 780px; margin: 40px auto 20px; text-align: center; color: var(--white); }

/* ---------- Light card grid (ref S11 area cards: bg light, pad 24, icon + 26px title) ---------- */
.card-grid { list-style: none; display: grid; gap: 16px; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .card-grid { grid-template-columns: repeat(6, 1fr); gap: 16px; }
  .card-grid > li { grid-column: span 2; }
  .card-grid.ends-2 > li:nth-last-child(-n+2) { grid-column: span 3; }
}
.light-card { display: flex; gap: 16px; height: 100%; padding: 24px; background: var(--mist); text-decoration: none; transition: background-color .2s, box-shadow .2s; }
a.light-card:hover { background: var(--line); }
.light-card .badge { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--teal-900); color: var(--lime); margin-top: 2px; }
.light-card .badge .icon { width: 20px; height: 20px; }
.light-card .lc-title { display: block; font-family: var(--font-head); font-weight: 700; font-size: var(--fs-card); line-height: 1.4; color: var(--teal-900); margin-bottom: 4px; }
.light-card .lc-desc { display: block; color: var(--teal-900); }
.light-card .lc-more { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; font-family: var(--font-head); font-weight: 800; font-size: .88rem; text-transform: uppercase; color: var(--teal); }
.light-card.is-hub { background: var(--teal-900); }
.light-card.is-hub .badge { background: var(--lime); color: var(--teal-900); }
.light-card.is-hub .lc-title, .light-card.is-hub .lc-more { color: var(--lime); }
.light-card.is-hub .lc-desc { color: var(--on-dark-muted); }
a.light-card.is-hub:hover { background: var(--teal); }

/* About: team portraits sourced from the Brushworks company About page. */
.team-section { background: var(--mist); }
.team-grid { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
.team-card { height: 100%; margin: 0; overflow: hidden; background: var(--white); box-shadow: var(--shadow-sm); }
.team-card img { display: block; width: 100%; height: auto; aspect-ratio: 387 / 520; object-fit: cover; }
.team-card figcaption { padding: 20px 22px 24px; border-top: 4px solid var(--lime); }
.team-card h3 { margin: 0; color: var(--teal-900); font-family: var(--font-head); font-size: var(--fs-card); line-height: 1.3; }
.team-card p { margin: 6px 0 0; color: var(--muted); }
@media (min-width: 700px) {
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.chip-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 32px 0; }
.chip-list li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: .92rem; font-weight: 500; line-height: 1.5; color: var(--teal-900); }
.chip-list .icon { color: var(--teal); }
.chip-list a { text-underline-offset: 3px; }

/* ---------- Review cards row (ref S7: bg light, radius 12, padding 20) ---------- */
.review-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }
.review-card { margin: 0; padding: 20px; background: var(--mist); border-radius: 12px; font-size: .97rem; line-height: 1.65; color: #1b1b1b; display: flex; flex-direction: column; gap: 10px; }
.review-head { display: flex; align-items: center; gap: 12px; }
.avatar { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--teal); color: var(--lime); font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; }
.review-head cite { display: block; font-style: normal; font-family: var(--font-head); font-weight: 700; color: var(--teal-900); line-height: 1.3; }
.review-head a { font-size: .85rem; color: var(--text); }
.review-card .qc-tag { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.review-card blockquote { margin: 0; }

/* ---------- Why choose (ref S8: faded photo left, 616 content right, icon list) ---------- */
.why { position: relative; padding-block: var(--section); overflow: hidden; }
.why-media { margin: calc(var(--section) * -1) calc(var(--gutter) * -1) 32px; height: 280px; }
.why-media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1100px) {
  .why-media { position: absolute; inset: 0 auto 0 0; width: 48%; height: auto; margin: 0; -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent 100%); mask-image: linear-gradient(90deg, #000 55%, transparent 100%); opacity: .85; }
  .why-body { max-width: 616px; margin-left: auto; }
}
.why-body > p { color: var(--teal-900); }
.pride-list { list-style: none; display: grid; gap: 6px; margin: 0 0 24px; }
@media (min-width: 640px) { .pride-list { grid-template-columns: 1fr 1fr; column-gap: 20px; } }
.pride-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--teal-900); line-height: 1.5; }
.pride-list .icon { color: var(--teal); margin-top: .15em; }
.icon-list { list-style: none; display: grid; }
.icon-item { display: flex; gap: 16px; padding: 8px 0; }
.icon-item .ring { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--teal-900); border: 2px solid var(--lime); color: var(--lime); }
.icon-item .ring .icon { width: 26px; height: 26px; }
.icon-item h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.25rem; line-height: 1.5; letter-spacing: -.02em; margin: 0; }
.icon-item h3 a { color: inherit; text-underline-offset: 3px; }
.icon-item p { margin: 0; color: var(--teal-900); }

/* ---------- Process (ref S10: photo + dark gradient, left heading, right 3 items) ---------- */
.process { position: relative; isolation: isolate; background: var(--teal-900); padding-block: var(--section); overflow: hidden; }
.process-media { position: absolute; inset: 0; z-index: -2; }
.process-media img { width: 100%; height: 100%; object-fit: cover; object-position: 20% 80%; }
.process::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(3, 50, 49, .96) 0%, rgba(3, 50, 49, .9) 55%, rgba(3, 50, 49, .72) 100%); }
@media (min-width: 1100px) { .process::before { background: linear-gradient(90deg, rgba(3, 50, 49, .72) 0%, rgba(3, 50, 49, .9) 42%, rgba(3, 50, 49, .97) 60%), linear-gradient(0deg, rgba(203, 255, 84, .18) 0%, transparent 40%); } }
.process-grid { display: grid; gap: 40px; }
@media (min-width: 1100px) { .process-grid { grid-template-columns: minmax(0, 616px) minmax(0, 616px); justify-content: space-between; align-items: start; } }
.process-steps { list-style: none; display: grid; gap: 36px; }
.step { display: flex; gap: 24px; }
@media (min-width: 1100px) { .step { gap: 40px; } }
.step .ring { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; border: 2px solid var(--lime); color: var(--lime); }
.step .ring .icon { width: 24px; height: 24px; }
.step-label { margin: 0; font-weight: 700; color: var(--lime); }
.step h3 { font-family: var(--font-body); font-weight: 700; font-size: var(--fs-card); line-height: 1.5; letter-spacing: -.02em; margin: 0 0 12px; }
.step h3 a { color: var(--white); text-underline-offset: 4px; word-break: break-word; }

/* ---------- Areas note (ref: bold lead + text + accent button) ---------- */
.area-note { max-width: 760px; margin: 40px auto 24px; text-align: center; color: var(--teal-900); }
.area-note h3 { font-size: 1.35rem; margin-bottom: .3em; }
.area-links { list-style: none; display: grid; gap: 8px; margin-top: 12px; }
.area-links a { font-weight: 500; color: var(--teal); text-underline-offset: 3px; }

/* ---------- Location hub (/painters-sydney/): precinct groups, suburb entries, pairs, FAQ, prose ---------- */
.prose { max-width: 860px; margin-inline: auto; color: var(--teal-900); }
.prose h3 { font-size: 1.5rem; margin-top: 1.4em; }
.utility-hero .hero-grid { grid-template-columns: minmax(0, 860px); min-height: 360px; align-items: center; }
.content-section-tint { background: var(--mist); }
.content-table { margin-block: 24px; overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.content-table table { width: 100%; min-width: 640px; border-collapse: collapse; background: var(--white); font-size: .95rem; }
.content-table th, .content-table td { padding: 14px 16px; border: 1px solid #d7e0dc; text-align: left; vertical-align: top; }
.content-table th { background: var(--teal); color: var(--white); font-family: var(--font-head); }
.content-table tbody tr:nth-child(even) { background: var(--mist); }
.precinct { max-width: 1312px; margin: 56px auto 0; padding-top: 40px; border-top: 1px solid var(--line); }
.precinct-intro { max-width: 860px; color: var(--teal-900); }
.precinct-intro h3 { font-size: var(--fs-card); }
.suburb-list { list-style: none; display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 768px) { .suburb-list { grid-template-columns: repeat(2, 1fr); } }
.suburb { display: flex; flex-direction: column; padding: 24px; background: var(--mist); border-radius: var(--radius); color: var(--teal-900); }
.suburb h4 { font-size: var(--fs-card); line-height: 1.4; margin: 0; }
.suburb h4 a { color: inherit; text-underline-offset: 4px; }
.suburb .qc-tag { margin: 0 0 12px; font-family: var(--font-head); font-weight: 800; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.suburb p { margin-bottom: .8em; }
.suburb .svc-links { font-size: .95rem; }
.suburb .svc-links a, .prose a, .faq a, .pair-card a { color: var(--teal); font-weight: 500; text-underline-offset: 3px; }
.suburb .link-arrow { margin-top: auto; }
.suburb.no-page { background: var(--white); border: 1px dashed var(--line); }
.pair-grid { display: grid; gap: 16px; max-width: 1312px; margin-inline: auto; }
@media (min-width: 768px) { .pair-grid { grid-template-columns: repeat(2, 1fr); } }
.pair-card { padding: 24px; background: var(--mist); border-radius: var(--radius); color: var(--teal-900); }
.pair-card h3 { font-size: 1.25rem; line-height: 1.4; }
.pair-card h4 { font-size: 1.05rem; line-height: 1.4; margin: 1em 0 .3em; color: var(--teal); }
.pair-card p { margin: 0; }
.faq { max-width: 960px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--mist); border-radius: var(--radius); color: var(--teal-900); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 24px; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; line-height: 1.45; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .2s; color: var(--teal); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details > div { padding: 0 24px 20px; }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- Ready CTA (ref S13: gradient dark → accent tint, photo at bottom) ---------- */
.ready { position: relative; isolation: isolate; overflow: hidden; padding-block: var(--section) clamp(220px, 32vw, 420px); text-align: center; background: var(--teal); }
.ready::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(100deg, rgba(3, 50, 49, .7) 0%, transparent 50%, rgba(203, 255, 84, .22) 100%); }
.ready-media { position: absolute; inset: auto 0 0 0; height: 62%; z-index: -2; }
.ready-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.ready-media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, var(--teal) 0%, rgba(6, 50, 49, .55) 40%, rgba(6, 50, 49, .05) 100%); }
.ready p { max-width: 760px; margin-inline: auto; }
.ready .btn-row { margin-top: 28px; }
.ready .link-arrow { margin-top: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-900); color: var(--on-dark-muted); font-size: .95rem; line-height: 1.7; }
.footer-grid { display: grid; gap: 36px; padding-block: 56px 40px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1.1fr; gap: 32px; } }
.footer-brand img { width: 190px; margin-bottom: 16px; }
.footer-col h2 { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); margin-bottom: 14px; }
.footer-col ul { list-style: none; display: grid; gap: 6px; }
.footer-col a { color: var(--white); text-decoration: none; }
.footer-col a:hover { color: var(--lime); text-decoration: underline; }
.footer-col .fl-desc { display: block; font-size: .82rem; color: var(--on-dark-muted); line-height: 1.4; }
.footer-contact li { display: grid; }
.footer-contact .fc-label { font-size: .82rem; }
.socials { list-style: none; display: flex; gap: 10px; margin-top: 16px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); color: var(--white); }
.socials a:hover { background: var(--lime); color: var(--teal-900); border-color: var(--lime); }
.footer-bar { background: var(--black); color: rgba(255, 255, 255, .8); font-size: .85rem; line-height: 1.7; padding-block: 20px; }
.footer-bar p { margin: 0 0 .6em; }
.footer-bar a { color: var(--white); }

/* ---------- Review mode (?review) — owner flags + content placeholders ---------- */
[data-placeholder] { display: none; }
.review-mode [data-placeholder] { display: block; margin: 24px auto; max-width: 1312px; padding: 24px; border: 2px dashed #ff6900; border-radius: var(--radius); background: #fff8f1; color: #7a3a00; }
.review-mode [data-flag] { outline: 2px dashed #ff6900; outline-offset: 2px; }
.review-mode [data-flag]::after { content: " ⚑ " attr(data-flag); display: inline-block; margin-left: 4px; padding: 1px 6px; border-radius: 4px; background: #ff6900; color: #fff; font: 600 11px/1.5 var(--font-body); letter-spacing: 0; text-transform: none; text-shadow: none; vertical-align: middle; }
.review-banner { display: none; }
.review-mode .review-banner { display: block; position: sticky; top: 0; z-index: 250; margin: 0; padding: 8px var(--gutter); background: #ff6900; color: #fff; font-size: .9rem; text-align: center; }

/* ---------- Template variants (build.mjs) ---------- */
/* header: solid — for pages that don't open with a dark hero */
@media (min-width: 1100px) {
  .site-header.is-solid { position: sticky; top: 0; background: var(--teal-900); }
  .site-header.is-solid .header-inner { height: 88px; }
}
/* Breadcrumb (front matter "crumbs:") */
.breadcrumb { background: var(--mist); font-size: .9rem; line-height: 1.5; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; padding-block: 12px; }
.breadcrumb li + li::before { content: "›"; margin: 0 10px; color: var(--sage); }
.breadcrumb a { color: var(--teal); text-underline-offset: 3px; }
.breadcrumb [aria-current] { color: var(--teal-900); font-weight: 500; }
@media (min-width: 1100px) { .site-header.is-solid ~ main .hero-grid { padding-block: 64px; } }

/* Service pages: card titles are h3 for heading outline; match the span style */
.light-card h3.lc-title { margin: 0 0 4px; font-size: var(--fs-card); }

/* Projects page: case cards */
.project-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.project-card { background: var(--mist); border-radius: var(--radius); overflow: hidden; color: var(--teal-900); display: flex; flex-direction: column; }
.project-card img { width: 100%; height: auto; display: block; }
.project-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.project-body h3 { font-size: 1.25rem; line-height: 1.4; margin: 0; }
.project-body h4 { font-size: 1rem; margin: 6px 0 0; }
.project-meta { margin: 0; display: grid; gap: 4px; font-size: .95rem; }
.project-meta div { display: flex; gap: 6px; }
.project-meta dt { font-weight: 700; }
.project-meta dt::after { content: ":"; }
.project-meta dd { margin: 0; }
.project-card .svc-links a { color: var(--teal); font-weight: 500; text-underline-offset: 3px; }

/* DAN byline ({{> byline}} on guides) */
.byline { display: flex; align-items: center; gap: 8px; margin: 0 0 20px; font-size: .9375rem; line-height: 1.5; color: var(--text); }
.byline .icon { flex: none; width: 18px; height: 18px; color: var(--teal); }
.byline a { color: var(--teal); font-weight: 700; text-underline-offset: 3px; }
.is-dark .byline { color: var(--white); }
.is-dark .byline a, .is-dark .byline .icon { color: var(--lime); }

/* Child-page link cards (service → sub-service/guide pages) */
.link-cards { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.link-cards li { margin: 0; padding: 0; }
.link-cards li::marker { content: none; }
.link-cards .light-card { height: 100%; }

/* Project photos: S4/S5 sliders ({{> project-slider}}, {{> testimonial-slider}}) and the /projects/ gallery */
.proof-slider .slide-card figcaption .qc-context { margin-bottom: 8px; font-size: 1.1rem; color: var(--teal-900); }
.proof-slider .slide-card figcaption a { color: var(--teal); }
.gallery-project { margin-top: 48px; }
.gallery-project h3 { margin: 0 0 16px; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); color: var(--teal-900); }
.gallery-grid { display: grid; gap: 10px; padding: 0; margin: 0; grid-template-columns: repeat(2, 1fr); }
.gallery-grid a { display: block; height: 100%; border-radius: 8px; overflow: hidden; }
.gallery-grid img { display: block; width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .3s ease; }
.gallery-grid a:hover img, .gallery-grid a:focus-visible img { transform: scale(1.03); }
.gallery-grid li:first-child { grid-column: span 2; }
@media (min-width: 700px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid li:first-child { grid-row: span 2; }
}
@media (prefers-reduced-motion: reduce) { .gallery-grid img { transition: none; } }

/* Dulux badges under the hero H1 (partial: dulux-badges) */
.dulux-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 20px; }
.dulux-badges img { display: block; width: auto; height: 64px; border-radius: 6px; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
@media (min-width: 768px) { .dulux-badges img { height: 81px; } }
@media (max-width: 1099px) { .hero-copy.bullets-first > .dulux-badges { order: 0; } }
