:root {
  --sage-light: #f8faf7;   /* very pale sage */
  --sage: #dde5d8;         /* soft sage for accents */
  --sage-dark: #a4b79b;
  --text-main: #222;
  --link: #4b6b4b;
}

body {
  font-family: system-ui, sans-serif;
  line-height: 1.6;
  margin: 0;
  background: var(--sage-light);
  color: var(--text-main);
  padding-top: 130px; /* offset for fixed header */
}

header, footer {
  text-align: center;
  padding: 1em;
  background: var(--sage);
  color: #1f2a1f;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--sage);
  color: #1f2a1f;
  text-align: center;
  padding: 0.6em 0 0.8em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  z-index: 2000;
}

nav a {
  margin: 0 10px;
  text-decoration: none;
  color: var(--link);
  font-weight: 500;
}

nav a:hover {
  text-decoration: underline;
}

main {
  max-width: 900px;
  margin: 2em auto 2em; /* was 6em */
  padding: 0.5em 1em 1.5em;  /* less space on top, normal bottom */
  background: white;
  border-radius: 10px;
  box-shadow: 0 0 6px rgba(0,0,0,0.08);
}

footer {
  font-size: 0.9em;
}

/* Banner */
.banner img {
  width: 100%;
  height: auto;
  border-radius: 0;
  display: block;
}

/* About section layout */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr; /* equal columns for photo/text */
  align-items: start;
  gap: 1em;
  margin-bottom: 1em;
}

.about .photo img {
  width: 100%;
  max-width: 450px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0,0,0,0.15);
  display: block;
  margin: 0 auto;
}

.about .bio {
  line-height: 1.7;
}

/* Responsive layout for smaller screens */
@media (max-width: 700px) {
  .about {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about .photo {
    margin-bottom: 1em;
  }
}

.about .photo {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-top: 2.5em; /* moves image down */
}



/* Approach section layout */
.approach {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: start;
  gap: 1em;
  margin-bottom: 1em;
}

.approach .photo {
  align-self: start;
  padding-top: 1em; /* slides image down without breaking grid */
  text-align: center;
}

.approach .photo img {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0,0,0,0.15);
}

@media (max-width: 700px) {
  .approach {
    grid-template-columns: 1fr;
  }
  .approach .photo {
    padding-top: 1em;
  }
}

/* Ensure consistent top spacing under fixed header */
main {
  padding-top: 1em; /* global buffer */
}

main > section:first-of-type {
  margin-top: 1em; /* extra for first visible section */
}

@media (max-width: 700px) {
  main {
    padding-top: 0.1em;
  }
}

.intro {
  text-align: center;
  padding: 0.1em;
  margin-top: 0; /* remove any space above the heading */
}

.button {
  display: inline-block;
  background: var(--link);
  color: #fff;
  padding: 0.6em 1.2em;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  margin-top: 1em;
}

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




.focus-areas {
  display: flex;
  justify-content: center;
  gap: 1.5em;
  margin: 2em auto;
  max-width: 900px;
}

.focus {
  flex: 1;
  background: #f5f5f2;
  border-radius: 8px;
  padding: 1.5em;
  text-align: center;
  box-shadow: 0 0 4px rgba(0,0,0,0.1);
}

.focus h3 {
  color: #667761; /* sage tone */
  margin-bottom: 0.5em;
}
