/* Program pages (schools, parents, workplace, corporate, individuals, sports) */

.nav a[aria-current] { color: var(--green-500); }

/* Page hero */
.phero { position: relative; background: linear-gradient(160deg, var(--green-800), var(--green-900)); color: #fff; padding: clamp(40px, 7vw, 80px) 0 calc(clamp(48px, 7vw, 88px) + 56px); overflow: hidden; }
.phero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 2px dashed rgba(143,179,163,.35); box-shadow: 0 0 0 40px rgba(143,179,163,.05), 0 0 0 90px rgba(143,179,163,.04); pointer-events: none; }
.phero__inner { position: relative; z-index: 1; }
.phero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.02em; max-width: 18ch; margin-bottom: .35em; }
.phero__sub { font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: #d6e6e0; max-width: 46ch; }
.phero .hero__actions { margin-bottom: 0; }
.phero .batik { position: absolute; left: 0; right: 0; bottom: 0; height: 56px; }
.crumbs { font: 600 .82rem var(--f-head); color: #a9c6ba; margin-bottom: 1.6em; }
.crumbs a { color: #cfe0d8; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { margin: 0 .4em; opacity: .6; }

/* Program switcher */
.pnav { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 64px; z-index: 40; }
.pills { list-style: none; display: flex; gap: 8px; padding: 12px 0; margin: 0; overflow-x: auto; scrollbar-width: none; }
.pills::-webkit-scrollbar { display: none; }
.pills a { display: block; white-space: nowrap; font: 600 .88rem var(--f-head); padding: .55em 1.1em; border-radius: 999px; color: var(--green-800); background: var(--mint); text-decoration: none; border: 1px solid transparent; }
.pills a:hover { border-color: var(--sage); }
.pills a[aria-current="page"] { background: var(--green-800); color: #fff; }
html { scroll-padding-top: 130px; }

/* Stats with two items */
.stats--2 { grid-template-columns: repeat(2, 1fr); }

/* Challenge list as grid */
.numlist--grid { grid-template-columns: repeat(2, 1fr); gap: 22px 40px; margin-top: 2em; }
.section--tint .numlist--grid li { background: var(--paper); border-radius: 14px; padding: 18px 20px 18px 12px; box-shadow: var(--shadow); }

.outcomes { margin-top: 2em; }

/* Path (program steps) */
.path { list-style: none; counter-reset: p; padding: 0; margin: 2.2em 0 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 14px; }
.path li { counter-increment: p; position: relative; background: var(--paper); border-radius: var(--radius); padding: 22px 20px; box-shadow: var(--shadow); }
.path li::before { content: counter(p); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--green-700); color: #fff; font: 800 .95rem var(--f-head); margin-bottom: .9em; }
.path li:last-child::before { background: var(--gold); color: var(--plum); }
.path li p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

.who { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.who__item { border-top: 3px solid var(--sage); padding: 16px 4px 0; }
.who__item:nth-child(2) { border-top-color: var(--green-500); }
.who__item:nth-child(4) { border-top-color: var(--gold); }
.who__item p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

.topics { margin-top: 2.6em; }
.tick { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.tick li { position: relative; padding-left: 30px; color: var(--ink); }
.tick li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: var(--green-500); box-shadow: inset 0 0 0 4px var(--sage-200); }
.formats--panel { margin-top: 0; }
.panel__foot { margin: 1.4em 0 0; font-size: .92rem; color: var(--ink-soft); }

/* Try it today (dark) */
.try { margin-top: 0; }
.trysteps { list-style: none; counter-reset: t; padding: 0; margin: 0; display: grid; gap: 10px; }
.trysteps li { counter-increment: t; position: relative; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 16px 18px 16px 62px; color: #d6e6e0; }
.trysteps li::before { content: counter(t); position: absolute; left: 16px; top: 14px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--sage); color: var(--green-900); font: 800 .9rem var(--f-head); }
.trysteps strong { color: #fff; font-family: var(--f-head); }

/* Other programs */
.others { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 1.6em; }
.other { display: block; background: var(--paper); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); border: 2px solid transparent; transition: border-color .2s, transform .15s; }
.other:hover { border-color: var(--sage); transform: translateY(-2px); }
.other p { margin: 0; font-size: .9rem; color: var(--ink-soft); }
.other h4::after { content: " →"; color: var(--green-500); }

.contact .hero__actions { margin: 1.4em 0 0; }

@media (max-width: 1100px) {
  .path { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); }
  .others { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .phero::after { display: none; }
  .stats--2, .numlist--grid, .who { grid-template-columns: 1fr 1fr; }
  .path { grid-template-columns: 1fr 1fr; }
  .others { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .stats--2, .numlist--grid, .who, .path, .others { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .other { transition: none; } }
