/* ============================================================
   KELLEY IT SOLUTIONS — About Page Styles
   Supplements css/style.css (shared)
   ============================================================ */


/* ============================================================
   PAGE HEADER
   ============================================================ */
.page-header {
  padding: calc(var(--nav-h) + 40px) 0 44px;
  background: linear-gradient(130deg, #3d1a4a 0%, #5c2870 55%, #3d1a4a 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle decorative blobs — same pattern as CTA banner */
.page-header::before,
.page-header::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.page-header::before {
  width: 400px;
  height: 400px;
  top: -140px;
  right: -100px;
  background: rgba(29, 197, 255, 0.08);
}
.page-header::after {
  width: 320px;
  height: 320px;
  bottom: -120px;
  left: -80px;
  background: rgba(29, 197, 255, 0.05);
}

.page-header .container { position: relative; z-index: 1; }

.page-header h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  letter-spacing: -1.5px;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.05;
}

.page-header-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255, 255, 255, 0.75);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}


/* ============================================================
   BIO SECTION
   ============================================================ */
.bio-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 72px;
  align-items: start;
}

/* --- Photo column ----------------------------------------- */
.bio-photo {
  position: sticky;
  top: calc(var(--nav-h) + 28px);
}

.bio-photo-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--bg-light);
  aspect-ratio: 3 / 3.5;
  margin-bottom: 20px;
}

.bio-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Card below photo with name / title / location */
.bio-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}

.bio-card-name {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}

.bio-card-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--purple);
  margin-bottom: 10px;
}

.bio-card-location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--text-soft);
}

.bio-card-location svg {
  flex-shrink: 0;
  color: var(--text-soft);
}


/* --- Content column -------------------------------------- */
.bio-content h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 22px;
  line-height: 1.18;
}

.bio-content p {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 18px;
}

/* Blockquote */
.bio-quote {
  margin: 32px 0;
  padding: 24px 28px;
  border-left: 4px solid var(--purple);
  background: rgba(147, 0, 147, 0.04);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.bio-quote p {
  font-size: 16px;
  color: var(--text);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 12px;
}

.bio-quote cite {
  font-size: 13px;
  font-family: var(--font-head);
  font-weight: 700;
  font-style: normal;
  color: var(--purple);
  letter-spacing: 0.3px;
}

/* Stats row */
.bio-stats {
  display: flex;
  gap: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border-soft);
  flex-wrap: wrap;
}

.bio-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bio-stat-num {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--purple);
  line-height: 1;
}

.bio-stat-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}


/* ============================================================
   VALUES SECTION
   ============================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.28s var(--ease),
              box-shadow 0.28s var(--ease),
              border-color 0.28s ease;
}

/* Accent bar on top — mirrors service cards */
.value-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.value-card:hover::after {
  transform: scaleX(1);
}

.value-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(147, 0, 147, 0.10), rgba(29, 197, 255, 0.10));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  margin-bottom: 18px;
}

.value-icon svg {
  width: 24px;
  height: 24px;
}

.value-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.75;
}


/* ============================================================
   EXPERTISE SECTION
   ============================================================ */
.expertise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.expertise-grid h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
  line-height: 1.18;
}

.expertise-grid p {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 10px;
}

/* Expertise item list */
.expertise-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.expertise-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border-soft);
  transition: background 0.2s ease;
}

.expertise-item:last-child {
  border-bottom: none;
}

.expertise-item:hover {
  background: rgba(147, 0, 147, 0.03);
}

.expertise-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(147, 0, 147, 0.10), rgba(29, 197, 255, 0.10));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  flex-shrink: 0;
  margin-top: 2px;
}

.expertise-icon svg {
  width: 20px;
  height: 20px;
}

.expertise-item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}

.expertise-item span {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.55;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Collapse bio grid at 1024px */
@media (max-width: 1024px) {
  .bio-grid {
    grid-template-columns: 300px 1fr;
    gap: 48px;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Stack bio and expertise at 860px */
@media (max-width: 860px) {
  .bio-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .bio-photo {
    position: static;
    max-width: 380px;
    margin: 0 auto;
  }

  .bio-photo-wrap {
    aspect-ratio: 3 / 3;
  }

  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* Page header and values at 600px */
@media (max-width: 600px) {
  .page-header {
    padding: calc(var(--nav-h) + 24px) 0 30px;
  }

  .values-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .bio-stats {
    gap: 24px;
  }

  .bio-stat-num {
    font-size: 26px;
  }

  .bio-quote {
    padding: 18px 20px;
  }
}
