:root {
  --bg: #edebe7;
  --surface: #faf9f7;
  --surface-alt: #fcfbf9;
  --tone: #f3f1ec;
  --primary: #1a1a1a;
  --secondary: #141414;
  --text: #57544b;
  --muted: #6c685f;
  --border: #eae7e0;
  --border-alt: #e4e0d9;
  --border-strong: #d8d3ca;
  --accent: #c4a36a;
  --accent-deep: #9a7a45;
  --star: #e8a33d;
  --footer-border: #2a2a28;
  --footer-text: #8e897e;
  --footer-links: #a8a39a;
  --font-display: "Archivo", sans-serif;
  --font-body: "Barlow", sans-serif;
  --radius-btn: 8px;
  --radius-card: 12px;
  --radius-panel: 20px;
  --max: 1280px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 76px;
  --page-x: 24px;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1.15;
  overflow-wrap: break-word;
}

p {
  margin: 0 0 1rem;
}

.container {
  width: min(100% - (var(--page-x) * 2), var(--max));
  margin-inline: auto;
}

@media (max-width: 640px) {
  :root {
    --page-x: 16px;
    --header-h: 68px;
  }
}

.eyebrow {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow.dark {
  color: var(--accent-deep);
}

.eyebrow.on-dark {
  color: color-mix(in oklab, var(--accent) 85%, white);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: var(--radius-btn);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: opacity 150ms var(--ease), box-shadow 150ms var(--ease), background 150ms var(--ease), transform 150ms var(--ease);
  touch-action: manipulation;
}

.btn:hover {
  opacity: 0.92;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px color-mix(in oklab, var(--accent) 12%, transparent);
}

.btn-dark {
  background: var(--primary);
  color: #fff;
}

.btn-accent {
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 2px 8px color-mix(in oklab, var(--accent) 25%, transparent);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--border-strong);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-block {
  width: 100%;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--surface) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}

.site-header.is-scrolled,
.site-header.is-open {
  border-bottom-color: var(--border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.header-inner {
  position: relative;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  min-width: 0;
}

.logo img {
  width: 56px;
  height: auto;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  white-space: nowrap;
}

.logo-text em {
  font-style: normal;
  color: var(--accent-deep);
}

.nav {
  display: none;
  align-items: center;
  gap: 22px;
}

.nav a {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.nav a:hover {
  color: var(--primary);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 10px;
}

.header-call-mobile {
  display: none;
  padding: 10px 14px;
  font-size: 13px;
}

.nav-mobile-actions {
  display: none;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 10px;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--primary);
  transition: transform 200ms var(--ease), opacity 200ms var(--ease);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

@media (max-width: 1023px) {
  .header-call-mobile {
    display: inline-flex;
  }

  .nav.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 20px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    max-height: calc(100svh - var(--header-h));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav.is-open > a {
    padding: 14px var(--page-x);
    font-size: 16px;
    color: var(--primary);
    border-bottom: 1px solid var(--border);
  }

  .nav-mobile-actions {
    display: grid;
    gap: 10px;
    padding: 16px var(--page-x) 4px;
  }
}

@media (min-width: 1024px) {
  .nav-toggle,
  .header-call-mobile,
  .nav-mobile-actions {
    display: none;
  }

  .nav,
  .header-actions {
    display: flex;
  }
}

@media (max-width: 420px) {
  .logo img {
    width: 48px;
  }

  .logo-text {
    font-size: 13px;
    letter-spacing: 0.06em;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  padding: 28px 0 36px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--primary);
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.1s var(--ease);
}

.hero-slide.is-active {
  opacity: 1;
  animation: hero-kenburns 7.5s linear forwards;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.82), rgba(20, 20, 20, 0.55) 60%, rgba(20, 20, 20, 0.4));
}

.hero-label {
  color: #fff;
  font-weight: 700;
}

.hero-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.hero-dot {
  width: 28px;
  height: 3px;
  border: 0;
  padding: 10px 0;
  background-clip: content-box;
  border-radius: 2px;
  background-color: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background-color 200ms var(--ease), width 200ms var(--ease);
}

.hero-dot.is-active {
  width: 40px;
  background-color: var(--accent);
}

@keyframes hero-kenburns {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-slide.is-active {
    transition: none;
    animation: none;
    transform: none;
  }
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 22px;
  align-items: center;
  width: 100%;
}

.container.hero-grid {
  max-width: 1040px;
}

.hero-copy {
  color: #fff;
}

.hero-copy .eyebrow {
  color: color-mix(in oklab, var(--accent) 80%, white);
}

.hero h1 {
  font-size: clamp(2rem, 8vw, 3.75rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}

.hero-lede {
  max-width: 34rem;
  font-size: clamp(15px, 3.8vw, 18px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 18px;
}

.hero-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.hero-points li {
  position: relative;
  padding-left: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 500;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--accent) 22%, white);
  box-shadow: inset 0 0 0 5px color-mix(in oklab, var(--accent) 55%, transparent);
}

.quote-panel {
  background: var(--surface-white, #fff);
  border: 1px solid var(--border-alt);
  border-radius: var(--radius-panel);
  padding: 22px 20px 20px;
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.45);
}

.quote-panel h2 {
  font-size: clamp(22px, 5vw, 26px);
  margin-bottom: 8px;
}

.quote-panel > p {
  margin: 0 0 16px;
  font-size: 15px;
  color: var(--muted);
}

.quote-benefits {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.quote-benefits li {
  position: relative;
  padding-left: 34px;
  font-size: 15px;
  color: var(--primary);
  font-weight: 500;
}

.quote-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-deep);
  background: color-mix(in oklab, var(--accent) 18%, white);
}

.quote-panel .btn + .btn {
  margin-top: 10px;
}

@media (max-width: 959px) {
  .hero {
    min-height: auto;
    padding: 28px 0 32px;
  }

  .hero-points {
    display: none;
  }

  .hero-dots {
    margin-top: 18px;
  }

  .quote-panel {
    border-radius: 16px;
  }
}

@media (min-width: 960px) {
  .hero {
    min-height: calc(100svh - var(--header-h));
    padding: 0;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    gap: 36px;
    min-height: calc(100svh - var(--header-h));
    align-items: center;
    padding: 48px 0;
    justify-content: center;
  }

  .quote-panel {
    padding: 28px 26px 24px;
  }
}

/* Stats */
.stats {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}

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

@media (min-width: 700px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

.stat {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.stat strong {
  font-family: var(--font-display);
  font-size: clamp(15px, 3.5vw, 18px);
  font-weight: 700;
  color: var(--primary);
}

.stat span {
  font-size: 13px;
  color: var(--muted);
}

/* Sections */
.section {
  padding: clamp(40px, 8vw, 64px) 0;
}

.section-head {
  max-width: 42rem;
  margin-bottom: 28px;
}

.section-head h2 {
  font-size: clamp(1.65rem, 5vw, 2.5rem);
  margin-bottom: 12px;
}

.section-lede {
  margin: 0;
  font-size: clamp(15px, 3.5vw, 17px);
  color: var(--muted);
}

/* Services */
.services {
  background: var(--bg);
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 560px) {
  .service-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--border-alt);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform 150ms var(--ease), box-shadow 150ms var(--ease), border-color 150ms var(--ease);
}

@media (hover: hover) {
  .service-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.15);
  }

  .service-card:hover .service-image img {
    transform: scale(1.03);
  }
}

.service-image {
  position: relative;
  height: 190px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease);
}

.service-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(20, 20, 20, 0.78) 0%, rgba(20, 20, 20, 0.2) 60%, rgba(20, 20, 20, 0) 100%);
}

.service-image h3 {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 16px 18px;
  font-size: clamp(17px, 4vw, 19px);
  color: #fff;
  text-align: center;
}

.service-body {
  padding: 16px 18px 20px;
}

.service-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
}

/* Projects band */
.projects-band {
  background: var(--tone);
}

.project-grid {
  display: grid;
  gap: 12px;
}

@media (min-width: 768px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border-alt);
  border-radius: var(--radius-card);
  padding: 22px 18px;
}

.project-card h3 {
  font-size: clamp(18px, 4vw, 20px);
  margin-bottom: 8px;
}

.project-card p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

/* About */
.about {
  background: var(--surface);
}

.about-grid {
  display: grid;
  gap: 24px;
  align-items: center;
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 48px;
  }
}

.about-media {
  border-radius: var(--radius-card);
  overflow: hidden;
}

.about-media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.about-copy h2 {
  font-size: clamp(1.7rem, 5vw, 2.6rem);
  margin-bottom: 16px;
}

.about-copy p {
  color: var(--muted);
}

.about-copy .btn {
  margin-top: 8px;
}

/* SEO keyword band */
.seo-band {
  background: var(--surface);
}

.seo-grid {
  display: grid;
  gap: 14px;
}

@media (min-width: 700px) {
  .seo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.seo-grid article {
  background: var(--bg);
  border: 1px solid var(--border-alt);
  border-radius: var(--radius-card);
  padding: 22px 18px;
}

.seo-grid h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.seo-grid p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.area-blocks {
  display: grid;
  gap: 14px;
}

@media (min-width: 700px) {
  .area-blocks {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.area-blocks h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.area-blocks .suburb-list {
  margin: 0;
}

.areas {
  background: var(--tone);
}

/* Inner service pages */
.page-hero {
  padding: clamp(40px, 7vw, 72px) 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.page-hero-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

@media (min-width: 900px) {
  .page-hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
  }
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 14px;
}

.page-bullets {
  list-style: none;
  margin: 18px 0 22px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-bullets li {
  position: relative;
  padding-left: 28px;
  color: var(--primary);
  font-weight: 500;
}

.page-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--accent) 22%, white);
  box-shadow: inset 0 0 0 4px color-mix(in oklab, var(--accent) 55%, transparent);
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-hero-media {
  border-radius: var(--radius-card);
  overflow: hidden;
}

.page-hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.prose {
  max-width: 42rem;
}

.prose p {
  color: var(--muted);
  font-size: 1.05rem;
}

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

@media (min-width: 700px) {
  .related-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.related-list a {
  display: block;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border-alt);
  border-radius: var(--radius-card);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
}

.related-list a:hover {
  border-color: var(--accent);
}

.nav a.is-active {
  color: var(--primary);
}

.service-card {
  text-decoration: none;
  color: inherit;
}

.suburb-list {
  margin: 0;
  padding: 18px 16px;
  background: var(--surface);
  border: 1px solid var(--border-alt);
  border-radius: var(--radius-card);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
}

@media (min-width: 640px) {
  .suburb-list {
    padding: 22px 24px;
  }
}

/* CTA */
.cta {
  background: var(--secondary);
  color: #fff;
}

.cta h2 {
  color: #fff;
  font-size: clamp(1.65rem, 5vw, 2.5rem);
  margin-bottom: 10px;
}

.cta p {
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

.cta-inner {
  display: grid;
  gap: 22px;
  align-items: center;
}

@media (min-width: 800px) {
  .cta-inner {
    grid-template-columns: 1.2fr auto;
  }
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 480px) {
  .cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

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

@media (min-width: 480px) {
  .cta-actions .btn {
    width: auto;
  }
}

/* Footer */
.site-footer {
  background: #0f0f0e;
  color: var(--footer-text);
  padding: 48px 0 0;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.footer-grid {
  display: grid;
  gap: 28px;
  padding-bottom: 32px;
}

@media (min-width: 600px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
    gap: 32px;
  }
}

.footer-brand p {
  margin: 14px 0 0;
  max-width: 28rem;
  font-size: 14px;
  line-height: 1.55;
}

.logo--footer .logo-text {
  color: #fff;
}

.site-footer h3 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 14px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.site-footer a {
  color: var(--footer-links);
  font-size: 14px;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid var(--footer-border);
  padding: 18px 0;
}

.footer-bottom p {
  margin: 0;
  font-size: 13px;
  color: var(--footer-text);
}

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

  .service-card,
  .service-image img {
    transition: none;
  }
}
