:root {
  color-scheme: light;
  --background: #f7f8f5;
  --surface: #ffffff;
  --ink: #202d27;
  --muted: #56645c;
  --accent: #285b44;
  --border: #dce3dc;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--background);
  line-height: 1.65;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

a {
  color: inherit;
  text-underline-offset: 0.25em;
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 6px;
}

.page-width {
  width: min(1120px, calc(100% - 96px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 10px 16px;
  background: var(--surface);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 30px;
  border-bottom: 1px solid var(--border);
}

.wordmark {
  font-size: 25px;
  font-weight: 750;
  letter-spacing: -1.2px;
  text-decoration: none;
}

.wordmark span {
  color: var(--accent);
}

nav {
  display: flex;
  gap: 30px;
  font-size: 14px;
  font-weight: 600;
}

nav a {
  text-decoration: none;
}

nav a:hover,
.text-link:hover {
  text-decoration: underline;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: center;
  gap: 48px;
  padding-block: 96px 100px;
}

.intro-portrait {
  display: block;
  width: 100%;
  height: auto;
  border: 6px solid var(--surface);
  border-radius: 50%;
  box-shadow: 0 12px 36px #202d2714;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.045em;
}

h1 {
  font-size: clamp(42px, 5.4vw, 68px);
}

h1 span {
  color: var(--accent);
}

.intro-copy {
  max-width: 610px;
  margin: 28px 0 30px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.intro-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  color: #ffffff;
  background: var(--accent);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.button:hover {
  background: #1d4633;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.projects {
  padding-top: 40px;
  border-top: 1px solid var(--border);
  scroll-margin-top: 28px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 30px;
}

.section-heading .eyebrow,
.contact .eyebrow {
  margin-bottom: 12px;
}

h2 {
  font-size: clamp(27px, 3vw, 36px);
}

.section-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.project-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

.project-art {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 400px;
  padding-bottom: 30px;
  background: #e8efe9;
}

.map-illustration {
  display: block;
  width: 100%;
  height: auto;
}

.art-label {
  position: absolute;
  right: 26px;
  bottom: 24px;
  left: 26px;
  display: flex;
  justify-content: space-between;
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.7px;
}

.project-copy {
  min-width: 0;
  padding: 40px;
}

.project-copy .eyebrow {
  font-size: 10px;
}

.project-copy .eyebrow span {
  margin-inline: 10px;
}

h3 {
  font-size: 30px;
}

.project-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 15px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 18px;
  padding: 0;
  list-style: none;
}

.project-tags li {
  padding: 4px 10px;
  border-radius: 4px;
  color: var(--accent);
  background: #edf3ee;
  font-size: 11px;
  font-weight: 600;
}

.projects-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.contact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
  margin-top: 84px;
  padding-block: 44px;
  border-top: 1px solid var(--border);
}

.contact h2 {
  max-width: 560px;
  font-size: 28px;
}

.contact p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.contact .support-note {
  max-width: 520px;
  font-size: 12px;
}

.button-outline {
  flex-shrink: 0;
  color: var(--accent);
  background: transparent;
}

.button-outline:hover {
  background: #e8efe9;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
}

.site-footer p {
  margin: 0;
}

.site-footer span {
  margin-inline: 6px;
}

@media (max-width: 800px) {
  .page-width {
    width: calc(100% - 48px);
  }

  .intro {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-block: 68px;
  }

  .intro-portrait {
    width: min(240px, 100%);
  }

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

  .section-heading {
    gap: 12px;
  }

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

  .project-art {
    min-height: 0;
  }

  .map-illustration {
    max-height: 340px;
  }

  .contact {
    margin-top: 60px;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .page-width {
    width: calc(100% - 36px);
  }

  .site-header {
    padding-block: 22px;
  }

  nav {
    gap: 20px;
  }

  h1 {
    font-size: clamp(32px, 9.5vw, 42px);
  }

  .intro-copy {
    font-size: 16px;
  }

  .project-copy {
    padding: 28px 24px;
  }

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