/* The home page (/, 28 Nov 2026): one search box first, three ways in, then who it's for. */
.hn-hero {
  position: relative;
  z-index: 2;
  padding: clamp(28px, 6vw, 72px) 0 clamp(48px, 8vw, 96px);
  text-align: center;
}
.hn-hero h1 {
  max-width: 14ch;
  margin: 0 auto;
}
.hn-hero .lede {
  color: var(--on-night-muted);
  margin: 20px auto 30px;
  max-width: 32em;
}
.hn-kicker {
  margin: 0 0 14px;
  font: 800 13px/1.3 var(--ui);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dawn);
}
.hn-search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 680px;
  margin: 0 auto;
  padding: 7px 7px 7px 20px;
  background: var(--white);
  border-radius: 999px;
  box-shadow:
    0 12px 40px rgba(4, 20, 45, 0.35),
    0 0 0 4px rgba(91, 194, 247, 0.25);
}
.hn-search svg {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--muted);
}
.hn-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: none;
  font: 500 18px/1.2 var(--ui);
  color: var(--ink);
  padding: 12px 0;
}
.hn-search input::placeholder {
  color: #7b8b9a;
}
.hn-search:focus-within {
  box-shadow:
    0 12px 40px rgba(4, 20, 45, 0.35),
    0 0 0 4px var(--sky);
}
.hn-search .btn {
  flex: none;
}
.hn-try {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 18px auto 0;
  max-width: 680px;
  font: 600 15px/1 var(--ui);
}
.hn-try span {
  color: var(--on-night-muted);
  margin-right: 2px;
}
.on-night .hn-try a {
  color: var(--on-night);
  text-decoration: none;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.on-night .hn-try a:hover {
  background: rgba(255, 255, 255, 0.2);
}
.hn-resume {
  margin: 22px 0 0;
  font: 600 16px/1.4 var(--ui);
  color: var(--on-night-muted);
}
.on-night .hn-resume a {
  color: var(--white);
  font-weight: 800;
}

/* three ways in */
.hn-ways h2,
.hn-for h2,
.hn-gospel h2 {
  margin: 0 0 28px;
}
.hn-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.hn-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(15, 29, 43, 0.05);
}
.hn-pic {
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--sky-wash);
  overflow: hidden;
}
.hn-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.hn-card:hover .hn-pic img {
  transform: scale(1.04);
}
.hn-in {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 22px 24px;
}
.hn-in h3 {
  margin: 4px 0 8px;
}
.hn-in > p {
  margin: 0 0 14px;
  color: var(--muted);
}
.hn-tag {
  font: 800 12px/1.2 var(--ui);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky-ink) !important;
  margin: 0 !important;
}
.hn-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto !important;
}
.hn-chips a {
  font: 700 14px/1 var(--ui);
  color: var(--night);
  text-decoration: none;
  padding: 9px 13px;
  border-radius: 999px;
  background: var(--sky-wash);
}
.hn-chips a:hover {
  background: #cdeafc;
}
.hn-in .btn {
  align-self: flex-start;
}
.hn-photo-credit {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--muted);
  text-align: right;
}

/* made for you */
.hn-for-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.hn-for-i {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border-radius: 16px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.hn-for-i:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(15, 61, 122, 0.12);
}
.hn-for-i h3 {
  margin: 0 0 8px;
}
.hn-for-i p {
  margin: 0 0 16px;
  color: var(--muted);
}
.hn-for-i .go {
  margin-top: auto;
  font: 800 15px/1 var(--ui);
  color: var(--sky-ink);
}
.hn-for-i .go::after {
  content: ' →';
}

/* the gospel */
.hn-g {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.hn-g li {
  padding: 20px;
  border-top: 4px solid var(--dawn);
  background: var(--white);
  border-radius: 0 0 14px 14px;
}
.hn-g .n {
  display: block;
  font: 800 30px/1 var(--display);
  color: var(--dawn-ink);
  margin-bottom: 8px;
}
.hn-g h3 {
  margin: 0 0 10px;
}
.hn-g .verse {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
}
.hn-g .verse p {
  margin: 0 0 4px;
  font: 400 16px/1.5 var(--read);
}
.hn-g .verse cite {
  font: 700 13px/1.3 var(--ui);
  font-style: normal;
  color: var(--muted);
}
.hn-g-note {
  margin: 22px 0 0;
}

/* give */
.section.hn-give {
  padding: clamp(44px, 6vw, 72px) 0;
}
.hn-give .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.hn-give .lede {
  color: var(--on-night-muted);
  margin: 10px 0 0;
  max-width: 34em;
}
.hn-give .verse {
  margin: 18px 0 0;
}
.on-night .hn-line {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 980px) {
  .hn-cards {
    grid-template-columns: 1fr;
  }
  .hn-card {
    flex-direction: row;
  }
  .hn-pic {
    width: 40%;
    aspect-ratio: auto;
    flex: none;
  }
  .hn-g {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .hn-hero {
    text-align: left;
  }
  .hn-hero h1,
  .hn-hero .lede {
    margin-left: 0;
  }
  .hn-search {
    padding: 6px 6px 6px 14px;
  }
  .hn-search input {
    font-size: 17px;
  }
  .hn-search .btn {
    padding: 0 16px;
    min-height: 44px;
  }
  .hn-try {
    justify-content: flex-start;
  }
  .hn-card {
    flex-direction: column;
  }
  .hn-pic {
    width: auto;
    aspect-ratio: 16 / 9;
  }
  .hn-for-grid,
  .hn-g {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hn-pic img,
  .hn-for-i {
    transition: none;
  }
}
