/* =====================
   CTA Section
   ===================== */

:root {
  --bg-dark: #111113;
  --text-light: #f0f0f2;
  --text-light-muted: hsla(240, 7%, 95%, 0.6);
  --font-display: 'Instrument Serif';
  --font-body: 'DM Sans';
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

.cta {
  position: relative;
  background-color: var(--bg-dark);
  padding: clamp(3.5rem, 6vw, 6rem) 1.5rem;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 55% at 50% 55%, hsla(0, 0%, 100%, 0.1) 0, transparent 70%);
  pointer-events: none;
}

.cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 56rem;
  margin: 0 auto;
}

.cta__heading {
  font-family: var(--font-display), Georgia, serif;
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
}

.cta__subtext {
  font-family: var(--font-body), sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-light-muted);
  max-width: 32rem;
  margin: 1.5rem auto 0;
  line-height: 1.65;
}

.cta__button {
  display: inline-block;
  margin-top: 2.5rem;
  padding: 1rem 2.5rem;
  background-color: var(--text-light);
  color: var(--bg-dark);
  font-family: var(--font-body), sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 2rem;
  text-decoration: none;
  transition: background-color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

.cta__button:hover {
  background-color: #ffffff;
  transform: translateY(-1px);
}

@media (max-width: 600px) {
  .cta {
    padding: clamp(3rem, 8vw, 5rem) 1.5rem;
  }

  .cta__heading {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .cta__button {
    padding: 1rem 2rem;
    font-size: 0.95rem;
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
}
