.hero-section {
  position: relative;
  color: var(--c-surface);
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* use base spacing variables for consistent vertical rhythm */
  padding: var(--space-7) var(--space-4);
  overflow: hidden;
}

.hero-section img.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  /* slightly stronger gradient for readability */
  background: linear-gradient(
      rgba(0, 0, 0, 0.3),
      rgba(0, 0, 0, 0.05)
  );
}

.hero-content {
  position: relative;
  max-width: 800px;
  z-index: 1;
  color: var(--c-surface);
}

.hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: var(--space-4);
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.hero-content p {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  margin-bottom: var(--space-5);
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-content a {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
  .hero-section {
    padding: var(--space-6) var(--space-3);
    min-height: 80vh;
    min-height: 80svh;
  }
}
