:root {
  color-scheme: light;
  --ink: #1c2529;
  --muted: #647078;
  --line: #d8dedc;
  --paper: #f6f2ea;
  --white: #ffffff;
  --green: #24614f;
  --green-dark: #183a34;
  --ochre: #c99a58;
  --blue: #273f4c;
}

* {
  box-sizing: border-box;
}

html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.58;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid rgba(201, 154, 88, 0.7);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  background: var(--ochre);
  color: #111;
  padding: 10px 14px;
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.topbar {
  background: var(--green-dark);
  color: #dfe9e6;
  font-size: 13px;
  min-height: 34px;
}

.topbar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 0;
  line-height: 18px;
}

.topbar a {
  color: #f2f7f4;
  text-decoration: none;
}

header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  text-decoration: none;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.01em;
}

.brand span {
  color: var(--green);
}

nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
  min-width: 58px;
  text-align: center;
  padding: 9px 0;
  border-bottom: 2px solid transparent;
}

nav a[aria-current="page"] {
  color: var(--green);
  border-bottom-color: var(--green);
}

nav a:hover {
  color: var(--green-dark);
}

.button {
  display: inline-block;
  padding: 12px 18px;
  background: var(--ochre);
  color: #141414;
  text-decoration: none;
  font-weight: 700;
  transition: background 0.15s ease, transform 0.15s ease;
}

.button:hover {
  background: #d6a966;
  transform: translateY(-1px);
}

.button.secondary {
  background: var(--green);
  color: white;
}

.button.secondary:hover {
  background: #2d745f;
}

.hero {
  color: white;
  background:
    linear-gradient(90deg, rgba(22, 34, 38, 0.86), rgba(22, 34, 38, 0.54)),
    url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1800&q=72") center/cover;
  min-height: 620px;
  display: flex;
  align-items: center;
  padding: 72px 0;
  background-position: center center;
}

.hero.services {
  background-image:
    linear-gradient(90deg, rgba(22, 34, 38, 0.86), rgba(22, 34, 38, 0.52)),
    url("https://images.unsplash.com/photo-1541888946425-d81bb19240f5?auto=format&fit=crop&w=1800&q=72");
}

.hero.projects {
  background-image:
    linear-gradient(90deg, rgba(22, 34, 38, 0.86), rgba(22, 34, 38, 0.52)),
    url("https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&w=1800&q=72");
}

.hero.safety {
  background-image:
    linear-gradient(90deg, rgba(22, 34, 38, 0.86), rgba(22, 34, 38, 0.52)),
    url("https://images.unsplash.com/photo-1531834685032-c34bf0d84c77?auto=format&fit=crop&w=1800&q=72");
}

.hero.contact {
  background-image:
    linear-gradient(90deg, rgba(22, 34, 38, 0.86), rgba(22, 34, 38, 0.52)),
    url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1800&q=72");
}

.hero.portal {
  background-image:
    linear-gradient(90deg, rgba(22, 34, 38, 0.86), rgba(22, 34, 38, 0.52)),
    url("https://images.unsplash.com/photo-1497366811353-6870744d04b2?auto=format&fit=crop&w=1800&q=72");
}

.hero.privacy {
  background-image:
    linear-gradient(90deg, rgba(22, 34, 38, 0.86), rgba(22, 34, 38, 0.52)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=72");
}

.hero.compact {
  min-height: 360px;
  padding: 54px 0;
}

.hero h1 {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: 48px;
  line-height: 1.08;
}

.hero.compact h1 {
  max-width: 820px;
  font-size: 42px;
}

.hero p {
  max-width: 690px;
  margin: 0 0 24px;
  color: #eef5f2;
  font-size: 19px;
}

.band {
  padding: 58px 0;
}

.band.tight {
  padding: 38px 0;
}

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

.eyebrow {
  color: var(--green);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 10px;
}

h2 {
  margin: 0 0 18px;
  font-size: 32px;
  line-height: 1.18;
}

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

p {
  margin: 0 0 14px;
}

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

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

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

.grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 24px;
  min-height: 100%;
}

.card.tint {
  background: #f9f7f1;
}

.card.accent {
  border-top: 4px solid var(--green);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 38px;
  align-items: start;
}

.list {
  margin: 14px 0 0;
  padding-left: 18px;
}

.list li {
  margin: 8px 0;
}

.check-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  margin: 9px 0;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 9px;
  height: 9px;
  background: var(--ochre);
}

.trust-strip {
  background: var(--green-dark);
  color: #edf4f1;
}

.trust-strip .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  padding: 26px 0;
}

.trust-strip strong {
  display: block;
  margin-bottom: 4px;
}

.trust-strip span {
  color: #cddbd6;
  font-size: 13px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}

.step {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 22px;
  counter-increment: step;
}

.step::before {
  content: "0" counter(step);
  display: inline-block;
  margin-bottom: 16px;
  color: var(--green);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.notice {
  border-left: 4px solid var(--ochre);
  background: #fbfaf6;
  padding: 18px 20px;
}

.portal-card {
  background: #172522;
  color: white;
  border: 1px solid rgba(255,255,255,0.16);
  padding: 0;
  min-height: 100%;
  box-shadow: 0 18px 36px rgba(24, 36, 41, 0.12);
}

.portal-card.large {
  min-height: auto;
}

.portal-head,
.portal-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  border-top: 1px solid rgba(255,255,255,0.13);
}

.portal-head {
  border-top: 0;
  background: rgba(255,255,255,0.07);
}

.portal-head span,
.portal-row span {
  color: #d8e3df;
}

.portal-card strong {
  color: #f1d19a;
  white-space: nowrap;
}

.error-page {
  min-height: 520px;
  display: flex;
  align-items: center;
}

.error-page h1 {
  margin: 0 0 16px;
  font-size: 46px;
  line-height: 1.08;
}

.stat {
  border-top: 3px solid var(--ochre);
  padding-top: 14px;
}

.stat strong {
  display: block;
  font-size: 26px;
  line-height: 1;
}

.project {
  min-height: 260px;
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
  background: linear-gradient(rgba(24, 36, 41, 0.22), rgba(24, 36, 41, 0.82)), var(--blue);
  background-position: center center;
  background-size: cover;
  padding: 22px;
  text-decoration: none;
  overflow: hidden;
}

.project:hover h3 {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.project.office {
  background-image:
    linear-gradient(rgba(24, 36, 41, 0.22), rgba(24, 36, 41, 0.82)),
    url("https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&w=1100&q=72");
}

.project.retail {
  background-image:
    linear-gradient(rgba(24, 36, 41, 0.22), rgba(24, 36, 41, 0.82)),
    url("https://images.unsplash.com/photo-1604014237800-1c9102c219da?auto=format&fit=crop&w=1100&q=72");
}

.project.residential {
  background-image:
    linear-gradient(rgba(24, 36, 41, 0.22), rgba(24, 36, 41, 0.82)),
    url("https://images.unsplash.com/photo-1518005020951-eccb494ad742?auto=format&fit=crop&w=1100&q=72");
}

.contact-panel {
  background: var(--green-dark);
  color: white;
  padding: 32px;
}

.contact-panel .muted {
  color: #cbd7d2;
}

.contact-row {
  border-top: 1px solid rgba(255,255,255,0.18);
  padding: 14px 0;
}

.contact-row:first-of-type {
  border-top: 0;
}

.small {
  font-size: 13px;
}

footer {
  background: #172522;
  color: #cdd7d3;
  padding: 34px 0;
  font-size: 13px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.footer-title {
  color: white;
  display: block;
  font-size: 15px;
  margin-bottom: 8px;
}

.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

footer a {
  color: #e7eee9;
  text-decoration: none;
}

.legal {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-top: 18px;
  color: #aab7b2;
}

@media (max-width: 820px) {
  .topbar .wrap,
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  nav a {
    min-width: auto;
    text-align: left;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero,
  .hero.compact {
    min-height: 430px;
    padding: 48px 0;
  }

  .hero.compact h1 {
    font-size: 32px;
  }

  .grid,
  .grid.two,
  .grid.four,
  .split,
  .stats,
  .timeline,
  .trust-strip .wrap,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
