/* =========================================================================
   SOLAR ENERGY — page: about
   Editorial rhythm: an asymmetric story block, a data section on dark,
   principle cards, and a scroll-lit timeline.
   ========================================================================= */

/* ---------------- story ---------------- */
.story { background: var(--paper); }
.story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .88fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.story__body .lead + .lead { margin-top: 1.2rem; }
.story__signature { margin-top: 2.4rem; max-width: 420px; }

/* two frames, offset — the second slides under the first */
.story__media {
  position: relative;
  display: grid;
  gap: 1.25rem;
}
.story__media .frame img { aspect-ratio: 4 / 3; }
.frame--offset {
  width: 72%;
  margin-left: auto;
  margin-top: -14%;
  border: 6px solid var(--paper);
  z-index: 1;
}
.frame--offset img { aspect-ratio: 4 / 3.2; }

/* ---------------- irradiance ---------------- */
.irradiance__chart {
  padding: clamp(1.6rem, 3vw, 2.6rem);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r-xl);
}
.irradiance .chart-legend { color: rgba(255,255,255,.62); }
.irradiance .chart-legend strong { color: var(--sun-300); font-weight: 700; }
.irradiance .chart__bar::after { color: rgba(255,255,255,.5); }

.irradiance__note {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  max-width: 74ch;
  margin-top: 2.5rem;
  padding: 1.3rem 1.5rem;
  background: rgba(255,176,32,.10);
  border: 1px solid rgba(255,176,32,.26);
  border-radius: var(--r-lg);
}
.irradiance__note .icon {
  width: 1.5rem; height: 1.5rem;
  flex: none;
  color: var(--sun-300);
  stroke-width: 1.9;
  margin-top: .1rem;
}
.irradiance__note p { color: var(--text-light); line-height: 1.72; }

/* ---------------- principles ---------------- */
.principles { background: var(--paper-2); }
.cards--light { grid-template-columns: repeat(4, 1fr); }
.card--pale {
  background: var(--paper);
  border-color: var(--line);
  color: var(--text);
}
.card--pale:hover {
  border-color: var(--brand-300);
  background: var(--paper);
  box-shadow: var(--sh-lg);
}
.card--pale .card__spot {
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(14,128,59,.10), transparent 62%);
}
.card--pale .card__icon {
  background: var(--brand-50);
  border-color: var(--brand-100);
  color: var(--brand);
}
.card--pale h3 { color: var(--text); }
.card--pale > p { color: var(--text-muted); }

/* ---------------- milestones ---------------- */
.milestones__grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.milestones__intro { position: sticky; top: calc(var(--header-h) + 2rem); }

/* ---------------- cta lead ---------------- */
.cta-band__lead {
  max-width: 54ch;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.7;
  color: rgba(42,24,3,.78);
}

@media (max-width: 1100px) {
  .cards--light { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .story__grid,
  .milestones__grid { grid-template-columns: 1fr; }
  .milestones__intro { position: static; }
  .story__media { max-width: 560px; }
}
@media (max-width: 700px) {
  .cards--light { grid-template-columns: 1fr; }
  .frame--offset { width: 82%; margin-top: -18%; }
  .irradiance .chart { height: 150px; }
}
