/* ==========================================================================
   MCC Foundation — Stories page (builds on home.css)
   ========================================================================== */

/* ---------- Hero ---------- */
.st-hero { padding-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.st-hero h1 { font-size: clamp(2.5rem, 6.4vw, 4.8rem); line-height: 1.02; letter-spacing: -0.045em; margin-bottom: 1.4rem; max-width: 14ch; }
.st-hero h1 em { font-style: normal; background: linear-gradient(120deg, #4ade80, #22c55e 45%, #a3e635); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.st-hero .hp-hero__sub { max-width: 60ch; margin-bottom: 2.4rem; }
.st-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--hp-line); border-radius: var(--hp-radius-lg); background: var(--hp-surface); overflow: hidden; }
.st-stats > div { padding: 1.3rem 1.5rem; border-right: 1px solid var(--hp-line); }
.st-stats > div:last-child { border-right: 0; }
.st-stats b { display: block; font-family: var(--font-heading); font-size: clamp(1.6rem, 3.2vw, 2.3rem); letter-spacing: -0.04em; color: #fff; line-height: 1.1; }
.st-stats span { color: var(--hp-muted); font-size: 0.88rem; }

/* ---------- Video stories ---------- */
.st-videos { padding: clamp(2rem, 4vw, 3rem) 0 0; }
.st-videos .hp-head { margin-bottom: 1.5rem; }
.st-videos .hp-vcarousel { margin-bottom: 0; }

/* ---------- Shared photo + initials ---------- */
.st-initials { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-heading); font-weight: 700; color: #04120a; background: linear-gradient(135deg, var(--hp-green), #0f766e); }
.st-in { flex-shrink: 0; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 1.15rem; color: #fff; border: 1px solid var(--hp-line-strong); transition: background .2s, border-color .2s; }
.st-in:hover { background: #0a66c2; border-color: #0a66c2; }

/* ---------- Spotlight ---------- */
.st-spot-wrap { padding-top: clamp(3rem, 6vw, 4.5rem); }
.st-spot { display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr); border-radius: var(--hp-radius-lg); overflow: hidden; border: 1px solid rgba(245,185,66,.3); background: linear-gradient(150deg, rgba(245,185,66,.08), transparent 50%), var(--hp-surface); }
.st-spot__photo { position: relative; min-height: 340px; background: var(--hp-surface-2); }
.st-spot__photo .st-initials { font-size: 5rem; }
.st-spot__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.st-spot__body { padding: clamp(1.6rem, 4vw, 3rem); display: flex; flex-direction: column; justify-content: center; gap: 1.3rem; }
.st-spot__body .hp-badge { align-self: flex-start; }
.st-spot blockquote { margin: 0; font-family: var(--font-heading); font-size: clamp(1.1rem, 1.9vw, 1.45rem); line-height: 1.5; color: #fff; letter-spacing: -0.01em; }
.st-spot blockquote::before { content: "\201C"; display: block; font-family: Georgia, serif; font-size: 3.4rem; line-height: 0.6; color: var(--hp-amber); margin-bottom: 0.4rem; }
.st-spot__who { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.2rem; border-top: 1px solid var(--hp-line); }
.st-spot__who b { display: block; font-size: 1.1rem; color: #fff; }
.st-spot__who span { display: block; color: var(--hp-muted); font-size: 0.93rem; }
.st-spot__who em { font-style: normal; color: var(--hp-green); }
.st-spot__who small { display: block; margin-top: 0.2rem; font-size: 0.75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--hp-muted); }

/* ---------- Toolbar ---------- */
.st-toolbar { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 0.6rem; }
.st-toolbar .hp-h2 { margin-bottom: 0; }
.st-search { position: relative; flex: 0 1 360px; }
.st-search i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--hp-muted); font-size: 1.1rem; pointer-events: none; }
.st-search input {
  width: 100%; padding: 0.85rem 1rem 0.85rem 2.7rem; border-radius: 999px; font: inherit; font-size: 0.95rem; color: #fff;
  background: var(--hp-surface); border: 1px solid var(--hp-line-strong); outline: none; transition: border-color .2s, box-shadow .2s;
}
.st-search input::placeholder { color: var(--hp-muted); }
.st-search input:focus { border-color: var(--hp-green); box-shadow: 0 0 0 3px rgba(34,197,94,.18); }
.st-count { color: var(--hp-muted); font-size: 0.88rem; margin: 0.4rem 0 1.5rem; min-height: 1.4em; }

/* ---------- Story cards ---------- */
.st-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: start; }
.st-card { display: flex; flex-direction: column; gap: 1rem; padding: 1.5rem; border-radius: var(--hp-radius-lg); border: 1px solid var(--hp-line); background: var(--hp-surface); transition: border-color .3s, transform .4s var(--hp-ease); }
.st-card:hover { border-color: rgba(34,197,94,.3); transform: translateY(-3px); }
.st-card[hidden] { display: none; }
.st-card__head { display: flex; align-items: center; gap: 0.85rem; }
.st-card__photo { position: relative; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 2px solid rgba(34,197,94,.45); }
.st-card__photo .st-initials { font-size: 1.3rem; }
.st-card__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.st-card__who { flex: 1; min-width: 0; }
.st-card__who h3 { font-size: 1.08rem; letter-spacing: -0.01em; line-height: 1.25; }
.st-card__who span { display: block; color: var(--hp-muted); font-size: 0.86rem; }
.st-card__company { display: inline-flex; align-self: flex-start; align-items: center; gap: 0.45rem; padding: 0.35rem 0.75rem; border-radius: 999px; font-size: 0.82rem; font-weight: 600; color: var(--hp-green); background: var(--hp-green-soft); border: 1px solid rgba(34,197,94,.25); }
.st-card__quote { margin: 0; color: #cfd8e3; font-size: 0.95rem; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.st-card.is-open .st-card__quote { display: block; -webkit-line-clamp: unset; }
.st-more { align-self: flex-start; padding: 0; border: 0; background: none; font: inherit; font-size: 0.88rem; font-weight: 600; color: var(--hp-green); cursor: pointer; }
.st-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.st-more[hidden] { display: none; }
.st-empty { text-align: center; color: var(--hp-muted); padding: 2rem 0; }
.st-loadmore { display: flex; justify-content: center; margin-top: 2rem; }
.st-loadmore[hidden] { display: none; }

/* ---------- Companies ---------- */
.st-logos { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; }
.st-logos li { padding: 0.7rem 1.2rem; border-radius: 999px; border: 1px solid var(--hp-line); background: var(--hp-surface); font-family: var(--font-heading); font-weight: 600; font-size: 0.95rem; color: #cfd8e3; }

/* ---------- CTA ---------- */
.st-cta { padding-top: 0; }
.st-cta__box { text-align: center; padding: clamp(2.5rem, 6vw, 4rem) clamp(1.25rem, 4vw, 3rem); border-radius: var(--hp-radius-lg); border: 1px solid rgba(34,197,94,.3); background: radial-gradient(60% 80% at 50% 0%, rgba(34,197,94,.16), transparent 70%), var(--hp-surface); }
.st-cta__box .hp-lead { margin: 0 auto 2rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) { .st-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .st-stats { grid-template-columns: 1fr 1fr; }
  .st-stats > div:nth-child(2) { border-right: 0; }
  .st-stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--hp-line); }
  .st-spot { grid-template-columns: 1fr; }
  .st-spot__photo { min-height: 0; aspect-ratio: 4 / 3; }
  .st-grid { grid-template-columns: 1fr; }
  .st-search { flex-basis: 100%; }
}
