/* Don’t set height:100% on html/body; use min-height */
html, body { min-height: 100%; }

/* Put the gradient on the root so it grows with content height */
html {
  /* tweak colors as needed */
  --g-top: #FFFE8A;
  --g-bot: #fff;

  background: linear-gradient(
    to bottom,
    var(--g-top) 0%,
    var(--g-bot) 70%,
    var(--g-bot) 100%
  );
  background-attachment: scroll;   /* default; keeps it tied to document height */
  background-repeat: no-repeat;
}

/* Keep body’s bg transparent so the html gradient shows through */
body { background: transparent; }

article {

}

section > div {
  max-width: 80ch;
  margin: 0 auto;
  padding: 5rem;
}
section.services > div {
  max-width: 120ch;
  margin: 0 auto;
  padding: 5rem;
}

h1 {
  font-size: 3rem;
  font-weight: 400;
  margin: 0;
}

h2 {
  font-size: 2rem;
  font-weight: 300;
  line-height: 2.75rem;
}
h3 {
  font-size: 3rem;
  font-weight: 600;
  margin: 0;
}
h4 {
   font-size: 2rem;
  font-weight: 500;
  margin: 1.25rem 0 0 0;
}

p {
  font-size: 1.5rem;
  line-height: 2.25rem;
}
li {
  font-size: 1.25rem;
  line-height: 2rem;
  list-style-type: none;
  margin-bottom: 1.75rem;
}
ul {
  margin-left: -20px;
  margin-top: 2rem;
}

body {
    font-family: "Inter", serif;
    margin: 0;
    color: #000;
}


span.emphasize {
    font-size: 5rem;
    font-weight: 700;
}

.philosophy {
  background-color: #8AD1FF;
}
.team {
  background-color: #FF8B8A;
}

@media (max-width: 700px) {
  h1 {
    flex-direction: column;
  }
  span {
    padding: 0 30px;

    text-align: center;
  }
    span.emphasize {
            font-size: 1.8rem;
    }

}








.services .service-cols {
  display: flex;
  flex-wrap: wrap;                /* allow wrapping to rows */
  gap: 1.5rem;                    /* space between columns */
  align-items: stretch;           /* equal column heights if backgrounds */
}

/* Each column: flex-grow, flex-shrink, flex-basis */
.services .service {


background-color: rgba(255,255,255,.9);
  padding: 2rem;
  border-radius: 10px;

  flex: 1;                /* ~3 cols on desktop, 2 on tablets, 1 on phones */
  min-width: 0;                   /* prevent overflow from long words */
}

/* Optional: force single column on narrow screens */
@media (max-width: 680px) {
  .services .service { flex-basis: 100%; }
}
