:root {
  --ink: #18201d;
  --paper: #f7f3e8;
  --paper-strong: #fffaf0;
  --rust: #a94e2f;
  --oxide: #c8793f;
  --moss: #395945;
  --charcoal: #202522;
  --line: rgba(24, 32, 29, 0.16);
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(24, 32, 29, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  color: var(--white);
  background: linear-gradient(to bottom, rgba(20, 27, 23, 0.78), rgba(20, 27, 23, 0));
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
}

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

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

.brand small {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.76rem;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  font-size: 0.9rem;
  font-weight: 650;
}

nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

nav a:hover {
  border-color: var(--oxide);
}

.hero {
  position: relative;
  min-height: 84svh;
  display: flex;
  align-items: center;
  padding: 118px clamp(20px, 6vw, 76px) 72px;
  color: var(--white);
  background-image: url("assets/hero-fieldwork.png");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 20, 17, 0.9) 0%, rgba(14, 20, 17, 0.66) 42%, rgba(14, 20, 17, 0.1) 78%),
    linear-gradient(0deg, rgba(14, 20, 17, 0.42), rgba(14, 20, 17, 0.05));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--oxide);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0b36c;
}

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

h1 {
  margin-bottom: 22px;
  max-width: 760px;
  font-size: clamp(3.6rem, 9vw, 7.8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.lead {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 6px;
  font-weight: 800;
}

.button.primary {
  background: var(--oxide);
  color: #1d130c;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.46);
  color: var(--white);
}

.section,
.intro-band,
.contact-band {
  padding: clamp(64px, 9vw, 118px) clamp(20px, 5vw, 64px);
}

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

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

.intro-grid,
.responsibility-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.7fr;
  gap: clamp(28px, 6vw, 92px);
  align-items: start;
}

.intro-grid h2 {
  max-width: 840px;
}

.intro-grid p:not(.section-kicker),
.section-heading p,
.responsibility-copy p {
  max-width: 720px;
  color: rgba(24, 32, 29, 0.72);
  font-size: 1.05rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

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

.feature-card {
  min-height: 290px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: 0 12px 30px rgba(24, 32, 29, 0.05);
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 34px;
  border-radius: 50%;
  background: #e7d09c;
  color: var(--charcoal);
  font-weight: 900;
  font-size: 0.8rem;
}

.feature-card p,
.process-list p,
.check-list {
  color: rgba(24, 32, 29, 0.7);
}

.muted {
  background: #dde0cc;
}

.approach-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(32px, 6vw, 86px);
}

.sticky-copy {
  position: sticky;
  top: 110px;
  align-self: start;
  margin-bottom: 0;
}

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

.process-list article {
  padding: 24px 0 24px 28px;
  border-left: 4px solid var(--moss);
  background: rgba(255, 250, 240, 0.42);
}

.responsibility-grid h2 {
  max-width: 610px;
}

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

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

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--rust);
  border-bottom: 3px solid var(--rust);
  transform: rotate(-45deg);
}

.contact-band {
  color: var(--white);
  background: var(--charcoal);
}

.contact-band .section-kicker {
  color: #e8b46e;
}

.contact-panel {
  display: grid;
  gap: 8px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.contact-panel p {
  margin-bottom: 8px;
  font-size: 1.2rem;
  font-weight: 800;
}

.contact-panel a {
  color: #e8b46e;
  font-weight: 800;
}

.contact-panel span {
  color: rgba(255, 255, 255, 0.74);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(20px, 5vw, 64px);
  color: rgba(255, 255, 255, 0.72);
  background: #151917;
  font-size: 0.9rem;
}

.site-footer a {
  color: #e8b46e;
  font-weight: 700;
}

@media (max-width: 820px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  nav {
    display: none;
  }

  .hero {
    min-height: 82svh;
    padding-top: 108px;
    background-position: 58% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(14, 20, 17, 0.93) 0%, rgba(14, 20, 17, 0.75) 64%, rgba(14, 20, 17, 0.36) 100%),
      linear-gradient(0deg, rgba(14, 20, 17, 0.5), rgba(14, 20, 17, 0.1));
  }

  .intro-grid,
  .responsibility-grid,
  .contact-grid,
  .approach-grid {
    grid-template-columns: 1fr;
  }

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

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

  .sticky-copy {
    position: static;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 460px) {
  .hero-actions,
  .button {
    width: 100%;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.5rem);
  }
}
