* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #17211f;
  background: #f7f5ef;
  line-height: 1.6;
}

a {
  color: #235c4b;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.hero {
  min-height: 88vh;
  padding: 28px clamp(24px, 6vw, 88px);
  background:
    radial-gradient(circle at top right, rgba(87, 139, 113, 0.24), transparent 35%),
    linear-gradient(135deg, #f7f5ef 0%, #e4eee7 100%);
}

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

.logo {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 22px;
  font-size: 0.95rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 96px;
}

.hero-content {
  max-width: 780px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  color: #4d6b61;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 0.98;
  margin: 18px 0 26px;
  letter-spacing: -0.06em;
}

.hero-text {
  max-width: 720px;
  font-size: 1.18rem;
  color: #33413d;
}

.hero-photo-wrap {
  width: min(360px, 78vw);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  padding: 10px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(35, 92, 75, 0.16);
  box-shadow: 0 28px 70px rgba(28, 56, 47, 0.18);
  justify-self: center;
}

.hero-photo {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  object-position: 54% 32%;
}

.buttons {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.button {
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
}

.text-link {
  display: inline-block;
  margin-top: 16px;
  font-weight: 700;
  color: #235c4b;
}


.primary {
  background: #235c4b;
  color: white;
}

.secondary {
  border: 1px solid #235c4b;
  color: #235c4b;
}

.section {
  padding: 76px clamp(24px, 6vw, 88px);
  max-width: 1120px;
  margin: 0 auto;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.card {
  background: #ffffff;
  border: 1px solid rgba(35, 92, 75, 0.12);
  border-radius: 22px;
  padding: 24px;
  margin: 18px 0;
  box-shadow: 0 18px 45px rgba(28, 56, 47, 0.07);
}

.card-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: baseline;
}

.card h3, .project h3 {
  margin: 0;
  line-height: 1.25;
}

.card-header span, .role, .project p {
  color: #586b65;
}

.role {
  margin-top: 6px;
  font-weight: 600;
}

ul {
  margin-bottom: 0;
  padding-left: 20px;
}

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

.project {
  background: #ffffff;
  border: 1px solid rgba(35, 92, 75, 0.12);
  border-radius: 18px;
  padding: 20px;
}

.contact {
  background: #e4eee7;
  border-radius: 28px;
  margin-bottom: 60px;
}

footer {
  text-align: center;
  padding: 28px;
  color: #66736f;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 70px;
  }

  .hero-photo-wrap {
    order: -1;
    width: min(280px, 72vw);
  }
}

@media (max-width: 760px) {
  nav, .card-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
  }

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