:root {
  --color-bg: #f5f6f4;
  --color-surface: #ffffff;
  --color-text: #1c2333;
  --color-muted: #5c6578;
  --color-accent: #0d7a6e;
  --color-accent-dark: #095c52;
  --color-navy: #0f1729;
  --color-navy-soft: #1a2847;
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(15, 23, 41, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 23, 41, 0.12);
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Top bar */
.top-bar {
  background: var(--color-navy);
  color: #c8d0e0;
  font-size: 0.8125rem;
  padding: 0.4rem 0;
}

.top-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}

.top-bar__tagline {
  margin: 0;
}

.top-bar__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.top-bar a {
  color: #fff;
  text-decoration: none;
}

.top-bar a:hover {
  text-decoration: underline;
}

/* Site header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-surface);
  box-shadow: 0 1px 0 rgba(15, 23, 41, 0.06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  min-height: 64px;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--color-navy);
  font-weight: 700;
}

.logo:hover {
  text-decoration: none;
  color: var(--color-accent);
}

.logo__mark {
  font-size: clamp(1.15rem, 3.2vw, 1.45rem);
  letter-spacing: -0.02em;
}

.logo__text {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.85;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
}

.nav a {
  color: var(--color-text);
  text-decoration: none;
}

.nav a:hover {
  color: var(--color-accent);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 24px;
  background: var(--color-navy);
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.15rem;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover {
  text-decoration: none;
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-accent-dark);
  color: #fff;
}

.btn--secondary {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}

.btn--secondary:hover {
  background: var(--color-navy);
  color: #fff;
}

.btn--light {
  background: #fff;
  color: var(--color-navy);
}

.btn--light:hover {
  background: var(--color-bg);
  color: var(--color-navy);
}

.btn--lg {
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(70vh, 640px);
  display: flex;
  align-items: center;
  padding: 3rem 0 4rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(15, 23, 41, 0.88) 0%, rgba(13, 122, 110, 0.45) 100%),
    url("https://images.unsplash.com/photo-1527515637462-cff94eecc1ac?w=1920&q=80") center / cover no-repeat;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 40rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.9;
  margin: 0 0 0.5rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero h1 span {
  color: #7eddd4;
}

.hero__lead {
  font-size: 1.125rem;
  opacity: 0.95;
  margin: 0 0 1.5rem;
  max-width: 32ch;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section--tight {
  padding-top: 3rem;
}

.section--muted {
  background: #ecefe9;
}

.section--green {
  background: linear-gradient(160deg, #0a5c54 0%, #0d7a6e 50%, #0a4d47 100%);
  color: #e8f5f3;
}

.section--green a {
  color: #b8fff4;
}

.h2 {
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  line-height: 1.2;
  color: var(--color-navy);
}

.h2--center {
  text-align: center;
}

.h2-sub {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-accent);
  margin: 0 0 1rem;
  text-transform: capitalize;
}

.section__lead {
  text-align: center;
  color: var(--color-muted);
  max-width: 46rem;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
}

.section__lead--light {
  color: rgba(255, 255, 255, 0.9);
}

.section h2.h2--center,
.section--green h2 {
  color: inherit;
}

.section--green .h2 {
  color: #fff;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.split--intro {
  align-items: center;
}

.intro__figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.intro__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.prose p {
  margin: 0 0 1rem;
  color: var(--color-muted);
}

.prose p:last-child {
  margin-bottom: 0;
}

/* Stats */
.stats {
  background: var(--color-navy);
  color: #fff;
  padding: 2.5rem 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat__num {
  display: block;
  font-size: clamp(2.5rem, 6vw, 3.25rem);
  font-weight: 700;
  line-height: 1;
  color: #7eddd4;
}

.stat__label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.85;
}

/* Photo strip (under stats) */
.strip--photos {
  padding: 0;
  border-block: 1px solid rgba(15, 23, 41, 0.08);
  background: var(--color-surface);
}

.strip--photos__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--max);
  margin: 0 auto;
}

.strip--photos__inner img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

@media (max-width: 720px) {
  .strip--photos__inner {
    grid-template-columns: 1fr;
  }

  .strip--photos__inner img {
    height: 180px;
  }
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--color-surface);
  padding: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 23, 41, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.card__media {
  aspect-ratio: 5 / 3;
  overflow: hidden;
  background: #e2e6e0;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.card__body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--color-navy);
}

.card__body p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-muted);
}

.section__more {
  text-align: center;
  margin: 2rem 0 0;
  color: var(--color-muted);
}

.banner-inline {
  margin-top: 2.5rem;
  text-align: center;
  background: var(--color-navy);
  color: #fff;
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.banner-inline h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.banner-inline--residential {
  min-height: 9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  background:
    linear-gradient(120deg, rgba(15, 23, 41, 0.82) 0%, rgba(13, 122, 110, 0.55) 100%),
    url("https://images.pexels.com/photos/1457842/pexels-photo-1457842.jpeg?auto=compress&cs=tinysrgb&w=1600") center / cover no-repeat;
}

/* Logo row */
.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-weight: 600;
  color: var(--color-muted);
}

.logo-row li {
  padding: 0.5rem 1rem;
  background: var(--color-surface);
  border-radius: 6px;
  font-size: 0.875rem;
}

.client-photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 2rem;
}

.client-photos img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Gallery */
.photo-gallery {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.photo-gallery__item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #e2e6e0;
  box-shadow: var(--shadow);
}

.photo-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-gallery__item--tall {
  min-height: 300px;
}

.photo-gallery__cluster {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  align-content: start;
}

.photo-gallery__cluster .photo-gallery__item {
  aspect-ratio: 4 / 3;
  min-height: 0;
}

.photo-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.photo-mosaic img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Features */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.feature {
  padding: 1.5rem;
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 1px solid rgba(15, 23, 41, 0.08);
}

.feature h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--color-navy);
}

.feature p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* Quotes */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.quote {
  margin: 0;
  padding: 1.5rem 1.75rem;
  background: var(--color-surface);
  border-radius: var(--radius);
  border-left: 4px solid var(--color-accent);
  box-shadow: var(--shadow);
}

.quote p {
  margin: 0 0 1rem;
  font-style: italic;
  color: var(--color-text);
}

.quote cite {
  font-size: 0.875rem;
  color: var(--color-muted);
  font-style: normal;
}

.testimonial-photos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 auto 1.5rem;
  max-width: 42rem;
}

.testimonial-photos img {
  width: min(32%, 160px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--color-surface);
  box-shadow: var(--shadow);
}

/* Blog */
.blog-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.blog-card {
  background: var(--color-surface);
  padding: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.blog-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e2e6e0;
}

.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card__text {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.blog-card time {
  font-size: 0.8125rem;
  color: var(--color-muted);
}

.blog-card h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--color-navy);
}

.blog-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-muted);
  flex: 1;
}

.read-more {
  font-weight: 600;
  font-size: 0.9rem;
}

.careers-cta {
  text-align: center;
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* Eco */
.eco-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.75rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 900px;
  margin-inline: auto;
}

.eco-grid li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.95rem;
}

.eco-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7eddd4;
}

.split--sustain {
  align-items: center;
  gap: 2.5rem;
}

.sustain__figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.sustain__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.split--sustain .h2 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.sustain__lead {
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 1.25rem;
  line-height: 1.5;
  font-size: 1.05rem;
}

.eco-grid--sustain {
  max-width: none;
}

/* Resources */
.resource-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.resource {
  background: var(--color-surface);
  padding: 0;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.resource__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e2e6e0;
}

.resource__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.resource__text {
  padding: 1.25rem 1.5rem 1.5rem;
}

.resource h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  color: var(--color-navy);
}

.resource p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* CTA / form */
.cta-bottom {
  background: linear-gradient(180deg, #e8ebe5 0%, var(--color-bg) 100%);
}

.cta-bottom__wrap {
  max-width: 960px;
}

.cta-bottom__intro {
  text-align: center;
  margin-bottom: 1.75rem;
}

.cta-bottom__intro .h2 {
  margin-bottom: 0.5rem;
}

.cta-bottom__intro p {
  color: var(--color-muted);
  margin: 0;
}

.cta-bottom__row {
  display: grid;
  grid-template-columns: 1fr minmax(0, 380px);
  gap: 2rem;
  align-items: start;
}

.cta-bottom__media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-bottom__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.contact-form {
  background: var(--color-surface);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.form-row {
  margin-bottom: 1rem;
}

.form-row .label,
.contact-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--color-navy);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid #c5ccd8;
  border-radius: 6px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--color-accent);
  border-color: transparent;
}

.radio-group {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.25rem;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  margin: 0;
  cursor: pointer;
}

.form-note {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin: 0 0 1rem;
}

.contact-form .btn {
  width: 100%;
}

/* Footer */
.footer {
  background: var(--color-navy);
  color: #a8b4c8;
  padding: 3rem 0 1.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.logo--footer {
  color: #fff;
  margin-bottom: 0.75rem;
}

.logo--footer .logo__text {
  color: #a8b4c8;
}

.footer__tagline {
  font-size: 0.9rem;
  margin: 0 0 1rem;
}

.footer__heading {
  color: #fff;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 0.75rem;
}

.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9375rem;
}

.footer__links li {
  margin-bottom: 0.4rem;
}

.footer a {
  color: #c8d0e0;
  text-decoration: none;
}

.footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer .btn--primary {
  display: inline-flex;
  margin-top: 0.25rem;
}

.footer__legal {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8125rem;
}

.footer__legal p {
  margin: 0.35rem 0;
}

.footer__legal a {
  color: #7eddd4;
}

/* FAB */
.fab {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 90;
  background: var(--color-accent);
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}

.fab:hover {
  background: var(--color-accent-dark);
  color: #fff;
  text-decoration: none;
}

/* Mobile */
@media (max-width: 900px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-list {
    grid-template-columns: 1fr;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .client-photos {
    grid-template-columns: 1fr;
  }

  .photo-gallery {
    grid-template-columns: 1fr;
  }

  .photo-gallery__item--tall {
    min-height: 220px;
    max-height: 360px;
  }

  .photo-mosaic {
    grid-template-columns: 1fr;
  }

  .photo-mosaic img {
    height: 220px;
  }

  .cta-bottom__row {
    grid-template-columns: 1fr;
  }

  .cta-bottom__media img {
    min-height: 240px;
    max-height: 400px;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .site-header__actions .btn--primary {
    display: none;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(100%, 300px);
    height: 100vh;
    background: var(--color-surface);
    flex-direction: column;
    align-items: stretch;
    padding: 5rem 1.5rem 1.5rem;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.25s ease;
  }

  .nav.is-open {
    transform: translateX(0);
  }

  .nav a {
    padding: 0.6rem 0;
    border-bottom: 1px solid #e8e8e8;
  }

  body.nav-open {
    overflow: hidden;
  }

  .stats__grid {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .quote-grid {
    grid-template-columns: 1fr;
  }

  .resource-cards {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .top-bar__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
