/* About page – layered on top of features.css tokens */

/* ── Centre-align section tags and headings ── */
body.features-marketing .container > h2 {
  text-align: center;
}

body.features-marketing .container > .section-tag {
  display: table;
  margin-left: auto;
  margin-right: auto;
}

/* ── Trust logo bar ── */
body.features-marketing main section.about-logos {
  padding: 28px 0 24px;
}

.about-logos-container {
  max-width: 960px;
}

.about-logos-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px 44px;
}

.about-logo {
  height: 40px;
  width: auto;
  color: var(--text-muted);
  opacity: 0.55;
}

.about-logo--wide {
  height: 36px;
}

/* ── Wider content area for about page ── */
.about-story-container {
  max-width: 1080px;
}

/* ── Our Story: side-by-side layout ── */
.about-story-row {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
  margin-top: 32px;
}

.about-story-lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-body);
}

.about-story-lead p {
  margin: 0 0 1rem;
}

.about-story-aside {
  position: sticky;
  top: 100px;
}

.about-story-image {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  cursor: zoom-in;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.about-story-image:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.about-story-image img {
  display: block;
  width: 100%;
  height: auto;
}

.about-story-caption {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 10px;
  font-style: italic;
}

/* ── Lightbox ── */
.about-lightbox[hidden] {
  display: none !important;
}

.about-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  padding: 40px;
}

.about-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.about-lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.15s;
}

.about-lightbox-close:hover {
  opacity: 1;
}

/* ── Founders grid ── */
.about-founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}

.about-founder-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.about-founder-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 24px;
  border: 3px solid var(--border);
}

.about-founder-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-founder-header {
  text-align: center;
  margin-bottom: 24px;
}

.about-founder-header h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-heading);
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.about-founder-role {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.about-founder-intro {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-body);
  margin: 0 0 20px;
}

.about-founder-bio {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.about-founder-bio li {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-body);
  padding: 8px 0;
  border-bottom: 1px solid var(--border-divider);
}

.about-founder-bio li:last-child {
  border-bottom: none;
}

.about-founder-bio strong {
  color: var(--text-heading);
  font-weight: 600;
}

.about-founder-scouthook {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: 4px;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-body);
}

.about-founder-scouthook strong {
  color: var(--brand);
  font-weight: 600;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .about-founders-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-founder-card {
    padding: 28px 24px;
  }

  .about-story-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-story-aside {
    position: static;
    max-width: 320px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .about-founder-photo {
    width: 100px;
    height: 100px;
  }

  .about-founder-header h3 {
    font-size: 1.2rem;
  }
}
