/* ================================================================
   ABOUT PAGE — fully standalone CSS
   Depends only on: tokens.css, reset.css, navbar-v2.css, footer-v2.css
   No dependency on home-v2.css or any other page CSS.
   ================================================================ */

/* ── Shared button (angled clip-path) ── */
.btn-angled {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: var(--f-body);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: filter 0.2s, transform 0.2s;
}
.btn-angled:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-angled--navy   { background: var(--primary); color: #fff; }
.btn-angled--crimson { background: var(--crimson); color: #fff; }
.btn-angled--outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }

/* ── Container ── */
.about-container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ════════════════════════════════════════════
   HERO
════════════════════════════════════════════ */
.about-hero {
  min-height: 820px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  padding-block: 80px;
  background: var(--surface);
}

.about-hero__blob {
  position: absolute;
  right: -80px; bottom: -80px;
  width: 420px; height: 420px;
  background: rgba(244,191,68,0.08);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.about-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
  max-width: 100%;
  padding-left: 20px;
  padding-right: 20px;
  position: relative;
  z-index: 1;
}
@media (max-width: 1024px) {
  .about-hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .about-hero { min-height: auto; }
}

.about-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--surface-cont);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 28px;
}
.about-hero__eyebrow svg { flex-shrink: 0; }

.about-hero__h1 {
  font-family: var(--f-display);
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--primary);
  margin-bottom: 24px;
}
.about-hero__h1 .accent { color: var(--crimson); }
@media (max-width: 768px) { .about-hero__h1 { font-size: 2.5rem; } }

.about-hero__body {
  font-family: var(--f-body);
  font-size: 1.125rem;
  color: var(--on-surface-var);
  line-height: 1.75;
  max-width: 52ch;
  margin-bottom: 36px;
}

.about-hero__ctas { display: flex; flex-wrap: wrap; gap: 16px; }

.about-hero__img-wrap { position: relative; padding-bottom: 40px; }

.about-hero__img {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(1,21,80,0.2);
  aspect-ratio: 1 / 1;
  transition: transform 0.4s ease;
  background: var(--surface-highest, #dce1ff);
}
.about-hero__img:hover { transform: translateY(-4px); }
.about-hero__img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Placeholder inside hero image */
.about-hero__img .img-placeholder {
  width: 100%; height: 100%;
  min-height: 400px;
  border-radius: 0;
}

.about-hero__founded {
  position: absolute;
  bottom: 0; left: -24px;
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--outline-var);
  max-width: 240px;
  z-index: 2;
}
.about-hero__founded-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--primary);
  margin-bottom: 6px;
}
.about-hero__founded-sub {
  font-size: 0.875rem;
  color: var(--on-surface-var);
  line-height: 1.5;
}

/* ════════════════════════════════════════════
   TIMELINE
════════════════════════════════════════════ */
.about-timeline {
  padding-block: var(--section-gap);
  background: var(--surface-low);
  overflow: hidden;
}

.about-timeline__header {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
  padding-left: 20px;
  padding-right: 20px;
  margin-bottom: 72px;
}
.about-timeline__h2 {
  font-family: var(--f-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
@media (max-width: 768px) { .about-timeline__h2 { font-size: 1.75rem; } }
.about-timeline__sub { font-size: 1rem; color: var(--on-surface-var); line-height: 1.7; }

.timeline-wrap {
  position: relative;
  max-width: 100%;
  padding-left: 20px;
  padding-right: 20px;
}
.timeline-line {
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 3px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, #1b2c65 0%, #950329 50%, #1b2c65 100%);
  opacity: 0.25;
  border-radius: 4px;
}
@media (max-width: 768px) { .timeline-line { left: 20px; } }

.timeline-event {
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 96px;
  position: relative;
  gap: 0;
}
.timeline-event:last-child { margin-bottom: 0; }

.timeline-event--left  { flex-direction: row; }
.timeline-event--right { flex-direction: row-reverse; }

@media (max-width: 768px) {
  .timeline-event--left,
  .timeline-event--right {
    flex-direction: column;
    padding-left: 56px;
    gap: 16px;
  }
}

.timeline-event__card-side {
  width: 50%;
  padding-right: 56px;
  display: flex;
  justify-content: flex-end;
}
.timeline-event--right .timeline-event__card-side {
  padding-right: 0;
  padding-left: 56px;
  justify-content: flex-start;
}
@media (max-width: 768px) {
  .timeline-event__card-side,
  .timeline-event--right .timeline-event__card-side {
    width: 100%; padding: 0; justify-content: flex-start;
  }
}

.timeline-event__dot {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 4px 16px rgba(1,21,80,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 2;
}
.timeline-event__dot--navy    { background: var(--primary); }
.timeline-event__dot--crimson { background: var(--crimson); }
.timeline-event__dot svg { color: #fff; }

@media (max-width: 768px) {
  .timeline-event__dot {
    position: absolute;
    left: 0; top: 0;
  }
}

.timeline-event__img-side {
  width: 50%;
  padding-left: 56px;
}
.timeline-event--right .timeline-event__img-side {
  padding-left: 0;
  padding-right: 56px;
}
@media (max-width: 768px) {
  .timeline-event__img-side,
  .timeline-event--right .timeline-event__img-side {
    width: 100%; padding: 0;
  }
}

.timeline-event__img {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 320px;
}
.timeline-event__img img,
.timeline-event__img .img-placeholder {
  width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0;
}

.timeline-card {
  max-width: 400px;
  background: #fff;
  padding: 32px;
  box-shadow: var(--shadow-md);
  border-bottom: 4px solid var(--primary);
  clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.timeline-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.timeline-card--crimson { border-bottom-color: var(--crimson); }

.timeline-card__year {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--crimson);
  display: block;
  margin-bottom: 8px;
}
.timeline-card__title {
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}
.timeline-card__body {
  font-size: 0.9375rem;
  color: var(--on-surface-var);
  line-height: 1.7;
}

/* ════════════════════════════════════════════
   STATS
════════════════════════════════════════════ */
.about-stats {
  padding-block: var(--section-gap);
  background: var(--primary);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.about-stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(149,3,41,0.15), transparent 60%);
  pointer-events: none;
}

.about-stats__inner {
  max-width: 100%;
  padding-left: 20px;
  padding-right: 20px;
  position: relative;
  z-index: 1;
}

.about-stats__header { text-align: center; margin-bottom: 64px; }

.about-stats__eyebrow {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 16px;
}
.about-stats__h2 {
  font-family: var(--f-display);
  font-size: 2.75rem;
  font-weight: 800;
  color: #fff;
  max-width: 640px;
  margin-inline: auto;
  line-height: 1.2;
}
@media (max-width: 768px) { .about-stats__h2 { font-size: 1.75rem; } }

.about-stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 768px) { .about-stats__grid { grid-template-columns: 1fr; } }

.about-stat-card {
  padding: 48px 32px;
  text-align: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%);
  transition: border-color 0.3s ease;
}
.about-stat-card:hover { border-color: var(--coral); }

.about-stat-card__value {
  font-family: var(--f-display);
  font-size: 4rem;
  font-weight: 800;
  color: var(--coral);
  display: block;
  margin-bottom: 12px;
  line-height: 1;
}
.about-stat-card__label {
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.about-stat-card__desc {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

/* ════════════════════════════════════════════
   CTA
════════════════════════════════════════════ */
.about-cta {
  padding-block: var(--section-gap);
  background: var(--surface);
}
.about-cta__inner {
  max-width: 100%;
  padding-left: 20px;
  padding-right: 20px;
}
.about-cta__box {
  background: var(--surface-high);
  padding: 72px;
  display: flex;
  align-items: center;
  gap: 64px;
  clip-path: polygon(0 0, calc(100% - 48px) 0, 100% 48px, 100% 100%, 0 100%);
  overflow: hidden;
}
@media (max-width: 900px) {
  .about-cta__box { flex-direction: column; padding: 48px 32px; gap: 40px; }
}

.about-cta__content { flex: 1; }
.about-cta__h2 {
  font-family: var(--f-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
@media (max-width: 768px) { .about-cta__h2 { font-size: 2rem; } }

.about-cta__body {
  font-size: 1.0625rem;
  color: var(--on-surface-var);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 48ch;
}
.about-cta__actions { display: flex; flex-wrap: wrap; gap: 16px; }

.about-cta__img {
  flex: 1;
  min-width: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s ease;
  align-self: stretch;
}
.about-cta__img:hover { transform: translateY(-4px); }
.about-cta__img img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
  border-radius: 0;
}
@media (max-width: 900px) {
  .about-cta__img { width: 100%; transform: none; flex: none; }
  .about-cta__img img { min-height: 260px; }
}

/* ── Image placeholder shared ── */
.img-placeholder {
  background: linear-gradient(135deg, var(--surface-cont) 0%, var(--surface-highest, #dce1ff) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--on-surface-var);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 24px;
}
.img-placeholder svg { opacity: 0.3; }
.img-placeholder span { opacity: 0.6; max-width: 22ch; line-height: 1.5; }

/* ── Scroll fade-in ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Desktop gutters — match navbar padding exactly ── */
@media (min-width: 768px) {
  .about-hero__grid,
  .timeline-wrap,
  .about-timeline__header,
  .about-stats__inner,
  .about-cta__inner {
    padding-left: 32px;
    padding-right: 32px;
  }
}
