:root {
  --ink: #111312;
  --charcoal: #1c211f;
  --graphite: #2d3330;
  --concrete: #ece9e1;
  --paper: #fbfaf6;
  --lime: #aebfba;
  --copper: #b87333;
  --steel: #8fa29b;
  --muted: #66716b;
  --line: rgba(17, 19, 18, 0.14);
  --white-line: rgba(255, 255, 255, 0.14);
  --shadow: 0 26px 80px rgba(17, 19, 18, 0.18);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(17, 19, 18, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 19, 18, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 72px 72px;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 20;
  padding: 12px 16px;
  background: var(--lime);
  color: var(--ink);
  transition: top 0.2s ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(17, 19, 18, 0.88);
  color: var(--paper);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(1180px, calc(100% - 32px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 204px;
  line-height: 0;
}

.brand-logo {
  display: block;
  width: 202px;
  height: 62px;
  object-fit: contain;
  object-position: left center;
}

.footer-logo {
  width: 218px;
  height: 108px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 12px 13px;
  color: rgba(251, 250, 246, 0.76);
  font-size: 14px;
  font-weight: 750;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--lime);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-email {
  color: rgba(251, 250, 246, 0.78);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.nav-email:hover {
  color: var(--lime);
}

.menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(197, 117, 51, 0.72);
  border-radius: 0;
  background: rgba(197, 117, 51, 0.08);
  color: var(--copper);
  padding: 0;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 15px;
  height: 2px;
  margin: 3px auto;
  background: currentColor;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  background: var(--ink);
  color: var(--paper);
  font-weight: 850;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

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

.btn-outline {
  border-color: rgba(17, 19, 18, 0.28);
  background: transparent;
  color: var(--ink);
}

.site-header .btn-outline {
  border-color: rgba(251, 250, 246, 0.22);
  color: var(--paper);
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: stretch;
  background: var(--ink);
  color: var(--paper);
}

.hero-wrap {
  position: relative;
  width: min(1440px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(32px, 1fr) minmax(0, 580px) minmax(420px, 720px) minmax(32px, 1fr);
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  grid-column: 2;
  align-self: center;
  padding: 76px 0 104px;
}

.hero-media {
  position: absolute;
  inset: 0 0 0 38%;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--ink) 0%, rgba(17, 19, 18, 0.92) 16%, rgba(17, 19, 18, 0.42) 48%, rgba(17, 19, 18, 0.1) 100%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(0.96);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--lime);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

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

h1 {
  max-width: 11ch;
  margin-bottom: 22px;
  font-size: clamp(52px, 8vw, 118px);
  line-height: 0.88;
  letter-spacing: 0;
}

.hero-copy h1 {
  max-width: 12ch;
  font-size: clamp(46px, 6.2vw, 86px);
  line-height: 0.94;
}

.hero-copy p {
  max-width: 560px;
  margin-bottom: 30px;
  color: rgba(251, 250, 246, 0.78);
  font-size: 19px;
  line-height: 1.7;
}

.hero-buttons,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-buttons .btn-outline {
  border-color: rgba(251, 250, 246, 0.32);
  color: var(--paper);
}

.hero-signal {
  position: absolute;
  right: 36px;
  bottom: 34px;
  z-index: 3;
  width: min(460px, calc(100% - 72px));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--white-line);
  background: rgba(17, 19, 18, 0.72);
  backdrop-filter: blur(16px);
}

.hero-signal span {
  padding: 18px;
  border-right: 1px solid var(--white-line);
  color: rgba(251, 250, 246, 0.68);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-signal span:last-child {
  border-right: 0;
}

.section {
  padding: 92px 0;
}

.section-dark {
  background: var(--charcoal);
  color: var(--paper);
}

.section-copper {
  background: var(--copper);
  color: var(--paper);
}

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

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

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

.section-head h2,
.page-intro h1 {
  margin-bottom: 0;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 0.96;
  letter-spacing: 0;
}

.section-head p,
.page-intro p,
.lead {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.section-dark .section-head p,
.section-dark .lead,
.section-copper .lead {
  color: rgba(251, 250, 246, 0.72);
}

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

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

.image-strip {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: stretch;
  max-width: 1040px;
  margin: 0 auto;
}

.image-panel,
.image-card {
  position: relative;
  height: 310px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink);
}

.image-card {
  height: 360px;
}

.image-panel img,
.image-card img,
.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.68) contrast(0.96);
}

.image-panel::after,
.image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 19, 18, 0.05), rgba(17, 19, 18, 0.62));
}

.image-caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 1;
  color: var(--paper);
}

.image-caption span {
  color: var(--lime);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.image-caption h3 {
  margin: 10px 0 0;
  font-size: clamp(21px, 2.4vw, 30px);
  line-height: 1.05;
}

.service-image {
  height: 230px;
  overflow: hidden;
  border: 1px solid var(--line);
}

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

.insight-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  color: rgba(251, 250, 246, 0.72);
  line-height: 1.6;
}

.insight-list li::before {
  content: "";
  width: 11px;
  height: 11px;
  margin-top: 8px;
  background: var(--lime);
}

.service-tile,
.feature-tile,
.project-tile,
.contact-panel,
.form-panel,
.faq-item,
.step-tile {
  border: 1px solid var(--line);
  background: rgba(251, 250, 246, 0.86);
}

.section-dark .service-tile,
.section-dark .feature-tile,
.section-dark .project-tile,
.section-dark .step-tile {
  border-color: var(--white-line);
  background: rgba(251, 250, 246, 0.045);
}

.service-tile {
  min-height: 330px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tile-media {
  height: 178px;
  margin: -28px -28px 24px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--charcoal);
}

.tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.62) contrast(0.94);
}

.section-dark .tile-media {
  border-color: var(--white-line);
}

.tile-number {
  color: var(--copper);
  font-size: 13px;
  font-weight: 950;
}

.service-tile h3,
.feature-tile h3,
.project-tile h3,
.step-tile h3 {
  margin: 18px 0 12px;
  font-size: 28px;
  line-height: 1.05;
}

.service-tile p,
.feature-tile p,
.project-tile p,
.step-tile p,
.faq-item p {
  color: var(--muted);
  line-height: 1.65;
}

.section-dark .service-tile p,
.section-dark .feature-tile p,
.section-dark .project-tile p,
.section-dark .step-tile p {
  color: rgba(251, 250, 246, 0.66);
}

.tile-arrow {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  color: var(--ink);
  font-size: 26px;
}

.section-dark .tile-arrow {
  color: var(--lime);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.72fr);
  gap: 44px;
  align-items: center;
}

.metric-wall {
  display: grid;
  border: 1px solid var(--line);
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow);
}

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

.metric:last-child {
  border-bottom: 0;
}

.metric strong {
  display: block;
  margin-bottom: 6px;
  color: var(--lime);
  font-size: clamp(30px, 6vw, 54px);
  line-height: 1;
}

.metric span {
  color: rgba(251, 250, 246, 0.7);
}

.page-hero {
  position: relative;
  padding: 92px 0 74px;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--page-hero-image);
  background-position: center;
  background-size: cover;
  opacity: 0.56;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, var(--lime), var(--copper), var(--steel)) left bottom / 100% 8px no-repeat,
    linear-gradient(90deg, rgba(17, 19, 18, 0.94) 0%, rgba(17, 19, 18, 0.78) 42%, rgba(17, 19, 18, 0.34) 100%),
    linear-gradient(0deg, rgba(17, 19, 18, 0.56), rgba(17, 19, 18, 0.2));
}

.services-hero {
  --page-hero-image: url("../images/services-hero-bg.png");
}

.projects-hero {
  --page-hero-image: url("../images/projects-hero-bg.png");
}

.process-hero {
  --page-hero-image: url("../images/process-hero-bg.png");
}

.contact-hero {
  --page-hero-image: url("../images/contact-hero-bg.png");
}

.page-intro {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin-left: clamp(24px, 6vw, 96px);
  margin-right: auto;
  text-align: left;
}

.page-intro p {
  margin-top: 24px;
  color: rgba(251, 250, 246, 0.74);
  text-align: left;
}

.process-line {
  counter-reset: step;
  display: grid;
  gap: 18px;
}

.step-tile {
  position: relative;
  padding: 30px;
}

.project-tile {
  min-height: 270px;
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(174, 191, 186, 0.12), transparent 38%),
    rgba(251, 250, 246, 0.88);
}

.project-tile .tile-media {
  height: 188px;
  margin: -26px -26px 22px;
}

.project-tag {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

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

.map-panel iframe {
  width: 100%;
  min-height: 420px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-panel,
.form-panel {
  padding: 30px;
}

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

.contact-list li {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.contact-list span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.contact-list strong {
  display: block;
  margin-top: 6px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

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

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

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

label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(17, 19, 18, 0.18);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font: inherit;
  min-height: 48px;
  padding: 12px 14px;
}

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

.form-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.faq-stack {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 24px;
}

.faq-item h3 {
  margin-bottom: 8px;
  color: var(--ink);
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 54px 0;
  background: var(--lime);
  color: var(--ink);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-inner h2 {
  max-width: 720px;
  margin-bottom: 0;
  font-size: clamp(30px, 5vw, 58px);
  line-height: 0.98;
}

.site-footer {
  padding: 64px 0 28px;
  background: var(--ink);
  color: rgba(251, 250, 246, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, 0.55fr);
  gap: 34px;
  align-items: start;
}

.footer-brand p {
  max-width: 390px;
  line-height: 1.7;
}

.footer-title {
  display: block;
  margin-bottom: 14px;
  color: var(--paper);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-column {
  display: grid;
  gap: 10px;
}

.footer-column a,
.footer-column span {
  color: rgba(251, 250, 246, 0.7);
  line-height: 1.45;
}

.footer-column .social-link,
.contact-list .social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.social-link svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.footer-links {
  display: grid;
  gap: 10px;
  font-weight: 750;
}

.footer-links a:hover,
.footer-column a:hover {
  color: var(--lime);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--white-line);
  font-size: 14px;
}

@media (max-width: 900px) {
  .nav-shell {
    min-height: 70px;
  }

  .brand-logo {
    width: 158px;
    height: 52px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-email {
    display: none;
  }

  .nav-links {
    position: fixed;
    inset: 70px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: var(--ink);
    border-bottom: 1px solid var(--white-line);
  }

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

  .nav-links a {
    padding: 16px;
    border-bottom: 1px solid var(--white-line);
  }

  .nav-actions .btn {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-wrap {
    display: block;
  }

  .hero-copy {
    padding: 88px 16px 240px;
    overflow: hidden;
  }

  .hero-media {
    inset: auto 0 0 0;
    height: 48%;
  }

  .hero-media::after {
    background: linear-gradient(180deg, var(--ink) 0%, rgba(17, 19, 18, 0.68) 45%, rgba(17, 19, 18, 0.12) 100%);
  }

  .hero-signal {
    left: 16px;
    right: 16px;
    bottom: 18px;
    width: auto;
  }

  .section-head,
  .split,
  .contact-layout,
  .image-strip,
  .footer-grid {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .cta-inner,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    display: flex;
  }
}

@media (max-width: 560px) {
  .brand {
    min-width: auto;
  }

  .brand-logo {
    width: 142px;
    height: 46px;
  }

  h1,
  .hero-copy h1 {
    font-size: 42px;
    line-height: 0.98;
  }

  .hero-copy p,
  .section-head p,
  .page-intro p,
  .lead {
    font-size: 16px;
    max-width: 100%;
  }

  .hero-signal {
    grid-template-columns: 1fr;
  }

  .hero-signal span {
    border-right: 0;
    border-bottom: 1px solid var(--white-line);
  }

  .hero-signal span:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 64px 0;
  }

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

  .service-tile,
  .contact-panel,
  .form-panel {
    padding: 24px;
  }
}
