/* ==========================================================================
   About page only.
   ========================================================================== */
.page-hero {
  min-height: 70vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 100px 5% 80px; position: relative; overflow: hidden;
  background-color: var(--black); /* photo layer is set inline from the Page Content admin field */
}
.page-hero-title { font-size: clamp(36px, 5vw, 64px); font-weight: 700; line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 20px; }

.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.story-content p { font-size: 17px; color: var(--grey-light); line-height: 1.85; margin-bottom: 24px; }
.story-content p strong { color: var(--white); }
.story-image { position: relative; border-radius: 16px; overflow: hidden; }
.story-image img { width: 100%; height: 500px; object-fit: cover; filter: grayscale(30%); transition: filter .5s ease; }
.story-image:hover img { filter: grayscale(0%); }
.story-image-overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 32px; background: linear-gradient(to top, rgba(0,0,0,.9), transparent); }
.story-quote { font-size: 18px; font-style: italic; color: var(--white); }

.mission-vision { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mv-card { background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.05); border-radius: 16px; padding: 40px; text-align: center; transition: all .4s ease; }
.mv-card:hover { background: rgba(255,255,255,.05); transform: translateY(-4px); border-color: rgba(255,255,255,.1); }
.mv-icon { width: 64px; height: 64px; background: linear-gradient(135deg, rgba(255,255,255,.1), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; margin: 0 auto 24px; }
.mv-label { font-size: 12px; text-transform: uppercase; letter-spacing: 2px; color: var(--grey); margin-bottom: 12px; }
.mv-title { font-size: 22px; font-weight: 600; line-height: 1.4; }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value-card { background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.05); border-radius: 16px; padding: 32px; transition: all .4s ease; }
.value-card:hover { background: rgba(255,255,255,.05); transform: translateY(-4px); border-color: rgba(255,255,255,.1); }
.value-icon { width: 48px; height: 48px; background: rgba(255,255,255,.05); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 20px; transition: all .3s ease; }
.value-icon svg { width: 22px; height: 22px; transition: stroke .3s ease; }
.value-icon img { width: 22px; height: 22px; object-fit: contain; }
.value-card:hover .value-icon { background: var(--white); transform: scale(1.1); }
.value-card:hover .value-icon svg { stroke: var(--black); }
.value-title { font-size: 17px; font-weight: 600; margin-bottom: 10px; }
.value-text { font-size: 14px; color: var(--grey-light); line-height: 1.6; }

.timeline { position: relative; max-width: 900px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 1px; height: 100%; background: rgba(255,255,255,.1); }
.timeline-item { display: flex; align-items: center; margin-bottom: 48px; position: relative; }
.timeline-item:nth-child(odd) { flex-direction: row-reverse; text-align: right; }
.timeline-item:nth-child(odd) .timeline-content { padding-right: 60px; padding-left: 0; }
.timeline-item:nth-child(even) .timeline-content { padding-left: 60px; }
.timeline-dot { position: absolute; left: 50%; transform: translateX(-50%); width: 16px; height: 16px; background: var(--white); border-radius: 50%; z-index: 10; }
.timeline-content { width: 50%; }
.timeline-year { font-family: 'JetBrains Mono', monospace; font-size: 32px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.timeline-title { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.timeline-text { font-size: 14px; color: var(--grey-light); line-height: 1.6; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.05); border-radius: 16px; overflow: hidden; transition: all .4s ease; }
.team-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.1); }
.team-image { width: 100%; aspect-ratio: 1; object-fit: cover; filter: grayscale(100%); transition: filter .5s ease; }
.team-card:hover .team-image { filter: grayscale(0%); }
.team-info { padding: 24px; text-align: center; }
.team-name { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.team-role { font-size: 13px; color: var(--grey); }

.locations-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.location-card { position: relative; aspect-ratio: 4/5; border-radius: 16px; overflow: hidden; cursor: pointer; text-decoration: none; }
.location-card img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: all .6s ease; }
.location-card:hover img { filter: grayscale(0%); transform: scale(1.08); }
.location-overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 32px; background: linear-gradient(to top, rgba(0,0,0,.9), transparent); }
.location-name { font-size: 24px; font-weight: 700; color: var(--white); }
.location-country { font-size: 13px; color: var(--grey-light); margin-top: 4px; }

.group-logos { display: flex; justify-content: center; align-items: center; gap: 60px; flex-wrap: wrap; padding: 40px 0; }
.group-logo { font-size: 20px; font-weight: 600; color: var(--grey); opacity: .5; transition: all .3s ease; }
.group-logo:hover { opacity: 1; color: var(--white); }

.cta-section { background-color: var(--black); /* photo layer is set inline from the Page Content admin field */ }

@media (max-width: 1200px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; gap: 48px; }
  .mission-vision { grid-template-columns: 1fr; }
  .locations-grid { grid-template-columns: 1fr; }
  .timeline::before { left: 20px; }
  .timeline-item, .timeline-item:nth-child(odd) { flex-direction: column; text-align: left; }
  .timeline-item:nth-child(odd) .timeline-content, .timeline-item:nth-child(even) .timeline-content { padding-left: 50px; padding-right: 0; width: 100%; }
  .timeline-dot { left: 20px; }
}
@media (max-width: 600px) {
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .group-logos { gap: 30px; }
}
