@font-face {
  font-family: "REM";
  src: url("../fonts/rem-v2-latin-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "REM";
  src: url("../fonts/rem-v2-latin-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "REM";
  src: url("../fonts/rem-v2-latin-800.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --lime: #bde000;
  --lime-dark: #789000;
  --ink: #111512;
  --graphite: #1a201d;
  --graphite-2: #252b28;
  --grey: #595959;
  --muted: #6f756f;
  --paper: #f7f7f5;
  --white: #ffffff;
  --line: #d8ddd7;
  --line-dark: #313934;
  --steel: #dfe7e6;
  --error: #b42318;
  --success: #216e39;
  --radius: 8px;
  --shadow: 0 18px 48px rgba(17, 21, 18, 0.14);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "REM", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

button {
  cursor: pointer;
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-140%);
  background: var(--lime);
  color: var(--ink);
  padding: 10px 14px;
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(17, 21, 18, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 176px;
  text-decoration: none;
}

.brand img {
  width: 154px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--lime);
}

.nav-quote {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--lime);
  padding: 11px 17px;
  border-radius: var(--radius);
  background: var(--lime);
  color: var(--ink) !important;
  font-weight: 700 !important;
  box-shadow: 0 0 24px rgba(189, 224, 0, 0.18);
}

.nav-quote:hover {
  background: var(--white);
  color: var(--ink) !important;
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-left: 8px;
  font-weight: 700 !important;
  white-space: nowrap;
}

.nav-phone .svg-icon {
  color: var(--lime);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius);
  background: transparent;
  color: var(--white);
}

.menu-toggle span {
  width: 21px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 7px 0 currentColor, 0 -7px 0 currentColor;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.svg-icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 1.16em;
  height: 1.16em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn .svg-icon {
  width: 20px;
  height: 20px;
}

.btn-primary {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--lime);
}

.btn-primary:hover {
  background: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
}

.btn-secondary:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.btn-dark:hover {
  background: var(--graphite-2);
}

.btn-light {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-dark);
}

.btn-light:hover {
  border-color: var(--lime-dark);
  color: var(--lime-dark);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--lime-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 2px;
  background: currentColor;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 20%, rgba(189, 224, 0, 0.08), transparent 28%),
    linear-gradient(180deg, #171918, #202322 56%, #242726);
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.36;
  background-image:
    linear-gradient(rgba(189, 224, 0, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(189, 224, 0, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 54px 54px, 54px 54px, 216px 216px, 216px 216px;
  animation: gridShift 18s linear infinite;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(600px, 1.05fr) minmax(520px, 0.95fr);
  gap: 0;
  align-items: stretch;
  width: min(100% - 40px, 1360px);
  min-height: clamp(650px, calc(100vh - 78px), 820px);
  padding: 0;
}

.hero-content {
  align-self: center;
  padding: 88px 56px 86px 0;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: 3.12rem;
  line-height: 1.02;
  font-weight: 600;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.text-accent {
  display: block;
  color: var(--lime);
}

.hero-copy {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

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

.hero-actions .btn-primary {
  min-width: 224px;
  justify-content: space-between;
}

.hero-actions .btn-secondary {
  min-width: 310px;
  justify-content: space-between;
  flex-direction: row-reverse;
}

.hero-actions .btn-secondary .svg-icon {
  color: var(--lime);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-weight: 400;
}

.hero-note strong {
  color: var(--white);
  font-weight: 500;
}

.prompt-icons {
  display: inline-flex;
  align-items: center;
  color: var(--lime);
}

.prompt-icons .svg-icon {
  width: 27px;
  height: 27px;
  stroke-width: 1.95;
}

.hero-media {
  position: relative;
  align-self: stretch;
  min-height: 100%;
  overflow: hidden;
  margin: 0 calc((100vw - 1360px) / -2) 0 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  isolation: isolate;
}

.hero-media::before,
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-media::before {
  background:
    linear-gradient(90deg, rgba(24, 26, 25, 0.9) 0%, rgba(24, 26, 25, 0.74) 14%, rgba(24, 26, 25, 0.46) 32%, rgba(24, 26, 25, 0.18) 52%, rgba(24, 26, 25, 0.04) 70%, rgba(24, 26, 25, 0) 84%),
    linear-gradient(180deg, rgba(24, 26, 25, 0.18), transparent 24%, transparent 76%, rgba(24, 26, 25, 0.22));
}

.hero-media::after {
  inset: 0;
  background:
    linear-gradient(rgba(189, 224, 0, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(189, 224, 0, 0.04) 1px, transparent 1px);
  background-size: 54px 54px;
  mix-blend-mode: screen;
  opacity: 0.22;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: clamp(650px, calc(100vh - 78px), 820px);
  object-fit: cover;
  object-position: center right;
  filter: saturate(1.12) contrast(1.05);
}

.hero-media figcaption {
  position: absolute;
  z-index: 2;
  right: auto;
  bottom: 34px;
  left: clamp(24px, 7vw, 72px);
  display: grid;
  gap: 14px;
  width: min(390px, calc(100% - 48px));
  padding: 18px 20px 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-left: 3px solid var(--lime);
  background: rgba(17, 21, 18, 0.74);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.hero-media .callout-line {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 11px;
  align-items: center;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.32;
}

.hero-media .callout-line:first-child {
  color: var(--white);
  font-size: 0.98rem;
}

.hero-media .svg-icon {
  width: 28px;
  height: 28px;
  color: var(--lime);
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.9);
}

.hero-features li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 2px 14px;
  align-items: center;
  padding: 4px 22px 4px 0;
  border-right: 1px solid rgba(189, 224, 0, 0.24);
}

.hero-features li + li {
  padding-left: 22px;
}

.hero-features li:last-child {
  border-right: 0;
  padding-right: 0;
}

.hero-features .feature-icon {
  grid-row: 1 / 3;
  width: 34px;
  height: 34px;
  color: var(--lime);
  stroke-width: 1.55;
}

.hero-features strong {
  line-height: 1.18;
  font-size: 1rem;
}

.hero-features span:not(.feature-icon) {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.35;
  font-size: 0.92rem;
}

.section {
  position: relative;
  padding: 88px 0;
  border-top: 1px solid var(--line);
}

.section-dark {
  background: var(--ink);
  color: var(--white);
  border-top-color: var(--line-dark);
}

.section-steel {
  background: #eef2ef;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.7fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 44px;
}

.section-head h2,
.section-title {
  margin: 0;
  font-size: 2.18rem;
  line-height: 1.08;
  font-weight: 600;
}

.section-head p,
.lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-head .eyebrow {
  margin: 0 0 16px;
  color: var(--lime-dark);
  font-size: 0.78rem;
  line-height: 1.2;
}

.section-dark .section-head .eyebrow {
  color: var(--lime);
}

.section-dark .section-head p,
.section-dark .lead {
  color: rgba(255, 255, 255, 0.74);
}

.line-reveal {
  width: 100%;
  height: 2px;
  margin: 0 0 38px;
  overflow: hidden;
  background: rgba(189, 224, 0, 0.18);
}

.line-reveal::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: var(--lime);
  transform: translateX(-100%);
  transition: transform 700ms ease;
}

.is-visible .line-reveal::before {
  transform: translateX(0);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(320px, 1fr);
  gap: 56px;
  align-items: center;
}

.intro-kicker {
  margin: 0;
  color: var(--lime-dark);
  font-weight: 800;
  text-transform: uppercase;
}

.intro-type {
  margin: 12px 0 0;
  font-size: 2.85rem;
  line-height: 1.02;
  font-weight: 600;
}

.intro-copy {
  margin: 0;
  color: var(--grey);
  font-size: 1.2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 38px;
  background: var(--line);
  border: 1px solid var(--line);
}

.stat {
  min-height: 132px;
  padding: 24px;
  background: var(--paper);
}

.stat strong {
  display: block;
  font-size: 2.8rem;
  line-height: 1;
  font-weight: 800;
}

.stat span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
}

.services-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 42px;
}

.services-index {
  position: sticky;
  top: 110px;
  align-self: start;
  padding-top: 6px;
  color: var(--muted);
  font-weight: 700;
}

.services-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 22px;
  padding: 26px;
  background: var(--paper);
}

.service-row img {
  width: 52px;
  height: 52px;
  color: var(--ink);
}

.service-row h3 {
  margin: 0;
  font-size: 1.22rem;
}

.service-row p {
  margin: 8px 0 0;
  color: var(--grey);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}

.filter-btn {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: transparent;
  color: inherit;
  padding: 9px 13px;
  font-weight: 800;
}

.filter-btn[aria-pressed="true"],
.filter-btn:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}

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

.masonry-grid {
  display: block;
  columns: 3 280px;
  column-gap: 18px;
}

.masonry-grid .project-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 18px;
  break-inside: avoid;
  background: var(--white);
}

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

#projects .project-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.project-card[hidden] {
  display: none;
}

.project-media {
  position: relative;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: var(--graphite);
  color: var(--white);
  text-align: left;
}

.project-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 280ms ease;
}

.masonry-grid .project-media img {
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
}

.project-media span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  max-width: calc(100% - 28px);
  padding: 6px 9px;
  background: rgba(17, 21, 18, 0.82);
  border-left: 2px solid var(--lime);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 800;
  transform: translateY(3px);
  transition: transform 220ms ease;
}

#projects .project-media span {
  display: none;
}

#projects .project-media h3 {
  position: absolute;
  left: 14px;
  bottom: 14px;
  max-width: calc(100% - 28px);
  margin: 0;
  padding: 6px 9px;
  background: rgba(17, 21, 18, 0.82);
  border-left: 2px solid var(--lime);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.2;
  transform: translateY(3px);
  transition: transform 220ms ease;
}

#projects .project-card:hover .project-media h3,
#projects .project-media:focus-visible h3 {
  transform: translateY(0);
}

.project-card:hover .project-media img,
.project-media:focus-visible img {
  transform: scale(1.045);
}

.project-card:hover .project-media span,
.project-media:focus-visible span {
  transform: translateY(0);
}

.project-copy {
  padding: 16px;
}

#projects .project-copy {
  padding: 14px 16px 16px;
}

.project-copy h3 {
  margin: 0;
  font-size: 1.02rem;
}

.project-copy p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

#projects .project-copy p {
  margin: 0;
}

.gallery-cta {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}

.process-step {
  padding: 30px;
  background: var(--graphite);
}

.process-step span {
  color: var(--lime);
  font-weight: 800;
}

.process-step h3 {
  margin: 20px 0 10px;
  font-size: 1.25rem;
}

.process-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.58fr);
  gap: 52px;
  align-items: start;
}

.about-copy .section-title {
  margin-bottom: 28px;
}

.about-copy p {
  margin: 0 0 18px;
  color: var(--grey);
  font-size: 1.08rem;
}

.pull-quote {
  margin: 0;
  padding: 28px;
  border-left: 4px solid var(--lime);
  background: var(--ink);
  color: var(--white);
  font-size: 1.55rem;
  line-height: 1.18;
  font-weight: 800;
}

.logo-marquee {
  overflow: hidden;
  background: transparent;
}

.logo-track {
  display: flex;
  width: max-content;
  gap: 34px;
  padding: 24px 0;
  animation: marquee 32s linear infinite;
}

.logo-marquee:hover .logo-track {
  animation-play-state: paused;
}

.client-logo {
  display: grid;
  place-items: center;
  width: 170px;
  height: 72px;
  padding: 10px 18px;
  filter: grayscale(1);
  opacity: 0.72;
  transition: filter 160ms ease, opacity 160ms ease;
}

.client-logo:hover {
  filter: grayscale(0);
  opacity: 1;
}

.client-logo img {
  max-width: 100%;
  max-height: 54px;
  object-fit: contain;
}

.testimonial-slider {
  position: relative;
}

.testimonial-viewport {
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.testimonial-viewport::-webkit-scrollbar {
  display: none;
}

.testimonial-track {
  display: flex;
  gap: 14px;
}

.testimonial {
  flex: 0 0 calc((100% - 28px) / 3);
  max-width: calc((100% - 28px) / 3);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0;
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
}

.testimonial-rating {
  margin: 0 0 14px;
  color: var(--lime-dark);
  font-size: 1.02rem;
  font-weight: 800;
}

.testimonial blockquote {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.4;
  font-weight: 600;
}

.testimonial figcaption {
  margin-top: 24px;
  color: var(--muted);
}

.testimonial figcaption strong {
  color: var(--ink);
}

.testimonial-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: transparent;
  color: inherit;
  font-weight: 800;
}

.icon-btn .svg-icon {
  width: 22px;
  height: 22px;
  stroke-width: 2.1;
}

.icon-btn:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}

.icon-btn:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.areas-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 0.9fr);
  gap: 48px;
  align-items: center;
}

.areas-copy .section-title {
  margin-bottom: 24px;
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.area-list li {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 8px 12px;
  font-weight: 800;
}

.area-photo {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--graphite);
}

.area-photo img {
  width: 100%;
  height: auto;
}

.area-photo figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  max-width: calc(100% - 36px);
  padding: 9px 11px;
  background: rgba(17, 21, 18, 0.84);
  border-left: 3px solid var(--lime);
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: none;
}

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

.faq-list summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-weight: 800;
  cursor: pointer;
}

.faq-list summary::after {
  content: "+";
  color: var(--lime-dark);
  font-size: 1.35rem;
  line-height: 1;
}

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

.faq-list details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--grey);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.46fr);
  gap: 34px;
  align-items: start;
}

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

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

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

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

.field label,
.check-field {
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #bfc7c0;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  padding: 12px 13px;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

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

.check-field {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--graphite);
}

.check-field input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--lime-dark);
}

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

.form-status {
  min-height: 24px;
  margin: 0;
  font-weight: 800;
}

.form-status[data-state="error"] {
  color: var(--error);
}

.form-status[data-state="success"] {
  color: var(--success);
}

.contact-panel {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
}

.contact-panel h3 {
  margin: 0 0 18px;
  font-size: 1.45rem;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 0;
}

.contact-list div {
  display: grid;
  gap: 2px;
}

.contact-list dt {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-list dd {
  margin: 0;
}

.contact-list a {
  color: var(--white);
}

.page-hero {
  padding: 72px 0 54px;
  background: var(--graphite);
  color: var(--white);
}

.page-hero h1 {
  margin: 0;
  max-width: 900px;
  font-size: 2.7rem;
  line-height: 1.02;
  font-weight: 600;
}

.page-hero p {
  max-width: 720px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.1rem;
}

.content-page {
  max-width: 880px;
}

.content-page h2 {
  margin: 44px 0 10px;
  font-size: 1.55rem;
}

.content-page p,
.content-page li {
  color: var(--grey);
}

.site-footer {
  background: var(--ink);
  color: var(--white);
  padding: 62px 0 92px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(160px, 1fr));
  gap: 34px;
}

.footer-brand img {
  width: 166px;
  height: auto;
}

.footer-brand p {
  max-width: 360px;
  color: rgba(255, 255, 255, 0.68);
}

.footer-col h3 {
  margin: 0 0 12px;
  color: var(--lime);
  font-size: 0.92rem;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col a,
.footer-col li {
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, 0.66);
}

.footer-bottom a {
  color: inherit;
}

.mobile-cta {
  display: none;
}

.lightbox {
  width: min(980px, calc(100% - 28px));
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.74);
}

.lightbox-inner {
  position: relative;
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(17, 21, 18, 0.82);
  color: var(--white);
  font-size: 1.8rem;
  line-height: 1;
}

.lightbox img {
  width: 100%;
  max-height: 74vh;
  object-fit: contain;
  background: #050605;
}

.lightbox-caption {
  padding: 18px 20px 22px;
}

.lightbox-caption h2 {
  margin: 0;
  font-size: 1.25rem;
}

.lightbox-caption p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.hero p.eyebrow,
.section p.eyebrow {
  margin: 0 0 16px;
  color: var(--lime-dark);
  font-size: 0.78rem;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
}

.hero p.eyebrow,
.section-dark p.eyebrow {
  color: var(--lime);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes gridShift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 54px 54px;
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1400px) {
  .hero-media {
    margin: 0 -20px 0 0;
  }
}

@media (max-width: 1220px) {
  .hero-media {
    margin: 0 -20px 0 0;
  }

  .hero-media figcaption {
    right: auto;
    left: 24px;
  }
}

@media (max-width: 980px) {
  .menu-toggle {
    display: grid;
  }

  .nav-links {
    position: fixed;
    inset: 78px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px 20px 28px;
    background: var(--ink);
    border-bottom: 1px solid var(--line-dark);
  }

  .nav-open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .nav-links .nav-quote {
    justify-content: space-between;
    margin-top: 12px;
    padding: 14px 16px 14px 18px;
    text-align: center;
  }

  .nav-links .nav-phone {
    flex-direction: row-reverse;
    justify-content: space-between;
    margin-left: 0;
    padding: 14px 16px 14px 18px;
  }

  .hero-inner,
  .intro-grid,
  .section-head,
  .services-layout,
  .about-grid,
  .areas-grid,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    width: min(100% - 40px, var(--container));
    min-height: 0;
  }

  .hero-content {
    padding: 72px 0 42px;
  }

  .hero-media,
  .hero-media img {
    min-height: 430px;
  }

  .hero-media {
    margin: 0;
  }

  .services-index {
    position: static;
  }

  .project-grid:not(.masonry-grid) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .masonry-grid {
    columns: 2 260px;
  }

  .process-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .testimonial {
    flex-basis: calc((100% - 14px) / 2);
    max-width: calc((100% - 14px) / 2);
  }

  .hero h1 {
    font-size: 2.68rem;
  }

  .page-hero h1,
  .section-head h2,
  .section-title,
  .intro-type {
    font-size: 2rem;
  }
}

@media (max-width: 660px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .section {
    padding: 64px 0;
  }

  .hero-inner {
    padding: 0;
  }

  .hero h1 {
    font-size: clamp(1.88rem, 8.4vw, 2.05rem);
  }

  .eyebrow {
    gap: 9px;
    font-size: 0.72rem;
  }

  .eyebrow::before {
    width: 28px;
  }

  .hero-copy {
    font-size: 1.02rem;
  }

  .hero-content {
    padding: 54px 0 34px;
  }

  .hero-media,
  .hero-media img {
    min-height: 360px;
  }

  .hero-media {
    width: 100vw;
    margin: 0 0 0 calc((100vw - 100%) / -2);
  }

  .hero-media figcaption {
    bottom: 18px;
    right: auto;
    left: 18px;
    width: calc(100% - 36px);
    padding: 14px 15px;
  }

  .hero-media .callout-line {
    grid-template-columns: 24px 1fr;
    gap: 9px;
    font-size: 0.82rem;
  }

  .hero-media .callout-line:first-child {
    font-size: 0.88rem;
  }

  .hero-media .svg-icon {
    width: 23px;
    height: 23px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-features,
  .project-grid:not(.masonry-grid),
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-features {
    gap: 16px;
  }

  .hero-features li,
  .hero-features li + li {
    padding: 0;
    border-right: 0;
  }

  .hero-note {
    align-items: flex-start;
    font-size: 0.88rem;
  }

  .page-hero h1,
  .section-head h2,
  .section-title,
  .intro-type {
    font-size: 1.78rem;
  }

  .masonry-grid {
    columns: 1;
  }

  .testimonial {
    flex-basis: 100%;
    max-width: 100%;
  }

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

  .quote-form,
  .contact-panel,
  .testimonial {
    padding: 20px;
  }

  .mobile-cta {
    position: fixed;
    z-index: 90;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px;
    background: rgba(17, 21, 18, 0.94);
    border-top: 1px solid var(--line-dark);
  }

  .mobile-cta a {
    min-height: 44px;
    border-radius: var(--radius);
    background: var(--lime);
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    display: grid;
    place-items: center;
  }

  .site-footer {
    padding-bottom: 118px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
