/* ===== Home page: light, calm, one idea per section =====
   Cream and white carry the page. Green is used for headings and trust,
   orange only for actions and small accents. */

.home { background: var(--cream); }
.home .bg-white { background: #fff; }
.home .bg-mint { background: var(--mint); }
.home .section { padding: 88px 0; }
.home .section-head { margin-bottom: 48px; }
.home .section-head p { max-width: 560px; margin-left: auto; margin-right: auto; }
.home .muted { color: var(--muted); }
.home p.muted:only-child { grid-column: 1 / -1; text-align: center; padding: 24px 0; }

/* Skip rendering work far below the fold */
.home .section.defer { content-visibility: auto; contain-intrinsic-size: auto 700px; }

/* ===== Hero: lighter overlay, sharp photo, calmer motion ===== */
.hero { min-height: 80vh; }
.hero::before { background: none; }
.hero-slide { filter: none; }
.hero-slide.is-active { animation: none; transform: none; }
.hero-slides::after { background: linear-gradient(100deg, rgba(18, 74, 37, .72) 0%, rgba(18, 74, 37, .35) 55%, rgba(18, 74, 37, .1) 100%); }

/* ===== Promise ===== */
.home .pillars-row { gap: 24px; text-align: left; }
.home .pillar-item {
    align-items: flex-start; gap: 0; background: #fff; border-radius: var(--radius);
    padding: 32px 28px; box-shadow: var(--shadow);
}
.home .pillar-bubble { width: 52px; height: 52px; font-size: 1.4rem; margin-bottom: 18px; box-shadow: none; background: var(--green); }
.home .pillar-item:nth-child(2) .pillar-bubble { background: var(--orange); }
.home .pillar-item:nth-child(3) .pillar-bubble { background: var(--leaf); }
.home .pillar-item:hover .pillar-bubble { transform: none; }
.home .pillar-item h3 { font-size: 1.6rem; margin-bottom: 10px; }
.home .pillar-item p { max-width: none; font-size: 1rem; }

/* ===== Story ===== */
.home .story-grid { display: block; max-width: 760px; margin: 0 auto; text-align: center; }
.home .story-text h2 { margin-bottom: 20px; }
.home .story-text p { color: var(--ink); opacity: .82; margin-bottom: 14px; }
.home .story-text .btn { margin-top: 10px; }

/* Challenge, approach, result: a true sequence, so numbered and joined by a line */
.chapters { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 72px; position: relative; }
.chapters::before { content: ""; position: absolute; top: 19px; left: 40px; right: 40px; height: 2px; background: var(--border); }
.chapters li { position: relative; }
.chapter-num {
    position: relative; display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%; margin-bottom: 18px;
    background: var(--orange); color: #fff; font-family: var(--font-head); font-size: 1.2rem; font-weight: 700;
}
.chapters li:nth-child(2) .chapter-num { background: var(--leaf); }
.chapters li:nth-child(3) .chapter-num { background: var(--green); }
.chapters h3 { font-size: 1.4rem; margin-bottom: 8px; }
.chapters p { color: var(--muted); font-size: .98rem; }

/* ===== Vision and mission ===== */
.home .vm-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; }
.home .vm-item { border-left: 3px solid var(--green); padding-left: 28px; }
.home .vm-item-orange { border-left-color: var(--orange); }
.home .vm-item h3 { font-size: 1.6rem; margin-bottom: 10px; }
.home .vm-item p { color: var(--ink); font-size: 1.05rem; line-height: 1.8; }

/* ===== Programmes ===== */
.home .programme-panels { grid-template-columns: 1fr 1fr; gap: 28px; }

/* ===== Gifts ===== */
.home a.gift {
    display: block; background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 28px 24px; transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.home a.gift:hover, .home a.gift:focus-visible { transform: translateY(-4px); border-color: var(--orange); box-shadow: var(--shadow); }
.home .gift .gift-amount { font-family: var(--font-head); font-size: 2.2rem; font-weight: 800; color: var(--orange); line-height: 1; margin-bottom: 12px; }
.home .gift p:not(.gift-amount) { color: var(--muted); font-size: .95rem; margin-bottom: 18px; min-height: 3.4em; }
.home .gift .gift-link { color: var(--green-deep); font-weight: 700; }
.home .gift .gift-link i { color: var(--orange); margin-right: 6px; }

/* ===== Events: image cards ===== */
.home .event-card .card-media { display: block; width: 100%; height: 200px; object-fit: cover; }
.home .event-card .card-media-placeholder { display: flex; align-items: center; justify-content: center; background: var(--mint); color: var(--green); font-size: 2.6rem; }
.card-meta-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.event-date { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--green-deep); }
.past-card .event-date { color: var(--muted); }
.status-chip { font-size: .72rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.status-chip-upcoming { background: #fde9db; color: var(--orange-dark); }
.status-chip-past { background: var(--mint); color: var(--green); }

/* ===== Gallery ===== */
.home .album-title, .home .album-meta h3 { color: var(--green-deep); font-size: 1.25rem; }

/* ===== News ===== */
.home .news-card .card-body { padding: 28px; }

/* ===== CTA ===== */
.cta-band .btn-outline-light { border-color: #fff; }

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .home .vm-grid { grid-template-columns: 1fr; gap: 36px; }
    .home .programme-panels { grid-template-columns: 1fr; }
    .chapters { grid-template-columns: 1fr; gap: 28px; margin-top: 48px; }
    .chapters::before { display: none; }
}
@media (max-width: 768px) {
    .home .section { padding: 56px 0; }
    .home .section-head { margin-bottom: 32px; }
}