/* =============================================================
   About page
   Used by: lists_single_about.htm (/index.php/about-us/)
   Depends on: styles.css tokens (.page-shell, .section-space,
   .button, .text-button) and script.js ([data-carousel],
   [data-count]) behaviors. All page-specific styles live here.
   ============================================================= */

/* ---------- Hero ---------- */
.about-hero {
  padding-top: var(--header-h);
  background:
    radial-gradient(1100px 460px at 88% -12%, var(--soft-blue) 0%, rgba(234, 244, 255, 0) 60%),
    var(--white);
  border-bottom: 1px solid var(--line);
}

.about-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 4vw, 72px);
  align-items: center;
  padding-block: clamp(40px, 4.6vw, 78px);
}

.about-kicker {
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.about-hero-copy h1 {
  margin: 14px 0 0;
  font-size: clamp(40px, 3.4vw, 64px);
  line-height: 1.12;
  font-weight: 760;
}

.about-hero-copy > p:not(.about-kicker) {
  margin: 18px 0 0;
  color: #526276;
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.8;
}

.about-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: 26px;
}

.about-hero-visual img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .14);
}

/* ---------- Intro ---------- */
.about-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: clamp(32px, 4vw, 72px);
  align-items: center;
}

.about-intro-copy h2 {
  font-size: clamp(28px, 2.2vw, 40px);
  line-height: 1.25;
  font-weight: 740;
}

.about-intro-copy > p {
  margin: 18px 0 0;
  color: #526276;
  line-height: 1.85;
}

.about-intro-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.about-intro-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
  color: var(--ink);
}

.about-intro-list i {
  color: var(--blue);
  margin-top: 3px;
}

.about-intro-media img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, .10);
}

.about-intro-media figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

/* ---------- Metrics ---------- */
.about-metrics {
  background: var(--soft);
  border-block: 1px solid var(--line);
}

.about-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding-block: clamp(28px, 3vw, 48px);
}

.about-metric {
  display: grid;
  gap: 6px;
  text-align: center;
}

.about-metric strong {
  color: var(--blue);
  font-size: clamp(30px, 2.6vw, 44px);
  font-weight: 780;
  line-height: 1;
}

.about-metric > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ---------- Values ---------- */
.about-values-head {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.about-values-head h2 {
  font-size: clamp(28px, 2.2vw, 40px);
  font-weight: 740;
}

.about-values-head p {
  margin: 14px 0 0;
  color: #526276;
  line-height: 1.8;
}

.value-lines {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: clamp(28px, 3vw, 52px);
}

.value-line {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .06);
}

.value-line i {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--soft-blue);
  color: var(--blue);
  border-radius: 12px;
  font-size: 18px;
}

.value-line h3 {
  margin: 16px 0 0;
  font-size: 18px;
  font-weight: 720;
}

.value-line p {
  margin: 10px 0 0;
  color: #5a6a7e;
  font-size: 14.5px;
  line-height: 1.75;
}

/* ---------- Section intros (history / team / honors) ---------- */
.history-intro,
.team-intro,
.honors-intro {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.history-intro h2,
.team-intro h2,
.honors-intro h2 {
  font-size: clamp(28px, 2.2vw, 40px);
  font-weight: 740;
}

.history-intro p,
.team-intro p,
.honors-intro p {
  margin: 14px 0 0;
  color: #526276;
  line-height: 1.8;
}

/* ---------- History timeline ---------- */
.history-timeline {
  position: relative;
  display: grid;
  gap: 26px;
  margin-top: clamp(32px, 3.4vw, 60px);
}

.history-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 6px;
  bottom: 6px;
  width: 2px;
  transform: translateX(-50%);
  background: var(--line);
}

.history-node {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 72px 1fr;
  align-items: center;
}

.history-marker {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  z-index: 1;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--blue);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .10);
}

.history-marker span {
  color: var(--blue);
  font-size: 14px;
  font-weight: 760;
}

.history-card {
  grid-row: 1;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .06);
}

.history-node-left .history-card { grid-column: 1; }
.history-node-right .history-card { grid-column: 3; }

.history-card-kicker {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.history-card h3 {
  margin: 8px 0 0;
  font-size: 17px;
  font-weight: 720;
}

.history-card > p {
  margin: 8px 0 0;
  color: #5a6a7e;
  font-size: 14.5px;
  line-height: 1.7;
}

.history-card ul {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.history-card li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #33445c;
  font-size: 13.5px;
  font-weight: 600;
}

.history-card li i {
  color: var(--blue);
  margin-top: 3px;
  font-size: 12px;
}

/* ---------- Shared carousel (team & honors) ---------- */
.carousel-viewport { overflow: hidden; }

.carousel-track {
  display: flex;
  gap: 22px;
  transition: transform .55s cubic-bezier(.22, .61, .36, 1);
}

.carousel-slide {
  flex: 0 0 100%;
  min-width: 0;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.carousel-controls button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.carousel-controls button:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

/* ---------- Team ---------- */
.team-slide {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  flex: 0 0 calc(50% - 11px);
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .06);
}

.team-photo {
  flex: none;
  width: 128px;
  margin: 0;
}

.team-photo img {
  display: block;
  width: 100%;
  height: 172px;
  object-fit: cover;
  object-position: top;
  border-radius: 12px;
}

.team-body { min-width: 0; }

.team-slide h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 720;
}

.team-role {
  display: block;
  margin-top: 4px;
  color: var(--blue);
  font-size: 12.5px;
  font-weight: 600;
}

.team-slide > p {
  margin: 10px 0 0;
  color: #5a6a7e;
  font-size: 13.5px;
  line-height: 1.7;
}

.team-slide ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
}

.team-slide li {
  padding: 3px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
}

/* ---------- Honors ---------- */
.honor-slide {
  max-width: 640px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .06);
}

.honor-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.honor-slide h3 {
  padding: 16px 20px 20px;
  font-size: 16.5px;
  font-weight: 700;
  text-align: center;
}

/* ---------- FAQ ---------- */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 4vw, 72px);
  align-items: start;
}

.faq-intro h2 {
  font-size: clamp(28px, 2.2vw, 40px);
  font-weight: 740;
}

.faq-intro p {
  margin: 14px 0 0;
  color: #526276;
  line-height: 1.8;
}

.faq-intro .text-button {
  display: inline-flex;
  margin-top: 18px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 0 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .05);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-size: 15.5px;
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary i {
  flex: none;
  color: var(--blue);
  transition: transform .25s ease;
}

.faq-item[open] summary i { transform: rotate(45deg); }

.faq-answer {
  padding: 0 0 18px;
  color: #5a6a7e;
  font-size: 14.5px;
  line-height: 1.8;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .about-hero-inner,
  .about-intro-grid,
  .faq-layout { grid-template-columns: 1fr; }

  .about-hero-visual { order: -1; }

  .about-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
  }

  .value-lines { grid-template-columns: 1fr; }

  .team-slide { flex-basis: 100%; }

  .history-timeline::before {
    left: 22px;
    transform: none;
  }

  .history-node {
    grid-template-columns: 46px 1fr;
    gap: 0 16px;
    align-items: flex-start;
  }

  .history-marker {
    grid-column: 1;
    width: 46px;
    height: 46px;
  }

  .history-marker span { font-size: 12px; }

  .history-node-left .history-card,
  .history-node-right .history-card { grid-column: 2; }
}

@media (max-width: 820px) {
  .about-metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-layout { grid-template-columns: 1fr; }
}
