:root {
  --ink: #172026;
  --muted: #5b6670;
  --paper: #f7f5f0;
  --white: #ffffff;
  --charcoal: #263238;
  --teal: #0f6f6b;
  --copper: #b46a3c;
  --sage: #dfe7da;
  --line: rgba(23, 32, 38, 0.14);
  --shadow: 0 24px 70px rgba(23, 32, 38, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 700;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.header-contact a {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: inherit;
  background: rgba(23, 32, 38, 0.24);
  backdrop-filter: blur(12px);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.site-header-scrolled {
  color: var(--ink);
  background: rgba(247, 245, 240, 0.88);
  box-shadow: 0 10px 35px rgba(23, 32, 38, 0.08);
  backdrop-filter: blur(14px);
}

.site-header-scrolled .brand-mark {
  color: var(--white);
  border-color: rgba(23, 32, 38, 0.16);
  background: var(--teal);
}

.site-header-scrolled .nav-links {
  color: var(--ink);
  border-color: rgba(23, 32, 38, 0.14);
  background: rgba(255, 255, 255, 0.76);
}

.site-header-scrolled .header-contact a {
  color: var(--ink);
  border-color: rgba(23, 32, 38, 0.14);
  background: rgba(255, 255, 255, 0.76);
}

.site-header-scrolled .nav-links a:hover {
  background: rgba(15, 111, 107, 0.1);
}

.nav-links {
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(23, 32, 38, 0.24);
  backdrop-filter: blur(12px);
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.14);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 128px clamp(18px, 6vw, 88px) 72px;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(17, 24, 29, 0.84) 0%, rgba(17, 24, 29, 0.58) 42%, rgba(17, 24, 29, 0.12) 100%),
    linear-gradient(0deg, rgba(17, 24, 29, 0.45), rgba(17, 24, 29, 0.02) 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 690px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--copper);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e7b48b;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(54px, 8vw, 112px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.hero-copy {
  max-width: 610px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button,
.quote-email-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 14px 20px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
}

.button.primary,
.quote-email-button {
  color: var(--white);
  background: var(--teal);
}

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.1);
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.metric {
  min-height: 148px;
  padding: clamp(24px, 4vw, 44px);
  background: var(--white);
}

.metric strong,
.metric span {
  display: block;
}

.metric strong {
  margin-bottom: 8px;
  font-size: 22px;
}

.metric span {
  color: var(--muted);
}

.section,
.gallery-section,
.split-section,
.suburbs,
.quote-section {
  padding: clamp(64px, 9vw, 118px) clamp(18px, 6vw, 88px);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 36px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 44px rgba(23, 32, 38, 0.08);
}

.card p,
.split-section p,
.suburbs p,
.quote-copy p {
  color: var(--muted);
  font-size: 17px;
}

.email-line a,
.quote-phone-link,
.site-footer a {
  color: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.icon {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--teal);
  font-weight: 800;
}

.gallery-section {
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  grid-template-rows: repeat(2, minmax(240px, 1fr));
  gap: 18px;
}

.gallery-item {
  position: relative;
  min-height: 260px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--charcoal);
  box-shadow: 0 18px 52px rgba(23, 32, 38, 0.16);
}

.gallery-item.large {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17, 24, 29, 0.72), rgba(17, 24, 29, 0.02) 58%);
}

.gallery-item figcaption {
  position: absolute;
  z-index: 1;
  left: 22px;
  right: 22px;
  bottom: 20px;
  color: var(--white);
}

.gallery-item strong,
.gallery-item span {
  display: block;
}

.gallery-item strong {
  font-size: 19px;
}

.gallery-item span {
  max-width: 440px;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: start;
  color: var(--white);
  background: var(--charcoal);
}

.split-section .eyebrow {
  color: #e7b48b;
}

.split-section p {
  color: rgba(255, 255, 255, 0.76);
}

.steps {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.steps span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--charcoal);
  background: var(--sage);
  font-weight: 800;
}

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

.steps p {
  margin: 0;
}

.suburbs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: end;
  background: var(--sage);
}

.quote-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.7fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: start;
  background: var(--white);
}

.quote-contact {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.quote-contact-label {
  margin: 0;
  color: var(--copper);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.quote-contact p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.quote-phone-link {
  justify-self: start;
  color: var(--teal);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 6vw, 88px);
  color: rgba(255, 255, 255, 0.76);
  background: #11181d;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 840px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-links {
    display: none;
  }

  .header-contact {
    margin-left: 48px;
    font-size: 13px;
  }

  .hero {
    min-height: 86vh;
    padding-top: 112px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(17, 24, 29, 0.88), rgba(17, 24, 29, 0.58)),
      linear-gradient(0deg, rgba(17, 24, 29, 0.5), rgba(17, 24, 29, 0.08));
  }

  h1 {
    font-size: clamp(48px, 15vw, 72px);
  }

  .intro-band,
  .card-grid,
  .gallery-grid,
  .split-section,
  .suburbs,
  .quote-section {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-rows: none;
  }

  .gallery-item.large {
    grid-row: auto;
  }

  .card {
    min-height: auto;
  }

  .icon {
    margin-bottom: 24px;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 480px) {
  .brand {
    font-size: 14px;
  }

  .header-contact {
    display: none;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

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