/* Homepage (.scm-home), STAGED REDESIGN for templates/page-front.next.php.
   Tokens, base, buttons (.scm-c-btn) come from core.css. Everything here is scoped under
   .scm-home and uses the hm- prefix, so nothing collides with the header's .scm-* classes.
   No single-side accent borders anywhere: separation is surface, shadow, full hairlines
   or grid gaps. */

.scm-home { overflow-x: clip; }
.scm-home h1, .scm-home h2, .scm-home h3 { font-family: inherit; }
.scm-home a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.scm-home .hm-hero a:focus-visible,
.scm-home .hm-act a:focus-visible,
.scm-home .hm-tile--lead:focus-visible,
.scm-home .hm-tile--photo:focus-visible { outline-color: #fff; }
.scm-home .hm-ticker a:focus-visible { outline-color: var(--navy); }

.scm-home .hm-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* Shared type */
.scm-home .hm-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--navy);
}
.scm-home .hm-eyebrow i { font-size: 11px; }
.scm-home .hm-eyebrow--on-navy { color: var(--gold); }
.scm-home .hm-eyebrow--coral { color: var(--coral); }
.scm-home .hm-h2 {
  font-weight: 800; font-size: clamp(1.65rem, 1.05rem + 2.4vw, 2.7rem);
  color: var(--navy); margin: 14px 0 0; line-height: 1.15; letter-spacing: -.02em;
  text-wrap: balance;
}
.scm-home .hm-head { text-align: center; max-width: 800px; margin: 0 auto 52px; }
.scm-home .hm-head p { color: var(--muted); font-size: 1.08rem; margin: 16px auto 0; max-width: 680px; text-wrap: pretty; }
.scm-home .hm-head--on-navy .hm-h2 { color: #fff; }

.scm-home .hm-btn { justify-content: center; line-height: 1.25; text-align: center; }
.scm-home .hm-btn--sm { padding: 13px 26px; font-size: .92rem; }

.scm-home .hm-textlink {
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px;
  color: var(--navy); font-weight: 700; font-size: 1rem;
  text-decoration: underline; text-decoration-color: var(--gold);
  text-decoration-thickness: 2px; text-underline-offset: 6px;
  transition: color var(--ease), gap var(--ease);
}
.scm-home .hm-textlink:hover { color: var(--navy-deep); gap: 13px; }
.scm-home .hm-textlink i { font-size: 12px; }

/* ============================================================= HERO ===== */
.scm-home .hm-hero {
  position: relative; overflow: hidden; color: #fff;
  width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
  padding: 92px 0 100px;
  background: var(--grad-hero);
}
/* A real Safe City event, washed to brand (DESIGN.md 3.3). Decorative only. */
.scm-home .hm-hero__bg {
  position: absolute; inset: -3%; z-index: 0;
  background: url('https://safecitymississauga.on.ca/wp-content/uploads/2024/05/IMG_2762.jpg') 50% 45% / cover no-repeat;
  filter: brightness(1.2) contrast(1.04) saturate(.85);
  animation: hm-drift 28s ease-in-out infinite alternate;
}
@keyframes hm-drift {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to   { transform: scale(1.07) translate3d(0, -1%, 0); }
}
.scm-home .hm-hero__wash {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(135deg, rgba(13,71,161,.93) 0%, rgba(9,54,128,.88) 45%, rgba(8,45,107,.95) 100%);
}
.scm-home .hm-hero::before {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(circle at 16% 22%, rgba(244,180,0,.18), transparent 38%),
    radial-gradient(circle at 92% 78%, rgba(255,255,255,.07), transparent 40%);
}
.scm-home .hm-hero::after {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .25;
  background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 35%, #000 70%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 35%, #000 70%, transparent 100%);
}
.scm-home .hm-hero__grid {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  grid-template-areas: "copy join" "meta join";
  column-gap: 64px; row-gap: 36px; align-items: start;
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter);
}
.scm-home .hm-hero__copy { grid-area: copy; align-self: end; }
.scm-home .hm-join { grid-area: join; align-self: center; }
.scm-home .hm-hero__meta { grid-area: meta; }

.scm-home .hm-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold);
  background: rgba(244,180,0,.1); border: 1px solid rgba(244,180,0,.35);
  padding: 7px 14px; border-radius: var(--radius-pill); line-height: 1.4;
}
.scm-home .hm-hero__eyebrow i { font-size: 10px; }
.scm-home .hm-hero h1 {
  font-weight: 800; color: #fff;
  font-size: clamp(2.1rem, 1.2rem + 3.6vw, 3.6rem); line-height: 1.05; letter-spacing: -.025em;
  margin: 22px 0 22px;
}
.scm-home .hm-hero h1 .accent { color: var(--gold); white-space: nowrap; }
.scm-home .hm-hero__lede { font-size: 1.12rem; color: var(--on-navy); max-width: 54ch; margin: 0; text-wrap: pretty; }
.scm-home .hm-hero__lede b { color: #fff; font-weight: 700; }

/* Trust rail: one surface, three cells split by full hairlines (the JL fact rail). */
.scm-home .hm-trust {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  max-width: 600px;
  background: rgba(6,29,73,.4); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-card);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  overflow: hidden;
}
.scm-home .hm-trust__item {
  display: flex; align-items: flex-start; gap: 11px; padding: 16px 16px;
  box-shadow: inset -1px 0 0 rgba(255,255,255,.14);
}
.scm-home .hm-trust__item:last-child { box-shadow: none; }
.scm-home .hm-trust__icon {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(244,180,0,.14); color: var(--gold); font-size: 13px;
}
.scm-home .hm-trust__item b { display: block; font-size: .84rem; font-weight: 700; color: #fff; line-height: 1.3; }
.scm-home .hm-trust__item span span { display: block; font-size: .76rem; color: rgba(255,255,255,.7); margin-top: 3px; line-height: 1.35; }

.scm-home .hm-partners { margin-top: 26px; max-width: 600px; }
.scm-home .hm-partners__label {
  font-size: .7rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,.7); margin: 0 0 12px;
}
.scm-home .hm-partners__row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.scm-home .hm-partners__chip {
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border-radius: var(--radius-inset); padding: 10px 18px; height: 56px;
  box-shadow: 0 10px 24px -12px rgba(6,29,73,.7);
}
.scm-home .hm-partners__chip img { height: 32px; width: auto; max-width: 130px; object-fit: contain; }

/* Join card. No cap stripe: the white card on navy plus its shadow is already the
   strongest object in the hero. */
.scm-home .hm-join {
  position: relative; background: #fff; color: var(--ink);
  border-radius: var(--radius-panel); padding: 34px 30px 26px;
  max-width: 460px; width: 100%; justify-self: end;
  box-shadow: 0 30px 80px -24px rgba(6,29,73,.75), 0 10px 24px -12px rgba(6,29,73,.5);
}
.scm-home .hm-join__badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  background: var(--gold); color: var(--navy);
  font-size: .72rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 6px 16px; border-radius: var(--radius-pill); box-shadow: var(--shadow-gold);
}
.scm-home .hm-join__head { text-align: center; margin: 4px 0 22px; }
.scm-home .hm-join__eyebrow { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.scm-home .hm-join__title { font-size: 1.45rem; font-weight: 800; color: var(--navy); margin: 8px 0 0; line-height: 1.2; letter-spacing: -.01em; text-wrap: balance; }
.scm-home .hm-join__sub { font-size: .9rem; color: var(--muted); margin: 8px 0 0; }
.scm-home .hm-join__amounts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0 0 14px; }
.scm-home .hm-join__amount {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 84px; padding: 14px 8px; text-align: center;
  background: #fff; color: var(--navy); border: 2px solid var(--line); border-radius: var(--radius-inset);
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}
.scm-home .hm-join__price { font-weight: 800; font-size: 1.7rem; line-height: 1; letter-spacing: -.02em; }
.scm-home .hm-join__amount small {
  display: block; font-size: .66rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--muted); margin-top: 7px; line-height: 1.3;
}
.scm-home .hm-join__amount:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 12px 28px -14px rgba(13,71,161,.4); color: var(--navy); }
.scm-home .hm-join__amount--featured { border-color: var(--gold); background: #FFF8E1; }
.scm-home .hm-join__cta {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  min-height: 54px; padding: 15px 20px;
  background: var(--navy); color: #fff !important; border-radius: var(--radius-btn);
  font-weight: 800; font-size: 1rem; letter-spacing: .5px; text-transform: uppercase;
  box-shadow: var(--shadow-navy);
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease);
}
.scm-home .hm-join__cta:hover { background: var(--navy-deep); transform: translateY(-2px); box-shadow: var(--shadow-navy-hover); }
.scm-home .hm-join__other { text-align: center; font-size: .86rem; color: var(--muted); margin: 8px 0 0; }
.scm-home .hm-join__other a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px;
  color: var(--navy); font-weight: 700;
  text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px;
}
.scm-home .hm-join__foot {
  font-size: .75rem; color: var(--muted); text-align: center; line-height: 1.5;
  margin: 6px 0 0; padding: 12px 14px; background: var(--cream); border-radius: var(--radius-sm);
}
.scm-home .hm-join__foot i { color: var(--navy); margin-right: 3px; }

/* ===================================================== EVENTS TICKER ===== */
.scm-home .hm-ticker {
  position: relative; overflow: hidden;
  width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
  background: var(--grad-gold); padding: 8px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
}
.scm-home .hm-ticker__track { display: flex; align-items: center; width: max-content; animation: hm-marquee 40s linear infinite; }
.scm-home .hm-ticker:hover .hm-ticker__track,
.scm-home .hm-ticker:focus-within .hm-ticker__track { animation-play-state: paused; }
.scm-home .hm-ticker__item {
  position: relative; display: inline-flex; align-items: center; gap: 16px;
  min-height: 48px; padding: 0 44px; color: var(--navy); white-space: nowrap;
  transition: opacity var(--ease);
}
/* Separator dot between items (replaces a border divider). */
.scm-home .hm-ticker__item::after {
  content: ''; position: absolute; right: -3px; top: 50%; width: 6px; height: 6px; margin-top: -3px;
  border-radius: 50%; background: var(--navy); opacity: .35;
}
.scm-home .hm-ticker__item:hover { opacity: .75; }
.scm-home .hm-ticker__pill {
  display: inline-block; background: var(--navy); color: var(--gold); font-size: .68rem; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 5px 12px; border-radius: var(--radius-pill); font-weight: 800; flex-shrink: 0;
}
.scm-home .hm-ticker__title { font-size: 1rem; font-weight: 800; line-height: 1.2; }
.scm-home .hm-ticker__cta { font-size: .88rem; font-weight: 700; opacity: .85; }
.scm-home .hm-ticker__cta i { margin-left: 4px; font-size: 11px; }
@keyframes hm-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ========================================================= THE ISSUE ===== */
.scm-home .hm-issue { background: #fff; padding: var(--section-y) 0; }
.scm-home .hm-issue__split {
  display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 56px; align-items: center;
}
.scm-home .hm-issue__head .hm-h2 { margin-bottom: 18px; }
.scm-home .hm-issue__panel {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden;
  box-shadow: 0 24px 60px -30px rgba(13,71,161,.35);
}
.scm-home .hm-issue__cell { background: #fff; padding: 30px 26px 28px; display: flex; flex-direction: column; }
.scm-home .hm-issue__icon {
  width: 44px; height: 44px; border-radius: var(--radius-inset); margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(229,83,46,.1); color: var(--coral); font-size: 18px;
}
.scm-home .hm-issue__year { font-size: .74rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.scm-home .hm-issue__num {
  display: block; font-size: clamp(2.4rem, 1.6rem + 2vw, 3.2rem); font-weight: 800; color: var(--coral);
  line-height: 1; margin: 8px 0 12px; letter-spacing: -.03em; font-variant-numeric: tabular-nums;
}
.scm-home .hm-issue__label { color: var(--ink-soft); font-size: .95rem; line-height: 1.5; }

/* ============================================================= VIDEO ===== */
.scm-home .hm-video { background: var(--cream); padding: var(--section-y) 0; }
.scm-home .hm-video__grid {
  display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 56px; align-items: center;
}
.scm-home .hm-video__copy p { color: var(--ink-soft); font-size: 1.08rem; margin: 16px 0 0; max-width: 40ch; }
.scm-home .hm-video__frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius-card); overflow: hidden;
  background: var(--navy-night); box-shadow: var(--shadow-frame);
}
.scm-home .hm-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ============================================ FLAGSHIP: NEIGHBOURHOOD WATCH ===== */
.scm-home .hm-nw { background: #fff; padding: var(--section-y) 0; }
.scm-home .hm-nw__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center;
}
.scm-home .hm-nw__lede { color: var(--ink-soft); font-size: 1.08rem; margin: 18px 0 0; line-height: 1.6; }
.scm-home .hm-nw__lede b { color: var(--navy); }
.scm-home .hm-nw__benefits {
  list-style: none; margin: 26px 0 30px; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
}
.scm-home .hm-nw__benefits li {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; background: var(--cream); border-radius: var(--radius-inset);
  font-size: .9rem; font-weight: 600; color: var(--navy); line-height: 1.3;
}
.scm-home .hm-nw__benefits i { flex-shrink: 0; width: 16px; text-align: center; color: var(--navy); opacity: .75; font-size: 13px; }
.scm-home .hm-nw__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.scm-home .hm-nw__note { font-size: .86rem; color: var(--muted); }
.scm-home .hm-nw__note i { color: var(--navy); margin-right: 5px; }

.scm-home .hm-nw__visual { position: relative; }
.scm-home .hm-nw__photo { margin: 0; }
.scm-home .hm-nw__photo img {
  width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 40%;
  border-radius: var(--radius-card); box-shadow: var(--shadow-frame);
}
.scm-home .hm-steps {
  position: relative; margin: -110px 0 0 40px;
  background: var(--grad-panel); color: #fff; border-radius: var(--radius-panel);
  padding: 28px 28px 26px; box-shadow: 0 28px 70px -24px rgba(6,29,73,.7);
}
.scm-home .hm-steps__title { font-size: .78rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin: 0 0 4px; }
.scm-home .hm-steps__sub { font-size: .9rem; color: rgba(255,255,255,.75); margin: 0 0 18px; }
.scm-home .hm-steps__list { list-style: none; margin: 0; padding: 0; }
.scm-home .hm-step { position: relative; display: flex; gap: 16px; padding: 0 0 18px; }
.scm-home .hm-step:last-child { padding-bottom: 0; }
.scm-home .hm-step:not(:last-child)::before {
  content: ''; position: absolute; left: 19px; top: 44px; bottom: 4px; width: 2px;
  background: rgba(255,255,255,.16); border-radius: 2px;
}
.scm-home .hm-step__num {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold); color: var(--navy); font-size: 15px;
}
.scm-home .hm-step h3 { margin: 0 0 3px; font-size: 1.02rem; font-weight: 800; color: #fff; line-height: 1.3; }
.scm-home .hm-step p { margin: 0; font-size: .9rem; color: rgba(255,255,255,.82); line-height: 1.5; }

/* ========================================================== PROGRAMS ===== */
.scm-home .hm-prog { background: var(--cream); padding: var(--section-y) 0; }
.scm-home .hm-prog__grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
}
.scm-home .hm-prog__item { display: flex; }
.scm-home .hm-prog__item--lead { grid-column: span 2; }

.scm-home .hm-tile {
  position: relative; display: flex; flex-direction: column; width: 100%; min-height: 280px;
  padding: 28px 26px 26px; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card);
  color: var(--ink);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.scm-home .hm-tile:hover {
  transform: translateY(-4px); border-color: rgba(13,71,161,.22);
  box-shadow: 0 24px 60px -20px rgba(13,71,161,.45);
}
.scm-home .hm-tile__media {
  width: 56px; height: 56px; border-radius: 14px; margin-bottom: 22px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad-panel); color: var(--gold); font-size: 22px;
}
.scm-home .hm-tile__body { display: flex; flex-direction: column; flex: 1; }
.scm-home .hm-tile__tag {
  align-self: flex-start; font-size: .66rem; font-weight: 800; letter-spacing: 1.3px; text-transform: uppercase;
  color: var(--navy); background: rgba(13,71,161,.07); padding: 4px 10px; border-radius: var(--radius-pill);
}
.scm-home .hm-tile h3 { font-size: 1.2rem; font-weight: 800; color: var(--navy); margin: 12px 0 8px; line-height: 1.2; letter-spacing: -.01em; }
.scm-home .hm-tile__desc { display: block; color: var(--muted); font-size: .93rem; line-height: 1.55; margin-bottom: 18px; }
.scm-home .hm-tile__more {
  margin-top: auto; display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: .9rem; color: var(--navy); transition: gap var(--ease);
}
.scm-home .hm-tile__more i { font-size: 12px; }
.scm-home .hm-tile:hover .hm-tile__more { gap: 12px; }

/* Lead tile: navy panel, the program most neighbours start with. */
.scm-home .hm-tile--lead {
  background: var(--grad-panel); border-color: transparent; color: #fff;
  padding: 36px 40px 34px; justify-content: flex-end;
}
.scm-home .hm-tile--lead::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .22;
  background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1px); background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(120deg, transparent 20%, #000 70%); mask-image: linear-gradient(120deg, transparent 20%, #000 70%);
}
.scm-home .hm-tile--lead .hm-tile__media {
  position: absolute; right: 36px; top: 34px; margin: 0; width: 120px; height: 120px; border-radius: 50%;
  background: rgba(244,180,0,.14); font-size: 48px;
  box-shadow: 0 0 0 14px rgba(244,180,0,.06);
}
.scm-home .hm-tile--lead .hm-tile__body { position: relative; z-index: 1; flex: 0 1 auto; max-width: 440px; }
.scm-home .hm-tile--lead .hm-tile__tag { background: rgba(244,180,0,.16); color: var(--gold); }
.scm-home .hm-tile--lead h3 { color: #fff; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); margin-top: 14px; letter-spacing: -.02em; }
.scm-home .hm-tile--lead .hm-tile__desc { color: var(--on-navy); font-size: 1.02rem; }
.scm-home .hm-tile--lead .hm-tile__more { color: var(--gold); }
.scm-home .hm-tile--lead:hover { border-color: transparent; box-shadow: 0 28px 70px -18px rgba(13,71,161,.6); }

/* Photo tiles: the photograph is the tile, washed navy from the bottom for legibility. */
.scm-home .hm-tile--photo { border-color: transparent; color: #fff; justify-content: flex-end; background: var(--navy-darker); }
.scm-home .hm-tile--photo .hm-tile__media {
  position: absolute; inset: 0; width: auto; height: auto; margin: 0; border-radius: 0; background: none;
}
.scm-home .hm-tile--photo .hm-tile__media img {
  width: 100%; height: 100%; object-fit: cover; max-width: none; transition: transform .4s ease;
}
.scm-home .hm-tile--photo .hm-tile__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,45,107,.05) 0%, rgba(8,45,107,.55) 45%, rgba(6,29,73,.95) 100%);
}
.scm-home .hm-tile--photo .hm-tile__body { position: relative; z-index: 1; flex: 0 1 auto; padding-top: 70px; }
.scm-home .hm-tile--photo .hm-tile__tag { background: var(--gold); color: var(--navy); }
.scm-home .hm-tile--photo h3 { color: #fff; }
.scm-home .hm-tile--photo .hm-tile__desc { color: rgba(255,255,255,.88); }
.scm-home .hm-tile--photo .hm-tile__more { color: #fff; }
.scm-home .hm-tile--photo:hover { border-color: transparent; }
.scm-home .hm-tile--photo:hover .hm-tile__media img { transform: scale(1.05); }

/* =================================================== MAKE AN IMPACT ===== */
.scm-home .hm-act {
  position: relative; overflow: hidden; color: #fff; padding: var(--section-y) 0;
  background: var(--grad-band);
}
.scm-home .hm-act::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 84% 18%, rgba(244,180,0,.14), transparent 38%);
}
.scm-home .hm-act::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .18;
  background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1px); background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 40%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 40%, transparent 100%);
}
.scm-home .hm-act .hm-wrap { position: relative; z-index: 1; }
.scm-home .hm-act__grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
}
.scm-home .hm-way {
  display: flex; flex-direction: column; align-items: flex-start;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-panel); padding: 30px 30px 32px;
  transition: transform var(--ease), background var(--ease), box-shadow var(--ease);
}
.scm-home .hm-way:hover { transform: translateY(-4px); background: rgba(255,255,255,.09); box-shadow: 0 28px 60px -28px rgba(0,8,30,.6); }
.scm-home .hm-way__num {
  display: block; font-size: 4.2rem; font-weight: 800; line-height: .9; letter-spacing: -.04em;
  color: var(--gold); margin-bottom: 20px; font-variant-numeric: tabular-nums;
}
@supports (-webkit-text-stroke: 1px #000) {
  .scm-home .hm-way__num { color: transparent; -webkit-text-stroke: 2px var(--gold); }
}
.scm-home .hm-way h3 { color: #fff; font-size: 1.3rem; font-weight: 800; margin: 0 0 10px; line-height: 1.2; letter-spacing: -.01em; }
.scm-home .hm-way p { color: var(--on-navy); font-size: .97rem; line-height: 1.6; margin: 0 0 24px; flex: 1; }
.scm-home .hm-way p b { color: var(--gold); }

/* ========================================================= OUR IMPACT ===== */
.scm-home .hm-impact { background: #fff; padding: var(--section-y) 0; }
.scm-home .hm-impact__top {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; align-items: center;
  margin-bottom: 56px;
}
.scm-home .hm-impact__intro p { color: var(--ink-soft); font-size: 1.08rem; margin: 18px 0 0; max-width: 62ch; }

.scm-home .hm-sat {
  position: relative; display: grid; grid-template-columns: 112px 1fr; gap: 22px; align-items: center;
  background: var(--grad-panel); color: #fff; border-radius: var(--radius-panel);
  padding: 26px 28px; box-shadow: 0 24px 60px -20px rgba(13,71,161,.45);
}
.scm-home .hm-sat__ring { grid-column: 1; grid-row: 1; width: 112px; height: 112px; transform: rotate(-90deg); }
.scm-home .hm-sat__track { fill: none; stroke: rgba(255,255,255,.14); stroke-width: 8; }
.scm-home .hm-sat__fill { fill: none; stroke: var(--gold); stroke-width: 8; stroke-linecap: round; }
.scm-home .hm-sat__num {
  grid-column: 1; grid-row: 1; justify-self: center;
  font-size: 1.7rem; font-weight: 800; color: var(--gold); letter-spacing: -.03em; line-height: 1;
}
.scm-home .hm-sat p { grid-column: 2; grid-row: 1; margin: 0; font-size: .98rem; color: var(--on-navy); line-height: 1.5; }
.scm-home .hm-sat p b { color: #fff; display: block; font-size: 1.1rem; margin-bottom: 2px; }

.scm-home .hm-impact__groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.scm-home .hm-group__label {
  display: flex; align-items: center; gap: 12px; margin: 0 0 16px;
  font-size: .8rem; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; color: var(--navy); line-height: 1.3;
}
.scm-home .hm-group__icon {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad-panel); color: var(--gold); font-size: 14px;
}
.scm-home .hm-group__grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden;
}
.scm-home .scm-stat {
  display: flex; flex-direction: column; justify-content: flex-start;
  background: #fff; padding: 24px 20px 22px; transition: background var(--ease);
}
.scm-home .scm-stat:hover { background: var(--cream); }
.scm-home .scm-stat__num {
  display: block; font-size: clamp(1.6rem, 1.1rem + 1.3vw, 2.3rem); font-weight: 800; color: var(--navy);
  line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums;
}
.scm-home .scm-stat__label { display: block; color: var(--muted); font-size: .88rem; margin-top: 10px; line-height: 1.4; }

.scm-home .hm-impact__cta { text-align: center; margin: 56px 0 0; }

/* ======================================================== RESPONSIVE ===== */
@media (max-width: 960px) {
  .scm-home .hm-hero { padding: 64px 0 72px; }
  .scm-home .hm-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "join" "meta";
    row-gap: 40px; max-width: 640px;
  }
  .scm-home .hm-join { justify-self: center; }
  .scm-home .hm-trust, .scm-home .hm-partners { max-width: none; }

  .scm-home .hm-issue, .scm-home .hm-video, .scm-home .hm-nw,
  .scm-home .hm-prog, .scm-home .hm-act, .scm-home .hm-impact { padding: var(--section-y-tight) 0; }

  .scm-home .hm-issue__split { grid-template-columns: 1fr; gap: 32px; }
  .scm-home .hm-issue__head { text-align: center; max-width: 640px; margin: 0 auto; }
  .scm-home .hm-video__grid { grid-template-columns: 1fr; gap: 32px; }
  .scm-home .hm-video__copy { text-align: center; }
  .scm-home .hm-video__copy p { margin-left: auto; margin-right: auto; }

  .scm-home .hm-nw__grid { grid-template-columns: 1fr; gap: 44px; max-width: 640px; margin: 0 auto; }

  .scm-home .hm-prog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scm-home .hm-prog__item--nno { grid-column: span 2; }

  .scm-home .hm-act__grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; gap: 16px; }
  .scm-home .hm-way {
    display: grid; grid-template-columns: auto 1fr; column-gap: 22px; align-items: start; padding: 26px 26px 28px;
  }
  .scm-home .hm-way__num { grid-row: 1 / span 3; font-size: 3rem; margin: 0; }
  .scm-home .hm-way .hm-btn { justify-self: start; }

  .scm-home .hm-impact__top { grid-template-columns: 1fr; gap: 32px; margin-bottom: 44px; }
  .scm-home .hm-impact__groups { grid-template-columns: 1fr; gap: 32px; }
  .scm-home .hm-sat { max-width: 560px; }
}
@media (max-width: 620px) {
  .scm-home .hm-wrap, .scm-home .hm-hero__grid { padding-left: var(--gutter-sm); padding-right: var(--gutter-sm); }
  .scm-home .hm-head { margin-bottom: 32px; }
  .scm-home .hm-head p { font-size: 1rem; }

  .scm-home .hm-issue, .scm-home .hm-video, .scm-home .hm-nw,
  .scm-home .hm-prog, .scm-home .hm-act, .scm-home .hm-impact { padding: 52px 0; }

  /* Hero */
  .scm-home .hm-hero { padding: 44px 0 52px; }
  .scm-home .hm-hero__grid { row-gap: 34px; }
  .scm-home .hm-hero__eyebrow { font-size: 10.5px; letter-spacing: 1.6px; padding: 6px 12px; }
  .scm-home .hm-hero h1 { margin: 18px 0 16px; }
  .scm-home .hm-hero__lede { font-size: 1.02rem; }
  .scm-home .hm-join { padding: 30px 20px 20px; }
  .scm-home .hm-join__title { font-size: 1.25rem; }
  .scm-home .hm-join__price { font-size: 1.5rem; }
  .scm-home .hm-join__amount { min-height: 76px; }
  .scm-home .hm-trust__item { flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 14px 8px; }
  .scm-home .hm-trust__item b { font-size: .76rem; }
  .scm-home .hm-trust__item span span { font-size: .7rem; }
  .scm-home .hm-partners { text-align: center; }
  .scm-home .hm-partners__row { justify-content: center; gap: 8px; flex-wrap: nowrap; }
  .scm-home .hm-partners__chip { flex: 1 1 0; min-width: 0; height: 52px; padding: 8px 10px; }
  .scm-home .hm-partners__chip img { height: 28px; max-width: 100%; }

  .scm-home .hm-ticker { padding: 4px 0; }
  .scm-home .hm-ticker__item { padding: 0 26px; gap: 10px; }
  .scm-home .hm-ticker__pill { font-size: .62rem; padding: 4px 10px; }
  .scm-home .hm-ticker__title { font-size: .88rem; }
  .scm-home .hm-ticker__cta { display: none; }

  /* Issue: each problem is a row, number left, words right. */
  .scm-home .hm-issue__panel { grid-template-columns: 1fr; }
  .scm-home .hm-issue__cell {
    display: grid; grid-template-columns: 6.6rem 1fr; column-gap: 16px; align-items: center; padding: 18px 18px;
  }
  .scm-home .hm-issue__icon { display: none; }
  .scm-home .hm-issue__num { grid-column: 1; grid-row: 1 / span 2; margin: 0; font-size: 2.2rem; }
  .scm-home .hm-issue__year { grid-column: 2; font-size: .68rem; }
  .scm-home .hm-issue__label { grid-column: 2; font-size: .9rem; line-height: 1.4; margin-top: 2px; }

  /* NW */
  .scm-home .hm-nw__lede { font-size: 1rem; }
  .scm-home .hm-nw__benefits { gap: 8px; margin: 22px 0 26px; }
  .scm-home .hm-nw__benefits li { padding: 10px 10px; font-size: .82rem; gap: 8px; }
  .scm-home .hm-nw__actions { flex-direction: column; align-items: stretch; text-align: center; }
  .scm-home .hm-steps { margin: -56px 10px 0; padding: 24px 20px 22px; }
  .scm-home .hm-nw__photo img { aspect-ratio: 4 / 3; }

  /* Programs: a compact list. Thumb left, words right, chevron for the "Explore". */
  .scm-home .hm-prog__grid { grid-template-columns: 1fr; gap: 10px; }
  .scm-home .hm-prog__item--lead, .scm-home .hm-prog__item--nno { grid-column: auto; }
  .scm-home .hm-tile,
  .scm-home .hm-tile--lead,
  .scm-home .hm-tile--photo {
    display: grid; grid-template-columns: 56px 1fr; column-gap: 14px; align-items: center;
    min-height: 0; padding: 16px 40px 16px 14px;
  }
  .scm-home .hm-tile__media,
  .scm-home .hm-tile--lead .hm-tile__media,
  .scm-home .hm-tile--photo .hm-tile__media {
    position: relative; inset: auto; right: auto; top: auto;
    width: 56px; height: 56px; margin: 0; border-radius: 14px; font-size: 20px; box-shadow: none; overflow: hidden;
  }
  .scm-home .hm-tile--lead .hm-tile__media { background: rgba(244,180,0,.16); }
  .scm-home .hm-tile--photo { background: #fff; border-color: var(--line); color: var(--ink); }
  .scm-home .hm-tile--photo .hm-tile__media::after { display: none; }
  .scm-home .hm-tile--photo .hm-tile__body { padding-top: 0; }
  .scm-home .hm-tile--photo .hm-tile__tag { background: rgba(13,71,161,.07); color: var(--navy); }
  .scm-home .hm-tile--photo h3 { color: var(--navy); }
  .scm-home .hm-tile--photo .hm-tile__desc { color: var(--muted); }
  .scm-home .hm-tile__tag { font-size: .6rem; padding: 3px 8px; }
  .scm-home .hm-tile h3, .scm-home .hm-tile--lead h3 { font-size: 1.04rem; margin: 6px 0 3px; letter-spacing: -.005em; }
  .scm-home .hm-tile__desc, .scm-home .hm-tile--lead .hm-tile__desc { font-size: .88rem; line-height: 1.45; margin: 0; }
  .scm-home .hm-tile__more {
    position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
    margin: 0; font-size: 0; gap: 0; color: var(--navy);
  }
  .scm-home .hm-tile__more i { font-size: 13px; }
  .scm-home .hm-tile--lead .hm-tile__more { color: var(--gold); }
  .scm-home .hm-tile--photo .hm-tile__more { color: var(--navy); }
  .scm-home .hm-tile--lead .hm-tile__body, .scm-home .hm-tile--photo .hm-tile__body { position: static; }

  /* Ways */
  .scm-home .hm-way { column-gap: 14px; padding: 22px 20px 24px; align-items: center; }
  .scm-home .hm-way__num { grid-row: 1; font-size: 2.3rem; }
  .scm-home .hm-way h3 { grid-column: 2; font-size: 1.12rem; margin: 0; }
  .scm-home .hm-way p { grid-column: 1 / -1; font-size: .92rem; margin: 14px 0 18px; }
  .scm-home .hm-way .hm-btn { grid-column: 1 / -1; }

  /* Impact */
  .scm-home .hm-impact__intro p { font-size: 1rem; }
  .scm-home .hm-sat { grid-template-columns: 84px 1fr; gap: 16px; padding: 20px 18px; }
  .scm-home .hm-sat__ring { width: 84px; height: 84px; }
  .scm-home .hm-sat__num { font-size: 1.3rem; }
  .scm-home .hm-sat p { font-size: .9rem; }
  .scm-home .hm-sat p b { font-size: 1rem; }
  .scm-home .hm-group__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scm-home .scm-stat { padding: 18px 14px 16px; }
  .scm-home .scm-stat__label { font-size: .8rem; margin-top: 8px; }
  .scm-home .hm-impact__cta { margin-top: 40px; }
  .scm-home .hm-impact__cta .hm-btn { width: 100%; padding-left: 20px; padding-right: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .scm-home .hm-hero__bg { animation: none; }
  .scm-home .hm-ticker { -webkit-mask-image: none; mask-image: none; }
  .scm-home .hm-ticker__track { animation: none; width: 100%; flex-wrap: wrap; justify-content: center; }
  .scm-home .hm-ticker__track > .hm-ticker__item[data-dup="1"] { display: none; }
  .scm-home .hm-ticker__item::after { display: none; }
}
