:root {
  --ink: #17201d;
  --muted: #5d6660;
  --paper: #fbfbf7;
  --white: #ffffff;
  --concrete: #e7e5dc;
  --field: #0f6b5b;
  --field-dark: #093e37;
  --signal: #f5b82e;
  --clay: #bb5a3c;
  --line: rgba(23, 32, 29, 0.14);
  --shadow: 0 24px 70px rgba(20, 34, 30, 0.18);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

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

img,
svg {
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.nav-active {
  background: rgba(251, 251, 247, 0.96);
  color: var(--ink);
  box-shadow: 0 12px 35px rgba(23, 32, 29, 0.11);
  backdrop-filter: blur(18px);
}

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

.brand-logo {
  width: 116px;
  height: auto;
  max-height: 48px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  box-shadow: none;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  color: currentColor;
  font-size: 0.78rem;
  opacity: 0.74;
}

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

.site-nav a {
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 0.92rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(245, 184, 46, 0.18);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  background: transparent;
  color: inherit;
  padding: 10px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 82svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--field-dark);
}

.hero-visual,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-visual {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 21, 18, 0.86) 0%, rgba(7, 21, 18, 0.62) 46%, rgba(7, 21, 18, 0.18) 100%),
    linear-gradient(0deg, rgba(7, 21, 18, 0.82) 0%, rgba(7, 21, 18, 0) 38%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 126px 0 32px;
}

.hero-logo {
  display: block;
  width: clamp(260px, 40vw, 500px);
  height: auto;
  margin-bottom: 26px;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  box-shadow: none;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--signal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3.4rem, 9vw, 7.2rem);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.6vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 660px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 18px;
  font-weight: 900;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button-primary {
  background: var(--signal);
  color: #211706;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #ffd35b;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.52);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 820px;
  margin: 34px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(12, 28, 24, 0.54);
  backdrop-filter: blur(10px);
}

.hero-stats div {
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-stats div:last-child {
  border-right: 0;
}

.hero-stats dt {
  font-size: 1.05rem;
  font-weight: 900;
}

.hero-stats dd {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
}

.section-wrap {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.intro-band {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 28px 0;
}

.intro-grid p {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.text-link {
  display: inline-flex;
  color: var(--field);
  font-weight: 900;
}

.services-section,
.about-section {
  padding: clamp(74px, 9vw, 118px) 0;
}

.section-heading {
  max-width: 850px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 42px;
}

.service-card {
  min-height: 285px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--white);
  box-shadow: 0 16px 38px rgba(23, 32, 29, 0.06);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  border-radius: var(--radius);
  background: rgba(15, 107, 91, 0.1);
  color: var(--field);
}

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

.service-card p,
.project-list p,
.about-copy p,
.contact-copy p,
.form-note {
  color: var(--muted);
}

.service-card p {
  margin: 12px 0 0;
}

.projects-band {
  padding: clamp(74px, 9vw, 118px) 0;
  background: var(--field-dark);
  color: var(--white);
}

.projects-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.68fr);
  gap: clamp(36px, 7vw, 82px);
  align-items: start;
}

.projects-band h2 {
  color: var(--white);
}

.project-list {
  display: grid;
  gap: 14px;
}

.project-list article {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 20px;
  background: rgba(255, 255, 255, 0.06);
}

.project-list span {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--signal);
  font-weight: 900;
}

.project-list p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.74);
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 0.72fr);
  gap: clamp(34px, 6vw, 72px);
}

.about-copy p {
  margin: 0;
  font-size: 1.05rem;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: inset 0 0 0 5px var(--paper);
}

.contact-section {
  padding: clamp(74px, 9vw, 112px) 0;
  background:
    linear-gradient(135deg, rgba(245, 184, 46, 0.17), transparent 38%),
    var(--concrete);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.68fr);
  gap: clamp(34px, 6vw, 72px);
  align-items: start;
}

.contact-copy p {
  max-width: 590px;
  margin: 22px 0 0;
  font-size: 1.08rem;
}

.contact-methods {
  display: grid;
  gap: 10px;
  margin-top: 34px;
  font-weight: 900;
}

.contact-methods a,
.contact-methods span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
}

.contact-methods a {
  color: var(--field);
}

.quote-form {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(23, 32, 29, 0.12);
  border-radius: var(--radius);
  padding: clamp(18px, 4vw, 28px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.quote-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 900;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid rgba(23, 32, 29, 0.18);
  border-radius: var(--radius);
  background: #fbfbf8;
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--field);
  outline: 3px solid rgba(15, 107, 91, 0.18);
}

.quote-form .button {
  width: 100%;
  border: 0;
}

.form-note {
  margin: -2px 0 0;
  font-size: 0.86rem;
}

.form-note.is-active {
  color: var(--field);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(18px, 4vw, 56px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.76);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--signal);
  font-weight: 900;
}

@media (max-width: 940px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .projects-grid,
  .about-section,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 68px;
  }

  .brand-logo {
    width: 88px;
    max-height: 40px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 68px;
    left: 14px;
    right: 14px;
    display: grid;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    border-radius: var(--radius);
    padding: 13px 12px;
  }

  .hero {
    min-height: 78svh;
  }

  .hero-inner {
    width: min(100% - 28px, 1120px);
    padding-bottom: 34px;
  }

  .hero-copy {
    margin-top: 22px;
  }

  .hero-stats {
    display: none;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

  .service-card {
    min-height: 0;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: clamp(2.8rem, 18vw, 4.2rem);
  }

  .brand strong {
    font-size: 0.92rem;
  }

  .brand small {
    font-size: 0.72rem;
  }

  .hero-actions .button {
    width: 100%;
  }
}
