/* ── Hero Section ── */

.hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  padding: 6rem 2rem 4rem;
  background-image: linear-gradient(rgba(239, 238, 231, 0.82), rgba(239, 238, 231, 0.82)),
    url('images/bethany-opler-h95mT1m9Zzs-unsplash.jpg');
  background-size: cover;
  background-position: center;
}

.hero-content {
  max-width: 720px;
  text-align: center;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6b7280;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #1a1a2e;
  margin-bottom: 0.3rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 400;
  color: #6b7280;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.hero-content > p {
  font-size: 1.1rem;
  line-height: 1.75;
  color: #4b5563;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.hero-cta .btn-primary {
  display: inline-block;
  padding: 0.75rem 2rem;
  background-color: #1a1a2e;
  color: #ffffff;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.hero-cta .btn-primary:hover {
  background-color: #2d2d4e;
  transform: translateY(-1px);
}

/* ── Features Section ── */

.features-section {
  padding: 5rem 2rem;
  background: #efeee7;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto;
}

.feature-card {
  padding: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  background: #f5f4ed;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.feature-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #1a1a2e;
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #6b7280;
  margin: 0;
}

/* ── About page refinements ── */

#title-block-header {
  text-align: center;
  padding: 4rem 0 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 2.5rem;
}

#title-block-header .title {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.035em;
}

#title-block-header .subtitle {
  font-size: 1.15rem;
  color: #6b7280;
  font-weight: 400;
}

/* ── Profile photo ── */

.profile-header {
  text-align: center;
  margin-bottom: 2rem;
}

.profile-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 1.5rem;
}

/* ── Global polish ── */

::selection {
  background: rgba(26, 26, 46, 0.12);
}

main.content {
  max-width: 720px;
}

/* ── Photo attribution ── */

.hero-attribution {
  margin-top: 2rem;
  font-size: 0.75rem;
  color: #9ca3af;
}

.hero-attribution a {
  color: #9ca3af;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.hero-attribution a:hover {
  color: #6b7280;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}
