:root {
  color-scheme: light;
  --ink: #172126;
  --muted: #556066;
  --line: #d7ddd8;
  --paper: #fbfaf5;
  --wash: #eff5f1;
  --green: #1f6f55;
  --blue: #315f8d;
  --gold: #c48a2c;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 245, 0.94);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
}

.brand,
nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.brand {
  text-decoration: none;
  font-weight: 700;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 46%, var(--ink) 46% 54%, transparent 54%),
    linear-gradient(0deg, transparent 46%, var(--ink) 46% 54%, transparent 54%),
    var(--gold);
}

nav a {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  min-height: calc(100svh - 72px);
  padding: clamp(48px, 7vw, 92px) clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  max-width: 760px;
}

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

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 5.8vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
  max-width: 900px;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.75rem, 3vw, 3.15rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.lede {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  background: var(--ink);
  color: var(--white);
}

.button.secondary {
  background: transparent;
}

.field-visual {
  min-height: min(68svh, 620px);
  border: 1px solid #d8cdb6;
  border-radius: 8px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 14%, rgba(196, 138, 44, 0.18), transparent 24%),
    radial-gradient(circle at 82% 78%, rgba(31, 111, 85, 0.15), transparent 26%),
    linear-gradient(135deg, #f7efe0, #edf5ec 64%, #e6f0ee);
  background-position: center;
  background-size: cover;
  box-shadow: 0 24px 70px rgba(92, 73, 42, 0.12);
}

.map-grid {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  background-image:
    linear-gradient(rgba(23, 33, 38, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 33, 38, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
}

.map-grid::before,
.map-grid::after {
  position: absolute;
  border: 1px solid rgba(23, 33, 38, 0.14);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 42px rgba(92, 73, 42, 0.12);
  content: "";
}

.map-grid::before {
  top: 16%;
  left: 11%;
  width: 48%;
  height: 34%;
  transform: rotate(-3deg);
  background:
    linear-gradient(var(--green), var(--green)) 24px 24px / 42% 4px no-repeat,
    linear-gradient(rgba(23, 33, 38, 0.18), rgba(23, 33, 38, 0.18)) 24px 50px / 72% 2px no-repeat,
    linear-gradient(rgba(23, 33, 38, 0.12), rgba(23, 33, 38, 0.12)) 24px 74px / 62% 2px no-repeat,
    rgba(255, 255, 255, 0.86);
}

.map-grid::after {
  right: 10%;
  bottom: 14%;
  width: 43%;
  height: 40%;
  transform: rotate(4deg);
  background:
    linear-gradient(rgba(196, 138, 44, 0.85), rgba(196, 138, 44, 0.85)) 24px 24px / 36% 4px no-repeat,
    linear-gradient(rgba(23, 33, 38, 0.16), rgba(23, 33, 38, 0.16)) 24px 56px / 68% 2px no-repeat,
    linear-gradient(rgba(23, 33, 38, 0.12), rgba(23, 33, 38, 0.12)) 24px 82px / 58% 2px no-repeat,
    linear-gradient(rgba(23, 33, 38, 0.1), rgba(23, 33, 38, 0.1)) 24px 108px / 72% 2px no-repeat,
    rgba(255, 255, 255, 0.82);
}

.pin,
.route {
  position: absolute;
  display: block;
}

.pin {
  z-index: 2;
  width: 16px;
  height: 16px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 8px 20px rgba(92, 73, 42, 0.22);
}

.pin-one {
  top: 18%;
  left: 47%;
}

.pin-two {
  top: 58%;
  left: 37%;
  background: var(--blue);
}

.pin-three {
  top: 76%;
  left: 72%;
  background: var(--green);
}

.route {
  z-index: 1;
  height: 3px;
  transform-origin: left center;
  background: rgba(31, 111, 85, 0.42);
}

.route-one {
  top: 36%;
  left: 20%;
  width: 58%;
  transform: rotate(18deg);
}

.route-two {
  top: 67%;
  left: 32%;
  width: 46%;
  transform: rotate(-18deg);
}

.section {
  padding: clamp(48px, 7vw, 90px) clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

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

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.service-grid article,
.project-grid article,
.audience-grid article {
  min-height: 180px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-grid p,
.project-grid p,
.audience-grid p,
.split p {
  color: var(--muted);
}

.audience-section {
  background: var(--wash);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.research-section {
  background: #f5f7f2;
}

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

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

.method-list li {
  min-height: 68px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--muted);
  font-weight: 700;
}

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

.project-grid article {
  display: flex;
  min-height: 310px;
  flex-direction: column;
}

.project-grid h3 {
  max-width: 18ch;
}

.project-grid p {
  margin-bottom: 0;
}

.split,
.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
}

.split > p {
  margin: 0;
  font-size: 1.08rem;
}

.contact-band {
  background: var(--wash);
}

address {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-style: normal;
}

address a {
  color: var(--ink);
  font-weight: 800;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 860px) {
  .site-header,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .split,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .field-visual {
    min-height: 360px;
  }

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

  .project-grid article {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  nav {
    width: 100%;
    justify-content: flex-start;
  }

  h1 {
    font-size: 2.35rem;
  }

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

  .service-grid,
  .audience-grid,
  .method-list {
    grid-template-columns: 1fr;
  }
}
