/* About page — styles specific to about.html.
   Shared nav/footer/section chrome lives in components.css. */

/* ---- Our Story ---- */
.about-story {
  box-sizing: border-box;
  position: relative;
  width: 100%;
  background: var(--white-pure);
  padding: clamp(64px,9vw,112px) var(--gutter-x);
}
.about-story-grid {
  grid-template-columns: minmax(240px,380px) 1fr;
  gap: clamp(32px,6vw,64px);
}
.about-story-grid .split-grid-sticky {
  position: static;
  top: auto;
}
.about-story-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 720px;
}
.about-story-lead {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-secondary);
}
.about-story-heading {
  margin: 0 0 12px;
  font-family: 'Geist', sans-serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--text-charcoal);
}
.about-story-text {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-secondary);
}

/* ---- Solar Ecosystem (Sunscape pipeline callout) ---- */
.about-ecosystem {
  box-sizing: border-box;
  position: relative;
  width: 100%;
  background: var(--green-forest);
  padding: clamp(64px,9vw,112px) var(--gutter-x);
  overflow: hidden;
}
.about-ecosystem-grid {
  grid-template-columns: minmax(280px,1fr) minmax(320px,440px);
  gap: clamp(32px,6vw,64px);
  align-items: center;
}
.about-ecosystem-eyebrow {
  color: var(--green-leaf);
}
.about-ecosystem-title {
  margin: 12px 0 20px;
  font-family: 'Geist', sans-serif;
  font-weight: 250;
  font-size: clamp(28px,3.4vw,42px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #fff;
}
.about-ecosystem-text {
  margin: 0 0 24px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
}
.about-ecosystem-points {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about-ecosystem-points li {
  position: relative;
  padding-left: 26px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255,255,255,0.88);
}
.about-ecosystem-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-solar);
}
.about-ecosystem-result {
  margin-bottom: 28px;
  font-style: italic;
  color: rgba(255,255,255,0.6);
}
.about-ecosystem-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.about-ecosystem-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

/* ---- What We Stand For (values) ---- */
.about-values {
  box-sizing: border-box;
  position: relative;
  width: 100%;
  background: var(--surface-section-alt);
  padding: clamp(64px,9vw,112px) var(--gutter-x);
}
.about-values-inner {
  max-width: 1440px;
  margin: 0 auto;
}
.about-values-title {
  margin: 0 0 40px;
  font-family: 'Geist', sans-serif;
  font-weight: 250;
  font-size: clamp(28px,3vw,40px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text-charcoal);
  max-width: 640px;
}
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
  gap: 20px;
}
/* ---- History (pinned scroll timeline) ---- */
.about-history {
  box-sizing: border-box;
  position: relative;
  width: 100%;
  background: var(--green-forest);
}
.about-history-outer {
  position: relative;
  width: 100%;
}
.about-history-pin {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
}
.about-history-header {
  box-sizing: border-box;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  padding: clamp(48px,7vw,80px) var(--gutter-x) 0;
  display: flex;
  justify-content: flex-end;
}
.about-history-header-inner {
  text-align: right;
  max-width: 480px;
}
.about-history-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--green-leaf);
  font-family: 'Inter', sans-serif;
}
.about-history-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-leaf);
  display: inline-block;
}
.about-history-title {
  margin: 0;
  font-family: 'Geist', sans-serif;
  font-weight: 250;
  font-size: clamp(28px,3vw,40px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #fff;
}
.about-history-circle-area {
  position: absolute;
  inset: 0;
}
.about-history-circle-ring {
  position: absolute;
  left: calc(clamp(500px, 110vw, 840px) * -0.6);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(500px, 110vw, 840px);
  height: clamp(500px, 110vw, 840px);
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  pointer-events: none;
}
.history-item {
  display: contents;
}
.history-strip {
  position: absolute;
  right: clamp(20px,4vw,56px);
  bottom: clamp(20px,4vw,56px);
  width: clamp(340px,34vw,460px);
  height: clamp(480px,44vw,600px);
  overflow: hidden;
  border-radius: 20px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 36%, black 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 36%, black 80%, transparent 100%);
}
/* Position/size are static; left/top/transform/opacity are driven every
   frame by setupHistoryScroll() in the component script below. */
.history-dot {
  position: absolute;
  z-index: 1;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
}
.history-num {
  position: absolute;
  z-index: 1;
  font-family: 'Geist', sans-serif;
  font-weight: 800;
  white-space: nowrap;
  color: rgba(255,255,255,0.35);
}
.history-caption {
  position: absolute;
  z-index: 1;
  opacity: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 320px;
}
.history-caption-title {
  font-family: 'Geist', sans-serif;
  font-weight: 600;
  font-size: 19px;
  color: #fff;
}
.history-caption-body {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
}
.history-image {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 88%;
  aspect-ratio: 4/3;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

/* ---- People / Team ---- */
.about-people {
  box-sizing: border-box;
  position: relative;
  width: 100%;
  background: var(--white-pure);
  padding: clamp(64px,9vw,112px) var(--gutter-x) clamp(96px,12vw,140px);
}
.about-people-grid {
  grid-template-columns: minmax(300px,480px) minmax(280px,760px);
  gap: clamp(32px,6vw,64px);
}
.about-people-title {
  margin: 0 0 16px;
  font-family: 'Geist', sans-serif;
  font-weight: 250;
  font-size: clamp(28px,3vw,40px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text-charcoal);
}
.about-people-text {
  margin: 0;
  max-width: 340px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
}
.about-people-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.leadership-card {
  box-sizing: border-box;
  background: var(--gradient-hero);
  border: 1px solid var(--green-forest);
  border-radius: 16px;
  padding: clamp(24px,3vw,32px);
}
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
  gap: 40px;
}
.leadership-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.leadership-photo {
  width: 100%;
  max-width: 224px;
  aspect-ratio: 1/1;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
}
.leadership-info {
  text-align: center;
}
.leadership-name {
  margin: 0 0 2px;
  font-family: 'Geist', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: #fff;
}
.leadership-title {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--green-leaf);
  font-weight: 500;
}

.team-card {
  box-sizing: border-box;
  background: var(--surface-card);
  border: 1px solid var(--surface-card-border);
  border-radius: 16px;
  padding: clamp(24px,3vw,32px);
}
.team-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--surface-card-border);
}
.team-tab {
  box-sizing: border-box;
  margin: 0 0 -1px;
  padding: 0 0 12px;
  border: none;
  border-bottom: 2px solid transparent;
  background: none;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 200ms ease, border-color 200ms ease;
}
.team-tab:hover {
  color: var(--green-forest);
}
.team-tab.is-active {
  color: var(--green-forest);
  border-bottom-color: var(--green-forest);
}
.team-tab:focus-visible {
  outline: var(--border-focus);
  outline-offset: 4px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 40px 6px;
}
.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.team-photo {
  width: 100%;
  max-width: 132px;
  aspect-ratio: 1/1;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
}
.team-avatar-fallback {
  width: 100%;
  max-width: 132px;
  aspect-ratio: 1/1;
  border-radius: 999px;
  background: var(--gradient-nature);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.team-avatar-initials {
  font-family: 'Geist', sans-serif;
  font-weight: 600;
  font-size: 30px;
  color: #fff;
}
.team-info {
  text-align: center;
}
.team-name {
  margin: 0 0 2px;
  font-family: 'Geist', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--text-charcoal);
}
.team-title {
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--text-secondary);
  display: block;
  max-width: 160px;
}

/* ---- Gallery ---- */
.about-gallery {
  box-sizing: border-box;
  position: relative;
  width: 100%;
  background: var(--surface-section-alt);
  padding: clamp(64px,9vw,112px) var(--gutter-x);
}
.about-gallery-inner {
  max-width: 1440px;
  margin: 0 auto;
}
.about-gallery-title {
  margin: 0 0 40px;
  font-family: 'Geist', sans-serif;
  font-weight: 250;
  font-size: clamp(28px,3vw,40px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text-charcoal);
  max-width: 640px;
}
.about-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.about-gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.about-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 320ms ease;
}
.about-gallery-item:hover .about-gallery-img {
  transform: scale(1.06);
}

/* ---- Closing CTA banner ---- */
.about-cta-banner {
  box-sizing: border-box;
  position: sticky;
  top: clamp(64px,8vw,120px);
  z-index: 1;
  width: min(100% - 2 * clamp(16px,2.5vw,32px), 1100px);
  margin: clamp(24px,3vw,40px) auto clamp(120px,16vw,200px);
  min-height: clamp(300px,32vw,380px);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* ---- Page shell (moved from the inline <style> block in about.html) ---- */
body { margin: 0; background: var(--white-pure); overflow-x: hidden; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); }

/* "Solar Ecosystem" band: desktop sizes this type for a column that's only
   ever half the viewport (the other half holds the dashboard screenshots),
   so the title/body/list sizes were tuned assuming that narrower measure.
   Once .about-ecosystem-grid stacks to one column on mobile, the same copy
   runs the full phone width and reads oversized next to the rest of the
   page's mobile type. Scaling the whole block down (eyebrow, title, body
   text, bullets) brings it back in line. */
@media (max-width: 767px) {
  .about-ecosystem-eyebrow {
    font-size: 11px;
    letter-spacing: 0.06em;
  }
  .about-ecosystem-title {
    font-size: 24px;
    margin: 10px 0 16px;
  }
  .about-ecosystem-text {
    font-size: 14px;
    margin: 0 0 20px;
  }
  .about-ecosystem-points {
    margin: 0 0 20px;
    gap: 12px;
  }
  .about-ecosystem-points li {
    font-size: 13px;
    padding-left: 22px;
  }
  .about-ecosystem-result {
    margin-bottom: 24px;
  }
}
