/* ==========================================================================
   About template (tpl-about.php) — layout, commitments cards, leadership
   grid, culture strip. Shared primitives (buttons, cards, typography,
   eyebrow, chip) come from global.css / design-system.css; this file only
   adds what's specific to this page.
   ========================================================================== */

.about-static {
  --ab-navy: var(--ds-navy, #0a1526);
  --ab-navy-soft: var(--ds-navy-soft, #0f2033);
  --ab-culture-bg: #0f2c47;
  --ab-section-pad-y: 5.5rem;
  --ab-section-pad-y-sm: 3.5rem;
  --ab-border-light: rgba(10, 21, 38, 0.08);
  --ab-border-dark: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.about-static svg {
  flex-shrink: 0;
}

.about-static section {
  padding-top: var(--ab-section-pad-y);
  padding-bottom: var(--ab-section-pad-y);
}

@media (max-width: 767px) {
  .about-static section {
    padding-top: var(--ab-section-pad-y-sm);
    padding-bottom: var(--ab-section-pad-y-sm);
  }
}

.ab-section-head {
  max-width: 640px;
  margin: 0 auto 3rem;
  text-align: center;
}

.ab-section-head .eyebrow {
  justify-content: center;
  margin-bottom: 0.75rem;
}

/* ---------- Hero ---------- */
.about-static .ab-hero {
  position: relative;
  background: var(
    --ds-hero-bg,
    linear-gradient(180deg, #052536 0%, #021b28 100%)
  );
  color: #fff;
  padding-top: calc(var(--ds-header-h, 88px) + 3rem);
  padding-bottom: 0;
  overflow: hidden;
}

.ab-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ds-hero-glow);
  pointer-events: none;
}

.ab-hero-inner {
  position: relative;
  padding-bottom: 5rem;
}

.ab-hero .chip {
  border-radius: 20px;
  border: 1px solid rgba(49, 170, 236, 0.5);
  background: rgba(49, 170, 236, 0.15);
  color: var(--ds-color-accent, #31aaec);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 155%;
  gap: 0.5rem;
  flex-shrink: 0;
}

.ab-hero-chip-dot {
  width: 6px;
  height: 6px;
  aspect-ratio: 1 / 1;
  border-radius: 9999px;
  background: var(--ds-color-accent, #31aaec);
  flex-shrink: 0;
}

.about-static .ab-hero-heading {
  margin-top: 1.25rem;
  color: var(--Main-Color-White, #fff);
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 68px;
  font-style: normal;
  font-weight: 600;
  line-height: 125%; /* 85px */
  letter-spacing: -0.68px;
}

.ab-hero-highlight {
  display: block;
  color: var(--Main-Color-Main-Color, #31aaec);
}

.ab-hero-mission {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-top: 2.75rem;
  padding-top: 2.75rem;
}

.ab-hero-mission::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  border-radius: 16px;
  background: linear-gradient(90deg, #1d2242 0%, #090e2d 100%);
}

.ab-hero-mission .chip {
  margin-top: 0.2rem;
}

.about-static .ab-hero-mission p {
  color: var(--Main-Color-White, #fff);
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: 135%; /* 43.2px */
}

.ab-hero-stats {
  display: flex;
  width: 100%;
  max-width: 1200px;
  margin: 3.75rem auto 0;
  padding: 1px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  border-radius: 16px;
  background: var(
    --Card-stroke,
    linear-gradient(180deg, #003653 0%, #032638 100%)
  );
}

.ab-hero-stats-inner {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 1.75rem;
  border-radius: 15px;
  background: var(--ds-navy, #0a1526);
}

.ab-hero-stat {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #f3f4f6;
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 155%; /* 24.8px */
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.ab-hero-stat svg {
  width: 18px;
  height: 18px;
}

.ab-hero-stat-dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: var(--ds-color-accent, #31aaec);
  flex-shrink: 0;
}

.ab-hero-spark {
  position: relative;
  display: block;
  flex: 1;
  height: 24px;
  min-width: 120px;
}

.ab-hero-spark-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1.5px;
  transform: translateY(-50%);
  background: linear-gradient(
    90deg,
    rgba(49, 170, 236, 0.2) 28.27%,
    rgba(22, 124, 180, 0.2) 82.58%
  );
}

.ab-hero-spark-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 24px;
  animation: ab-pulse-travel 2.4s ease-in-out infinite alternate;
}

@keyframes ab-pulse-travel {
  from {
    left: 0;
  }
  to {
    left: calc(100% - 40px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ab-hero-spark-pulse {
    animation: none;
    left: calc(50% - 20px);
  }
}

/* ---------- Three commitments ---------- */
.ab-values {
  background: #eff4ff;
}

.ab-values .ab-section-head .eyebrow {
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 155%;
  background: var(
    --Gradient-Text,
    linear-gradient(90deg, #31aaec 28.27%, #167cb4 82.58%)
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ab-values .ab-section-head h2 {
  text-align: center;
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: 135%; /* 43.2px */
  background: var(
    --Gradient-Text,
    linear-gradient(90deg, #31aaec 28.27%, #167cb4 82.58%)
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ab-commitments-grid {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: space-between;
  gap: 1.5rem;
  align-items: stretch;
}

.ab-commitment-card {
  display: flex;
  width: 550px;
  max-width: 100%;
  padding: 36px 32px;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  flex-shrink: 0;
  align-self: stretch;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.08);
}

.ab-commitment-card:not(:first-child) {
  width: 305px;
}

@media (max-width: 900px) {
  .ab-commitment-card,
  .ab-commitment-card:not(:first-child) {
    width: 100%;
  }
}

.ab-commitment-label {
  display: block;
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 155%; /* 21.7px */
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(
    --Gradient-Text,
    linear-gradient(90deg, #31aaec 28.27%, #167cb4 82.58%)
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-static .ab-commitment-heading {
  margin-top: 0.75rem;
  color: var(--Main-Color-Main-Text, #231f20);
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 155%; /* 24.8px */
}

.about-static .ab-commitment-card:first-child .ab-commitment-heading {
  font-size: 24px;
  font-weight: 700;
  line-height: 130%; /* 31.2px */
}

.ab-commitment-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.ab-commitment-check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--Main-Color-Sub-text, #8d8d8e);
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 155%; /* 24.8px */
}

.ab-commitment-check-item svg {
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .ab-commitments-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Leadership ---------- */
.ab-leadership {
  background: var(--ab-navy);
  color: #fff;
}

.ab-leadership .ab-section-head h2 {
  color: var(--ds-color-white, #fff);
}

.ab-leadership .ab-section-head p {
  color: var(--Main-Color-Gray, #c2c6d6);
  text-align: center;
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 27px */
}

.ab-team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.ab-team-card {
  display: flex;
  width: 380px;
  height: auto;
  max-width: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.ab-team-card:focus {
  outline: none;
}

.ab-team-card-inner {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  padding: 16px;
  border-radius: 16px;
}

.ab-team-photo {
  position: relative;
  display: flex;
  width: 345px;
  height: 425px;
  max-width: 100%;
  padding: 16px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--card-bg, linear-gradient(180deg, #052536 0%, #021b28 100%));
}

.ab-team-photo img {
  flex: 1 0 0;
  align-self: stretch;
  border-radius: 8px;
  object-fit: cover;
  min-height: 0;
  min-width: 0;
}

.ab-team-photo.is-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.25);
}

.ab-team-photo.is-placeholder svg {
  width: 48px;
  height: 48px;
}

.ab-team-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--card-bg, linear-gradient(180deg, #052536 0%, #021b28 100%));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.ab-team-card:hover .ab-team-overlay,
.ab-team-card:focus-within .ab-team-overlay {
  opacity: 1;
}

.ab-team-bio {
  color: var(--Main-Color-Gray, #c2c6d6);
  text-align: center;
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 155%; /* 24.8px */
}

.ab-team-tagline {
  color: var(--Main-Color-Gray, #c2c6d6);
  text-align: center;
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  font-style: italic;
  font-weight: 400;
  line-height: 155%; /* 24.8px */
}

.ab-team-info {
  padding: 16px;
}

.ab-team-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ab-team-name {
  color: var(--Main-Color-White, #fff);
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 155%; /* 27.9px */
}

.ab-team-linkedin {
  display: inline-flex;
  transition: opacity 0.2s ease;
}

.ab-team-linkedin svg {
  width: 20px;
  height: 20px;
}

.ab-team-linkedin:hover {
  opacity: 0.75;
}

.ab-team-role {
  display: block;
  margin-top: 0.3rem;
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 155%; /* 24.8px */
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(
    --Gradient-Text,
    linear-gradient(90deg, #31aaec 28.27%, #167cb4 82.58%)
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

@media (max-width: 560px) {
  .ab-team-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Life at CTS ---------- */
.ab-culture {
  background: var(--ab-culture-bg);
  color: #fff;
}

.ab-culture-head {
  margin-bottom: 3rem;
}

.ab-culture-head .eyebrow {
  margin-bottom: 0.75rem;
}

.ab-culture-head h2 {
  color: var(--Main-Color-White, #fff);
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: 135%; /* 43.2px */
}

.ab-culture-head p {
  margin-top: 0.75rem;
  color: var(--Main-Color-Gray, #c2c6d6);
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 27px */
}

.ab-gallery {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0 -1.25rem;
  padding: 0 1.25rem;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.ab-gallery.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.ab-gallery::-webkit-scrollbar {
  display: none;
}

@media (min-width: 640px) {
  .ab-gallery {
    margin: 0 -2rem;
    padding: 0 2rem;
  }
}

.ab-gallery-item {
  flex: 0 0 auto;
  width: 315px;
  height: 360px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--ab-navy-soft);
}

.ab-gallery-item {
  border-radius: 16px;
  border: 1px solid #31aaec;
}

.ab-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-user-drag: none;
  pointer-events: none;
}

.ab-gallery-item.is-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.25);
}

.ab-gallery-item.is-placeholder svg {
  width: 32px;
  height: 32px;
}

@media (max-width: 480px) {
  .ab-gallery-item {
    width: 280px;
    height: 306px;
  }
}

.ab-stories-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.ab-story-card {
  display: flex;
  width: 588px;
  max-width: 100%;
  padding: 32px 24px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  border-radius: 16px;
  background: var(--card-bg, linear-gradient(180deg, #052536 0%, #021b28 100%));
}

.about-static .ab-story-card h3 {
  color: var(--Main-Color-White, #fff);
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 130%; /* 31.2px */
}

.about-static .ab-story-card p {
  margin-top: 0.6rem;
  color: var(--Main-Color-Gray, #c2c6d6);
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 155%; /* 24.8px */
}

@media (max-width: 767px) {
  .ab-stories-grid {
    grid-template-columns: 1fr;
  }
}
