/* ============================================================
   HISTORY PAGE STYLES
   ============================================================ */

/* ---- History Hero ---- */
.history-hero .k-overlay {
  background: color-mix(in srgb, var(--scheme--background) 50%, transparent);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.history-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slot {
  color: var(--scheme--text);
}

.hero-slot .eyebrow {
  color: var(--scheme--eyebrow);
  margin-bottom: 12px;
}

.hero-slot .h1 {
  margin-bottom: 16px;
}

.hero-slot .lead {
  max-width: 640px;
  color: var(--scheme--text-secondary);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.page-hero__eyebrow {
  color: var(--scheme--eyebrow);
  margin-bottom: 8px;
}

.page-hero__heading {
  font-family: var(--font-head);
  font-weight: var(--w-semibold);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--scheme--text);
  margin-bottom: 16px;
}

.page-hero__intro {
  max-width: 640px;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--scheme--text-secondary);
}

/* ---- Timeline ---- */
.history-timeline {
  margin-top: clamp(60px, 10vw, 120px);
}

.timeline-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 40px;
  margin-bottom: clamp(40px, 6vw, 80px);
  align-items: flex-start;
}

@media (max-width: 768px) {
  .timeline-item {
    grid-template-columns: 80px 1fr;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .timeline-item {
    grid-template-columns: 70px 1fr;
    gap: 16px;
  }
}

.timeline-year {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: var(--w-semibold);
  color: var(--brand);
  line-height: 1.2;
}

.timeline-content h3 {
  font-family: var(--font-head);
  font-weight: var(--w-semibold);
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  margin-bottom: 12px;
  color: var(--scheme--text);
  margin-top: 0;
}

.timeline-content p {
  color: var(--scheme--text-secondary);
  line-height: 1.65;
  margin-bottom: 12px;
}

.timeline-content p:last-child {
  margin-bottom: 0;
}

/* ---- Values Section ---- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(32px, 4vw, 48px);
  margin-top: clamp(60px, 10vw, 100px);
}


.value-card h3 {
  font-family: var(--font-head);
  font-weight: var(--w-semibold);
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--scheme--text);
  margin-top: 0;
}

.value-card p {
  color: var(--scheme--text-secondary);
  line-height: 1.65;
  margin: 0;
}

/* ---- Team Section ---- */
.history-team-photo {
  margin-top: clamp(60px, 10vw, 120px);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.history-team-photo img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 640px) {
  .history-team-photo {
    border-radius: var(--r-md);
  }
}
