/* Homepage welcome hero (owner request, 2026-10-31): the homepage now opens
   with a welcoming landing hero modeled on the Bible Friends Academy
   homepage pattern — centered hero, motif row, big headline, short inviting
   paragraph, two pill buttons, feature cards — restyled in this site's
   adult navy (#10243f) + gold (#e3c57e / #d5aa57) identity on warm ivory.
   Loaded by index.html ONLY; nothing here touches the rest of the site. */

.home-hero {
  width: min(880px, calc(100% - 2rem));
  /* Same top offset the old .site-intro used: fixed topbar (4.5rem) +
     the 39px strip + a 14px gap, so the hero clears the fixed header. */
  margin: calc(4.5rem + 39px + 14px) auto 28px;
  padding: clamp(1.9rem, 4.5vw, 3rem) clamp(1.25rem, 4vw, 2.75rem) clamp(1.7rem, 4vw, 2.5rem);
  text-align: center;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(227, 197, 126, .38), rgba(227, 197, 126, 0) 62%),
    linear-gradient(180deg, #fffdf6 0%, #faf3e0 55%, #f6ead0 100%);
  border: 1px solid rgba(201, 154, 66, .45);
  border-radius: 26px;
  box-shadow: 0 18px 44px rgba(16, 36, 63, .14);
}

/* Decorative motif row: gold rules either side of a star / book / star. */
.home-hero-motif {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  margin-bottom: 1.15rem;
  color: var(--gold-500, #c99a42);
}
.home-hero-rule {
  display: block;
  width: min(72px, 18vw);
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(201, 154, 66, 0), var(--gold-500, #c99a42));
}
.home-hero-rule:last-child {
  background: linear-gradient(90deg, var(--gold-500, #c99a42), rgba(201, 154, 66, 0));
}
.home-hero-star { font-size: 1rem; line-height: 1; }
.home-hero-book { font-size: 1.55rem; line-height: 1; }

.home-hero-title {
  margin: 0;
  color: var(--navy-900, #10243f);
  font: 720 clamp(2.05rem, 5.2vw, 3.3rem)/1.08 Georgia, "Times New Roman", serif;
  letter-spacing: -.02em;
}
.home-hero-sub {
  margin: .7rem auto 0;
  max-width: 36rem;
  color: #7c5e10;
  font: 700 clamp(1.02rem, 2.4vw, 1.3rem)/1.35 Georgia, serif;
}
.home-hero-lede {
  margin: 1.05rem auto 0;
  max-width: 40rem;
  color: #3d4a5f;
  font-size: clamp(.98rem, 1.6vw, 1.06rem);
  line-height: 1.65;
}
.home-hero-lede strong { color: var(--navy-900, #10243f); }

/* Pill buttons: solid gold primary, soft outline secondary. */
.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  justify-content: center;
  margin-top: 1.65rem;
}
.home-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 52px;
  padding: .85rem 1.7rem;
  border-radius: 999px;
  font: 700 1.02rem/1.1 Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.home-hero-btn-primary {
  border: 1px solid var(--gold-500, #c99a42);
  background: linear-gradient(180deg, #eecf8a, #d5aa57);
  color: var(--navy-900, #10243f);
  box-shadow: 0 10px 24px rgba(201, 154, 66, .38);
}
.home-hero-btn-primary:hover,
.home-hero-btn-primary:focus-visible {
  background: linear-gradient(180deg, #f4da9c, #dfba67);
  transform: translateY(-1px);
}
.home-hero-btn-outline {
  border: 2px solid rgba(16, 36, 63, .5);
  background: rgba(255, 255, 255, .65);
  color: var(--navy-900, #10243f);
}
.home-hero-btn-outline:hover,
.home-hero-btn-outline:focus-visible {
  border-color: var(--navy-900, #10243f);
  background: #ffffff;
  transform: translateY(-1px);
}
.home-hero-btn:focus-visible {
  outline: 3px solid rgba(201, 154, 66, .65);
  outline-offset: 2px;
}

/* Feature card row: each card is a real link into the site. */
.home-hero-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .7rem;
  margin-top: 1.9rem;
}
.home-hero-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .95rem .5rem .85rem;
  background: rgba(255, 255, 255, .85);
  border: 1px solid rgba(201, 154, 66, .4);
  border-radius: 16px;
  color: var(--navy-900, #10243f);
  text-decoration: none;
  font: 600 .86rem/1.3 Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.home-hero-card:hover,
.home-hero-card:focus-visible {
  border-color: var(--gold-500, #c99a42);
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(16, 36, 63, .12);
}
.home-hero-card:focus-visible {
  outline: 3px solid rgba(201, 154, 66, .65);
  outline-offset: 2px;
}
.home-hero-card-icon { font-size: 1.45rem; line-height: 1; }

/* Phone widths (~390px): cards go two-up (last one spans), buttons stack. */
@media (max-width: 760px) {
  .home-hero-cards { grid-template-columns: repeat(2, 1fr); }
  .home-hero-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .home-hero { border-radius: 20px; }
  .home-hero-btn { width: 100%; }
}
