/* Homepage content lives in data/homepage.json. */
:root {
  --hk-gold: #d2b477;
  --hk-gold-deep: #806022;
  --hk-ivory: var(--gk-public-ivory);
  --hk-teal: var(--gk-public-teal);
  --hk-forest: var(--gk-public-green);
  --hk-ink: var(--gk-public-ink);
}
.hk-hero-title {
  margin: 0 0 1.15rem;
  color: #fff;
  font-size: clamp(2.35rem, 5vw, 4.2rem);
  line-height: 1.04;
}
.hk-hero-title span, .hk-hero-title em { display: block; }
.hk-hero-title em { color: var(--hk-gold); }
.hk-hero {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(12, 35, 37, .96), rgba(12, 35, 37, .79) 42%, rgba(12, 35, 37, .18)),
    var(--hk-teal) url('../images/The%20Way%2C%20Truth%20and%20Life.jpg') center / cover no-repeat;
}
.hk-hero-lead { max-width: 32rem; margin: 0 0 .45rem; font-weight: 750; font-size: clamp(1.05rem, 1.7vw, 1.25rem); }
.hk-hero-body { max-width: 31rem; margin: 0 0 1.2rem; color: #edf1eb; }
.hk-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem 1.1rem; }
.hk-hero-actions .gk-public-link, .hk-hero-actions .hk-btn { color: #fff; }
.hk-hero-actions .hk-btn { border-color: #d1dbd3; }
.hk-btn { border-radius: .25rem; }
.hk-btn:focus-visible, .hk-card-btn:focus-visible, .hk-journey:focus-visible, .hk-comm:focus-visible, .hk-link:focus-visible, .hk-modal-close:focus-visible, .hk-verses summary:focus-visible {
  outline: 2px solid var(--hk-gold-deep); outline-offset: 3px;
}
.hk-section { padding: 4.5rem 0; }
.hk-ivory { background: var(--hk-ivory); color: var(--hk-ink); }
.hk-head { text-align: center; max-width: 46rem; margin: 0 auto 2.5rem; }
.hk-head h2 { font-family: var(--font-display); font-size: clamp(1.7rem, 3.6vw, 2.5rem); color: var(--hk-teal); margin: 0 0 .75rem; }
.hk-head p { font-size: 1.08rem; line-height: 1.65; margin: 0; }
.hk-pathway .hk-head h2, .hk-pathway .hk-head p { color: #fff; }

/* 1. Sources + reflection */
.hk-shaped-intro { margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.hk-shaped-intro .hk-head { margin: 0; text-align: left; }
.hk-shaped-intro .gk-public-photo { aspect-ratio: 16 / 9; }
.hk-sources { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.25rem; }
.hk-sources li { text-align: center; padding: .5rem; display: flex; flex-direction: column; gap: .35rem; }
.hk-sources i { font-size: 1.9rem; color: var(--hk-gold-deep); }
.hk-sources strong { font-family: var(--font-display); font-size: 1.1rem; color: var(--hk-teal); }
.hk-sources span { font-size: .92rem; line-height: 1.5; color: var(--gk-public-muted); }
.hk-reflect { text-align: center; margin-top: 2.25rem; }
.hk-reflect small { opacity: .7; font-weight: 400; }
.hk-reflect-panel { text-align: left; max-width: 44rem; margin: 1.5rem auto 0; background: #fff; border: 1px solid #e6dcc4; border-radius: .25rem; padding: 1.75rem; }
.hk-reflect-panel[hidden] { display: none; }
.hk-reflect-panel ol { padding-left: 1.25rem; margin: 1rem 0; }
.hk-reflect-panel li { margin-bottom: 1.1rem; }
.hk-reflect-panel label { display: block; font-weight: 700; margin-bottom: .4rem; }
.hk-reflect-panel textarea { width: 100%; padding: .65rem .8rem; border: 1px solid #cfc4ab; border-radius: 10px; font: inherit; resize: vertical; }
.hk-reflect-intro, .hk-note { font-size: .9rem; color: var(--gk-public-muted); }
.hk-reflect-close { font-family: var(--font-serif); font-style: italic; }
.hk-link { background: none; border: 0; color: var(--hk-gold-deep); text-decoration: underline; cursor: pointer; font: inherit; padding: .25rem 0; }

/* 2. Impact cards */
.hk-impact { background: var(--gk-public-paper); color: var(--hk-ink); }
.hk-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.1rem; align-items: start; }
.hk-card { background: #fff; border: 1px solid #e6dcc4; border-radius: .25rem; transition: box-shadow .2s, border-color .2s; }
.hk-card.is-open, .hk-card:hover { border-color: var(--hk-gold); box-shadow: 0 10px 28px rgba(21,59,57,.1); }
.hk-card-btn { width: 100%; background: none; border: 0; text-align: center; padding: 1.5rem 1.1rem 1.1rem; cursor: pointer; font: inherit; color: inherit; border-radius: .25rem; }
.hk-card-btn > i { font-size: 2rem; color: var(--hk-gold-deep); }
.hk-card-btn h3 { font-family: var(--font-display); color: var(--hk-teal); margin: .6rem 0 .4rem; font-size: 1.25rem; }
.hk-card-btn p { font-size: .92rem; line-height: 1.5; color: var(--gk-public-muted); margin: 0 0 .8rem; }
.hk-card-more { font-size: .85rem; font-weight: 700; color: var(--hk-gold-deep); }
.hk-card-more i { transition: transform .2s; }
.hk-card.is-open .hk-card-more i { transform: rotate(180deg); }
.hk-card-body { padding: 0 1.25rem 1.25rem; border-top: 1px dashed #e0d3b0; }
.hk-card-body[hidden] { display: none; }
.hk-card-body ul { margin: 1rem 0 0; padding-left: 1.1rem; font-size: .92rem; line-height: 1.55; color: var(--gk-public-ink); }
.hk-card-body li { margin-bottom: .45rem; }

/* 3. Pathway */
.hk-pathway { background: var(--hk-teal); color: #fff; }
.hk-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.4rem; }
.hk-steps li { position: relative; text-align: center; border: 1px solid rgba(214,173,95,.45); border-radius: .25rem; padding: 1.6rem 1rem 1.3rem; background: rgba(255,255,255,.05); }
.hk-steps i { font-size: 1.8rem; color: var(--hk-gold); }
.hk-steps h3 { font-family: var(--font-display); font-size: 1.12rem; color: #fff; margin: .7rem 0 .45rem; }
.hk-steps p { font-size: .9rem; line-height: 1.5; margin: 0; opacity: .9; }

/* 4. Journeys */
.hk-journeys { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.hk-journey, .hk-comm { display: flex; flex-direction: column; gap: .5rem; background: #fff; border: 1px solid #e6dcc4; border-top: 3px solid var(--hk-gold); border-radius: .25rem; padding: 1.5rem; text-decoration: none; color: var(--hk-ink); transition: transform .2s, box-shadow .2s; }
.hk-journey:hover, .hk-comm:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(21,59,57,.12); }
.hk-journey > i, .hk-comm > i { font-size: 1.7rem; color: var(--hk-gold-deep); }
.hk-journey h3, .hk-comm h3 { font-family: var(--font-display); color: var(--hk-teal); margin: .2rem 0; font-size: 1.25rem; }
.hk-journey p, .hk-comm p { margin: 0; font-size: .95rem; line-height: 1.55; color: var(--gk-public-muted); flex: 1; }
.hk-journey > span { font-weight: 700; color: var(--hk-gold-deep); margin-top: .5rem; }

/* 5. Community + scripture */
.hk-community { background: var(--hk-forest); color: #fff; }
.hk-community .hk-head h2 { color: #fff; }
.hk-comm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.1rem; }
.hk-community .hk-comm { background: rgba(255,255,255,.06); border-color: rgba(214,173,95,.4); border-top-color: var(--hk-gold); color: #fff; }
.hk-community .hk-comm h3 { color: #fff; }
.hk-community .hk-comm p { color: #d9dce6; }
.hk-community .hk-comm > i { color: var(--hk-gold); }
.hk-member-note { text-align: center; margin: 1.75rem auto 0; max-width: 40rem; color: #cfd5e4; font-size: .92rem; }
.hk-member-note i { color: var(--hk-gold); margin-right: .35rem; }
.hk-verses { max-width: 52rem; margin: 2.5rem auto 0; border: 1px solid rgba(214,173,95,.4); border-radius: .25rem; padding: 1rem 1.4rem; background: rgba(255,255,255,.04); }
.hk-verses summary { cursor: pointer; font-family: var(--font-display); font-size: 1.15rem; color: var(--hk-gold); }
.hk-verses summary small { color: #cfd5e4; font-family: var(--font-sans); }
.hk-verses dl { margin: 1rem 0 0; }
.hk-verses dl > div { padding: .8rem 0; border-top: 1px solid rgba(255,255,255,.12); }
.hk-verses dt { font-weight: 800; color: var(--hk-gold); }
.hk-verses dd { margin: .25rem 0 0; font-family: var(--font-serif); font-style: italic; line-height: 1.6; }
.hk-verses .hk-note { color: #aab2c6; margin: .8rem 0 0; }

/* 6. Invitation */
.hk-invite {
  text-align: center;
  color: #fff;
  padding: clamp(3.5rem, 6vw, 5rem) 0;
  background:
    linear-gradient(rgba(12, 35, 37, .76), rgba(12, 35, 37, .88)),
    var(--hk-teal) url('../images/the-invitation.jpg') center / cover no-repeat;
}
.hk-invite h2 { font-family: var(--font-display); color: var(--hk-gold); font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 1.25rem; }
.hk-invite p { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.1rem, 2.4vw, 1.5rem); margin: 0 0 .5rem; }
.hk-invite .gk-public-btn { margin-top: 1.45rem; }
.hk-invite .gk-public-btn:focus-visible, .hk-hero-actions a:focus-visible, .hk-hero-actions button:focus-visible { outline-color: #fff; }

/* Video modal */
.hk-modal { position: fixed; inset: 0; z-index: 2000; background: rgba(8,12,24,.82); display: grid; place-items: center; padding: 1rem; }
.hk-modal[hidden] { display: none; }
.hk-modal-box { position: relative; background: #fff; color: var(--gk-public-ink); width: min(860px, 100%); border-radius: .25rem; padding: 1.5rem; }
.hk-modal-box h2 { font-family: var(--font-display); margin: 0 2.5rem 1rem 0; font-size: 1.3rem; }
.hk-modal-close { position: absolute; top: .75rem; right: .75rem; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 0; background: #f1ead9; cursor: pointer; font-size: 1.1rem; }
.hk-video { aspect-ratio: 16 / 9; background: #000; border-radius: 10px; overflow: hidden; }
.hk-video iframe, .hk-video video { width: 100%; height: 100%; border: 0; }
body.hk-modal-open { overflow: hidden; }

@media (max-width: 960px) {
  .hk-steps { grid-template-columns: 1fr; max-width: 28rem; margin: 0 auto; gap: 1.6rem; }
}
@media (max-width: 640px) {
  .hk-hero {
    background:
      linear-gradient(rgba(12, 35, 37, .78), rgba(12, 35, 37, .9)),
      var(--hk-teal) url('../images/The%20Way%2C%20Truth%20and%20Life.jpg') 63% center / cover no-repeat;
  }
  .hk-section { padding: 3rem 0; }
  .hk-btn { width: 100%; justify-content: center; }
  .hk-hero-actions { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .hk-journey, .hk-comm, .hk-card, .hk-card-more i { transition: none; }
  .hk-journey:hover, .hk-comm:hover { transform: none; }
}

.hk-stewardship { background: var(--gk-public-paper); padding-block: clamp(2.5rem, 5vw, 4rem); }
.hk-stewardship .gk-public-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 18rem);
  gap: 1.25rem;
  align-items: center;
  border-inline-start: 3px solid var(--gk-public-gold);
  padding-inline-start: clamp(1rem, 4vw, 2.5rem);
}
.hk-stewardship h2 { color: var(--hk-teal); font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin: 0 0 .5rem; }
.hk-stewardship p { color: var(--gk-public-muted); max-width: 38rem; margin: 0 0 .8rem; }

@media (max-width: 640px) {
  .hk-stewardship .gk-public-wrap { grid-template-columns: minmax(0, 1fr); }
}
