/* ==========================================================================
   enpropeL public website — page layouts (preview)
   ========================================================================== */

/* ===== Home: hero ===== */
.home-hero { position: relative; overflow: hidden; padding: 64px 0 56px; background: var(--g-hero); color: #fff; }
.home-hero::before { content: ''; position: absolute; inset: 0; opacity: .14; background-image: radial-gradient(rgba(255,255,255,.8) 1.5px, transparent 1.5px); background-size: 26px 26px; pointer-events: none; }
.home-hero::after { content: ''; position: absolute; right: -140px; bottom: -160px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(255,215,0,.24), transparent 65%); pointer-events: none; }
.home-hero__glow { position: absolute; top: -120px; left: -100px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.22), transparent 65%); pointer-events: none; }
.home-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 32px; align-items: center; }
.home-hero h1 { color: #fff; font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem); font-weight: 700; text-shadow: 2px 2px 4px rgba(0,0,0,.25); }
.home-hero h1 .accent { color: var(--enp-gold); }
.home-hero__lead { margin-top: 16px; max-width: 600px; color: rgba(255,255,255,.92); font-size: 1.05rem; }
.home-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.home-hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; color: rgba(255,255,255,.85); font-size: .82rem; }
.home-hero__trust li { display: flex; align-items: center; gap: 8px; }
.home-hero__trust svg { width: 16px; height: 16px; color: var(--enp-gold); }

/* ecosystem hub art */
.hub { position: relative; width: 100%; max-width: 420px; aspect-ratio: 1/1; margin: 0 auto; }
.hub__backdrop { position: absolute; top: 50%; left: 50%; width: 94%; height: 94%; border-radius: 42% 58% 63% 37% / 45% 42% 58% 55%; background: rgba(255,255,255,.18); transform: translate(-50%,-50%); animation: blob 14s ease-in-out infinite alternate; }
@keyframes blob { to { border-radius: 58% 42% 37% 63% / 42% 58% 42% 58%; } }
.hub__ring { position: absolute; inset: 11%; border: 1.5px dashed rgba(255,255,255,.45); border-radius: 50%; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Loading state for the jobs/internships/subscriptions boards while their first API call is
   in flight — see assets/js/api.js callers (pages/jobs/jobs.js etc.). */
.board-loading { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 56px 16px; color: var(--text); }
.board-loading__spinner { width: 34px; height: 34px; border: 3px solid var(--line); border-top-color: var(--enp-purple); border-radius: 50%; animation: spin 0.8s linear infinite; }
/* .board__list is now the purple --g-hero gradient (see below) — the plain dark loading text/
   spinner above was sized for a light background, which subscriptions.html's .plans still is. */
.board__list .board-loading { color: rgba(255,255,255,.85); }
.board__list .board-loading__spinner { border-color: rgba(255,255,255,.3); border-top-color: #fff; }
.hub__node { position: absolute; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 32%; transform: translate(-50%,-50%); }
.hub__node img { width: 100%; aspect-ratio: 1/1; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 10px 22px rgba(15,20,60,.35); object-fit: cover; }
.hub__label { padding: 3px 10px; border-radius: var(--r-pill); background: #fff; box-shadow: 0 4px 10px rgba(15,20,60,.2); color: var(--enp-navy); font-size: .7rem; font-weight: 700; white-space: nowrap; }
.hub__node--institutions { top: 24%; left: 24%; flex-direction: column-reverse; }
.hub__node--organizations { top: 24%; left: 76%; flex-direction: column-reverse; }
.hub__node--mentors { top: 76%; left: 24%; }
.hub__node--sponsors { top: 76%; left: 76%; }
.hub__node--student { z-index: 2; top: 50%; left: 50%; width: 42%; }
.hub__node--student img { border-color: var(--enp-gold); border-width: 4px; }
.hub__node--student .hub__label { background: var(--enp-gold); }
/* Icon variant of a hub node (students.html's hero — student at the centre, their own
   opportunities in the ring, reusing the home page's hub layout/animation but swapped for
   icon tiles instead of role photos, since there's no dedicated photo per opportunity).
   Positions below are named for their content (--community, --orgs, etc.) and are separate
   from the --institutions/--organizations/--mentors/--sponsors corner positions above, which
   the home page's own hub still uses — six evenly-spaced hexagon points, not reused corners. */
.hub__icon { width: 100%; aspect-ratio: 1/1; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 10px 22px rgba(15,20,60,.35); display: flex; align-items: center; justify-content: center; }
.hub__icon svg { width: 42%; height: 42%; }
.hub__node--n6 { width: 27%; }
.hub__node--community { top: 12%; left: 50%; flex-direction: column-reverse; }
.hub__node--orgs { top: 31%; left: 82.9%; flex-direction: column-reverse; }
.hub__node--ai { top: 69%; left: 82.9%; }
.hub__node--events { top: 88%; left: 50%; }
.hub__node--mentors6 { top: 69%; left: 17.1%; }
.hub__node--learning6 { top: 31%; left: 17.1%; flex-direction: column-reverse; }
/* Centre "You" badge — a gradient-filled icon tile instead of a photo, so it reads as the
   focal point among the pastel ring icons rather than a second, visually competing photo. */
.hub__node--student .hub__icon { background: var(--g-hero); border-color: var(--enp-gold); border-width: 4px; }
.hub__node--student .hub__icon svg { color: #fff; width: 38%; height: 38%; }

/* Text-only ecosystem diagram (organizations.html) — no photos, no icons: the circle itself
   carries the words. Eight evenly-spaced ring points (45° steps, same radius math as the --n6
   hexagon above) around one larger centre circle. */
.hub__word { width: 100%; aspect-ratio: 1/1; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-align: center; padding: 8%; background: rgba(255,255,255,.16); border: 2px solid rgba(255,255,255,.55); box-shadow: 0 8px 18px rgba(15,20,60,.25); color: #fff; font-size: .72rem; font-weight: 700; line-height: 1.2; }
.hub__node--n8 { width: 24%; }
.hub__node--p1 { top: 12%; left: 50%; }
.hub__node--p2 { top: 23.13%; left: 76.87%; }
.hub__node--p3 { top: 50%; left: 88%; }
.hub__node--p4 { top: 76.87%; left: 76.87%; }
.hub__node--p5 { top: 88%; left: 50%; }
.hub__node--p6 { top: 76.87%; left: 23.13%; }
.hub__node--p7 { top: 50%; left: 12%; }
.hub__node--p8 { top: 23.13%; left: 23.13%; }
.hub__node--center { z-index: 2; top: 50%; left: 50%; width: 40%; }
.hub__node--center .hub__word { background: var(--enp-gold); border-color: #fff; color: var(--enp-navy); font-size: .82rem; }
@media (max-width: 480px) { .hub__word { font-size: .62rem; } .hub__node--center .hub__word { font-size: .7rem; } }
@media (prefers-reduced-motion: reduce) { .hub__backdrop, .hub__ring { animation: none; } }

/* role strip */
.roles { border-top: 1px solid rgba(255,255,255,.08); background: var(--g-navy); }
.roles__grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.role { display: flex; align-items: flex-start; gap: 12px; padding: 20px 16px; border-right: 1px solid rgba(255,255,255,.14); color: inherit; text-decoration: none; transition: background .15s ease; }
.role:last-child { border-right: 0; }
.role:hover { background: rgba(255,255,255,.06); }
.role h4 { margin-bottom: 2px; color: #fff; font-size: .95rem; font-weight: 700; }
.role p { color: rgba(255,255,255,.78); font-size: .82rem; }
.role .icon-tile { transition: transform .2s ease; }
.role:hover .icon-tile { transform: translateY(-3px) scale(1.06); }

/* quick action strip (Aspira / Learning hub) */
.quick-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.quick-action { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r-xl); background: #fff; box-shadow: var(--sh-2); }
.quick-action .icon-tile { width: 54px; height: 54px; border-radius: 14px; }
.quick-action .icon-tile svg { width: 26px; height: 26px; }
.quick-action h3 { font-size: 1.05rem; }
.quick-action p { color: var(--text); font-size: .86rem; margin-top: 4px; }
.quick-action .btn { margin-left: auto; flex-shrink: 0; }

/* ecosystem cards */
.eco { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.eco__card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; color: inherit; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.eco__card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 16px 30px rgba(26,26,46,.16); }
.eco__photo { width: 100%; height: 130px; overflow: hidden; }
.eco__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.eco__card:hover .eco__photo img { transform: scale(1.08); }
.eco__body { display: flex; flex: 1; flex-direction: column; padding: 16px 16px 18px; background: var(--tone-bg, var(--tint)); }
.eco__body .icon-tile { width: 34px; height: 34px; border-radius: 9px; background: #fff; margin-bottom: 10px; }
.eco__body .icon-tile svg { width: 17px; height: 17px; }
.eco__body h3 { margin-bottom: 6px; color: var(--accent); font-size: 1rem; }
.eco__body > p { margin-bottom: 10px; color: var(--text); font-size: .82rem; }
.eco__body ul { flex: 1; margin-bottom: 14px; }
.eco__body li { position: relative; margin-bottom: 5px; padding-left: 13px; color: var(--text); font-size: .8rem; }
.eco__body li::before { content: ''; position: absolute; top: .55em; left: 0; width: 4px; height: 4px; border-radius: 50%; background: var(--text); }
.eco--purple { --tone-bg: var(--tone-purple-bg); --accent: var(--tone-purple-fg); }
.eco--blue { --tone-bg: var(--tone-blue-bg); --accent: var(--tone-blue-fg); }
.eco--green { --tone-bg: var(--tone-green-bg); --accent: var(--tone-green-fg); }
.eco--orange { --tone-bg: var(--tone-orange-bg); --accent: var(--tone-orange-fg); }

/* programs / events */
.programs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.program { position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 24px 22px; border-radius: var(--r-lg); background: var(--g-navy); color: #fff; }
.program--alt { background: var(--g-violet); }
.program::after { content: ''; position: absolute; right: -80px; top: -80px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(255,215,0,.18), transparent 65%); pointer-events: none; }
.program__type { color: var(--enp-gold); font-family: var(--f-head); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.program h3 { margin: 12px 0 8px; color: #fff; font-size: 1.35rem; }
.program p { max-width: 460px; color: rgba(255,255,255,.8); font-size: .88rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.program__tags { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; color: rgba(255,255,255,.85); font-size: .78rem; }
.program__foot { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 18px; }
.program__foot small { color: rgba(255,255,255,.75); font-size: .78rem; }
.program__foot small strong { color: var(--enp-gold); }
.viewall { display: block; margin-top: 16px; color: var(--enp-blue); font-size: .88rem; font-weight: 600; text-align: right; }
.viewall:hover { text-decoration: underline; }

/* partner logo strip */
.logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.logo-card { display: flex; align-items: center; justify-content: center; height: 76px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; color: var(--muted); font-family: var(--f-head); font-size: .8rem; font-weight: 600; text-align: center; }
.logo-card--placeholder { border-style: dashed; background: var(--tint); }

/* ===== About ===== */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.mv-card { padding: 28px 26px; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-2); position: relative; overflow: hidden; }
.mv-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--g-hero); }
.mv-card h3 { margin: 14px 0 8px; font-size: 1.2rem; }
.mv-card p { color: var(--text); font-size: .95rem; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value { padding: 24px 20px; border-radius: var(--r-lg); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.value .icon-tile { background: rgba(255,255,255,.14); color: var(--enp-gold); margin-bottom: 14px; }
.value h3 { color: #fff; font-size: 1rem; margin-bottom: 8px; }
.value p { color: rgba(255,255,255,.8); font-size: .84rem; }
.founder { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
.founder__who { text-align: center; }
.founder__photo { width: 220px; height: 220px; margin: 0 auto 14px; border-radius: 50%; overflow: hidden; border: 5px solid #fff; box-shadow: 0 16px 36px rgba(102,126,234,.3); background: var(--g-hero); padding: 4px; }
.founder__photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: top; }
.founder__name { font-family: var(--f-head); font-weight: 700; font-size: 1.1rem; }
.founder__role { color: var(--enp-purple-2); font-size: .86rem; font-weight: 600; }
.founder__note h2 { font-size: 1.5rem; margin-bottom: 14px; }
.founder__note p { color: var(--text); font-size: .98rem; margin-bottom: 14px; }
.founder__note blockquote { margin: 18px 0 0; padding: 18px 22px; border-left: 4px solid var(--enp-gold); border-radius: 0 var(--r-md) var(--r-md) 0; background: var(--tint); color: var(--enp-navy); font-family: var(--f-head); font-weight: 600; font-size: 1.05rem; }
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.story p { color: var(--text); font-size: .98rem; margin-bottom: 14px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-md); transition: transform .3s ease; }
.gallery a:hover img { transform: scale(1.03); }
.gallery .tall { grid-row: span 2; }
.gallery .tall img { aspect-ratio: auto; height: 100%; }
.join { padding: 44px 40px; border-radius: var(--r-xl); background: var(--g-hero); color: #fff; text-align: center; position: relative; overflow: hidden; }
.join::before { content: ''; position: absolute; inset: 0; opacity: .12; background-image: radial-gradient(rgba(255,255,255,.8) 1.5px, transparent 1.5px); background-size: 26px 26px; }
.join > * { position: relative; }
.join h2 { color: #fff; font-size: 1.6rem; }
.join p { max-width: 700px; margin: 12px auto 24px; color: rgba(255,255,255,.9); }
.join .btn-row { justify-content: center; }

/* ===== Contact ===== */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: -44px; position: relative; z-index: 2; }
.contact-card { text-align: center; align-items: center; padding: 26px 18px; }
.contact-card .icon-tile { margin-bottom: 6px; }
.contact-card strong { display: block; color: var(--ink); font-size: .95rem; }
.contact-card a { font-weight: 600; }
.contact-layout { display: grid; grid-template-columns: 1.35fr .9fr; gap: 28px; align-items: start; }
.form-card { padding: 30px 28px; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-2); }
.form-card h2 { font-size: 1.35rem; margin-bottom: 6px; }
.form-card > p { color: var(--text); font-size: .92rem; margin-bottom: 22px; }
.form-card form { display: flex; flex-direction: column; gap: 16px; }
.dept { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.dept:last-child { border-bottom: 0; }
.dept strong { color: var(--ink); font-size: .95rem; }
.dept a { font-size: .9rem; font-weight: 600; }
.dept p { color: var(--text); font-size: .84rem; }
.office { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.office .icon-tile { flex-shrink: 0; }
.office h4 { font-size: 1rem; }
.office p { color: var(--text); font-size: .86rem; margin-top: 4px; }
.office dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin-top: 10px; font-size: .84rem; }
.office dt { color: var(--muted); } .office dd { margin: 0; color: var(--ink-2); font-weight: 500; }

/* ===== Audience pages (students / institutions / organizations) ===== */
.feature-rows { display: flex; flex-direction: column; gap: 56px; }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.feature-row:nth-child(even) .feature-row__media { order: 2; }
.feature-row__media img { width: 100%; height: 320px; object-fit: cover; border-radius: var(--r-xl); box-shadow: 0 18px 40px rgba(26,26,46,.18); }
.feature-row__media { position: relative; }
.feature-row__media .badge { position: absolute; left: 16px; top: 16px; box-shadow: var(--sh-2); }
.feature-row h3 { font-size: 1.45rem; margin: 10px 0 10px; }
.feature-row > div > p { color: var(--text); font-size: .98rem; margin-bottom: 16px; }
.feature-row .btn-row { margin-top: 20px; }
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.offer { padding: 24px 22px; }
.offer .icon-tile { margin-bottom: 12px; }
.offer h3 { font-size: 1.02rem; margin-bottom: 6px; }
.offer p { font-size: .88rem; }
.offer .badge { align-self: flex-start; margin-top: 8px; }

/* Themed offer cards (opt-in via .offer-grid--themed, e.g. students.html's "Everything you
   need" grid) — each card takes a light tint of its own icon tone instead of a plain white
   card, so all 6 boxes read as distinct, on-brand destinations rather than identical white
   tiles. Equal-height cards with the badge pinned to the bottom regardless of copy length. */
.offer-grid--themed { align-items: stretch; }
.offer-grid--themed .offer { display: flex; flex-direction: column; border-color: transparent; }
.offer-grid--themed .offer .badge { margin-top: auto; padding-top: 10px; }
.offer-grid--themed .offer--purple { background: var(--tone-purple-bg); }
.offer-grid--themed .offer--blue { background: var(--tone-blue-bg); }
.offer-grid--themed .offer--green { background: var(--tone-green-bg); }
.offer-grid--themed .offer--orange { background: var(--tone-orange-bg); }
.offer-grid--themed .offer--cyan { background: var(--tone-cyan-bg); }
.offer-grid--themed .offer--gold { background: var(--tone-gold-bg); }
/* Links inside the themed cards read more like a real call-to-action at this size — the default
   .badge size (.74rem) was built for compact status tags, not a card's main action. */
.offer-grid--themed .offer .badge { font-size: .92rem; padding: 5px 12px; }

/* Sponsors page (sponsors.html) — live stat tiles reuse .offer-grid--themed but need a bigger
   number in place of the usual h3 title, and a plain card grid for the scholarship list. */
#sponsor-stats.offer-grid { grid-template-columns: repeat(4, 1fr); }
#sponsor-stats .offer h3 { font-size: 1.6rem; font-weight: 800; color: var(--ink); margin-bottom: 2px; }
#sponsor-stats .offer p { font-size: .82rem; }
@media (max-width: 860px) { #sponsor-stats.offer-grid { grid-template-columns: repeat(2, 1fr); } }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sponsor-card { padding: 22px; display: flex; flex-direction: column; }
.sponsor-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.sponsor-card h3 { font-size: 1.02rem; margin-bottom: 4px; }
.sponsor-card .sponsor-card__by { color: var(--text); font-size: .82rem; margin-bottom: 10px; }
.sponsor-card .sponsor-card__amount { font-size: 1.2rem; font-weight: 800; color: var(--enp-purple-2); margin-bottom: 8px; }
.sponsor-card p { font-size: .85rem; color: var(--text); }
@media (max-width: 860px) { .cards-grid { grid-template-columns: 1fr; } }

/* Campus-to-career journey (students.html) — the numbered .step cards from "How it works" made
   clickable, each one linking straight to the destination it describes instead of just
   explaining it. */
.step[href] { display: flex; flex-direction: column; cursor: pointer; }
.step[href] .badge { margin-top: auto; padding-top: 10px; font-size: .92rem; padding: 5px 12px; align-self: flex-start; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; font-size: .9rem; }
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.compare th { background: var(--tint); color: var(--ink); font-family: var(--f-head); font-weight: 600; }
.compare tr:last-child td { border-bottom: 0; }
.compare td { color: var(--text); }
.compare td:first-child { color: var(--ink); font-weight: 600; }

/* ===== Opportunity boards (jobs / internships) ===== */
.board-hero { padding: 48px 0 44px; }
.board-hero h1 { display: flex; align-items: center; gap: 14px; }
.board-hero h1 svg { width: 36px; height: 36px; color: var(--enp-gold); }

.board-toolbar { position: sticky; top: var(--header-h); z-index: 50; padding: 14px 0; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.board-toolbar__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.search { position: relative; flex: 1 1 320px; }
.search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: #9aa1b5; pointer-events: none; }
.search .input { padding-left: 42px; padding-right: 40px; border-radius: var(--r-pill); }
.search .clear { position: absolute; right: 8px; top: 50%; width: 28px; height: 28px; transform: translateY(-50%); border: 0; border-radius: 50%; background: transparent; color: var(--muted); display: none; }
.search .clear.show { display: inline-flex; align-items: center; justify-content: center; }
.search input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; display: none; }
.search .clear:hover { background: var(--tint-2); color: var(--ink); }
.filter-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1.5px solid var(--line); border-radius: var(--r-pill); background: #fff; color: var(--ink-2); font-size: .86rem; font-weight: 600; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.filter-btn:hover, .filter-btn[aria-expanded="true"] { border-color: var(--enp-blue); background: #f3f6ff; }
.filter-btn .count { display: none; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--enp-blue); color: #fff; font-size: .7rem; font-weight: 700; line-height: 20px; text-align: center; }
.filter-btn.has-count .count { display: inline-block; }
.filter-btn .caret { border-color: var(--muted); }
.filter-wrap { position: relative; }
.filter-pop { position: absolute; top: calc(100% + 8px); left: 0; z-index: 80; display: none; min-width: 260px; max-height: 360px; overflow: auto; padding: 10px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; box-shadow: 0 18px 44px rgba(30,42,82,.18); }
.filter-pop.is-open { display: block; }
.filter-pop label { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; font-size: .88rem; color: var(--ink-2); cursor: pointer; }
.filter-pop label:hover { background: var(--tint); }
.filter-pop input { width: 16px; height: 16px; accent-color: var(--enp-blue); }
.filter-pop .group { padding: 10px 10px 4px; color: var(--muted); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.filter-pop .sub { padding-left: 28px; }
.filter-pop__actions { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; padding: 10px 6px 2px; border-top: 1px solid var(--line); }
.select--sm { width: auto; padding: 9px 36px 9px 14px; border-radius: var(--r-pill); font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.active-filters .chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--r-pill); background: var(--tone-blue-bg); color: var(--tone-blue-fg); font-size: .78rem; font-weight: 600; }
.active-filters .chip button { border: 0; background: transparent; color: inherit; padding: 0; line-height: 1; font-size: 1rem; }

/* Wider + tighter-gutter wrap for the board toolbar/list/detail/pager specifically — the rest
   of the page (hero, CTA) stays at the normal --wrap width, this is the "dynamic content" the
   extra width actually helps (a two-column list+detail layout needs the room; prose sections
   don't). */
.wrap--board { max-width: var(--wrap-wide); padding-left: 16px; padding-right: 16px; }
.board { display: grid; grid-template-columns: minmax(320px, 400px) 1fr; gap: 22px; align-items: start; margin-top: 22px; }
/* Both columns get a matching light card panel — previously only .detail (right) had one, the
   list column (left) sat directly on the page background with no visual boundary of its own. */
/* Same --g-hero gradient as .detail (right column) — both panels match now instead of the list
   being a plain light tint next to a purple detail pane. The .opp-card items inside keep their
   own opaque white background regardless, so they still read as distinct cards on the gradient. */
.board__list { position: sticky; top: calc(var(--header-h) + 74px); display: flex; flex-direction: column; max-height: calc(100vh - var(--header-h) - 96px); background: var(--g-hero); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 14px; }
.board__list-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 4px 12px; }
.board__list-head h2 { font-size: 1rem; color: #fff; }
.board__scroll { overflow-y: auto; padding: 2px 6px 8px 2px; display: flex; flex-direction: column; gap: 10px; }
.board__scroll::-webkit-scrollbar { width: 8px; }
.board__scroll::-webkit-scrollbar-thumb { background: #d9dcef; border-radius: 8px; }

.opp-card { display: flex; gap: 14px; padding: 16px; border: 1.5px solid var(--line); border-radius: var(--r-lg); background: #fff; cursor: pointer; text-align: left; width: 100%; color: inherit; font: inherit; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.opp-card:hover { border-color: #c4ccf3; box-shadow: var(--sh-2); transform: translateY(-1px); }
.opp-card.is-selected { border-color: var(--enp-blue); background: linear-gradient(0deg, rgba(37,99,235,.1), rgba(37,99,235,.1)), #fff; box-shadow: 0 0 0 3px rgba(37,99,235,.18); }
.opp-card__body { flex: 1; min-width: 0; }
.opp-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.opp-card h3 { font-size: .98rem; line-height: 1.3; }
.opp-card .org { display: block; margin-top: 2px; color: var(--enp-blue); font-size: .84rem; font-weight: 600; }
.opp-card .meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; color: var(--text); font-size: .78rem; }
.opp-card .meta span { display: inline-flex; align-items: center; gap: 5px; }
.opp-card .meta svg { width: 14px; height: 14px; color: var(--muted); }
.opp-card .meta .money { color: var(--ok); font-weight: 600; }
.opp-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

/* The whole card is the hero gradient now, not just the header strip — .detail__head no longer
   needs its own background, it's painted by this. Self-contained light/white boxes inside
   (.stat-card, .elig-card, .rule-list li, .skill-tags .tag) already have their own opaque
   backgrounds and keep working unmodified; what needed fixing was the plain body text/dividers
   around them, overridden below. */
.detail { border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--g-hero); box-shadow: var(--sh-2); overflow: hidden; }
/* Stat cards would otherwise blend into the gradient now behind them. */
.detail__body .stat-card { background: #fff; }
.detail__head { padding: 26px 28px 22px; border-bottom: none; }
.detail__head-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.detail__title { display: flex; gap: 16px; align-items: flex-start; min-width: 0; flex: 1 1 320px; }
/* .avatar's own background is the same --g-hero gradient now used by .detail__head — without
   this it would blend straight into its own background. Glassy tile instead. */
.detail__title .avatar { background: rgba(255,255,255,.16); border: 2px solid rgba(255,255,255,.4); }
.detail__title h2 { font-size: 1.5rem; line-height: 1.25; color: #fff; }
.detail__title .org { display: block; margin-top: 4px; color: #fff; opacity: .9; font-weight: 600; font-size: .98rem; }
.detail__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 10px; color: rgba(255,255,255,.85); font-size: .84rem; }
.detail__meta span { display: inline-flex; align-items: center; gap: 6px; }
.detail__meta svg { width: 15px; height: 15px; color: rgba(255,255,255,.7); }
/* Apply sits directly under the title on its own full-width row instead of being pushed to a
   far corner with a large empty gap next to it — and the button itself fills that width instead
   of floating as a small shrink-wrapped pill. */
.detail__apply { display: flex; flex-direction: column; align-items: stretch; gap: 8px; flex: 1 1 220px; max-width: 260px; }
.detail__apply .btn { width: 100%; justify-content: center; }
.detail__apply small { color: rgba(255,255,255,.75); font-size: .76rem; display: inline-flex; align-items: center; gap: 5px; justify-content: center; }
/* Body text/dividers overridden for contrast against the gradient now behind them — self-
   contained light/white boxes (.stat-card, .elig-card, .rule-list li, .skill-tags .tag) don't
   need any of this, they carry their own opaque background regardless of what's behind them. */
.detail__body { padding: 8px 28px 28px; color: rgba(255,255,255,.92); }
.detail__section { padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.detail__section:last-child { border-bottom: 0; }
.detail__section h3 { font-size: 1.05rem; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; color: #fff; }
.detail__section h3::before { content: ''; width: 4px; height: 18px; border-radius: 4px; background: var(--enp-gold); }
.detail__section p { color: rgba(255,255,255,.9); font-size: .94rem; white-space: pre-line; }
.detail__body .text-muted, .detail__body .intro { color: rgba(255,255,255,.75) !important; }
.detail__body .list-dot li, .detail__body .loc-list li { color: rgba(255,255,255,.9); }
.detail__body .loc-list svg { color: rgba(255,255,255,.75); }

/* Mentorship services (mentorships.html) — white cards on the tinted detail pane, like .stat-card */
.opp-card .badge svg, .svc-card .badge svg, .skill-tags .tag svg { width: 12px; height: 12px; margin-right: 4px; vertical-align: -1px; }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
@media (max-width: 520px) { .svc-grid { grid-template-columns: 1fr; } }
.svc-card { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: var(--r-md); background: #fff; color: var(--text); box-shadow: var(--sh-1); }
.svc-card--premium { box-shadow: 0 0 0 2px var(--enp-gold), var(--sh-1); }
.svc-card h4 { color: var(--ink); font-size: 1rem; }
.svc-card p { color: var(--text) !important; font-size: .88rem !important; white-space: normal !important; }
.svc-card__badges { display: flex; flex-wrap: wrap; gap: 6px; }
.svc-card__facts { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--text); font-size: .82rem; }
.svc-card__facts span { display: inline-flex; align-items: center; gap: 5px; }
.svc-card__facts svg { width: 14px; height: 14px; color: var(--enp-purple-2); }
.svc-card__price { display: inline-flex; align-items: center; gap: 6px; color: var(--ok); font-weight: 700; font-size: .92rem; }
.svc-card__price svg { width: 16px; height: 16px; }
.svc-card .list-check { margin: 0; padding: 0; list-style: none; }
.svc-card .btn { margin-top: auto; justify-content: center; }
.detail__meta a { display: inline-flex; align-items: center; gap: 5px; color: #fff; }
.premium-toggle { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-size: .82rem; font-weight: 600; cursor: pointer; user-select: none; }
.premium-toggle svg { width: 14px; height: 14px; color: var(--enp-gold); }
.premium-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.premium-toggle__track { position: relative; width: 34px; height: 18px; border-radius: 999px; background: rgba(255,255,255,.3); transition: background .2s; }
.premium-toggle__track::after { content: ''; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .2s; }
.premium-toggle input:checked + .premium-toggle__track { background: var(--enp-gold); }
.premium-toggle input:checked + .premium-toggle__track::after { transform: translateX(16px); }
.premium-toggle input:focus-visible + .premium-toggle__track { outline: 2px solid #fff; outline-offset: 2px; }
.detail__body .list-dot li::before { background: #fff; }
.detail__body .perks { color: #fff; }
.detail .stat-grid { margin-top: 20px; }
.detail .stat-grid--6 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.rule-list li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: var(--tint); color: var(--ink-2); font-size: .9rem; margin-bottom: 8px; }
.rule-list li::before { content: ''; flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--tone-blue-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231677d6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/10px no-repeat; }
.rule-list li.required::before { background-color: var(--tone-green-bg); }
.rule-list li .badge { margin-left: auto; }
.intro { color: var(--muted) !important; font-size: .84rem !important; margin-bottom: 10px; }
.elig-card { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; margin-bottom: 10px; }
.elig-card header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-size: .78rem; font-weight: 700; color: var(--enp-purple-2); letter-spacing: .06em; text-transform: uppercase; }
.elig-card dl { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px 16px; margin: 0; }
.elig-card dt { color: var(--muted); font-size: .72rem; } .elig-card dd { margin: 0; color: var(--ink); font-size: .9rem; font-weight: 600; }
.skill-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-tags .tag { padding: 6px 12px; border-radius: var(--r-pill); font-size: .82rem; background: var(--tone-blue-bg); border-color: transparent; color: var(--tone-blue-fg); font-weight: 600; }
.skill-tags .tag--optional { background: var(--tint); color: var(--text); }
.perks { display: flex; flex-wrap: wrap; gap: 8px 6px; color: var(--ink-2); font-size: .9rem; }
.perks span + span::before { content: '•'; margin: 0 8px 0 2px; color: var(--enp-purple-2); }
/* Plain key:value rows — the "Additional Information" style sections used to render every field
   as its own icon+label+box stat-card, which for 6-8 fields is a lot of visual weight for what's
   really just a short fact sheet. This is a simple divided list instead, no boxes. */
.kv-list { display: flex; flex-direction: column; }
.kv-row { display: flex; gap: 16px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: .9rem; }
.kv-row:last-child { border-bottom: 0; }
.kv-row__label { flex: 0 0 170px; color: rgba(255,255,255,.65); }
.kv-row__value { color: #fff; font-weight: 600; }
.loc-list li { display: flex; gap: 10px; align-items: center; padding: 8px 0; color: var(--ink-2); font-size: .92rem; }
.loc-list svg { width: 16px; height: 16px; color: var(--enp-purple-2); }
.org-link { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px; font-weight: 600; font-size: .9rem; }
.org-link svg { width: 15px; height: 15px; }

/* Sticky, not fixed: floats at the bottom of the viewport while its own section (the board +
   pager) is in view, then scrolls away normally once the page moves past it — stays reachable
   without permanently covering the footer/CTA below on a short results page. */
.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--tint); position: sticky; bottom: 16px; z-index: 20; box-shadow: 0 14px 34px rgba(15,20,60,.18); }
.pagination__info { color: var(--text); font-size: .86rem; }
.pagination__pages { display: flex; align-items: center; gap: 4px; }
.pagination__pages button { min-width: 36px; height: 36px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink-2); font-size: .86rem; font-weight: 600; }
.pagination__pages button:hover:not(:disabled) { border-color: var(--enp-blue); color: var(--enp-blue); }
.pagination__pages button.is-current { border-color: var(--enp-blue); background: var(--enp-blue); color: #fff; }
.pagination__pages button:disabled { opacity: .45; cursor: not-allowed; }
.pagination__pages .dots { padding: 0 6px; color: var(--muted); }
.pagination__tools { display: flex; align-items: center; gap: 12px; color: var(--text); font-size: .84rem; }
.pagination__tools .select--sm, .pagination__tools .input { padding: 7px 12px; font-size: .84rem; }
.pagination__tools .input { width: 64px; border-radius: var(--r-pill); text-align: center; }

/* ===== Pricing ===== */
.role-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: var(--r-pill); background: var(--tint-2); }
.role-tabs button { padding: 9px 18px; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--ink-2); font-size: .88rem; font-weight: 600; transition: background .15s ease, color .15s ease; }
.role-tabs button.is-active { background: #fff; color: var(--enp-blue); box-shadow: var(--sh-1); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; align-items: stretch; margin-top: 30px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px 24px 24px; border: 1px solid var(--line); border-radius: var(--r-xl); background: #fff; box-shadow: var(--sh-2); transition: transform .2s ease, box-shadow .2s ease; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.plan--hot { border: 0; background: var(--g-navy); color: #fff; box-shadow: 0 16px 32px rgba(21,26,48,.28); }
.plan--hot h3, .plan--hot .plan__price, .plan--hot .feature { color: #fff; }
.plan__ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 5px; padding: 4px 14px; border-radius: 12px; background: var(--enp-gold); color: #1f1300; font-size: .7rem; font-weight: 700; letter-spacing: .06em; white-space: nowrap; box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.plan__ribbon svg { width: 12px; height: 12px; }
.plan__name { color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-align: center; }
.plan--hot .plan__name { color: rgba(255,255,255,.75); }
.plan__price { display: flex; align-items: baseline; justify-content: center; gap: 6px; margin: 14px 0 4px; font-family: var(--f-head); }
.plan__price strong { font-size: 2.3rem; font-weight: 800; line-height: 1; }
.plan__price span { color: var(--muted); font-size: .84rem; }
.plan--hot .plan__price span { color: rgba(255,255,255,.7); }
.plan__desc { text-align: center; color: var(--muted); font-size: .82rem; min-height: 2.4em; }
.plan--hot .plan__desc { color: rgba(255,255,255,.65); }
.cycles { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line); }
.plan--hot .cycles { border-top-color: rgba(255,255,255,.12); }
.cycle { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 0; font-size: .84rem; }
.cycle .days { color: var(--muted); }
.plan--hot .cycle .days { color: rgba(255,255,255,.75); }
.cycle .amt { font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
.cycle .amt s { color: var(--muted); font-weight: 400; }
.plan--hot .cycle .amt s { color: rgba(255,255,255,.5); }
.cycle .btn { padding: 5px 12px; font-size: .76rem; }
.plan--hot .cycle .btn--outline { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.plan--hot .cycle .btn--outline:hover { background: #fff; color: var(--enp-navy); }
.features { flex: 1; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.plan--hot .features { border-top-color: rgba(255,255,255,.12); }
.feature { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; color: var(--ink-2); font-size: .86rem; }
.feature svg { flex-shrink: 0; width: 16px; height: 16px; margin-top: 3px; }
.feature.yes svg { color: var(--ok); } .plan--hot .feature.yes svg { color: #69db7c; }
.feature.no { opacity: .55; } .feature.no svg { color: #c7cbe0; }
.plan--hot .feature.no { opacity: .5; }
.pricing-note { margin-top: 26px; }

/* ===== Responsive (pages) ===== */
@media (max-width: 1100px) {
  .eco, .values { grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .board { grid-template-columns: 1fr; }
  .board__list { position: static; max-height: none; }
  .board__scroll { max-height: 520px; }
  .detail .stat-grid--6 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .founder { grid-template-columns: 1fr; }
  .founder__who { margin-bottom: 8px; }
}
@media (max-width: 900px) {
  .home-hero__grid { grid-template-columns: 1fr; text-align: center; }
  .home-hero__lead { margin-left: auto; margin-right: auto; }
  .home-hero__ctas, .home-hero__trust { justify-content: center; }
  .hub { max-width: 360px; }
  .roles__grid { grid-template-columns: repeat(3, 1fr); }
  .role { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .quick-actions, .programs, .mv-grid, .story, .feature-row, .contact-layout { grid-template-columns: 1fr; }
  .feature-row:nth-child(even) .feature-row__media { order: 0; }
  .offer-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .board-toolbar { position: static; }
  .elig-card dl { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .home-hero { padding: 40px 0 36px; }
  .home-hero__ctas .btn { flex: 1 1 100%; }
  .hub { max-width: 300px; }
  .hub__label { padding: 2px 8px; font-size: .6rem; }
  .roles__grid { grid-template-columns: 1fr; }
  .eco, .values, .offer-grid, .contact-cards, .gallery { grid-template-columns: 1fr; }
  .contact-cards { margin-top: -20px; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .quick-action { flex-wrap: wrap; } .quick-action .btn { margin-left: 0; width: 100%; }
  .program__foot { flex-direction: column; align-items: flex-start; } .program__foot .btn { width: 100%; }
  .detail__head, .detail__body { padding-left: 18px; padding-right: 18px; }
  .detail__apply { align-items: stretch; width: 100%; }
  .detail .stat-grid, .detail .stat-grid--6, .elig-card dl { grid-template-columns: 1fr; }
  .pagination { flex-direction: column; align-items: stretch; text-align: center; }
  .pagination__pages { justify-content: center; flex-wrap: wrap; }
  .pagination__tools { justify-content: center; flex-wrap: wrap; }
  .join { padding: 32px 20px; }
  .feature-row__media img { height: 220px; }
  .role-tabs { flex-wrap: wrap; border-radius: 16px; }
  .compare { font-size: .82rem; } .compare th, .compare td { padding: 10px 12px; }
}
