:root {
  --charcoal: #263238;
  --cyan: #00ccff;
  --white: #ffffff;
  --paper: #f7f7f7;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--charcoal);
  background: var(--white);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--charcoal);
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--charcoal);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--white);
  color: var(--charcoal);
  padding: 8px 12px;
  z-index: 40;
}

.skip:focus {
  top: 8px;
}

.wrap {
  width: min(72rem, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  padding: 10px 16px;
  background: var(--white);
  border-bottom: 1px solid var(--charcoal);
}

.logo {
  display: flex;
  align-items: center;
  line-height: 0;
}

.logo img {
  height: 44px;
  width: auto;
}

.rec {
  margin: 0;
  font-size: 1rem;
  font-weight: 650;
}

.rec a {
  white-space: nowrap;
}

.site-header .btn {
  margin-left: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 10px 16px;
  background: var(--charcoal);
  color: var(--white);
  text-decoration: none;
  font: inherit;
  font-weight: 650;
  border: 2px solid var(--charcoal);
  border-radius: 2px;
  cursor: pointer;
}

.btn-ghost {
  background: var(--white);
  color: var(--charcoal);
}

.hero {
  padding-bottom: 8px;
}

.hero-copy {
  padding-top: 1.75rem;
  padding-bottom: 1.25rem;
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}

h1,
h2,
h3 {
  color: var(--charcoal);
  line-height: 1.2;
  font-weight: 750;
}

h1 {
  margin: 0 0 0.6rem;
  max-width: 18ch;
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
}

h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
}

h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.lede,
.section-lead {
  max-width: 42rem;
  margin: 0 0 1rem;
  font-size: 1.125rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 0.9rem;
}

.google-line {
  margin: 0;
  font-weight: 650;
}

.hero-photo {
  margin: 0;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-photo figcaption,
.photo-grid figcaption,
.fine {
  font-size: 0.95rem;
}

.hero-photo figcaption {
  width: min(72rem, calc(100% - 2rem));
  margin: 0.4rem auto 0;
}

.services,
.jobs,
.quote {
  background: var(--paper);
}

.services,
.steps,
.jobs,
.reviews,
.where,
.quote {
  padding: 2.5rem 0;
}

.service-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  border-bottom: 1px solid var(--charcoal);
}

.service-list li {
  padding: 14px 0;
  border-top: 1px solid var(--charcoal);
}

.service-list a {
  font-size: 1.2rem;
  font-weight: 750;
  text-decoration-thickness: 1px;
}

.service-list p,
.steps p,
.where p {
  margin: 0.25rem 0 0;
  max-width: 46rem;
}

.more-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 1.1rem 0 0;
  font-weight: 650;
}

.steps {
  background: var(--charcoal);
  color: var(--white);
}

.steps h2,
.steps h3 {
  color: var(--white);
}

.steps ol {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: block;
  margin-bottom: 0.35rem;
  color: var(--cyan);
  font-size: 1.35rem;
  font-weight: 750;
}

.photo-grid {
  display: grid;
  gap: 16px;
  margin-top: 1rem;
}

.photo-grid figure {
  margin: 0;
  background: var(--white);
}

.photo-grid img {
  display: block;
  width: 100%;
  height: auto;
}

.photo-grid figcaption {
  padding: 8px 10px 12px;
}

.review-list {
  margin-top: 0.5rem;
}

.review-list blockquote {
  margin: 0;
  padding: 1rem 0;
  border-top: 1px solid var(--charcoal);
}

.review-list blockquote:last-child {
  border-bottom: 1px solid var(--charcoal);
}

.review-list p {
  margin: 0;
  white-space: pre-wrap;
}

.review-list footer {
  margin-top: 0.6rem;
  font-size: 0.95rem;
  font-weight: 650;
}

.fine {
  margin: 0.4rem 0 0;
}

.where p + p {
  margin-top: 0.75rem;
}

.quote-grid {
  display: grid;
  gap: 1.25rem;
}

.beside-phone {
  margin: 1rem 0;
}

form {
  display: grid;
  gap: 12px;
}

label {
  display: block;
  font-weight: 650;
  margin-bottom: 4px;
}

.optional {
  font-weight: 450;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  font: inherit;
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid var(--charcoal);
  border-radius: 2px;
}

textarea {
  min-height: 7rem;
  resize: vertical;
}

.preview-note {
  margin: 0;
}

.site-footer {
  background: var(--charcoal);
  color: var(--white);
  padding: 2rem 0 2.5rem;
}

.site-footer a {
  color: var(--cyan);
}

.site-footer a:focus-visible,
.steps a:focus-visible,
.callbar a:focus-visible {
  outline-color: var(--cyan);
}

.footer-grid {
  display: grid;
  gap: 0.45rem;
}

.footer-name {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  font-weight: 750;
}

.footer-grid p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 0.6rem;
}

.callbar {
  display: none;
}

@media (min-width: 761px) {
  .service-list {
    grid-template-columns: 1fr 1fr;
    column-gap: 2rem;
  }

  .steps ol {
    grid-template-columns: 1fr 1fr;
  }

  .photo-grid {
    grid-template-columns: 1fr 1fr;
  }

  .quote-grid {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: start;
    gap: 2rem;
  }
}

@media (min-width: 980px) {
  .steps ol {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 760px) {
  body {
    overflow-x: clip;
    padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px));
  }

  .wrap,
  .hero-copy,
  .quote-grid,
  form {
    min-width: 0;
    max-width: 100%;
  }

  .site-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 8px 12px;
    padding: 10px 12px 12px;
  }

  .logo {
    max-width: 46vw;
  }

  .logo img {
    display: block;
    width: auto;
    height: auto;
    max-height: 40px;
    max-width: 100%;
  }

  .rec {
    min-width: 0;
    font-size: 0.875rem;
    line-height: 1.35;
  }

  .site-header .btn {
    grid-column: 1 / -1;
    width: 100%;
    margin-left: 0;
  }

  h1,
  .inner h1 {
    max-width: 100%;
    font-size: clamp(1.65rem, 7.6vw, 2.05rem);
    line-height: 1.22;
    text-wrap: balance;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: manual;
  }

  .eyebrow,
  .lede,
  .google-line {
    max-width: 100%;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .actions .btn,
  .beside-phone .btn,
  form .btn {
    width: 100%;
  }

  .hero,
  .hero-photo,
  .jobs,
  .photo-grid,
  .photo-grid figure {
    max-width: 100%;
    min-width: 0;
  }

  .hero-photo {
    overflow: hidden;
  }

  .hero-photo img,
  .photo-grid img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .hero-photo figcaption {
    width: auto;
    max-width: calc(100% - 2rem);
  }

  .service-list,
  .steps ol,
  .photo-grid,
  .quote-grid {
    grid-template-columns: 1fr;
  }

  label {
    font-size: 1rem;
    line-height: 1.4;
  }

  input,
  select,
  textarea {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .site-footer {
    padding: 1.75rem 0 1.5rem;
  }

  .footer-grid {
    gap: 0.7rem;
    font-size: 1.05rem;
    line-height: 1.5;
  }

  .footer-links {
    gap: 12px 16px;
  }

  .callbar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 25;
    gap: 8px;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px));
    background: var(--charcoal);
  }

  .callbar a {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 48px;
    padding: 10px 8px;
    font-size: clamp(0.875rem, 3.5vw, 1rem);
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    border-radius: 2px;
  }

  .callbar a:first-child {
    color: var(--cyan);
    border: 2px solid var(--cyan);
  }

  .callbar a:last-child {
    background: var(--white);
    color: var(--charcoal);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.inner h1 {
  max-width: 18em;
}

.page-block {
  padding: 2.5rem 0;
}

.page-block p {
  max-width: 42rem;
}

.page-block p + p {
  margin-top: 0.75rem;
}

.page-block + .page-block {
  padding-top: 0;
}

/* Brand colour pass: cyan only on charcoal, or as a fill with charcoal text. */
.site-header {
  border-bottom: 3px solid var(--cyan);
}

.site-header .btn,
.btn {
  background: var(--cyan);
  color: var(--charcoal);
  border-color: var(--cyan);
}

.btn:hover {
  background: var(--charcoal);
  color: var(--cyan);
  border-color: var(--charcoal);
}

.hero {
  background: var(--charcoal);
  color: var(--white);
}

.hero h1,
.hero p,
.hero .lede {
  color: var(--white);
}

.hero .eyebrow {
  color: var(--cyan);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.hero a:not(.btn) {
  color: var(--cyan);
}

.hero .btn-ghost {
  background: transparent;
  color: var(--cyan);
  border-color: var(--cyan);
}

.hero .btn-ghost:hover {
  background: var(--cyan);
  color: var(--charcoal);
}

.hero-copy {
  padding-top: 2.25rem;
  padding-bottom: 2rem;
}

h2::before {
  content: "";
  display: inline-block;
  width: 1.4rem;
  height: 3px;
  margin-right: 0.55rem;
  vertical-align: middle;
  background: var(--cyan);
}

.service-list {
  gap: 12px;
  border-bottom: none;
}

.service-list li {
  background: var(--white);
  border-top: none;
  border-left: 4px solid var(--cyan);
  padding: 16px 16px 14px;
}

.review-list blockquote {
  border-top-color: #d5dde0;
}

.review-list blockquote:last-child {
  border-bottom-color: #d5dde0;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--cyan);
  outline: 2px solid var(--charcoal);
  outline-offset: 1px;
}

@media (max-width: 760px) {
  .callbar a:last-child {
    background: var(--cyan);
    color: var(--charcoal);
    border: 2px solid var(--cyan);
  }
}

/* Job photos. Hero is a set height on large screens. Cards share a frame. */
.hero-photo img {
  object-fit: cover;
  object-position: center 42%;
}

@media (min-width: 980px) {
  .hero-photo img {
    height: min(52vh, 520px);
    object-position: center 78%;
  }
}

.hero-photo figcaption {
  margin: 0.35rem auto 0.15rem;
  padding: 0 0 0 0.55rem;
  border-left: 3px solid var(--cyan);
  color: var(--white);
  font-size: 0.875rem;
  line-height: 1.3;
}

.photo-grid figure {
  border: 1px solid var(--charcoal);
  box-shadow: 0 8px 22px rgba(38, 50, 56, 0.1);
  overflow: hidden;
}

.photo-grid img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.jobs-grid figure:nth-child(-n+2) img,
.photo-grid img.frame-tall {
  aspect-ratio: 3 / 4;
  object-position: center 32%;
}

.jobs-grid figure:nth-child(n+3) img {
  aspect-ratio: 4 / 3;
  object-position: center;
}

.photo-grid figcaption {
  margin: 0.5rem 0.75rem 0.6rem;
  padding: 0 0 0 0.55rem;
  border-left: 3px solid var(--cyan);
  color: var(--charcoal);
  font-size: 0.875rem;
  line-height: 1.3;
}

@media (min-width: 900px) {
  .jobs-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
  }

  .jobs-grid > figure:nth-child(-n+2) {
    grid-column: span 3;
  }

  .jobs-grid > figure:nth-child(n+3) {
    grid-column: span 2;
  }
}

.page-block h2 {
  margin-top: 1.75rem;
}

.page-block > .wrap > h2:first-child {
  margin-top: 0;
}

@media (max-width: 760px) {
  .more-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .page-block {
    padding: 1.75rem 0;
  }
}

.hero-photo img.hero-team {
  object-position: center 72%;
}

@media (min-width: 980px) {
  .hero-photo img.hero-team {
    height: min(66vh, 660px);
  }
}

/* Commercial section, BNI line, and the "Who we work with" logo strip. */
.commercial {
  padding: 2.5rem 0;
}

.commercial .service-list li {
  background: var(--paper);
}

.commercial .service-list p a {
  font-size: inherit;
  font-weight: 650;
}

.plain-list {
  max-width: 42rem;
  margin: 0.5rem 0 0.75rem;
  padding-left: 1.25rem;
}

.plain-list li + li {
  margin-top: 0.2rem;
}

.bni-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}

.bni-mark {
  line-height: 0;
}

.bni-mark img {
  width: 120px;
  height: auto;
}

.bni-line span {
  flex: 1 1 18rem;
}

.hero-photo img.hero-blake {
  object-position: center 22%;
}

.associates {
  padding: 2.5rem 0;
  border-top: 1px solid #d5dde0;
}

.logo-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
  margin: 1.25rem 0 0;
  padding: 0;
}

.logo-row li,
.logo-row a {
  display: flex;
  align-items: center;
  line-height: 0;
}

.logo-row img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.8;
}

@media (max-width: 760px) {
  .logo-row {
    gap: 18px 26px;
  }

  .logo-row img {
    height: 32px;
    max-width: 112px;
  }
}

/* Quality pass: responsive pictures, contrast, and a bigger mobile callbar. */
.hero-photo picture,
.photo-grid picture {
  display: block;
}

/* Cyan text only on charcoal. On white or paper, links are charcoal with a cyan underline. */
.google-line a,
.page-block a,
.services a,
.commercial a,
.associates a,
.where a,
.quote a:not(.btn) {
  color: var(--charcoal);
  text-decoration-color: var(--cyan);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.hero .google-line a,
.hero a:not(.btn) {
  color: var(--cyan);
  text-decoration-color: currentColor;
}

@media (max-width: 760px) {
  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }

  .callbar {
    gap: 8px;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px));
  }

  .callbar a {
    flex: 1 1 50%;
    min-height: 56px;
    padding: 12px 8px;
    font-size: 1rem;
  }
}

/* Services: compact header nav, grouped lists, and the call band. */
.site-nav {
  display: flex;
  gap: 4px 20px;
  margin-left: auto;
  font-weight: 650;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration-color: var(--cyan);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.site-header .site-nav + .btn {
  margin-left: 0;
}

.groups {
  display: grid;
  gap: 14px;
  margin-top: 1rem;
}

.group {
  background: var(--paper);
  border-left: 4px solid var(--cyan);
  padding: 16px 18px 14px;
}

.group h3 {
  margin: 0 0 0.5rem;
}

.group ul {
  margin: 0;
  padding-left: 1.1rem;
}

.group li + li {
  margin-top: 0.3rem;
}

.cta-band {
  background: var(--charcoal);
  color: var(--white);
  padding: 2.25rem 0;
}

.cta-band h2,
.cta-band p {
  color: var(--white);
}

.cta-band p {
  margin: 0 0 1rem;
  max-width: 42rem;
}

.cta-band .actions {
  margin-bottom: 0;
}

.cta-band .btn-ghost {
  background: transparent;
  color: var(--cyan);
  border-color: var(--cyan);
}

.cta-band .btn-ghost:hover {
  background: var(--cyan);
  color: var(--charcoal);
}

.footer-services {
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

@media (min-width: 761px) {
  .groups {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1100px) {
  .groups {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .site-nav {
    grid-column: 1;
    grid-row: 2;
    margin: 0;
  }

  .site-nav a:not(:first-child) {
    display: none;
  }

  .site-nav a:first-child {
    min-height: 48px;
    padding: 0 16px;
    border: 2px solid var(--charcoal);
    border-radius: 2px;
    text-decoration: none;
  }

  .site-header .site-nav + .btn {
    grid-column: 2;
    grid-row: 2;
    width: 100%;
    min-height: 48px;
  }

  .cta-band .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-band .btn {
    width: 100%;
  }
}

/* Home hero: Blake at the ute. The whole photo always shows, never cropped. */
.hero-photo img.hero-ute {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  margin: 0 auto;
}

@media (min-width: 980px) {
  .hero-photo img.hero-ute {
    width: min(100%, 1180px, calc(72vh * 1.5));
    height: auto;
  }

  .hero-photo:has(img.hero-ute) figcaption {
    width: min(100%, 1180px, calc(72vh * 1.5));
  }
}

/* Homepage hero only: big faint logo watermark behind the text and photo. */
.hero-home {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-home::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  width: min(1100px, 95vw);
  aspect-ratio: 1;
  right: -12%;
  top: -8%;
  background: url(/assets/logo-watermark.svg) no-repeat center / contain;
  opacity: 0.07;
}

@media (max-width: 979px) {
  .hero-home::before {
    width: 130vw;
    right: -45%;
    top: -2%;
  }
}

.licence-line {
  margin: 0 0 0.6rem;
  font-weight: 650;
}
