/* ============================================================
   FutureU — about.css
   Founders page styles
   Used by: about.html only
   ============================================================ */

/* ── Hero ───────────────────────────────────────────────────── */
.about-hero {
  padding: 64px 24px 56px;
  text-align: center;
  border-bottom: 0.5px solid var(--border-subtle);
}

.about-title {
  font-size: 34px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.2;
  margin: 16px 0 10px;
  letter-spacing: -0.5px;
}

.about-sub {
  font-size: 16px;
  color: var(--text-tertiary);
  font-style: italic;
}

/* ── Letters section ────────────────────────────────────────── */
.letters-section {
  padding: 48px 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 680px;
  margin: 0 auto;
  border-bottom: 0.5px solid var(--border-subtle);
}

/* ── Letter card ────────────────────────────────────────────── */
.letter-card {
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
  animation: letterFadeUp 0.5s ease both;
}

.letter-card:nth-child(2) {
  animation-delay: 0.15s;
}

@keyframes letterFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Green card — Jamal */
.letter-card-green {
  background: var(--bg-primary);
  border: 0.5px solid var(--border-subtle);

  /* fancy layered border effect */
  box-shadow:
    0 0 0 1px rgba(29, 158, 117, 0.15),
    0 0 0 4px rgba(29, 158, 117, 0.06),
    0 4px 24px rgba(29, 158, 117, 0.08),
    0 1px 3px rgba(0, 0, 0, 0.08);
}

.letter-card-green::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: linear-gradient(135deg, #1D9E75 0%, transparent 50%, #1D9E75 100%);
  pointer-events: none;
  opacity: 0.4;
}

/* Blue card — Aden */
.letter-card-blue {
  background: var(--bg-primary);
  border: 0.5px solid var(--border-subtle);

  box-shadow:
    0 0 0 1px rgba(24, 95, 165, 0.15),
    0 0 0 4px rgba(24, 95, 165, 0.06),
    0 4px 24px rgba(24, 95, 165, 0.08),
    0 1px 3px rgba(0, 0, 0, 0.08);
}

.letter-card-blue::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: linear-gradient(135deg, #185FA5 0%, transparent 50%, #185FA5 100%);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.4;
}

/* ── Letter header ──────────────────────────────────────────── */
.letter-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.letter-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.letter-avatar-green { background: var(--brand-light); color: var(--brand-dark); }
.letter-avatar-blue  { background: #E6F1FB; color: #0C447C; }

.letter-meta { flex: 1; }

.letter-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.letter-role {
  font-size: 12px;
  color: var(--text-tertiary);
}

.letter-tag {
  font-size: 11px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.letter-tag-green { background: var(--brand-light); color: var(--brand-dark); }
.letter-tag-blue  { background: #E6F1FB; color: #0C447C; }

/* ── Divider ────────────────────────────────────────────────── */
.letter-divider {
  height: 1px;
  background: linear-gradient(90deg, var(--brand) 0%, transparent 100%);
  margin-bottom: 24px;
  opacity: 0.3;
}

.letter-divider-blue {
  background: linear-gradient(90deg, #185FA5 0%, transparent 100%);
}

/* ── Letter body ────────────────────────────────────────────── */
.letter-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.letter-body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ── Sign off ───────────────────────────────────────────────── */
.letter-sign {
  margin-top: 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--brand-dark);
  font-style: italic;
}

.letter-sign-blue {
  color: #0C447C;
}

/* ── Bottom CTA ─────────────────────────────────────────────── */
.about-cta {
  padding: 56px 24px;
  text-align: center;
}

.about-cta-label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  margin-bottom: 12px;
}

.about-cta-title {
  font-size: 24px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.about-cta-sub {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.65;
}

.about-cta-btns {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Mobile ─────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .about-title { font-size: 24px; }
  .letter-card { padding: 24px 18px; }
  .letters-section { padding: 32px 16px; }
  .letter-tag { display: none; }
}

/* ── Career Compass button blue ─────────────────────────────── */
.about-cta-btns .btn-secondary {
  background: #185FA5;
  color: #fff;
  border-color: #185FA5;
}

.about-cta-btns .btn-secondary:hover {
  opacity: 0.88;
  border-color: #185FA5;
  color: #fff;
}