body {
  font-size: 18px;
  line-height: 1.6;
  color: #1f2933;
}

a {
  color: #1f2937;
}

.hero {
  padding: 6.5rem 1.5rem 5rem 1.5rem;
  text-align: center;
  background: linear-gradient(180deg, #f7f8fa 0%, #ffffff 100%);
  border-bottom: 1px solid #e5e7eb;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  color: #6b7280;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-bottom: 0.65rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero p {
  max-width: 760px;
  margin: 0 auto 1.5rem auto;
  font-size: 1.35rem;
  color: #4b5563;
}

.location-badge {
  display: inline-block;
  margin: 0.15rem auto 1.75rem auto;
  padding: 0.35rem 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: white;
  color: #4b5563;
  font-size: 0.92rem;
}

.button {
  display: inline-block;
  padding: 0.78rem 1.25rem;
  background: #1f2937;
  color: white !important;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid #1f2937;
}

.button:hover {
  background: #374151;
  border-color: #374151;
}

.button.secondary {
  background: transparent;
  color: #1f2937 !important;
  border: 1px solid #d1d5db;
  margin-left: 0.5rem;
}

.button.secondary:hover {
  background: #f3f4f6;
  border-color: #c4c8cf;
}

.section {
  max-width: 1050px;
  margin: 0 auto;
  padding: 4.25rem 1.5rem;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.section p {
  max-width: 820px;
}

.alt {
  background: #f7f8fa;
  max-width: none;
  padding-left: calc((100% - 1050px) / 2 + 1.5rem);
  padding-right: calc((100% - 1050px) / 2 + 1.5rem);
  border-top: 1px solid #edf0f3;
  border-bottom: 1px solid #edf0f3;
}

.about-section h2,
.services-section h2 {
  max-width: 760px;
  font-size: clamp(2rem, 4vw, 2.7rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 2rem;
  align-items: start;
  margin-top: 1.75rem;
}

.about-text p:first-child {
  margin-top: 0;
}

.headshot {
  width: 220px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.callout-note {
  max-width: 820px;
  margin-top: 1.75rem;
  margin-bottom: 1.75rem;
}

.cred-strip {
  max-width: 1050px;
  margin: 0.75rem auto 0 auto;
  padding: 1rem 1.5rem 0.25rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.cred-strip span {
  padding: 0.35rem 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: white;
  font-size: 0.9rem;
  color: #4b5563;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.services-section {
  padding-top: 2.5rem;
}

.services-section > p {
  font-size: 1.12rem;
  color: #4b5563;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
  gap: 1.25rem;
  margin-top: 2.25rem;
}

.card {
  padding: 1.6rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: white;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.service-card {
  border-top: 4px solid #1f2937;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.service-tag {
  display: inline-block;
  width: auto;
  margin: 0 0 0.85rem 0;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: #f3f4f6;
  color: #4b5563;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.card h3 {
  margin-top: 0;
  font-size: 1.22rem;
}

.card p {
  margin-bottom: 0;
  color: #4b5563;
}

.project-list {
  max-width: 800px;
  font-size: 1.05rem;
}

.project-list li {
  margin-bottom: 0.6rem;
}

.contact {
  text-align: left;
}

.contact p {
  margin-left: auto;
  margin-right: auto;
}

.contact strong {
  display: inline-block;
  margin: 0.35rem 0 0.75rem 0;
  padding: 0.45rem 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #f7f8fa;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 1.05rem;
  color: #1f2933;
}

@media (max-width: 700px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .headshot {
    width: 180px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 17px;
  }

  .hero {
    padding: 4.5rem 1.25rem 3.5rem 1.25rem;
  }

  .hero p {
    font-size: 1.15rem;
  }

  .button {
    display: block;
    max-width: 260px;
    margin: 0 auto 0.75rem auto;
  }

  .button.secondary {
    margin-left: auto;
  }

  .section {
    padding: 3.25rem 1.25rem;
  }

  .alt {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .contact strong {
    word-break: break-all;
  }
}