:root {
  --ink: #101820;
  --muted: #5c6370;
  --line: #dde4ea;
  --paper: #fbfcff;
  --soft: #fff6e8;
  --mint: #fff0d8;
  --green: #12294a;
  --green-2: #e8841c;
  --blue: #33414a;
  --gold: #f5a623;
  --clay: #e8841c;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(16, 24, 32, 0.16);
}

* {
  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;
}

img,
svg {
  display: block;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
  color: var(--white);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand strong {
  font-size: 20px;
}

.brand small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  font-weight: 700;
}

.site-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
}

.nav-call {
  gap: 9px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.nav-call svg,
.contact-methods svg,
.btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: 74svh;
  overflow: hidden;
  background-image: url("hero-projects-team-v2.webp");
  background-position: center;
  background-size: cover;
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 28, 26, 0.92) 0%, rgba(16, 28, 26, 0.76) 42%, rgba(16, 28, 26, 0.18) 100%),
    linear-gradient(0deg, rgba(16, 28, 26, 0.36), rgba(16, 28, 26, 0.05));
}

.hero-overlay {
  position: absolute;
  inset: auto 0 0;
  height: 130px;
  background: linear-gradient(0deg, rgba(251, 252, 248, 1), rgba(251, 252, 248, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(1180px, calc(100% - 40px));
  margin: 86px auto 54px;
  padding: 70px 0 44px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.section-kicker {
  color: var(--clay);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 920px;
  margin-bottom: 20px;
  font-size: 58px;
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  color: var(--ink);
  font-size: 40px;
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  font-size: 20px;
  line-height: 1.2;
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
}

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

.hero-service-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 760px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.hero-service-chips li {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 850;
}

.btn-primary {
  background: var(--gold);
  color: #1c2116;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #f0c95f;
}

.btn:disabled {
  cursor: wait;
  opacity: 0.72;
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.92);
  color: var(--green);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--white);
}

.btn-call {
  min-width: 198px;
}

.proof-bar {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  width: min(1180px, calc(100% - 40px));
  margin: -30px auto 0;
  position: relative;
  z-index: 3;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.proof-bar div {
  min-height: 132px;
  padding: 22px;
  background: var(--white);
}

.proof-bar strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

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

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0;
}

.intro {
  padding-bottom: 42px;
}

.split-copy {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 56px;
  align-items: start;
}

.split-copy p,
.section-heading p,
.area-panel p,
.contact-copy p {
  color: var(--muted);
  font-size: 18px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-heading h2,
.split-copy h2,
.area-panel h2,
.contact-copy h2 {
  max-width: 720px;
  margin-bottom: 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--green);
  font-weight: 850;
}

.text-link::after {
  content: "";
  width: 34px;
  height: 2px;
  margin-left: 12px;
  background: var(--clay);
}

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

.service-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-card:nth-child(2),
.service-card:nth-child(6),
.service-card-featured {
  background: var(--soft);
}

.service-card-featured {
  border-top: 4px solid var(--gold);
}

.service-card h3 {
  margin-bottom: 12px;
}

.service-card p,
.project-card p,
.steps p,
.faq p {
  margin-bottom: 0;
  color: var(--muted);
}

.service-list {
  display: grid;
  gap: 6px;
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.service-list li::marker {
  color: var(--clay);
}

.service-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 8px;
  background: var(--mint);
  color: var(--green);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.projects {
  width: 100%;
  padding-right: max(20px, calc((100% - 1180px) / 2));
  padding-left: max(20px, calc((100% - 1180px) / 2));
  background: #eaf2ef;
}

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

.project-card {
  overflow: hidden;
  border: 1px solid #d4dfd9;
  border-radius: 8px;
  background: var(--white);
}

.project-card img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
}

.project-card > div {
  padding: 22px;
}

.project-card h3 {
  margin-bottom: 10px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps li {
  min-height: 260px;
  padding: 28px;
  border-left: 4px solid var(--green-2);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
}

.steps span {
  display: block;
  margin-bottom: 50px;
  color: var(--clay);
  font-size: 13px;
  font-weight: 900;
}

.area {
  padding-top: 26px;
}

.area-panel {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 46px;
  align-items: center;
  padding: 44px;
  border-radius: 8px;
  background: var(--green);
  color: var(--white);
}

.area-panel h2,
.area-panel p,
.area-panel .section-kicker {
  color: inherit;
}

.area-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.area-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.area-list li {
  min-height: 50px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
}

.faq {
  padding-top: 46px;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

summary {
  min-height: 70px;
  padding: 22px 54px 22px 22px;
  cursor: pointer;
  list-style: none;
  position: relative;
  font-weight: 850;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  top: 21px;
  right: 22px;
  color: var(--green);
  font-size: 22px;
  line-height: 1;
}

details[open] summary::after {
  content: "-";
}

details p {
  padding: 0 22px 24px;
}

.contact {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 46px;
  align-items: start;
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-methods a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  color: var(--green);
  font-weight: 850;
}

.quote-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
}

input,
textarea,
select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cfd9d4;
  border-radius: 8px;
  background: #fbfcfb;
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--green-2);
  box-shadow: 0 0 0 4px rgba(54, 113, 95, 0.14);
}

input[aria-invalid="true"],
textarea[aria-invalid="true"],
select[aria-invalid="true"] {
  border-color: #b72b2b;
  box-shadow: 0 0 0 4px rgba(183, 43, 43, 0.12);
}

.quote-form .btn {
  width: fit-content;
}

.form-note {
  margin: -2px 0 2px;
  color: var(--muted);
  font-size: 14px;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px max(20px, calc((100% - 1180px) / 2));
  background: var(--ink);
  color: rgba(255, 255, 255, 0.76);
}

.site-footer p {
  margin: 0;
}

.site-footer p:first-child {
  color: var(--white);
  font-weight: 900;
}

.mobile-cta-bar {
  display: none;
}

@media (max-width: 980px) {
  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 34px;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    right: 0;
    display: none;
    width: min(320px, calc(100vw - 40px));
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(23, 33, 31, 0.96);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
    gap: 8px;
  }

  .site-nav a {
    width: 100%;
  }

  .nav-call {
    justify-content: center;
    margin-top: 6px;
  }

  .nav-toggle {
    display: block;
  }

  .proof-bar,
  .split-copy,
  .service-grid,
  .project-grid,
  .steps,
  .area-panel,
  .faq-list,
  .contact {
    grid-template-columns: 1fr 1fr;
  }

  .proof-bar div:nth-child(3),
  .proof-bar div:nth-child(5),
  .service-card-featured {
    grid-column: span 2;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 72px;
  }

  .site-header {
    width: min(100% - 28px, 1180px);
  }

  .brand small {
    font-size: 11px;
  }

  .hero {
    min-height: 84svh;
    background-image: url("hero-projects-team-mobile-v2.webp");
    background-position: center top;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(16, 28, 26, 0.94) 0%, rgba(16, 28, 26, 0.82) 58%, rgba(16, 28, 26, 0.28) 100%),
      linear-gradient(0deg, rgba(16, 28, 26, 0.42), rgba(16, 28, 26, 0.08));
  }

  .hero-content {
    width: min(100% - 28px, 1180px);
    margin-top: 86px;
    padding-bottom: 30px;
  }

  h1 {
    font-size: 34px;
    line-height: 1.04;
  }

  h2 {
    font-size: 30px;
    line-height: 1.12;
  }

  h3 {
    font-size: 19px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-actions,
  .section-heading,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .btn,
  .quote-form .btn {
    width: 100%;
  }

  .proof-bar,
  .split-copy,
  .service-grid,
  .project-grid,
  .steps,
  .area-panel,
  .faq-list,
  .contact,
  .area-list {
    grid-template-columns: 1fr;
  }

  .proof-bar,
  .section {
    width: min(100% - 28px, 1180px);
  }

  .proof-bar div:nth-child(3),
  .proof-bar div:nth-child(5),
  .proof-bar div:nth-child(5),
  .service-card-featured {
    grid-column: auto;
  }

  .section {
    padding: 62px 0;
  }

  .intro,
  .area {
    padding-top: 54px;
  }

  .projects {
    width: 100%;
    padding-right: 14px;
    padding-left: 14px;
  }

  .service-card,
  .steps li,
  .area-panel,
  .quote-form {
    padding: 22px;
  }

  .steps span {
    margin-bottom: 32px;
  }

  .mobile-cta-bar {
    position: fixed;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 12px;
    z-index: 60;
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    align-items: center;
    gap: 6px;
    min-height: 52px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(18, 41, 74, 0.98);
    color: var(--white);
    box-shadow: 0 16px 44px rgba(16, 24, 32, 0.28);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .mobile-cta-bar.is-hidden {
    pointer-events: none;
    opacity: 0;
    transform: translateY(calc(100% + 18px));
  }

  .mobile-cta-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 7px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
  }

  .mobile-cta-bar span {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 900;
    text-align: center;
  }

  .mobile-cta-bar a:first-child {
    background: var(--gold);
    color: var(--ink);
  }

  .mobile-cta-bar a:last-child {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
  }
}
