/* ============================================================
   assets/about.css — About page specific styles
   Uses tokens from assets/style.css only.
   ============================================================ */

/* ----- BREADCRUMB ----- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  padding: 0;
  margin: 0;
  list-style: none;
}
.breadcrumb__item { display: flex; align-items: center; gap: 8px; }
.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  color: rgba(255, 255, 255, 0.5);
}
.breadcrumb__link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}
.breadcrumb__link:hover, .breadcrumb__link:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}
.breadcrumb__current { color: #ffffff; font-weight: 500; }

/* ----- HERO BANNER ----- */
.about-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 380px;
  background:
    linear-gradient(135deg, rgba(31, 58, 95, 0.80), rgba(31, 58, 95, 0.55)),
    url('https://images.unsplash.com/photo-1564501049412-61c2a3083791?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80')
      center / cover no-repeat;
  color: #ffffff;
  overflow: hidden;
}
.about-hero__inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 140px 24px 44px;
}
.about-hero__title {
  color: #ffffff;
  margin-bottom: 10px;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
}
.about-hero__subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  max-width: 560px;
  margin-bottom: 22px;
}

/* ----- INTRO SPLIT ----- */
.about-intro {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-intro__media { order: 2; }
.about-intro__content { order: 1; min-width: 0; }

.about-intro__image-wrap {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.about-intro__image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}
.about-intro__caption {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--muted);
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}

.about-intro__title {
  margin-bottom: 20px;
}
.about-intro__text {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 16px;
}
.about-intro__signature {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #eef1f5;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--brand);
  line-height: 1.4;
}
.about-intro__signature-role {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 4px;
  letter-spacing: 0.02em;
}

/* ----- TIMELINE ----- */
.timeline__list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.timeline__list::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(
    to bottom,
    transparent,
    #dfe4ec 8%,
    #dfe4ec 92%,
    transparent
  );
  transform: translateX(-50%);
  pointer-events: none;
}

.timeline__item {
  position: relative;
  width: 50%;
  padding-right: 48px;
  box-sizing: border-box;
}
.timeline__item:nth-child(odd) {
  text-align: right;
}
.timeline__item:nth-child(even) {
  margin-left: 50%;
  padding-right: 0;
  padding-left: 48px;
  text-align: left;
}

/* Dot on the timeline */
.timeline__item::before {
  content: "";
  position: absolute;
  top: 28px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow:
    0 0 0 4px var(--surface),
    0 0 0 6px rgba(201, 162, 39, 0.25);
  z-index: 1;
}
.timeline__item:nth-child(odd)::before { right: -8px; }
.timeline__item:nth-child(even)::before { left: -8px; }

.timeline__card {
  background: var(--surface);
  border-radius: 12px;
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  display: inline-block;
  text-align: inherit;
  max-width: 100%;
}

.timeline__year {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-dark);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.timeline__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--brand);
  margin: 0 0 8px;
  line-height: 1.35;
}
.timeline__text {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
}

/* ----- MISSION + VISION ----- */
.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

/* ----- VALUE CARDS (shared with values grid) ----- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.value-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--surface);
  border-radius: 12px;
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.value-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.value-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(201, 162, 39, 0.12);
  color: var(--accent-dark);
  margin-bottom: 4px;
  flex-shrink: 0;
}
.value-card__icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.value-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--brand);
  margin: 0;
  line-height: 1.3;
}
.value-card__text {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}

/* Large centred variant for Mission / Vision */
.value-card--large {
  padding: 40px 32px;
  text-align: center;
  align-items: center;
}
.value-card--large .value-card__icon {
  width: 64px;
  height: 64px;
  margin-bottom: 8px;
}
.value-card--large .value-card__icon svg {
  width: 32px;
  height: 32px;
}
.value-card--large .value-card__title {
  font-size: 1.5rem;
}

/* ----- TEAM ----- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.team-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.team-card__photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  background: #e4e8ee;
}
.team-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.team-card__name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brand);
  margin: 0;
  line-height: 1.3;
}
.team-card__role {
  color: var(--accent-dark);
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
}
.team-card__quote {
  color: var(--muted);
  font-size: 0.85rem;
  font-style: italic;
  line-height: 1.55;
  margin: 8px 0 0;
}
.team-card__socials {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
}
.team-card__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(31, 58, 95, 0.06);
  color: var(--brand);
  transition: background 0.2s ease, color 0.2s ease;
}
.team-card__social:hover,
.team-card__social:focus-visible {
  background: var(--brand);
  color: #ffffff;
}
.team-card__social svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.team-card__social--filled svg {
  fill: currentColor;
  stroke: none;
}

/* ----- AWARDS ----- */
.awards {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 24px;
  border: 1px solid #e0e5ec;
  border-radius: 12px;
  background: var(--surface);
}
.awards__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}
.awards__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--muted);
  filter: grayscale(1);
  opacity: 0.6;
  transition: filter 0.25s ease, opacity 0.25s ease;
}
.awards__logo:hover,
.awards__logo:focus-within {
  filter: grayscale(0);
  opacity: 1;
}
.awards__logo svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: var(--brand);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.awards__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand);
  line-height: 1.35;
  text-align: left;
}

/* ----- STATS BAR ----- */
.stats-bar {
  background: var(--brand);
  color: #ffffff;
  padding: 56px 24px;
}
.stats-bar__grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stats-bar__item { display: flex; flex-direction: column; gap: 6px; }
.stats-bar__number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.stats-bar__label {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.02em;
}

/* ----- CTA BAND (.offer) ----- */
.offer {
  background: linear-gradient(135deg, var(--brand), #34598a);
  color: #ffffff;
  padding: 64px 24px;
  text-align: center;
}
.offer__inner {
  max-width: 720px;
  margin: 0 auto;
}
.offer__title {
  color: #ffffff;
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  margin-bottom: 14px;
}
.offer__text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 28px;
}
.offer__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.offer__actions .btn--outline {
  color: #ffffff;
  border-color: #ffffff;
}
.offer__actions .btn--outline:hover,
.offer__actions .btn--outline:focus-visible {
  background: #ffffff;
  color: var(--brand);
}

/* ----- RESPONSIVE ----- */
@media (max-width: 1024px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .awards__list { grid-template-columns: repeat(2, 1fr); gap: 20px 24px; }
  .about-intro { gap: 40px; }
}

@media (max-width: 900px) {
  .about-hero { min-height: 320px; }
  .about-hero__inner { padding: 120px 20px 40px; }
}

@media (max-width: 768px) {
  .about-hero { min-height: 300px; }
  .about-hero__inner { padding: 108px 20px 36px; }

  /* Intro stacks: image first */
  .about-intro { grid-template-columns: 1fr; gap: 28px; }
  .about-intro__media { order: 1; }
  .about-intro__content { order: 2; }
  .about-intro__image { aspect-ratio: 16 / 10; }

  /* Timeline becomes single column with a left line */
  .timeline__list::before {
    left: 19px;
    transform: none;
  }
  .timeline__item,
  .timeline__item:nth-child(odd),
  .timeline__item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    padding-left: 56px;
    padding-right: 0;
    text-align: left;
  }
  .timeline__item::before,
  .timeline__item:nth-child(odd)::before,
  .timeline__item:nth-child(even)::before {
    left: 12px;
    right: auto;
  }
  .timeline__card { display: block; }

  /* Mission / vision stack */
  .mission-vision { grid-template-columns: 1fr; }

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

  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stats-bar { padding: 44px 20px; }
}

@media (max-width: 480px) {
  .about-hero { min-height: 280px; }
  .about-hero__inner { padding: 96px 16px 30px; }
  .about-hero__title { font-size: 1.85rem; }

  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .awards__list { grid-template-columns: 1fr; }

  .stats-bar__grid { grid-template-columns: 1fr; }

  .offer { padding: 48px 20px; }
  .offer__actions { flex-direction: column; align-items: stretch; }
  .offer__actions .btn { width: 100%; }
}

/* ----- REDUCED MOTION ----- */
@media (prefers-reduced-motion: reduce) {
  .value-card,
  .team-card,
  .team-card__social,
  .awards__logo {
    transition: none !important;
  }
  .value-card:hover,
  .team-card:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
  }
}