/* ==========================================================================
   about-panel.css — "About Oleon" overlay: general company info.
   Component: js/ui/AboutPanel.js
   ========================================================================== */

#about-panel {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease, visibility 0s linear;
}
#about-panel.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}

#about-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

#about-card {
  position: relative;
  z-index: 2;
  width: 92%;
  max-width: 640px;
  max-height: 88vh;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  transform: translateY(16px);
  transition: transform 0.4s cubic-bezier(0.22, 0.9, 0.36, 1);
}
#about-panel:not(.hidden) #about-card {
  transform: translateY(0);
}

#about-content { display: block; }

/* Close sits over the white card (top-right), so it's brand-navy tinted. */
#about-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgb(var(--color-oleon-rgb) / 0.1);
  color: var(--color-oleon);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
#about-close:hover {
  background: rgb(var(--color-oleon-rgb) / 0.2);
  transform: scale(1.1);
}
#about-close svg { width: 16px; height: 16px; stroke-width: 2.5; }

/* ── Content column ──────────────────────────────────────────────────────── */
.about__col {
  padding: 44px 44px 48px;
  max-height: 88vh;
  overflow-y: auto;
}

.about__eyebrow {
  display: block;
  margin-bottom: 22px;
  padding-bottom: 14px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-oleon);
  border-bottom: 2px solid rgb(var(--color-oleon-rgb) / 0.12);
}

.about__intro {
  margin: 0 0 26px;
  /* Body step of the shared modal type scale (18 title / 15 sub-heading /
     14 body / 12 caption). Was 15px — a lead-paragraph size that put this
     panel's prose out of step with the info panel's 14px. */
  font-size: 14px;
  line-height: 1.7;
  color: #444;
}
.about__intro strong { color: var(--color-oleon); font-weight: 700; }

/* ── Info sections ───────────────────────────────────────────────────────── */
.about__sections {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.about__section-title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--color-oleon);
}
.about__section-text {
  margin: 0;
  /* Body step. Was 13.5px — a stray half-pixel, and a third prose size in a
     panel that only needs one. */
  font-size: 14px;
  line-height: 1.6;
  color: #666;
}
.about__section-text strong { color: #333; font-weight: 700; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 760px) {
  #about-card { max-width: 480px; border-radius: 16px; }
  .about__col { padding: 30px 26px; }
}
