.home-divider {
  width: min(100% - var(--gutter), var(--container));
  margin: 0 auto;
  border: 0;
  border-top: 1px solid var(--color-border);
}

.home-section {
  padding: var(--space-16) 0;
}

.home-section--work {
  padding-top: var(--space-12);
}

/* About */
.home-about {
  padding: var(--space-16) 0 0;
}

.home-about__grid {
  display: grid;
  gap: var(--space-8);
}

.home-about__paragraph {
  margin: 0 0 var(--space-6);
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--color-text);
  text-wrap: pretty;
}

.home-about__paragraph:last-child {
  margin-bottom: 0;
}

.home-principles {
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
}

.home-principles .home-title {
  margin-bottom: var(--space-5);
}

/* More air between the principles, in balance with the long text next to them */
.home-principles__list {
  gap: var(--space-8);
}

@media (min-width: 1024px) {
  .home-about__grid {
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    column-gap: var(--space-16);
  }

  /* Match the height of the "Over mij" kicker (line box + margin) so both titles align */
  .home-principles .home-title {
    padding-top: calc(var(--text-xs) * var(--leading-body) + var(--space-3));
  }

  .home-principles {
    padding-top: 0;
    border-top: 0;
    padding-left: var(--space-8);
    border-left: 1px solid var(--color-border);
  }
}

/* Contact band: spacing above it on the homepage (shared styles live in style.css) */
.home-about + .home-contact {
  margin-top: var(--space-12);
}

/* Selected work */
.home-more {
  position: relative;
  display: inline-block;
  margin-top: var(--space-8);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-heading);
  text-decoration: none;
}

/* Invisible hit area: grows the link to a 44px touch target */
.home-more::after {
  content: "";
  position: absolute;
  inset: -0.7rem 0;
}

.home-more:hover {
  color: var(--color-accent);
}

/* References */
.references {
  padding-block: var(--space-12);
}

.references__header {
  margin-bottom: var(--space-8);
}

.references__header .home-title {
  margin-bottom: 0;
}

/* Closing call to action */
.home-cta {
  text-align: center;
}

.home-cta__title {
  margin: 0 auto;
}

.home-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.home-cta .btn {
  width: auto;
}
