/* ============================================================
   COMPONENTS — Buttons, Hero, Cards, CTA Block, Pull-quote
   ============================================================ */

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: filter 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn--primary {
  background: var(--color-gold);
  color: var(--color-text);
  border-color: var(--color-gold);
}

.btn--primary:hover {
  filter: brightness(0.9);
}

.btn--secondary {
  background: transparent;
  color: var(--color-green);
  border-color: var(--color-gold);
}

.btn--secondary:hover {
  background: var(--color-gold);
  color: var(--color-text);
}

.btn--dark {
  background: var(--color-text);
  color: var(--color-white);
  border-color: var(--color-text);
}

.btn--dark:hover {
  filter: brightness(1.25);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: flex-end;
  background-color: var(--color-green);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.60) 0%,
    rgba(0, 0, 0, 0.30) 60%,
    rgba(0, 0, 0, 0.10) 100%
  );
}

.hero__content {
  position: absolute;
  z-index: 1;
  left: var(--space-md);
  bottom: var(--space-sm);
  max-width: var(--content-max);
}

.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-small);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

.hero__heading {
  font-size: clamp(2rem, 5vw, 3.25rem);
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.hero__subhead {
  font-family: var(--font-body);
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: var(--space-lg);
  max-width: 520px;
  line-height: 1.6;
}

@media (max-width: 600px) {
  .hero {
    min-height: 460px;
  }
}

/* ---- 3-Card Grid ---- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
}

.card__icon {
  width: 40px;
  height: 40px;
  background: var(--color-gold);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card__heading {
  margin-bottom: var(--space-sm);
}

.card__body {
  font-size: 1rem;
  color: var(--color-text-muted);
}

@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Story Cards (Easterseals pattern) ---- */
.story-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.story-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-sm);
}

.story-card__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  background: #d0d0c8;
  flex-shrink: 0;
}

.story-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-card__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
}

.story-card__quote {
  font-style: italic;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .story-card-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ---- Pull-quote (aspirational — build if content supports it) ---- */
.pull-quote {
  border-left: 4px solid var(--color-gold);
  padding-left: var(--space-md);
  margin: var(--space-lg) 0;
}

.pull-quote__text {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: var(--text-h3);
  line-height: 1.45;
  color: var(--color-text);
}

.pull-quote__attribution {
  margin-top: var(--space-xs);
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---- Persistent CTA Block ---- */
.cta-block {
  background: var(--color-gold);
  padding: var(--space-xl) 0;
  text-align: center;
}

.cta-block__heading {
  font-size: var(--text-h2);
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.cta-block__copy {
  font-size: 1.125rem;
  color: var(--color-text);
  opacity: 0.8;
  margin-bottom: var(--space-lg);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Role requirements list ---- */
.requirements-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.requirements-list li {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  font-size: 1rem;
  line-height: 1.55;
}

.requirements-list li::before {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-gold);
  flex-shrink: 0;
  margin-top: 6px;
}
