:root {
  --accent: rgb(74, 120, 51);
  --accent-dark: rgb(50, 88, 33);
  --accent-soft: rgb(224, 235, 217);
  --ink: rgb(28, 33, 29);
  --muted: rgb(92, 101, 94);
  --paper: rgb(247, 248, 244);
  --panel: rgb(255, 255, 252);
  --line: rgb(220, 224, 216);
  --shadow: 0 18px 50px rgba(26, 36, 27, 0.08);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 5%, rgba(74, 120, 51, 0.08), transparent 28rem),
    var(--paper);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header,
.section,
.site-footer {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
}

.brand {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
  font-size: 1.3rem;
}

.nav {
  display: flex;
  gap: 28px;
}

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

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

.section {
  padding: 92px 0;
}

.hero {
  min-height: 72vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: center;
  padding-top: 80px;
}

.eyebrow,
.section-label,
.project-type {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

h1,
h2,
h3 {
  font-family: "Manrope", sans-serif;
  margin-top: 0;
  line-height: 1.05;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 6.4rem);
  letter-spacing: -0.065em;
}

h2 {
  margin-bottom: 28px;
  font-size: clamp(2.3rem, 4.5vw, 4.2rem);
  letter-spacing: -0.05em;
}

h3 {
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

.lead {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

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

.button.primary:hover {
  background: var(--accent-dark);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.55);
}

.quick-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.92rem;
}

.quick-facts li::before {
  content: "•";
  margin-right: 8px;
  color: var(--accent);
}

.mountain-card {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid rgba(74,120,51,0.14);
  border-radius: 34px;
  background:
    linear-gradient(to bottom, rgb(236, 242, 232) 0%, rgb(245, 247, 241) 48%, rgb(217, 229, 208) 100%);
  box-shadow: var(--shadow);
}

.sun {
  position: absolute;
  top: 70px;
  right: 65px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: rgba(255,255,255,0.7);
}

.mountain,
.ridge {
  position: absolute;
  bottom: 0;
  left: -10%;
  width: 120%;
}

.mountain {
  clip-path: polygon(0 100%, 24% 54%, 38% 72%, 57% 28%, 72% 58%, 84% 45%, 100% 100%);
}

.mountain-back {
  height: 68%;
  background: rgb(169, 190, 157);
}

.mountain-mid {
  height: 56%;
  transform: translateX(8%);
  background: rgb(111, 150, 91);
}

.mountain-front {
  height: 43%;
  transform: translateX(-7%);
  background: var(--accent);
}

.ridge {
  height: 24%;
  clip-path: polygon(0 58%, 16% 42%, 31% 62%, 48% 39%, 68% 67%, 82% 46%, 100% 65%, 100% 100%, 0 100%);
}

.ridge-one {
  background: rgba(42, 73, 29, 0.5);
}

.ridge-two {
  height: 14%;
  background: rgb(39, 68, 30);
  opacity: 0.82;
}

.split-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  border-top: 1px solid var(--line);
}

.section-copy {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-copy p:first-child {
  margin-top: 4px;
}

.skill-grid,
.project-grid {
  display: grid;
  gap: 18px;
}

.skill-grid {
  grid-template-columns: repeat(4, 1fr);
}

.skill-card,
.project-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,0.62);
}

.skill-card {
  padding: 26px;
}

.card-number {
  display: block;
  margin-bottom: 42px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
}

.skill-card p,
.project-card p,
.contact-section p,
.note {
  color: var(--muted);
}

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

.project-card {
  min-height: 290px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
}

.project-card.featured {
  grid-column: span 2;
  min-height: 360px;
  background:
    linear-gradient(135deg, rgba(74,120,51,0.13), rgba(255,255,255,0.82)),
    var(--panel);
}

.project-card p {
  max-width: 620px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
}

.project-tags span {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 700;
}

.note {
  margin-top: 18px;
  font-size: 0.9rem;
}

.contact-section {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 70px;
  padding: 54px;
  border-radius: 28px;
  background: rgb(231, 238, 225);
}

.contact-section h2 {
  max-width: 720px;
}

.contact-section p {
  max-width: 680px;
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .hero,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 44px;
  }

  .mountain-card {
    min-height: 420px;
  }

  .skill-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-section {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    gap: 24px;
  }

  .nav {
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .section {
    padding: 68px 0;
  }

  .hero {
    padding-top: 40px;
  }

  .mountain-card {
    min-height: 330px;
    border-radius: 24px;
  }

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

  .project-card.featured {
    grid-column: auto;
  }

  .contact-section {
    padding: 34px 24px;
  }

  .site-footer {
    gap: 12px;
    flex-direction: column;
  }
}
