/* ================== ABOUT PAGE — ADDITIONS (scoped to .about) ================== */
.about .hero {
  padding: 6rem 0 2.25rem;
  background: var(--bg-primary);
  text-align: center
}

.about .hero h1 {
  font-size: 2.6rem;
  line-height: 1.1;
  margin: 1rem 0 0;
  color: var(--text-inverted);
  font-weight: 600
}

.about .hero p.lede {
  max-width: 75ch;
  margin: .75rem auto 0;
  color: var(--text-secondary);
  margin-top: 1.5rem;
  /* space between heading and paragraph */
  margin-bottom: 3rem;
  /* space below the paragraph */
  line-height: 1.6;
  /* match the case studies */
}

.about .hero .gradient-text {
  background: linear-gradient(90deg, #6366f1, #a855f7);
  /* indigo → purple */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* firefox */
}

.about .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem
}

/* About hero pill spacing only (don’t set size/color here) */
body.about .hero .pill {
  margin-top: 3rem;
  margin-bottom: 1rem;
}

/* Photo + elevator */
.about .intro {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem 0
}

.about .portrait {
  width: 100%;
  aspect-ratio: 1/1;
  /* border-radius: 18px; */
  /* border: 1px solid var(--border-light); /*
  /* background: linear-gradient(145deg, var(--bg-secondary), var(--bg-tertiary)); */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden
}

.about .portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.about .elevator .kicker {
  color: var(--primary-blue);
  font-weight: 600;
  margin-bottom: .25rem
}

.about .elevator h2 {
  margin: .15rem 0 1rem;
  color: var(--text-inverted);
  font-weight: 600
}

.about .elevator p {
  color: var(--text-secondary);
  margin: 0 0 .75rem
}

.about .badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .5rem
}

@media (max-width: 900px) {
  .about .intro {
    grid-template-columns: 1fr
  }
}

/* Stats */
.about .stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 1.25rem 0 0
}

.about .stat {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 8px 24px var(--shadow-color)
}

.about .stat .num {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-blue);
}

.about .stat .label {
  color: var(--text-secondary)
}

@media (max-width: 900px) {
  .about .stats {
    grid-template-columns: repeat(2, 1fr)
  }
}

/* Story */
.about .section {
  padding: 3rem 0;
  border-top: 1px solid var(--border-light)
}

.about h3.section-title {
  text-align: center;
  font-size: 2rem;
  color: var(--text-inverted);
  margin: 0 0 1rem
}

.about p.section-lede {
  text-align: center;
  color: var(--text-secondary);
  margin: 0 auto 2rem;
  max-width: 75ch
}

.about .story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem
}

.about .card {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 8px 24px var(--shadow-color)
}

.about .card h4 {
  margin: .25rem 0 .5rem;
  color: var(--text-inverted)
}

.about .card p {
  margin: 0;
  color: var(--text-secondary)
}

@media (max-width: 900px) {
  .about .story {
    grid-template-columns: 1fr
  }
}

/* Skills */
.about .skills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem
}

.about .skill {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 1rem
}

.about .skill h5 {
  margin: .25rem 0;
  color: var(--text-inverted)
}

.about .skill ul {
  padding-left: 1.1rem;
  margin: .25rem 0 0
}

.about .skill li {
  color: var(--text-secondary);
  margin: .15rem 0
}

@media (max-width: 900px) {
  .about .skills {
    grid-template-columns: 1fr
  }
}

/* Testimonials (simple slider) */
.about .testimonials {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(135deg, #4A90E2 0%, #2E5BBA 100%);
  min-height: 400px;
  display: flex;
  align-items: center;
  padding: 3rem 2rem;
}

.about .testimonial-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.about .testimonial-nav:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.about .testimonial-nav--prev {
  left: 2rem;
}

.about .testimonial-nav--next {
  right: 2rem;
}

.about .slides {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}

.about .slide {
  flex: 0 0 100%;
  display: none;
}

.about .slide.active {
  display: block;
}

.about .testimonial-content {
  display: flex;
  align-items: center;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.about .profile-image {
  flex-shrink: 0;
  position: relative;
}

.about .profile-image img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 20px;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  border: 3px solid rgba(255, 255, 255, 0.3);
}

.about .testimonial-text {
  flex: 1;
  position: relative;
}

.about .quote-mark {
  font-size: 8rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1;
  position: absolute;
  top: -2rem;
  left: -1rem;
  font-family: Georgia, serif;
}

.about .quote {
  color: white;
  font-size: 1.25rem;
  line-height: 1.6;
  font-style: italic;
  margin: 0 0 2rem 0;
  position: relative;
  z-index: 2;
}

.about .author {
  color: white;
}

.about .author-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.about .author-title {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
}

.about .testimonial-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
}

.about .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.about .dot.active {
  background: white;
  transform: scale(1.2);
}

.about .dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
  .about .testimonials {
    padding: 2rem 1rem;
    min-height: 350px;
  }
  
  .about .testimonial-content {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  
  .about .profile-image img {
    width: 100px;
    height: 100px;
  }
  
  .about .quote {
    font-size: 1.1rem;
  }
  
  .about .testimonial-nav {
    width: 40px;
    height: 40px;
  }
  
  .about .testimonial-nav--prev {
    left: 1rem;
  }
  
  .about .testimonial-nav--next {
    right: 1rem;
  }
}

.about .ctrl-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: .5rem 1rem;
  cursor: pointer
}

/* Header CTA styles moved to main style.css */

/* Let's Talk */
.about .cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start
}

.about .form-wrap {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 8px 24px var(--shadow-color)
}

.about label {
  display: block;
  font-weight: 600;
  color: var(--text-inverted);
  margin: .5rem 0 .25rem
}

.about input,
.about textarea {
  width: 100%;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: .7rem;
  background: var(--bg-secondary);
  color: var(--text-inverted)
}

.about textarea {
  min-height: 145px;
  resize: vertical
}

.about .submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 10px;
  color: white;
  background: var(--primary-blue);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .12);
  cursor: pointer
}

.about .contact-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 1.25rem
}

.about .contact-list {
  list-style: none;
  padding: 0;
  margin: 0
}

.about .contact-list li+li {
  margin-top: .5rem
}

.about .contact-list a {
  color: var(--primary-blue)
}

.about .notice {
  font-size: .9rem;
  color: var(--text-tertiary);
  margin-top: .5rem
}

/* About page pills/chips — match site-wide chips */
.about .badges { display: flex; flex-wrap: wrap; gap: 0.75rem; } /* optional tidy */

.about .pill,
.about .badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;          /* match site */
  border-radius: 16px;             /* match site */
  font-size: 0.8rem;               /* match site */
  font-weight: 500;                /* match site */
  background: var(--tag-secondary-bg);
  border: 1px solid var(--tag-secondary-border);
  color: var(--primary-blue);      /* light mode text matches site */
}

.about p {
  line-height: 1.6;   /* match hero paragraph */
}

/* Stronger dark override */
html.dark-mode body.about .pill,
html.dark-mode body.about .badge,
body.dark-mode.about .pill,
body.dark-mode.about .badge {
  color: #a5b4fc !important;
}

/* Normalize Let's Talk button style on About page */
body.about .header-cta {
  font-weight: 400;   /* or 600 if you prefer slightly bolder */
  color: #fff !important;
}

/* Make fields respect container padding */
body.about .form-wrap {
  padding: 1.25rem;          /* or 1.5rem if you want more breathing room */
  overflow: hidden;          /* clips any focus glows/shadows at the rounded edge */
}

/* Ensure inputs/textarea don't overflow the card */
body.about input,
body.about textarea {
  width: 100%;
  box-sizing: border-box;     /* <-- key fix */
  display: block;
}

/* Tidy vertical rhythm */
body.about label + input,
body.about label + textarea { 
  margin-top: .35rem;
}
body.about .form-wrap > * + * {
  margin-top: .75rem;
}

/* Optional: squeeze extra padding on small screens */
@media (max-width: 640px) {
  body.about .form-wrap { padding: 1rem; }
}

/* About page: keep the header CTA text white (light & dark) */
body.about .main-header .main-nav a.header-cta,
body.about .main-header .main-nav a.header-cta:link,
body.about .main-header .main-nav a.header-cta:visited,
body.about .main-header .main-nav a.header-cta:hover,
body.about .main-header .main-nav a.header-cta:active {
  color: #fff !important;    /* beat nav link color */
  font-weight: 500;          /* lighten if it looked too heavy */
  text-decoration: none;     /* ensure no underline on hover themes */
}

