/* =============================================
   About Page — Navy Mint Theme
   Typography uses clamp() to match index page
   ============================================= */


/* ── Shared section utilities ── */

.section-label {
  display: inline-block;
  font-family: 'Courier New', Courier, monospace;
  font-size: clamp(0.68rem, 1.5vw, 0.78rem);
  color: #64ffda;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(100, 255, 218, 0.05);
  border: 1px solid rgba(100, 255, 218, 0.25);
  padding: 0.2rem 0.75rem;
  border-radius: 3px;
  margin-bottom: 0.65rem;
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  color: #ccd6f6;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.section-desc {
  font-size: clamp(0.9rem, 2vw, 1rem);
  color: #8892b0;
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 560px;
}


/* ── Page Header ── */

.about-header {
  padding: 5rem 0 3rem;
  text-align: center;
  animation: fadeInUp 0.7s ease both;
}

.about-headline {
  font-size: clamp(2.8rem, 7vw, 4.8rem);
  font-weight: 900;
  color: #ccd6f6;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 1rem;
}

.about-subline {
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  color: #8892b0;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}


/* ── Bio Section ── */

.about-bio {
  padding: 4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.bio-photo-wrapper {
  margin-bottom: 2rem;
}

.bio-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  width: 100%;
  max-width: 300px;
}

.stat-item {
  background: #112240;
  border: 1px solid #233554;
  border-radius: 8px;
  padding: 0.9rem 0.75rem;
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.stat-item:hover {
  border-color: rgba(100, 255, 218, 0.4);
  transform: translateY(-2px);
}

.stat-number {
  display: block;
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: clamp(0.65rem, 1.5vw, 0.72rem);
  color: #8892b0;
  font-family: 'Courier New', Courier, monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bio-story h2 {
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 900;
  color: #ccd6f6;
  margin-bottom: 1.25rem;
  padding-left: 1rem;
  border-left: 3px solid #64ffda;
  line-height: 1.2;
}

.bio-story p {
  font-size: clamp(0.9rem, 2vw, 1rem);
  color: #a8b2d8;
  line-height: 1.85;
  margin-bottom: 1rem;
}

.bio-story strong {
  color: #ccd6f6;
}

.bio-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}


/* ── What Drives Me ── */

.about-drives {
  padding: 4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.drive-card {
  background: #112240;
  border: 1px solid #233554;
  border-radius: 10px;
  padding: 1.75rem 1.5rem;
  height: 100%;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.drive-card:hover {
  transform: translateY(-4px);
  border-color: rgba(100, 255, 218, 0.35);
}

.drive-icon {
  font-size: clamp(1.6rem, 4vw, 2rem);
  color: #64ffda;
  display: block;
  margin-bottom: 1rem;
}

.drive-card h3 {
  font-size: clamp(0.9rem, 2vw, 1rem);
  font-weight: 700;
  color: #ccd6f6;
  margin-bottom: 0.5rem;
}

.drive-card p {
  font-size: clamp(0.82rem, 1.8vw, 0.9rem);
  color: #8892b0;
  line-height: 1.7;
  margin: 0;
}


/* ── Beyond the Terminal ── */

.about-beyond {
  padding: 4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.beyond-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #112240;
  border: 1px solid #233554;
  border-radius: 10px;
  padding: 1.25rem;
  height: 100%;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.beyond-card:hover {
  border-color: rgba(100, 255, 218, 0.3);
  transform: translateY(-2px);
}

.beyond-icon {
  font-size: clamp(1.5rem, 3vw, 1.8rem);
  line-height: 1;
  flex-shrink: 0;
}

.beyond-card > div {
  min-width: 0;
}

.beyond-card h4 {
  font-size: clamp(0.88rem, 2vw, 0.95rem);
  font-weight: 700;
  color: #ccd6f6;
  margin-bottom: 0.25rem;
  overflow-wrap: break-word;
  word-break: break-word;
}

.beyond-card p {
  font-size: clamp(0.8rem, 1.8vw, 0.875rem);
  color: #8892b0;
  line-height: 1.6;
  margin: 0;
}


/* ── Nutshell Tags ── */

.about-nutshell {
  padding: 4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.nutshell-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 0.5rem;
}

.nutshell-tag {
  font-family: 'Merriweather', serif;
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  font-weight: 700;
  color: #ccd6f6;
  background: #112240;
  border: 1px solid #233554;
  border-radius: 4px;
  padding: 0.4rem 1rem;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  cursor: default;
}

.nutshell-tag:hover {
  color: #64ffda;
  border-color: rgba(100, 255, 218, 0.4);
  transform: translateY(-2px);
}


/* ── Books ── */

.about-reading {
  padding: 4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.book-card {
  background: #112240;
  border: 1px solid #233554;
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.book-card:hover {
  transform: translateY(-4px);
  border-color: rgba(100, 255, 218, 0.35);
}

.book-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.book-info {
  padding: 1.25rem;
}

.book-info h3 {
  font-size: clamp(0.9rem, 2vw, 1rem);
  font-weight: 700;
  color: #ccd6f6;
  margin-bottom: 0.2rem;
}

.book-author {
  display: block;
  font-size: clamp(0.7rem, 1.6vw, 0.78rem);
  color: #64ffda;
  font-family: 'Courier New', Courier, monospace;
  letter-spacing: 0.04em;
  margin-bottom: 0.6rem;
}

.book-info p {
  font-size: clamp(0.8rem, 1.8vw, 0.875rem);
  color: #8892b0;
  line-height: 1.65;
  margin: 0;
}


/* ── Quotes ── */

.about-quotes {
  padding: 4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.quote-card {
  background: #112240;
  border: 1px solid #233554;
  border-left: 3px solid #64ffda;
  border-radius: 0 10px 10px 0;
  padding: 2rem 1.75rem 1.75rem;
  height: 100%;
  margin: 0;
  position: relative;
}

.quote-card::before {
  content: '\201C';
  font-size: clamp(3rem, 6vw, 4.5rem);
  color: rgba(100, 255, 218, 0.12);
  font-family: Georgia, serif;
  position: absolute;
  top: 0.25rem;
  left: 1rem;
  line-height: 1;
  pointer-events: none;
}

.quote-card p {
  font-size: clamp(0.88rem, 2vw, 0.95rem);
  color: #a8b2d8;
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1rem;
  padding-top: 1.25rem;
}

.quote-card footer {
  font-size: clamp(0.72rem, 1.6vw, 0.8rem);
  color: #64ffda;
  font-family: 'Courier New', Courier, monospace;
  font-style: normal;
  letter-spacing: 0.03em;
}


/* ── CTA Section ── */

.about-cta {
  padding: 5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cta-box {
  background: #112240;
  border: 1px solid #233554;
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-motto {
  font-size: clamp(0.82rem, 2vw, 0.9rem);
  color: #64ffda;
  font-family: 'Courier New', Courier, monospace;
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
}

.cta-box h2 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 900;
  color: #ccd6f6;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.cta-box p {
  font-size: clamp(0.9rem, 2vw, 1rem);
  color: #8892b0;
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}


/* ── Responsive ── */

@media (max-width: 991px) {
  .about-header {
    padding: 3.5rem 0 2rem;
  }

  .bio-stats {
    max-width: 100%;
  }

  .section-desc {
    max-width: 100%;
  }
}

@media (max-width: 575px) {
  .about-header {
    padding: 2.5rem 0 1.5rem;
  }

  .bio-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-cta-primary,
  .btn-cta-secondary {
    text-align: center;
  }

  .book-card img {
    height: 200px;
  }
}
