/* ==========================================================================
   about.css  —  styling ONLY for about.html
   Section order: banner + breadcrumb · story (+ bullets) · stats ·
   mission / vision / values (alternating rows) · institutions · cta
   ========================================================================== */

/* Banner + breadcrumb styles are shared — see components.css */

/* --- Story ------------------------------------------------------- */
.story__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.story__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.story__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; }
.story__media::after {                       /* soft corner accent */
  content: "";
  position: absolute;
  left: -1px; bottom: -1px;
  width: 40%; height: 6px;
  background: var(--green-600);
}
.story__text .eyebrow { margin-bottom: 1rem; }
.story__text p + p { margin-top: 1rem; }

.story__bullets { margin-top: 1.6rem; display: grid; gap: .8rem; }
.story__bullets li {
  display: flex;
  gap: .7rem;
  font-size: .92rem;
  color: var(--ink);
}
.story__bullets svg {
  flex-shrink: 0;
  width: 20px; height: 20px;
  color: var(--green-600);
  margin-top: .2rem;
}

/* --- Stats strip (matches the home page treatment) ------------ */
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 3.5rem;
  background: #fff;
  border: 1px solid var(--gold-soft);
  border-radius: 4px;
}
.about-stats .stat {
  text-align: left;
  padding: 1.6rem 1.4rem;
  border-right: 1px solid var(--line);
}
.about-stats .stat:last-child { border-right: 0; }
.about-stats .stat__num {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  font-weight: 600;
  color: var(--green-900);
  line-height: 1;
}
.about-stats .stat__num::after { content: ""; display: block; width: 24px; height: 2px; background: var(--gold); margin: .5rem 0; }
.about-stats .stat__label { font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); }

@media (max-width: 820px) {
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .about-stats .stat { border-bottom: 1px solid var(--line); }
  .about-stats .stat:nth-child(2n) { border-right: 0; }
  .about-stats .stat:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 460px) {
  .about-stats { grid-template-columns: 1fr; }
  .about-stats .stat { border-right: 0; }
}

/* --- Alternating feature rows (mission / vision / values) ----- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.feature-row + .feature-row { margin-top: clamp(3rem, 6vw, 5rem); }
.feature-row--rev .feature-row__media { order: 2; }

.feature-row__media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.feature-row__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform .6s ease;
}
.feature-row__media:hover img { transform: scale(1.05); }

.feature-row__text .eyebrow { margin-bottom: 1rem; }
.feature-row__text h2 { margin-bottom: .8rem; }

/* --- Trusted institutions ------------------------------------ */
.institutions { text-align: center; }
.institutions__sub {
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .8rem;
  color: var(--ink-soft);
  margin: 1rem 0 2.5rem;
}
.institutions__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  max-width: 760px;
  margin: 0 auto;
}
.institution {
  aspect-ratio: 3 / 2;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: #fff;
  padding: 1rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.institution:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); border-color: var(--green-100); }
.institution img { max-height: 46px; width: auto; opacity: .85; }

/* --- Slim CTA (added) -------------------------------------- */
.about-cta {
  background: linear-gradient(rgba(15,61,36,.88), rgba(15,61,36,.92)), var(--green-800);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3.2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.about-cta h2 { color: #fff; margin-bottom: .3rem; }
.about-cta p { color: rgba(255,255,255,.82); }

/* --- Responsive ------------------------------------------- */
@media (max-width: 900px) {
  .story__grid { grid-template-columns: 1fr; }
  .story__media img { aspect-ratio: 4 / 3; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .feature-row { grid-template-columns: 1fr; }
  .feature-row + .feature-row { margin-top: 2.5rem; }
  .feature-row--rev .feature-row__media { order: 0; }
  .institutions__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .about-stats .stat { padding: 1.1rem 1rem; border-bottom: 1px solid var(--line); }
  .about-stats .stat:nth-child(2n) { border-right: 0; }
  .about-stats .stat:nth-last-child(-n+2) { border-bottom: 0; }
  .about-stats .stat__num { font-size: 1.55rem; }
  .story__bullets li { font-size: .88rem; }
  .about-cta { flex-direction: column; align-items: flex-start; padding: 1.8rem 1.4rem; }
  .about-cta .btn { width: 100%; justify-content: center; }
}
