/* Homepage-only styles; Module 2's shared layout remains unchanged. */
.home-page { margin-top: -2rem; }
.home-preview-notice { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem .8rem; font-size: .8rem; color: var(--foundation-muted); margin-bottom: 1.2rem; }
.home-preview-notice > span:last-child { margin-left: auto; }
.home-preview-dot { width: 7px; height: 7px; background: var(--foundation-accent); border-radius: 50%; }
.home-hero { position: relative; background: #163d33; border-radius: .6rem; overflow: hidden; }
.home-slide { position: relative; min-height: clamp(660px, 52vw, 810px); display: flex; align-items: center; }
.home-slide[hidden], .home-slider-controls[hidden] { display: none; }
.home-hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.home-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #153c33 0%, #153c33ee 32%, #153c3380 62%, #153c3308 100%); }
.home-hero-copy { position: relative; z-index: 1; width: min(100%, 660px); padding: 3.5rem 3.5rem 7rem; color: #f8faf5; }
.home-eyebrow { font-size: .73rem; text-transform: uppercase; letter-spacing: .13em; font-weight: 650; margin-bottom: 1rem; color: var(--foundation-accent); }
.home-hero-copy .home-eyebrow { color: #e3dbb9; }
.foundation-main .home-hero-copy :is(h1,h2) { font-size: clamp(2.35rem, 4.5vw, 4rem); font-weight: 550; letter-spacing: -.04em; color: #fff; max-width: 10em; }
.home-hero-copy > p:not(.home-eyebrow) { max-width: 33rem; color: #e5ede8; font-size: 1.05rem; }
.home-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.1rem; margin-top: 1.75rem; }
.home-actions .foundation-button { gap: 1rem; }
.foundation-main .home-hero a.foundation-button { background: #e8e1c6; border-color: #e8e1c6; color: #203b36; }
.foundation-main .home-hero a.foundation-button:hover { background: #fff4d4; color: #203b36; }
.foundation-main .home-hero-link { color: #fff; font-size: .9rem; }
.home-hero :is(a,button):focus-visible { outline-color: #fff; }
.home-slider-controls { position: absolute; z-index: 2; bottom: 1.5rem; left: 3.5rem; right: 3.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.home-slider-arrows, .home-slider-dots { display: flex; gap: .5rem; flex-wrap: wrap; }
.home-slider-controls button { min-width: 44px; min-height: 44px; padding: .4rem .7rem; border: 1px solid #aec0b5; border-radius: .3rem; background: #153c33; color: #fff; }
.home-slider-controls button:hover { background: #2b5746; }
.home-slider-dots button { border-radius: 50%; min-width: 32px; min-height: 32px; font-size: .75rem; padding: .2rem; }
.home-slider-dots button[aria-current="true"] { background: #e8e1c6; color: #203b36; border-color: #e8e1c6; }
.home-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.home-quick-links { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--foundation-border); }
.home-quick-links a { padding: 1.4rem 1rem; display: flex; gap: 1rem; align-items: center; text-decoration: none; font-size: .9rem; font-weight: 600; }
.home-quick-links a > span:first-child { color: var(--foundation-muted); font-size: .75rem; font-weight: 400; }
.home-quick-links a > span:last-child { margin-left: auto; }
.home-quick-links a:hover { background: #edf2ed; }
.home-section { margin-top: clamp(2rem, 4vw, 3.5rem); scroll-margin-top: 1.5rem; }
.home-section h2 { font-size: clamp(1.85rem, 3vw, 2.65rem); font-weight: 550; letter-spacing: -.035em; }
.home-section p:not(.home-eyebrow) { color: var(--foundation-muted); }
.home-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.home-intro-figure { margin: 0; }
.home-intro-figure img { display: block; width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; border-radius: .4rem; }
.home-page figcaption { font-size: .75rem; color: var(--foundation-muted); margin-top: .75rem; }
.home-text-link { font-weight: 600; }
.home-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1.5rem; }
.home-section-heading > p { max-width: 23rem; font-size: .9rem; }
.home-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.5rem; }
.home-program-card { background: #fff; border: 1px solid var(--foundation-border); border-radius: .4rem; overflow: hidden; }
.home-program-card img { width: 100%; height: auto; aspect-ratio: 16/11; object-fit: cover; }
.home-program-card > div { padding: 1.5rem; }
.home-card-grid h3 { font-size: 1.3rem; font-weight: 600; }
.home-card-grid p { font-size: .9rem; margin-bottom: 0; }
.home-card-grid .home-eyebrow { margin-bottom: .75rem; }
.home-impact { background: #edf2ed; border-radius: .4rem; padding: 2.5rem; display: grid; grid-template-columns: minmax(0,1fr); gap: 1.5rem; }
.home-impact h2 { font-size: 2rem; }
.home-statistics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; margin: 0; }
.home-statistics > div { min-width: 0; display: flex; flex-direction: column; gap: .65rem; padding: clamp(1rem, 2vw, 1.5rem); background: var(--foundation-surface); border: 1px solid var(--foundation-border); border-radius: .6rem; }
.home-statistics dt { overflow-wrap: break-word; font-size: .95rem; line-height: 1.5; font-weight: 600; color: var(--foundation-muted); }
.home-statistics dd { overflow-wrap: break-word; font-size: clamp(1.15rem, 1.8vw, 1.5rem); font-weight: 650; color: var(--foundation-accent); line-height: 1.45; margin: 0; }
.home-gallery-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.5rem; }
.home-gallery-grid figure { margin: 0; }
.home-gallery-grid img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: .4rem; }
.home-news-grid article { padding: 1.5rem 0; border-top: 2px solid var(--foundation-border); }
.home-cta { text-align: center; background: #edeadf; padding: 3.5rem 2rem; border-radius: .4rem; }
.home-cta > p:not(.home-eyebrow) { max-width: 38rem; margin-inline: auto; }
.home-cta .home-actions { justify-content: center; }
@media (prefers-reduced-motion: no-preference) { .home-slide { animation: home-slide-enter .35s ease-out; } @keyframes home-slide-enter { from { opacity: .6; } to { opacity: 1; } } }
@media (max-width: 991px) {
  .home-hero-copy { padding-inline: 2rem; max-width: 580px; }
  .home-slider-controls { left: 2rem; right: 2rem; }
  .home-impact { grid-template-columns: 1fr; }
  .home-card-grid { gap: 1rem; }
  .home-program-card > div { padding: 1rem; }
}
@media (max-width: 767px) {
  .home-page { margin-top: -1rem; }
  .home-preview-notice > span:last-child { margin-left: 0; flex-basis: 100%; }
  .home-slide { min-height: 650px; min-height: clamp(650px, 85svh, 760px); }
  .home-slide::after { background: linear-gradient(90deg,#153c33f5,#153c33b0); }
  .home-hero-art { object-position: 65% center; }
  .home-hero-copy { padding: 2rem 1.5rem 10rem; }
  .home-slider-controls { left: 1.5rem; right: 1.5rem; bottom: 1.5rem; gap: 1.25rem; }
  .home-slider-dots { gap: .55rem; }
  .home-quick-links { grid-template-columns: 1fr; }
  .home-quick-links a { padding-inline: .25rem; border-bottom: 1px solid var(--foundation-border); }
  .home-intro, .home-card-grid, .home-gallery-grid { grid-template-columns: 1fr; }
  .home-section-heading { align-items: start; flex-direction: column; gap: .5rem; }
  .home-section-heading > p { max-width: none; }
  .home-impact { padding: 1.5rem; }
  .home-statistics { grid-template-columns: minmax(0,1fr); gap: .75rem; }
  .home-cta { padding: 2.5rem 1.5rem; }
}

/* Distinct light section surfaces; carousel imagery/overlay are unchanged. */
.home-page > .home-preview-notice {
  background: var(--foundation-section-cream);
  padding: .9rem 1rem;
  border: 1px solid #eadfc7;
  border-radius: .6rem;
}
.home-page > .home-quick-links { background: var(--foundation-surface); border-radius: 0 0 .6rem .6rem; }
.home-page > .home-section {
  padding: clamp(1.25rem, 3vw, 2.5rem);
  border: 1px solid var(--foundation-border);
  border-radius: .75rem;
}
.home-page > .home-intro { background: var(--foundation-section-blue); }
.home-page > #sample-programs { background: var(--foundation-section-mint); }
.home-page > .home-impact { background: #e8f4ee; }
.home-page > #sample-gallery { background: var(--foundation-section-cream); }
.home-page > #home-news { background: var(--foundation-section-lavender); }
.home-page > .home-cta { background: #fff2dc; padding-block: clamp(2rem, 4vw, 3.5rem); }
.home-gallery-grid figure {
  background: var(--foundation-surface);
  padding: 1rem;
  border: 1px solid var(--foundation-border);
  border-radius: .6rem;
}
.home-news-grid article {
  background: var(--foundation-surface);
  padding: 1.25rem;
  border: 1px solid var(--foundation-border);
  border-top: 3px solid #d3dfee;
  border-radius: .6rem;
}


/* Independent AJAX collection paging leaves the slideshow and other content intact. */
.home-page [data-home-page][aria-busy="true"] { opacity: .6; cursor: progress; }
.home-page .home-page-status { min-height: 1.5em; margin-block: .75rem; }
.home-page .home-page-status:empty { min-height: 0; margin: 0; }

/* Familiar icon controls, with accessible names and native tooltips. */
.home-slider-arrows button { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; padding: .5rem; border-radius: 50%; }
.home-slider-dots button { display: inline-grid; place-items: center; width: 32px; height: 32px; }
.home-slider-dot { display: block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.home-page :is(.home-text-link, .home-hero-link) { display: inline-flex; align-items: center; gap: .4rem; }
.home-page .home-quick-links .material-symbols-outlined { font-size: 1.25rem; }
.foundation-site.public-icons-unavailable [data-slide-pause-label] { position: static; width: auto; height: auto; clip: auto; overflow: visible; }
.foundation-site.public-icons-unavailable .home-slider-arrows button { width: auto; }
.foundation-site.public-icons-unavailable [data-slide-prev]::before { content: "←"; }
.foundation-site.public-icons-unavailable [data-slide-next]::before { content: "→"; }
