/**
 * UHDS — About Us page (scoped components)
 */

.khie-about-hero {
  position: relative;
  overflow: hidden;
  background: #021526;
}

.khie-about-hero__mesh {
  background:
    radial-gradient(ellipse 100% 70% at 50% -10%, rgba(187, 247, 208, 0.18), transparent 55%),
    radial-gradient(circle at 88% 35%, rgba(6, 61, 110, 0.45), transparent 48%),
    radial-gradient(circle at 8% 75%, rgba(15, 118, 110, 0.22), transparent 42%);
}

.khie-about-hero__grid {
  background-size: 52px 52px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse 75% 65% at 50% 40%, black 25%, transparent 100%);
}

.khie-about-hero__img-wrap {
  top: -12%;
  height: 124%;
}

.khie-about-hero__img {
  object-position: center 28%;
}

.khie-about-hero__veil {
  background:
    linear-gradient(118deg, rgba(2, 21, 38, 0.88) 0%, rgba(4, 44, 79, 0.72) 40%, rgba(6, 61, 110, 0.58) 72%, rgba(15, 118, 110, 0.42) 100%),
    linear-gradient(180deg, rgba(2, 21, 38, 0.25) 0%, rgba(2, 21, 38, 0.65) 100%);
}

.khie-about-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 1rem;
  border: 1px solid #e8edf3;
  background: #fff;
  padding: 1.5rem 1.35rem;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 12px 32px -18px rgba(6, 61, 110, 0.14);
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

html.dark .khie-about-card {
  border-color: #334155;
  background: #111827;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.2),
    0 14px 36px -20px rgba(0, 0, 0, 0.45);
}

.khie-about-card__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #063d6e;
  transition: transform 0.3s ease, background 0.3s ease;
}

html.dark .khie-about-card__icon {
  border-color: #475569;
  background: #1e293b;
  color: #7dd3fc;
}

.khie-about-card__title {
  font-family: var(--khie-font-display, inherit);
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
}

html.dark .khie-about-card__title {
  color: #f1f5f9;
}

.khie-about-card__list {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #64748b;
}

html.dark .khie-about-card__list {
  color: #94a3b8;
}

.khie-about-card__list li {
  display: flex;
  gap: 0.5rem;
}

.khie-about-card__list li::before {
  content: "";
  flex-shrink: 0;
  width: 0.35rem;
  height: 0.35rem;
  margin-top: 0.45rem;
  border-radius: 999px;
  background: #0f766e;
}

.khie-about-quote {
  position: relative;
  border-radius: 1.25rem;
  border: 1px solid color-mix(in srgb, var(--khie-primary), transparent 82%);
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 48%, #ecfdf5 100%);
  padding: 2rem 1.75rem;
  box-shadow: 0 20px 48px -28px rgba(6, 61, 110, 0.2);
}

html.dark .khie-about-quote {
  border-color: #334155;
  background: linear-gradient(135deg, #0f172a 0%, #042c4f 55%, #083344 100%);
}

.khie-about-quote::before {
  content: "\201C";
  position: absolute;
  top: 0.5rem;
  left: 1.25rem;
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 1;
  color: color-mix(in srgb, var(--khie-primary), transparent 70%);
  opacity: 0.35;
}

.khie-about-quote p {
  position: relative;
  font-family: var(--khie-font-display, inherit);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.65;
  color: #042c4f;
  letter-spacing: -0.015em;
}

html.dark .khie-about-quote p {
  color: #e2e8f0;
}

.khie-about-statement {
  border-radius: 1.5rem;
  border: 1px solid color-mix(in srgb, var(--khie-accent), transparent 65%);
  background: linear-gradient(135deg, #042c4f 0%, #063d6e 42%, #0f766e 100%);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow:
    0 28px 56px -24px rgba(6, 61, 110, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.khie-about-statement p {
  font-family: var(--khie-font-display, inherit);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 600;
  line-height: 1.6;
  color: #f8fafc;
  letter-spacing: -0.02em;
}

.khie-about-timeline {
  position: relative;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .khie-about-timeline {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .khie-about-timeline::before {
    content: "";
    position: absolute;
    top: 1.65rem;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, #063d6e, #0f766e, #063d6e);
    opacity: 0.35;
    z-index: 0;
  }
}

.khie-about-timeline__item {
  position: relative;
  z-index: 1;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  padding: 1.35rem 1.25rem;
  box-shadow: 0 14px 36px -22px rgba(6, 61, 110, 0.16);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

html.dark .khie-about-timeline__item {
  border-color: #334155;
  background: #111827;
}

.khie-about-timeline__phase {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #063d6e, #0f766e);
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(6, 61, 110, 0.55);
}

.khie-about-timeline__title {
  margin-top: 0.85rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #063d6e;
}

html.dark .khie-about-timeline__title {
  color: #7dd3fc;
}

.khie-about-timeline__list {
  margin-top: 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #64748b;
}

html.dark .khie-about-timeline__list {
  color: #94a3b8;
}

.khie-about-stakeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.55rem;
  border-radius: 0.875rem;
  border: 1px solid #e8edf3;
  background: #fff;
  padding: 1.15rem 0.85rem;
  box-shadow: 0 8px 24px -16px rgba(6, 61, 110, 0.12);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

html.dark .khie-about-stakeholder {
  border-color: #334155;
  background: #111827;
}

.khie-about-stakeholder__icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.65rem;
  background: #eff6ff;
  color: #063d6e;
}

html.dark .khie-about-stakeholder__icon {
  background: #042c4f;
  color: #7dd3fc;
}

.khie-about-stakeholder__label {
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.3;
  color: #334155;
}

html.dark .khie-about-stakeholder__label {
  color: #cbd5e1;
}

.khie-about-arch {
  border-radius: 1.15rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  padding: 1.5rem;
  box-shadow: 0 16px 40px -24px rgba(6, 61, 110, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

html.dark .khie-about-arch {
  border-color: #334155;
  background: #0f172a;
}

.khie-about-arch__head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.khie-about-arch__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #eff6ff, #ecfdf5);
  color: #063d6e;
}

html.dark .khie-about-arch__icon {
  background: linear-gradient(135deg, #042c4f, #083344);
  color: #7dd3fc;
}

.khie-about-partner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4.5rem;
  border-radius: 0.875rem;
  border: 1px dashed #cbd5e1;
  background: #f8fafc;
  padding: 1rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: #475569;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

html.dark .khie-about-partner {
  border-color: #475569;
  background: #1e293b;
  color: #94a3b8;
}

.khie-about-value {
  border-radius: 1rem;
  border: 1px solid #e8edf3;
  background: #fff;
  padding: 1.35rem 1.15rem;
  text-align: center;
  box-shadow: 0 10px 28px -18px rgba(6, 61, 110, 0.12);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

html.dark .khie-about-value {
  border-color: #334155;
  background: #111827;
}

.khie-about-value__icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto 0.75rem;
  border-radius: 999px;
  background: #ecfdf5;
  color: #0f766e;
}

html.dark .khie-about-value__icon {
  background: #083344;
  color: #5eead4;
}

.khie-about-value__title {
  font-size: 0.875rem;
  font-weight: 800;
  color: #042c4f;
}

html.dark .khie-about-value__title {
  color: #f1f5f9;
}

.khie-about-challenge {
  display: flex;
  gap: 0.65rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #64748b;
}

html.dark .khie-about-challenge {
  color: #94a3b8;
}

.khie-about-challenge::before {
  content: "";
  flex-shrink: 0;
  width: 0.4rem;
  height: 0.4rem;
  margin-top: 0.42rem;
  border-radius: 999px;
  background: #dc2626;
  opacity: 0.75;
}

.khie-about-network-hub {
  animation: khie-about-pulse 4s ease-in-out infinite;
}

@keyframes khie-about-pulse {
  0%,
  100% {
    opacity: 0.65;
    transform: scale(0.96);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

@media (hover: hover) {
  .khie-about-card:hover,
  .khie-about-arch:hover,
  .khie-about-value:hover,
  .khie-about-timeline__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px -20px rgba(6, 61, 110, 0.22);
  }

  .khie-about-stakeholder:hover,
  .khie-about-partner:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--khie-primary), transparent 70%);
  }

  .khie-about-card:hover .khie-about-card__icon {
    transform: scale(1.06);
    background: #eff6ff;
  }

  html.dark .khie-about-card:hover .khie-about-card__icon {
    background: #042c4f;
  }
}

@media (prefers-reduced-motion: reduce) {
  .khie-about-network-hub {
    animation: none;
  }

  .khie-about-card,
  .khie-about-arch,
  .khie-about-value,
  .khie-about-timeline__item,
  .khie-about-stakeholder,
  .khie-about-partner {
    transition: none;
  }
}
