:root {
  --navy: #0b2945;
  --navy-deep: #061b2d;
  --cream: #f4efe5;
  --paper: #fbf8f1;
  --orange: #f05a23;
  --orange-dark: #d94712;
  --steel: #607080;
  --line: #cfd1cd;
  --white: #fff;
  --font-geist-sans: "Geist", ui-sans-serif, system-ui, sans-serif;
  --font-geist-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--paper);
  color: var(--navy);
  font-family: var(--font-geist-sans), Arial, sans-serif;
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header {
  z-index: 10;
  background: #fbf8f1f0;
  border-bottom: 1px solid #0b294524;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 90px;
  padding: 0 clamp(24px, 5vw, 84px);
  display: grid;
  position: relative;
}

.brand {
  letter-spacing: -0.07em;
  width: fit-content;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 760;
  line-height: 1;
}

.brand span,
h1 span {
  color: var(--orange);
}

nav {
  gap: clamp(24px, 3.5vw, 56px);
  display: flex;
}

nav a {
  font-size: 0.98rem;
  font-weight: 650;
  position: relative;
}

nav a::after {
  background: var(--orange);
  content: "";
  transform-origin: 0;
  width: 100%;
  height: 2px;
  transition: transform 0.18s;
  position: absolute;
  bottom: -9px;
  left: 0;
  transform: scaleX(0);
}

nav a:hover::after,
nav a:focus-visible::after {
  transform: scaleX(1);
}

.site-header > .button {
  justify-self: end;
}

.button {
  background: var(--orange);
  border: 2px solid var(--orange);
  color: var(--white);
  border-radius: 9px;
  justify-content: center;
  align-items: center;
  gap: 20px;
  min-height: 54px;
  padding: 0 24px;
  font-size: 1rem;
  font-weight: 720;
  transition: background 0.18s, border-color 0.18s, transform 0.18s;
  display: inline-flex;
}

.button:hover,
.button:focus-visible {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-2px);
}

.button-small {
  min-height: 46px;
  padding-inline: 20px;
}

.button-outline {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}

.button-outline:hover,
.button-outline:focus-visible {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--cream);
}

.hero {
  background: var(--cream);
  grid-template-columns: minmax(0, 1.02fr) minmax(440px, 0.98fr);
  min-height: min(720px, 100vh - 90px);
  display: grid;
  position: relative;
  overflow: hidden;
}

.hero-copy {
  z-index: 2;
  align-self: center;
  max-width: 800px;
  padding: clamp(70px, 8vw, 126px) clamp(36px, 6vw, 104px);
  position: relative;
}

.drafting-marks {
  opacity: 0.7;
  background-image: linear-gradient(#0b29451a 1px, #0000 1px),
    linear-gradient(90deg, #0b29451a 1px, #0000 1px);
  background-size: 26px 26px;
  width: 170px;
  height: 184px;
  position: absolute;
  top: 50px;
  left: 0;
  -webkit-mask-image: linear-gradient(90deg, #000, #0000);
  mask-image: linear-gradient(90deg, #000, #0000);
}

.eyebrow {
  color: var(--orange-dark);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0 0 24px;
  font-size: 0.76rem;
  font-weight: 780;
}

h1 {
  letter-spacing: -0.067em;
  max-width: 820px;
  margin-bottom: 30px;
  font-size: clamp(3.5rem, 5.55vw, 6.5rem);
  font-weight: 790;
  line-height: 0.98;
}

.orange-rule {
  background: var(--orange);
  width: 62px;
  height: 4px;
  margin: 0 0 27px;
}

.hero-intro {
  color: var(--steel);
  max-width: 620px;
  font-size: clamp(1.15rem, 1.55vw, 1.5rem);
  font-weight: 480;
  line-height: 1.48;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
  display: flex;
}

.micro-proof {
  border-left: 2px solid var(--orange);
  color: #495b69;
  max-width: 500px;
  margin: 34px 0 0;
  padding-left: 14px;
  font-size: 0.88rem;
  line-height: 1.5;
}

.hero-visual {
  background-color: #c9c0b4;
  background-image: linear-gradient(90deg, #f4efe529, #0000 30%), url(/hero-tradie.png);
  background-position: 50%;
  background-size: cover;
  min-height: 570px;
  position: relative;
}

.service-strip {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(4, 1fr);
  padding: 0 clamp(24px, 5vw, 84px);
  display: grid;
}

.strip-item {
  border-right: 1px solid var(--line);
  align-items: center;
  gap: 20px;
  min-height: 132px;
  padding: 24px clamp(18px, 2.4vw, 40px);
  display: flex;
}

.strip-item:first-child {
  border-left: 1px solid var(--line);
}

.strip-number {
  color: var(--orange);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.78rem;
  font-weight: 700;
}

.strip-item div {
  flex-direction: column;
  gap: 5px;
  display: flex;
}

.strip-item strong {
  font-size: 1.02rem;
}

.strip-item div span {
  color: var(--steel);
  font-size: 0.78rem;
  line-height: 1.4;
}

.section {
  padding: clamp(88px, 10vw, 154px) clamp(24px, 6vw, 104px);
}

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

.section-heading {
  grid-template-columns: 1fr 1.15fr 0.85fr;
  gap: clamp(24px, 5vw, 80px);
  margin-bottom: 58px;
  display: grid;
}

.section-heading .eyebrow {
  margin-top: 10px;
}

.section-heading h2,
.systems-copy h2,
.about-copy h2,
.contact-copy h2 {
  letter-spacing: -0.055em;
  margin-bottom: 0;
  font-size: clamp(2.6rem, 4vw, 4.8rem);
  line-height: 1.03;
}

.section-heading > p:last-child,
.systems-copy > p,
.about-copy > p,
.contact-copy > p {
  color: var(--steel);
  font-size: 1.03rem;
  line-height: 1.75;
}

.service-cards {
  grid-template-rows: repeat(4, auto);
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  display: grid;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  grid-row: span 4;
  grid-template-rows: subgrid;
  min-height: 490px;
  padding: clamp(28px, 3vw, 44px);
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
  display: grid;
}

.service-card:hover {
  border-color: #0b294573;
  transform: translateY(-4px);
  box-shadow: 0 20px 50px #061b2d12;
}

.card-topline {
  color: var(--orange);
  font-family: var(--font-geist-mono), monospace;
  justify-content: space-between;
  margin-bottom: 54px;
  font-size: 0.82rem;
  display: flex;
}

.service-card h3 {
  letter-spacing: -0.045em;
  margin-bottom: 20px;
  font-size: clamp(1.65rem, 2.2vw, 2.25rem);
  line-height: 1.1;
}

.service-card > p {
  color: var(--steel);
  line-height: 1.65;
}

.service-card ul {
  border-top: 1px solid var(--line);
  margin: 0;
  padding: 20px 0 0;
  list-style: none;
}

.service-card li {
  padding: 8px 0 8px 22px;
  font-size: 0.9rem;
  line-height: 1.45;
  position: relative;
}

.service-card li::before {
  color: var(--orange);
  content: "—";
  position: absolute;
  left: 0;
}

.systems-section {
  background: var(--navy-deep);
  color: var(--cream);
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: clamp(60px, 8vw, 130px);
  padding: clamp(90px, 11vw, 164px) clamp(24px, 7vw, 120px);
  display: grid;
  overflow: hidden;
}

.eyebrow-light {
  color: #ff8a5d;
}

.systems-copy > p {
  color: #b6c0c8;
  max-width: 570px;
  margin: 28px 0;
}

.text-link {
  color: var(--cream);
  border-bottom: 1px solid #667686;
  gap: 26px;
  padding-bottom: 10px;
  font-weight: 700;
  display: inline-flex;
}

.text-link span {
  color: var(--orange);
  transition: transform 0.18s;
}

.text-link:hover span {
  transform: translate(4px);
}

.systems-list {
  background: #9aadbd42;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  display: grid;
}

.system-area {
  background: #0c2b45;
  min-height: 220px;
  padding: clamp(26px, 3vw, 42px);
}

.system-area > span {
  color: #ff8a5d;
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.72rem;
  font-weight: 700;
}

.system-area h3 {
  letter-spacing: -0.035em;
  margin: 34px 0 12px;
  font-size: clamp(1.25rem, 1.8vw, 1.75rem);
  line-height: 1.15;
}

.system-area p {
  color: #b6c0c8;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
}

.section-heading.compact {
  grid-template-columns: 0.7fr 1.3fr;
}

.stage-grid {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
  display: grid;
}

.stage {
  border-right: 1px solid var(--line);
  padding: clamp(28px, 4vw, 58px);
}

.stage:last-child {
  border-right: 0;
}

.stage > span {
  color: var(--orange-dark);
  font-family: var(--font-geist-mono), monospace;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 700;
}

.stage h3 {
  letter-spacing: -0.04em;
  margin: 50px 0 18px;
  font-size: clamp(1.45rem, 2.2vw, 2.2rem);
  line-height: 1.14;
}

.stage p {
  color: var(--steel);
  line-height: 1.7;
}

.reviews {
  background: var(--white);
}

.reviews-heading {
  align-items: start;
}

.review-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  display: grid;
}

.review-card {
  background: var(--paper);
  border: 1px solid var(--line);
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  margin: 0;
  padding: clamp(26px, 3vw, 40px);
  display: flex;
}

.review-card blockquote {
  letter-spacing: -0.02em;
  margin: 0 0 40px;
  font-size: clamp(1.02rem, 1.35vw, 1.22rem);
  line-height: 1.65;
}

.review-card figcaption {
  border-top: 1px solid var(--line);
  flex-direction: column;
  gap: 4px;
  padding-top: 20px;
  display: flex;
}

.review-card figcaption strong {
  font-size: 0.92rem;
}

.review-card figcaption span {
  color: var(--steel);
  font-size: 0.78rem;
  line-height: 1.4;
}

.about {
  background: var(--cream);
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(60px, 10vw, 170px);
  padding: clamp(90px, 11vw, 164px) clamp(24px, 8vw, 140px);
  display: grid;
}

.about-label {
  border-left: 4px solid var(--orange);
  flex-direction: column;
  align-self: start;
  padding: 10px 0 10px 24px;
  display: flex;
}

.about-label span {
  color: var(--steel);
  text-transform: uppercase;
  font-size: 0.8rem;
}

.about-label strong {
  margin-top: 5px;
  font-size: 1.15rem;
}

.about-copy h2 {
  margin-bottom: 32px;
}

.about-copy > p {
  max-width: 790px;
}

.values {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
  display: flex;
}

.values span {
  border: 1px solid #b9b8b1;
  border-radius: 999px;
  padding: 10px 15px;
  font-size: 0.8rem;
  font-weight: 700;
}

.contact-section {
  background: var(--orange);
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(50px, 8vw, 120px);
  padding: clamp(88px, 10vw, 150px) clamp(24px, 9vw, 150px);
  display: grid;
}

.contact-copy {
  color: var(--white);
}

.contact-copy .eyebrow {
  color: var(--navy-deep);
}

.contact-copy > p {
  color: #ffffffe6;
  max-width: 560px;
  margin: 28px 0;
}

.call-card {
  background: var(--navy-deep);
  color: var(--white);
  border-radius: 12px;
  flex-direction: column;
  max-width: 430px;
  margin-top: 38px;
  padding: 24px 26px;
  display: flex;
}

.call-card span,
.call-card small {
  color: #c5ced5;
}

.call-card strong {
  letter-spacing: -0.03em;
  margin: 5px 0;
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
}

.contact-form {
  background: var(--paper);
  border-radius: 14px;
  gap: 18px;
  padding: clamp(26px, 4vw, 48px);
  display: grid;
  box-shadow: 0 24px 70px #061b2d2e;
}

.enquiry-card {
  align-content: start;
}

.enquiry-kicker {
  color: var(--orange-dark);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0;
  font-size: 0.76rem;
  font-weight: 780;
}

.enquiry-card h3 {
  letter-spacing: -0.045em;
  color: var(--navy);
  margin: 0;
  font-size: clamp(1.65rem, 2.2vw, 2.25rem);
  line-height: 1.1;
}

.enquiry-card > p:not(.enquiry-kicker):not(.form-note) {
  color: var(--steel);
  line-height: 1.65;
  margin: 0;
}

.enquiry-card .button {
  width: 100%;
  margin-top: 4px;
}

.form-note {
  color: var(--steel);
  text-align: center;
  margin: -4px 0 0;
  font-size: 0.78rem;
}

.mobile-call {
  display: none;
}

.button-light {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy);
}

.button-light:hover,
.button-light:focus-visible {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

footer {
  background: var(--navy-deep);
  color: #c5ced5;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 24px;
  padding: 54px clamp(24px, 6vw, 104px);
  display: grid;
}

.brand-light {
  color: var(--white);
  font-size: 2rem;
}

footer p,
footer span,
footer > a:not(.brand) {
  margin: 0;
  font-size: 0.77rem;
}

footer > a:not(.brand) {
  color: var(--white);
  text-underline-offset: 4px;
  text-decoration: underline;
}

:focus-visible {
  outline-offset: 4px;
  outline: 3px solid #58a6ff;
}

@media (width >= 2000px) {
  body {
    font-size: 22px;
  }

  .site-header {
    min-height: 112px;
  }

  .hero {
    grid-template-columns: 1.08fr 0.92fr;
    min-height: 820px;
  }

  .hero-copy {
    max-width: 1120px;
    padding-block: 110px;
  }

  h1 {
    max-width: 1080px;
    font-size: clamp(6.5rem, 4.6vw, 8rem);
  }

  .hero-intro {
    max-width: 820px;
    font-size: 1.45rem;
  }

  .hero-visual {
    min-height: 820px;
  }

  .section,
  .systems-section,
  .about,
  .contact-section {
    padding-block: 120px;
  }

  .section-heading {
    margin-bottom: 54px;
  }

  .section-heading h2,
  .systems-copy h2,
  .about-copy h2,
  .contact-copy h2 {
    font-size: clamp(4.8rem, 3.2vw, 6.4rem);
  }

  .section-heading > p:last-child,
  .systems-copy > p,
  .about-copy > p,
  .contact-copy > p {
    font-size: 1.08rem;
  }

  .service-card {
    min-height: 0;
  }

  .service-card h3 {
    font-size: 2.05rem;
  }

  .service-card li {
    font-size: 0.88rem;
  }

  .system-area,
  .review-card {
    min-height: 0;
  }
}

@media (width <= 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

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

  .hero-copy {
    max-width: 780px;
  }

  .hero-visual {
    min-height: 520px;
  }

  .service-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .strip-item:nth-child(2) {
    border-right: 0;
  }

  .strip-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .section-heading {
    grid-template-columns: 1fr 1.4fr;
  }

  .section-heading > p:last-child {
    grid-column: 2;
  }

  .service-cards {
    grid-template-rows: none;
    grid-template-columns: 1fr;
  }

  .service-card {
    grid-row: auto;
    min-height: 0;
    display: block;
  }

  .card-topline {
    margin-bottom: 34px;
  }

  .service-card ul {
    margin-top: 28px;
  }

  .systems-section {
    grid-template-columns: 1fr;
  }

  .systems-copy {
    max-width: 700px;
  }

  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about,
  .contact-section {
    grid-template-columns: 1fr;
  }

  footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (width <= 640px) {
  .site-header {
    min-height: 72px;
    padding-inline: 20px;
  }

  .site-header .brand {
    font-size: 1.8rem;
  }

  .site-header > .button {
    display: none;
  }

  .hero-copy {
    padding: 66px 22px 58px;
  }

  h1 {
    font-size: clamp(3.15rem, 15vw, 4.4rem);
  }

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

  .hero-actions .button {
    width: 100%;
  }

  .hero-visual {
    background-position: 58%;
    min-height: 430px;
  }

  .service-strip {
    grid-template-columns: 1fr;
    padding-inline: 20px;
  }

  .strip-item,
  .strip-item:first-child {
    border-bottom: 1px solid var(--line);
    border-left: 0;
    border-right: 0;
    min-height: 102px;
    padding-inline: 4px;
  }

  .strip-item:last-child {
    border-bottom: 0;
  }

  .section {
    padding-inline: 22px;
  }

  .section-heading,
  .section-heading.compact {
    display: block;
  }

  .section-heading h2 {
    margin-bottom: 24px;
  }

  .service-card {
    padding: 30px 24px;
  }

  .systems-section {
    padding-inline: 22px;
  }

  .systems-list {
    grid-template-columns: 1fr;
  }

  .system-area {
    min-height: 0;
  }

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

  .stage {
    border-bottom: 1px solid var(--line);
    border-right: 0;
    padding: 38px 4px;
  }

  .stage:last-child {
    border-bottom: 0;
  }

  .stage h3 {
    margin-top: 28px;
  }

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

  .review-card {
    min-height: 0;
  }

  .about,
  .contact-section {
    padding-inline: 22px;
  }

  footer {
    grid-template-columns: 1fr;
    padding-inline: 22px;
  }

  body {
    padding-bottom: 62px;
  }

  .mobile-call {
    background: var(--orange);
    color: var(--white);
    z-index: 50;
    justify-content: center;
    min-height: 62px;
    padding: 20px;
    font-size: 1rem;
    font-weight: 800;
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}