/* ── CTA section ──────────────────────────────────────── */

.section--cta {
  max-width: none;
  min-height: auto;
  background: var(--dark);
  color: var(--warm-cream);
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* Grain texture — matches problem section */
.section--cta::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
  z-index: 0;
}

.cta__inner {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta__headline {
  font-family: var(--font-headline);
  font-size: 3.25rem;
  line-height: 1.1;
  color: var(--warm-cream);
  margin-bottom: 16px;
}

.cta__subhead {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--wheat-gold);
  margin-bottom: 24px;
}

.cta__body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--warm-cream);
  opacity: 0.7;
  margin-bottom: 48px;
}

.cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 40px;
  border-radius: 9999px;
  background: var(--wheat-gold);
  color: var(--dark);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.0625rem;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

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

.cta__button:active {
  transform: translateY(0);
}

/* ── Footer ──────────────────────────────────────────── */

.site-footer {
  background: var(--dark);
  color: var(--warm-cream);
  padding: 0 24px 48px;
  position: relative;
  overflow: hidden;
}

/* Continue grain texture from CTA */
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
  z-index: 0;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(245, 243, 238, 0.1);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__lockup {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--warm-cream);
  opacity: 0.4;
  transition: opacity 0.2s ease;
  min-height: 44px;
}

.footer__lockup:hover {
  opacity: 0.6;
}

.footer__wordmark {
  font-family: var(--font-headline);
  font-size: 1rem;
}

.footer__copy {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 300;
  opacity: 0.35;
}

.footer__links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer__links a {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--warm-cream);
  opacity: 0.4;
  text-decoration: none;
  transition: opacity 0.2s ease;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  justify-content: center;
  padding: 0 6px;
}

.footer__links a:hover {
  opacity: 0.7;
}

/* ── Mobile ──────────────────────────────────────────── */

@media (max-width: 768px) {
  .section--cta {
    padding: 80px 16px 56px;
  }

  .cta__headline {
    font-size: 2.25rem;
  }

  .cta__subhead {
    font-size: 1.125rem;
  }

  .cta__body {
    margin-bottom: 36px;
  }

  .cta__button {
    width: 100%;
    height: 52px;
  }

  .site-footer {
    padding: 0 16px 40px;
  }

  .footer__inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer__links {
    gap: 16px;
  }
}
