@font-face {
  font-family: "Outfit";
  src: url("./assets/fonts/outfit-light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("./assets/fonts/outfit-regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("./assets/fonts/outfit-semibold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --carbon: #1b1e1e;
  --sand: #d7ceb2;
  --stone: #6d604f;
  --platinum: #eef1ef;
  --paper: #f8f9f7;
  --line: rgba(27, 30, 30, 0.14);
  --shadow: 0 22px 60px rgba(27, 30, 30, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", Arial, sans-serif;
  font-weight: 300;
  color: var(--carbon);
  background: var(--platinum);
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 0 42px;
  background: rgba(238, 241, 239, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

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

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  font-size: 15px;
  color: rgba(27, 30, 30, 0.78);
}

.nav-links a,
.mobile-nav a {
  transition: color 160ms ease;
}

.nav-links a:hover,
.mobile-nav a:hover {
  color: var(--stone);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 400;
  font-size: 15px;
  line-height: 1;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.nav-cta,
.button-primary {
  color: var(--platinum);
  background: var(--carbon);
}

.button-secondary {
  color: var(--carbon);
  background: rgba(238, 241, 239, 0.78);
  border-color: rgba(27, 30, 30, 0.18);
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

.button-primary:hover {
  background: #303535;
}

.button-secondary:hover {
  border-color: rgba(27, 30, 30, 0.34);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 0 auto;
  background: var(--carbon);
}

.menu-toggle span + span {
  margin-top: 6px;
}

.mobile-nav {
  position: fixed;
  inset: 76px 0 auto 0;
  z-index: 25;
  display: grid;
  gap: 0;
  padding: 14px 24px 24px;
  background: var(--platinum);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
}

.hero {
  position: relative;
  min-height: 76svh;
  overflow: hidden;
  display: grid;
  align-items: center;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(238, 241, 239, 0.96), rgba(238, 241, 239, 0.78) 42%, rgba(238, 241, 239, 0.14) 72%);
}

.hero-content {
  position: relative;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 86px 0 72px;
}

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

.hero h1,
.section-heading h2,
.intro-grid h2,
.dark-grid h2,
.about-grid h2,
.contact-grid h2 {
  margin: 0;
  font-weight: 600;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: 58px;
  line-height: 0.96;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(27, 30, 30, 0.78);
  font-size: 20px;
  line-height: 1.45;
}

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

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(690px, 100%);
  margin-top: 42px;
  border: 1px solid rgba(27, 30, 30, 0.14);
  background: rgba(27, 30, 30, 0.12);
}

.trust-strip div {
  min-height: 94px;
  padding: 18px;
  background: rgba(238, 241, 239, 0.82);
}

.trust-strip strong {
  display: block;
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
}

.trust-strip span {
  display: block;
  margin-top: 8px;
  color: rgba(27, 30, 30, 0.72);
  font-size: 14px;
  line-height: 1.25;
}

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

.intro-band,
.about-band {
  background: var(--carbon);
  color: var(--platinum);
}

.intro-grid,
.about-grid,
.contact-grid,
.dark-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: start;
  padding: 72px 0;
}

.intro-grid h2,
.dark-grid h2,
.about-grid h2,
.contact-grid h2,
.section-heading h2 {
  font-size: 40px;
  line-height: 1.05;
}

.intro-grid p,
.about-grid p,
.contact-grid p,
.proof-list p {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
}

.intro-grid > p,
.about-grid > div:last-child > p {
  color: rgba(238, 241, 239, 0.78);
}

.section {
  padding: 88px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 38px;
}

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

.service-card,
.sector-grid article,
.method-list li {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.service-card {
  min-height: 260px;
  padding: 28px;
}

.service-card span,
.method-list span {
  color: var(--stone);
  font-weight: 600;
  font-size: 13px;
}

.service-card h3,
.sector-grid h3,
.method-list h3 {
  margin: 28px 0 14px;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.1;
}

.service-card p,
.sector-grid p,
.method-list p {
  margin: 0;
  color: rgba(27, 30, 30, 0.72);
  font-size: 16px;
  line-height: 1.48;
}

.service-feature {
  grid-column: span 2;
  background: var(--sand);
}

.dark-band {
  color: var(--platinum);
  background: var(--carbon);
}

.dark-grid .section-kicker,
.intro-band .section-kicker,
.about-band .section-kicker,
.site-footer a {
  color: var(--sand);
}

.proof-list {
  display: grid;
  gap: 20px;
}

.proof-list p {
  padding: 0 0 20px;
  color: rgba(238, 241, 239, 0.78);
  border-bottom: 1px solid rgba(238, 241, 239, 0.18);
}

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

.sector-grid article {
  min-height: 210px;
  padding: 26px;
}

.projects-section {
  background: var(--platinum);
}

.projects-heading p:not(.section-kicker) {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(27, 30, 30, 0.72);
  font-size: 18px;
  line-height: 1.55;
}

.project-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 14px;
}

.project-card {
  min-height: 240px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.project-card-feature {
  background: var(--sand);
}

.project-card span {
  color: var(--stone);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.project-card h3 {
  margin: 36px 0 14px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.08;
}

.project-card p,
.project-note {
  margin: 0;
  color: rgba(27, 30, 30, 0.72);
  font-size: 16px;
  line-height: 1.48;
}

.project-note {
  max-width: 760px;
  margin-top: 22px;
}

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

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

.method-list li {
  min-height: 250px;
  padding: 22px;
}

.method-list h3 {
  margin-top: 46px;
  font-size: 19px;
}

.team-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.team-row p {
  min-height: 122px;
  padding: 22px;
  border: 1px solid rgba(238, 241, 239, 0.2);
  border-radius: 8px;
}

.team-row strong,
.team-row span {
  display: block;
}

.team-row span {
  margin-top: 8px;
  color: rgba(238, 241, 239, 0.66);
  font-size: 15px;
}

.contact-section {
  padding: 88px 0;
  background: var(--platinum);
}

.contact-grid {
  padding: 0;
}

.contact-grid > div > p {
  max-width: 520px;
  margin-top: 22px;
  color: rgba(27, 30, 30, 0.72);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--stone);
  font-size: 14px;
  font-weight: 400;
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--carbon);
  border: 1px solid rgba(27, 30, 30, 0.18);
  border-radius: 4px;
  background: #fff;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(109, 96, 79, 0.32);
  outline-offset: 2px;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--stone);
  font-size: 15px;
}

.site-footer {
  padding: 42px 0;
  color: var(--platinum);
  background: var(--carbon);
}

.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
}

.footer-grid img {
  width: 146px;
}

.footer-grid p {
  margin: 0;
  color: rgba(238, 241, 239, 0.7);
}

@media (max-width: 1120px) {
  .method-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    padding: 0 24px;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero h1 {
    max-width: 640px;
    font-size: 44px;
    line-height: 1;
  }

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

  .intro-grid,
  .about-grid,
  .contact-grid,
  .dark-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .intro-grid h2,
  .dark-grid h2,
  .about-grid h2,
  .contact-grid h2,
  .section-heading h2 {
    font-size: 34px;
  }
}

@media (max-width: 680px) {
  .section-inner,
  .hero-content {
    width: min(100% - 32px, 1180px);
  }

  .hero {
    display: block;
    min-height: auto;
    background: var(--carbon);
    overflow: visible;
  }

  .hero-image {
    position: relative;
    inset: auto;
    height: clamp(300px, 52svh, 430px);
    object-position: center;
  }

  .hero-overlay {
    display: none;
  }

  .hero-content {
    width: min(100% - 32px, 1180px);
    margin: 0 auto;
    padding: 28px 0 44px;
    color: var(--platinum);
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
  }

  .hero .eyebrow {
    margin-bottom: 12px;
    color: var(--sand);
  }

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

  .hero-copy {
    margin-top: 16px;
    color: rgba(238, 241, 239, 0.82);
    font-size: 17px;
  }

  .hero-actions {
    display: grid;
    gap: 10px;
    margin-top: 22px;
  }

  .hero .button-primary {
    color: var(--carbon);
    background: var(--platinum);
  }

  .hero .button-secondary {
    color: var(--platinum);
    background: rgba(238, 241, 239, 0.12);
    border-color: rgba(238, 241, 239, 0.34);
  }

  .trust-strip {
    margin-top: 22px;
    border-color: rgba(238, 241, 239, 0.2);
    background: rgba(238, 241, 239, 0.18);
  }

  .trust-strip div {
    min-height: auto;
    padding: 15px 16px;
    background: rgba(238, 241, 239, 0.1);
  }

  .trust-strip strong {
    font-size: 25px;
  }

  .trust-strip span {
    color: rgba(238, 241, 239, 0.72);
    font-size: 13px;
  }

  .trust-strip,
  .service-grid,
  .sector-grid,
  .project-grid,
  .method-list,
  .team-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    min-height: auto;
  }

  .service-feature {
    grid-column: auto;
  }

  .section {
    padding: 66px 0;
  }

  .intro-grid,
  .about-grid {
    padding: 58px 0;
  }

  .contact-section {
    padding: 66px 0;
  }

  .contact-form {
    padding: 22px;
  }

  .footer-grid {
    align-items: start;
  }
}
