/* Program Sahyog, dynamic layer (2026-11-06). Hand-written, loaded after the page's own,
   lightify and dark CSS. Base = light / High contrast; html:not(.hc) = the site's dark theme. */
.sp-plus { --sp-gold: #ffd700; --sp-card: #ffffff; --sp-line: #e2e0d4; --sp-ink: #1c2420; --sp-muted: #3a443d; }
html:not(.hc) .sp-plus { --sp-card: #2b372a; --sp-line: rgba(255, 215, 0, .2); --sp-ink: #ffffff; --sp-muted: rgba(255, 255, 255, .82); }

.sp-plus .sp-head { max-width: 760px; margin: 0 0 28px; }
.sp-plus .sp-head--center { margin-inline: auto; text-align: center; }
.sp-plus .sp-head p { color: var(--sp-muted); text-align: inherit !important; }

/* gentle floating photo */
@keyframes sp-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.sp-plus .sp-float { animation: sp-float 6s ease-in-out infinite; }
.sp-plus .sp-float--slow { animation-duration: 8s; }

/* live strip */
.sp-live { padding: 8px 0 40px; }
.sp-live__label { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 13px; color: var(--sp-gold); }
.sp-pulse { width: 10px; height: 10px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: sp-pulse 2s infinite; }
@keyframes sp-pulse { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); } 70% { box-shadow: 0 0 0 10px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
.sp-live__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.sp-kpi { display: flex; flex-direction: column; gap: 4px; padding: 18px 18px 16px; border-radius: 16px; background: var(--sp-card); border: 1px solid var(--sp-line);
  position: relative; overflow: hidden; transition: translate .25s ease, box-shadow .25s ease; }
.sp-kpi::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, transparent, var(--sp-gold), transparent); }
.sp-kpi:hover { translate: 0 -4px; box-shadow: 0 18px 32px -20px rgba(255, 215, 0, .45); }
.sp-kpi__ic { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: rgba(255, 215, 0, .12); color: var(--sp-gold); margin-bottom: 6px; }
.sp-kpi__ic svg { width: 20px; height: 20px; fill: currentColor; }
.sp-kpi b { font: 800 clamp(26px, 2.6vw, 34px)/1.1 'Noto Serif', Georgia, serif; color: var(--sp-gold); font-variant-numeric: tabular-nums; }
.sp-kpi > span:last-child { font-size: 14px; color: var(--sp-muted); }
.sp-live__note { margin: 12px 0 0; font-size: 13px; color: var(--sp-muted); text-align: left !important; }

/* objectives */
.sp-obj-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.sp-obj { grid-column: span 2; }
.sp-obj:nth-child(4), .sp-obj:nth-child(5) { grid-column: span 3; }   /* 5 objectives = 3 + 2, full width */
.sp-obj { position: relative; padding: 22px 22px 20px; border-radius: 18px; background: var(--sp-card); border: 1px solid var(--sp-line); overflow: hidden;
  transition: translate .25s ease, box-shadow .25s ease, border-color .25s ease; }
.sp-obj::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 215, 0, .16), transparent 70%); transition: scale .35s ease; }
.sp-obj:hover { translate: 0 -6px; border-color: var(--sp-gold); box-shadow: 0 24px 40px -24px rgba(255, 215, 0, .45); }
.sp-obj:hover::after { scale: 1.6; }
.sp-obj__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.sp-obj__ic { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(145deg, #3d4c39, #1c2519); color: var(--sp-gold); box-shadow: inset 0 0 0 1px rgba(255, 215, 0, .35); }
.sp-obj__ic svg { width: 24px; height: 24px; fill: currentColor; }
.sp-obj__no { font: 800 34px/1 'Noto Serif', Georgia, serif; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 215, 0, .55); }
.sp-obj h3 { margin: 0 0 8px; font-size: 19px; color: var(--sp-gold); }
.sp-obj p { margin: 0; color: var(--sp-muted); line-height: 1.65; text-align: justify; text-justify: inter-character; hyphens: none; }

/* approach journey */
.sp-journey { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; counter-reset: none; }
.sp-step { position: relative; padding: 30px 18px 22px; border-radius: 18px; background: var(--sp-card); border: 1px solid var(--sp-line); text-align: center;
  transition: translate .25s ease, box-shadow .25s ease; }
.sp-step:hover { translate: 0 -6px; box-shadow: 0 24px 40px -24px rgba(255, 215, 0, .45); }
.sp-step__no { position: absolute; top: -15px; left: 50%; translate: -50% 0; padding: 4px 14px; border-radius: 999px; background: var(--sp-gold); color: #000; font: 800 14px/1.2 'Noto Serif', Georgia, serif;
  box-shadow: 0 0 0 4px rgba(255, 215, 0, .14); }
.sp-step__ic { width: 56px; height: 56px; margin: 4px auto 12px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(145deg, #3d4c39, #1c2519); color: var(--sp-gold); box-shadow: inset 0 0 0 1px rgba(255, 215, 0, .35); }
.sp-step__ic svg { width: 26px; height: 26px; fill: currentColor; }
.sp-step h4 { margin: 0 0 8px; color: var(--sp-gold); font-size: 17px; }
.sp-step p { margin: 0; color: var(--sp-muted); font-size: 14.5px; line-height: 1.6; text-align: center !important; }
.sp-step:not(:last-child)::after { content: ""; position: absolute; right: -22px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; background: var(--sp-gold);
  clip-path: polygon(0 20%, 55% 20%, 55% 0, 100% 50%, 55% 100%, 55% 80%, 0 80%); }

/* live project cards */
.sp-projects, .sp-stories { padding: 50px 0 10px; }
.sp-proj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.sp-proj { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: var(--sp-card); border: 1px solid var(--sp-line); text-decoration: none; color: var(--sp-ink);
  transition: translate .25s ease, box-shadow .25s ease, border-color .25s ease; }
.sp-proj:hover { translate: 0 -6px; border-color: var(--sp-gold); box-shadow: 0 24px 40px -24px rgba(255, 215, 0, .45); }
.sp-proj__img { position: relative; display: block; aspect-ratio: 16 / 10; background: #323f2f; overflow: hidden; }
.sp-proj__img img { width: 100%; height: 100%; object-fit: cover; transition: scale .5s ease; display: block; }
.sp-proj:hover .sp-proj__img img { scale: 1.06; }
.sp-proj__phase { position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.sp-proj__phase--ongoing { background: #3ddc84; color: #06240f; }
.sp-proj__phase--completed { background: var(--sp-gold); color: #000; }
.sp-proj__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.sp-proj__body > b { font: 700 17px/1.35 'Noto Serif', Georgia, serif; color: var(--sp-gold); }
.sp-proj__where { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--sp-muted); }
.sp-proj__where svg { width: 14px; height: 14px; fill: currentColor; flex-shrink: 0; }
.sp-proj__n { font-size: 14px; color: var(--sp-muted); }
.sp-proj__n b { color: var(--sp-ink); font-variant-numeric: tabular-nums; }
.sp-proj__more { margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--sp-gold); }

/* stories */
.sp-story-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.sp-story { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: var(--sp-card); border: 1px solid var(--sp-line); text-decoration: none; color: var(--sp-ink);
  transition: translate .25s ease, box-shadow .25s ease, border-color .25s ease; }
.sp-story:hover { translate: 0 -6px; border-color: var(--sp-gold); box-shadow: 0 24px 40px -24px rgba(255, 215, 0, .45); }
.sp-story__img { display: block; aspect-ratio: 4 / 3; background: #323f2f; overflow: hidden; }
.sp-story__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; transition: scale .5s ease; }
.sp-story:hover .sp-story__img img { scale: 1.06; }
.sp-story__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.sp-story__body > b { font: 700 18px/1.3 'Noto Serif', Georgia, serif; color: var(--sp-gold); }
.sp-story__sub { font-size: 13px; color: var(--sp-muted); }
.sp-story q { font-style: italic; color: var(--sp-ink); line-height: 1.6; quotes: "“" "”"; text-align: left; }
.sp-story__more { margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--sp-gold); }

.sp-plus a:focus-visible { outline: 3px solid var(--sp-gold); outline-offset: 3px; }

@media (max-width: 1024px) {
  .sp-obj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-obj, .sp-obj:nth-child(4) { grid-column: auto; }
  .sp-obj:nth-child(5) { grid-column: 1 / -1; }
  .sp-proj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-journey { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
  .sp-step::after { display: none; }
}
@media (max-width: 600px) {
  .sp-obj-grid, .sp-proj-grid { grid-template-columns: minmax(0, 1fr); }
  .sp-obj:nth-child(5) { grid-column: auto; }
  .sp-journey { grid-template-columns: minmax(0, 1fr); }
  .sp-live__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-kpi b { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .sp-plus .sp-float, .sp-pulse { animation: none; }
  .sp-plus *, .sp-plus *::after { transition: none !important; }
}
