:root {
  --ink: #11140f;
  --steel: #9fc8b7;
  --line: #d8ded9;
  --muted: #5e6862;
  --cream: #f6f1e7;
  --paper: #fffdf7;
  --clay: #b76436;
  --signal: #e7bb3d;
  --mint: #9fc8b7;
  --blue: #4a7c9d;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(17, 20, 15, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

.top-strip {
  background: var(--mint);
  color: var(--ink);
  font-size: 0.9rem;
}

.top-strip__inner,
.nav__inner,
.section__inner,
.footer__inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.top-strip__inner {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  padding: 9px 0;
}

.top-strip a {
  color: var(--ink);
  font-weight: 900;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 247, 0.92);
  border-bottom: 1px solid rgba(38, 50, 47, 0.12);
  backdrop-filter: blur(14px);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
}

.brand {
  display: inline-flex;
  align-items: center;
  font-weight: 900;
  letter-spacing: 0;
}

.brand__logo {
  display: inline-flex;
  align-items: center;
  width: 118px;
  height: 78px;
  max-width: 42vw;
}

.brand__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.brand__mark {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  background: var(--paper);
  border: 0;
  border-radius: 12px;
  box-shadow: 4px 4px 0 var(--ink);
  overflow: hidden;
}

.brand__mark img {
  width: 100%;
  height: 100%;
}

.brand__name {
  display: block;
  font-size: 1.05rem;
}

.brand__tag {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__links a {
  padding: 10px 12px;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 750;
}

.nav__links a[aria-current="page"],
.nav__links a:hover {
  color: var(--ink);
  background: var(--signal);
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
}

.nav__toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 2px solid var(--ink);
  color: var(--ink);
  background: var(--signal);
  box-shadow: 5px 5px 0 var(--ink);
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--ink);
}

.button--dark {
  color: var(--paper);
  background: var(--ink);
  box-shadow: 5px 5px 0 var(--signal);
}

.button--quiet {
  background: var(--paper);
}

.hero {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 20, 15, 0.92), rgba(17, 20, 15, 0.68) 42%, rgba(17, 20, 15, 0.16)),
    repeating-linear-gradient(135deg, rgba(231, 187, 61, 0.16) 0 10px, transparent 10px 30px);
}

.hero__image {
  position: absolute;
  inset: 0;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 38px 0 26px;
  color: var(--paper);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--clay);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--signal);
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 4px;
  background: currentColor;
}

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

h1 {
  max-width: 680px;
  margin-bottom: 12px;
  font-size: clamp(2.45rem, 5.4vw, 4.35rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero__content p {
  max-width: 560px;
  width: min(100%, 560px);
  color: rgba(255, 253, 247, 0.88);
  font-size: clamp(0.98rem, 1.2vw, 1.06rem);
}

.hero__actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

.hero__ticker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 22px;
  border: 1px solid rgba(255, 253, 247, 0.25);
  background: rgba(255, 253, 247, 0.18);
}

.hero__ticker div {
  padding: 11px 14px;
  background: rgba(17, 20, 15, 0.72);
}

.hero__ticker strong {
  display: block;
  color: var(--signal);
  font-size: 1.08rem;
}

.hero__ticker span {
  color: rgba(255, 253, 247, 0.78);
  font-size: 0.9rem;
  font-weight: 700;
}

.section {
  padding: 88px 0;
}

.section--ink {
  color: var(--ink);
  background: var(--cream);
}

.section--cream {
  background: var(--cream);
}

.section__head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.65fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 34px;
}

.section__head h2,
.feature h2,
.page-hero h1 {
  margin-bottom: 0;
  font-size: clamp(2.15rem, 4vw, 4.35rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.section__head p,
.feature p,
.page-hero p {
  color: var(--muted);
  font-size: 1.04rem;
}

.section--ink .section__head p,
.section--ink .feature p {
  color: rgba(17, 20, 15, 0.72);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}

.card__image {
  height: 240px;
  background: var(--steel);
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__body {
  padding: 24px;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
  line-height: 1.05;
}

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

.service-card {
  position: relative;
  min-height: 310px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: 8px 8px 0 rgba(17, 20, 15, 0.16);
}

.service-card:nth-child(2n) {
  background: #eef6f2;
}

.service-card:nth-child(3n) {
  background: #f8eadf;
}

.service-card__number {
  color: var(--clay);
  font-weight: 950;
}

.service-card p {
  color: var(--muted);
}

.impact-card,
.mini-card,
.value-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 2px solid var(--ink);
  background: var(--ink);
  box-shadow: 9px 9px 0 rgba(17, 20, 15, 0.15);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.impact-card {
  min-height: 430px;
  display: flex;
  align-items: end;
}

.impact-card img,
.mini-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.42s ease, opacity 0.42s ease;
}

.impact-card::after,
.mini-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(17, 20, 15, 0.08), rgba(17, 20, 15, 0.86)),
    repeating-linear-gradient(135deg, rgba(231, 187, 61, 0.14) 0 8px, transparent 8px 24px);
}

.impact-card__content {
  position: relative;
  z-index: 1;
  padding: 26px;
  color: var(--paper);
}

.impact-card span,
.mini-card span,
.value-card span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--signal);
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.impact-card h3,
.mini-card h3,
.value-card h3 {
  margin-bottom: 10px;
  font-size: 1.55rem;
  line-height: 1.05;
}

.impact-card p,
.mini-card p {
  margin-bottom: 0;
  color: rgba(255, 253, 247, 0.82);
}

.impact-card:hover,
.mini-card:hover,
.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 14px 14px 0 var(--signal);
}

.impact-card:hover img,
.mini-card:hover img {
  transform: scale(1.08);
  opacity: 0.88;
}

.mini-card {
  min-height: 350px;
  display: flex;
  align-items: end;
}

.mini-card div {
  position: relative;
  z-index: 1;
  padding: 22px;
  color: var(--paper);
}

.value-card {
  min-height: 250px;
  padding: 28px;
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(231, 187, 61, 0.15), transparent 42%),
    var(--ink);
}

.value-card p {
  color: rgba(255, 253, 247, 0.76);
}

.about-values .section__head p {
  color: rgba(17, 20, 15, 0.72);
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: center;
}

.feature__media {
  min-height: 520px;
  overflow: hidden;
  border: 2px solid var(--ink);
  box-shadow: 12px 12px 0 var(--signal);
}

.feature__media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.checks,
.contact-list {
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.checks li,
.contact-list li {
  padding: 14px 0 14px 36px;
  border-bottom: 1px solid rgba(38, 50, 47, 0.16);
  background: linear-gradient(var(--signal), var(--signal)) left 20px / 18px 4px no-repeat;
  font-weight: 750;
}

.band {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  padding: 30px;
  color: var(--paper);
  background: var(--ink);
}

.band__metric {
  display: grid;
  place-items: center;
  padding: 30px;
  color: var(--ink);
  background: var(--signal);
  text-align: center;
}

.band__metric strong {
  display: block;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.9;
}

.page-hero {
  padding: 78px 0 50px;
  background:
    linear-gradient(90deg, rgba(255, 253, 247, 0.96), rgba(255, 253, 247, 0.76)),
    url("../images/groundworks-civil-works.png") center / cover;
}

.page-hero p {
  max-width: 680px;
  margin-top: 18px;
}

.workforce-map {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.lane {
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
}

.lane h3 {
  font-size: 1.7rem;
}

.step {
  position: relative;
  padding: 24px;
  border-bottom: 1px solid rgba(17, 20, 15, 0.16);
}

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

.project {
  min-height: 430px;
  display: flex;
  align-items: end;
  padding: 20px;
  color: var(--paper);
  background: var(--ink);
  position: relative;
  overflow: hidden;
}

.project img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
  transition: transform 0.35s ease;
}

.project:hover img {
  transform: scale(1.04);
}

.project div {
  position: relative;
  z-index: 1;
}

.project h3 {
  font-size: 1.7rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: start;
}

.contact-panel,
.form-panel {
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
}

.map-section {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.map-section h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 3.6vw, 3.8rem);
  line-height: 1;
}

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

.map-frame {
  min-height: 430px;
  overflow: hidden;
  border: 2px solid var(--ink);
  background: var(--white);
  box-shadow: 12px 12px 0 var(--signal);
}

.map-frame iframe {
  width: 100%;
  height: 430px;
  border: 0;
  filter: saturate(0.85) contrast(1.04);
}

.form-intro {
  margin: -4px 0 22px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field--full {
  grid-column: 1 / -1;
}

label {
  font-size: 0.86rem;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid #c8d1ca;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.form-help,
.form-status {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.form-status {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-left: 4px solid var(--signal);
  color: var(--ink);
  background: rgba(232, 196, 58, 0.16);
  font-weight: 750;
}

.footer {
  padding: 54px 0 24px;
  color: var(--ink);
  background: var(--mint);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.9fr;
  gap: 34px;
}

.footer p,
.footer li {
  color: rgba(17, 20, 15, 0.72);
}

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

.footer li {
  margin: 8px 0;
}

.footer a:hover {
  color: var(--clay);
}

.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  color: #d62976;
  font-weight: 800;
  transition: transform 0.2s ease;
}

.footer__social a:hover {
  transform: translateY(-2px);
}

.footer__social svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: url("#instagram-gradient");
  stroke-width: 2;
}

.footer__social span {
  color: rgba(17, 20, 15, 0.72);
}

.footer__bottom {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(17, 20, 15, 0.16);
  color: rgba(17, 20, 15, 0.58);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .top-strip__inner,
  .section__head,
  .feature,
  .band,
  .contact-layout,
  .map-section,
  .footer__grid,
  .workforce-map {
    grid-template-columns: 1fr;
  }

  .grid--3,
  .grid--4,
  .project-strip {
    grid-template-columns: 1fr 1fr;
  }

  .nav__toggle {
    display: block;
  }

  .nav__links {
    position: absolute;
    top: 86px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .nav__links.is-open {
    display: flex;
  }

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

@media (max-width: 620px) {
  .top-strip__inner {
    display: grid;
    gap: 4px;
    font-size: 0.82rem;
  }

  .top-strip__inner span {
    overflow-wrap: anywhere;
  }

  .brand__tag {
    display: none;
  }

  .brand__logo {
    width: 92px;
    height: 62px;
    max-width: 54vw;
  }

  .hero {
    min-height: auto;
  }

  .hero__content {
    width: auto;
    margin: 0 16px;
    padding-top: 72px;
  }

  .hero__content p {
    max-width: 100%;
    font-size: 1rem;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.45rem, 11vw, 3rem);
    line-height: 1;
    overflow-wrap: normal;
  }

  .hero .eyebrow {
    font-size: 0.72rem;
  }

  .section {
    padding: 62px 0;
  }

  .grid--3,
  .grid--4,
  .project-strip,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .feature__media,
  .feature__media img {
    min-height: 340px;
  }

  .project {
    min-height: 330px;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 320px;
    height: 320px;
  }
}
