/* ============================================
   CCS Group — About Page
   ============================================ */

/* ---------- NAVBAR ACTIVE ---------- */
.navbar__link--active { color: var(--cream); }

/* ---------- HERO ---------- */
.about-hero {
  position: relative;
  height: 500px;
  overflow: hidden;
  background: #162240;
}
.about-hero__bg { position: absolute; inset: 0; }
.about-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.about-hero__overlay {
  position: absolute; inset: 0;
  background: rgba(10, 22, 40, 0.5);
}
.about-hero__content { position: absolute; inset: 0; z-index: 2; }

.about-hero__tag {
  position: absolute; left: 24px; top: 180px;
  font-size: 11px; font-weight: 600; letter-spacing: 3px;
  color: var(--gold);
}
.about-hero__est { display: none; }
.about-hero__t1 {
  position: absolute; left: 24px; top: 204px;
  font-family: var(--serif); font-size: 52px; font-style: italic;
  font-weight: 700; line-height: 1.1;
}
.about-hero__t2 {
  position: absolute; left: 24px; top: 266px;
  font-family: var(--serif); font-size: 48px;
  font-weight: 700; line-height: 1.1;
}
.about-hero__year {
  position: absolute; left: 24px; top: 332px;
  font-size: 13px; color: rgba(201, 169, 110, 0.5);
}
.about-hero__accent {
  position: absolute; left: 24px; top: 356px;
  display: block; width: 48px; height: 3px;
  background: var(--gold);
}
.about-hero__sub { display: none; }
.about-hero__scroll {
  position: absolute; left: 24px; top: 462px;
  font-size: 10px; font-weight: 500; letter-spacing: 2px;
  color: rgba(245, 240, 232, 0.25);
}

/* ---------- FOUNDER ---------- */
.founder {
  display: flex; flex-direction: column; gap: 20px;
  padding: 48px 24px;
  background: var(--navy);
  position: relative; overflow: hidden;
}
/* Mobile: flatten wrappers and reorder */
.founder__left,
.founder__right { display: contents; }
.founder__tag { order: 1; }
.founder__year-deco { order: 2; }
.founder__title { order: 3; }
.founder__divider { order: 4; }
.founder__right > :nth-child(1) { order: 5; }
.founder__right > :nth-child(2) { order: 6; }
.founder__quote { order: 7; }
.founder__quote-by { order: 8; }
.founder__body--ext { display: none; order: 9; }

.founder__tag {
  font-size: 11px; font-weight: 600; letter-spacing: 3px;
  color: var(--gold);
}
.founder__year-deco {
  font-family: var(--serif); font-size: 96px; font-weight: 700;
  color: rgba(201, 169, 110, 0.08); line-height: 1;
}
.founder__title {
  font-family: var(--serif); font-size: 34px; font-weight: 700;
  line-height: 1.2;
}
.founder__title--d { display: none; }
.founder__divider {
  display: block; width: 48px; height: 2px;
  background: var(--gold);
}
.founder__body {
  font-size: 15px; line-height: 1.7;
  color: rgba(245, 240, 232, 0.69); max-width: 342px;
}
.founder__quote {
  font-family: var(--serif); font-size: 20px; font-style: italic;
  font-weight: 700; line-height: 1.4;
  color: var(--gold); max-width: 342px;
}
.founder__quote-by {
  font-size: 12px; font-weight: 500;
  color: rgba(245, 240, 232, 0.38);
}

/* ---------- MILESTONES ---------- */
.milestones {
  padding: 48px 24px;
  background: var(--navy-light);
}
.ms__header {
  display: flex; flex-direction: column; gap: 16px;
  margin-bottom: 24px;
}
.ms__tag {
  font-size: 11px; font-weight: 600; letter-spacing: 3px;
  color: var(--gold);
}
.ms__title {
  font-family: var(--serif); font-size: 34px; font-weight: 700;
  line-height: 1.2;
}
.ms__title--d { display: none; }
.ms__divider {
  display: block; width: 48px; height: 2px;
  background: var(--gold);
}
.ms__track {
  display: flex; flex-direction: column;
}
.ms__item {
  position: relative;
  display: flex; gap: 16px; align-items: flex-start;
  height: 72px;
}
.ms__item--last { height: 60px; }
/* Vertical connector line */
.ms__item:not(.ms__item--last)::after {
  content: '';
  position: absolute;
  left: 5px; top: 18px;
  width: 1px; height: 52px;
  background: var(--gold-40);
}
.ms__dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0;
  margin-top: 4px;
}
.ms__dot--ring {
  width: 14px; height: 14px;
  box-shadow: 0 0 0 4px rgba(201, 169, 110, 0.4);
  margin-top: 2px;
}
.ms__text { display: flex; flex-direction: column; gap: 4px; }
.ms__year {
  font-family: var(--serif); font-size: 22px; font-weight: 700;
  color: var(--gold);
}
.ms__desc {
  font-size: 13px; color: rgba(245, 240, 232, 0.5);
  line-height: 1.5; max-width: 290px;
}
.ms__desc--d { display: none; }

/* ---------- LEADERSHIP ---------- */
.leadership {
  padding: 48px 24px;
  background: var(--navy);
}
.lead__header {
  display: flex; flex-direction: column; gap: 16px;
  margin-bottom: 24px;
}
.lead__tag {
  font-size: 11px; font-weight: 600; letter-spacing: 3px;
  color: var(--gold);
}
.lead__title {
  font-family: var(--serif); font-size: 34px; font-weight: 700;
  line-height: 1.2;
}
.lead__title--d { display: none; }
.lead__divider {
  display: block; width: 48px; height: 2px;
  background: var(--gold);
}
.lead__top {
  display: flex; flex-direction: column; gap: 20px;
  margin-bottom: 20px;
}
.lead__card {
  border-radius: 4px; background: var(--navy-light);
  overflow: hidden;
}
.lead__photo {
  width: 100%; object-fit: cover; display: block;
}
.lead__card--exec { height: 280px; }
.lead__card--exec .lead__photo { height: 200px; }
.lead__card--exec .lead__info { padding: 14px 20px 0; }
.lead__card--dir .lead__photo { height: 140px; }
.lead__card--dir .lead__info { padding: 10px 12px 0; }
.lead__name {
  display: block;
  font-size: 13px; font-weight: 700;
}
.lead__name--serif {
  font-family: var(--serif); font-size: 18px;
}
.lead__role {
  display: block; margin-top: 4px;
  font-size: 11px; color: var(--gold);
}
.lead__role--d { display: none; }
.lead__note {
  display: block; margin-top: 4px;
  font-size: 11px; color: rgba(245, 240, 232, 0.25);
}
.lead__dirs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.lead__card--dir { height: 220px; }

/* ---------- CORE VALUES ---------- */
.values {
  padding: 48px 24px;
  background: var(--navy-light);
}
.val__header {
  display: flex; flex-direction: column; gap: 16px;
  margin-bottom: 24px;
}
.val__tag {
  font-size: 11px; font-weight: 600; letter-spacing: 3px;
  color: var(--gold);
}
.val__title {
  font-family: var(--serif); font-size: 34px; font-weight: 700;
  line-height: 1.2;
}
.val__title--d { display: none; }
.val__divider {
  display: block; width: 48px; height: 2px;
  background: var(--gold);
}
.val__items {
  display: flex; flex-direction: column; gap: 20px;
}
.val__item {
  position: relative; height: 80px;
}
.val__num {
  position: absolute; left: 0; top: -10px;
  font-family: var(--serif); font-size: 72px; font-weight: 700;
  color: rgba(201, 169, 110, 0.09); line-height: 1;
}
.val__name {
  position: absolute; left: 0; top: 8px;
  font-family: var(--serif); font-size: 26px; font-weight: 700;
}
.val__desc {
  position: absolute; left: 0; top: 40px;
  font-size: 13px; color: rgba(245, 240, 232, 0.44);
  line-height: 1.5; max-width: 302px;
}
.val__desc--d { display: none; }

/* ---------- OFFICES ---------- */
.offices {
  padding: 48px 24px;
  background: var(--navy);
}
.offices__left {
  display: flex; flex-direction: column; gap: 16px;
  margin-bottom: 32px;
}
.offices__tag {
  font-size: 11px; font-weight: 600; letter-spacing: 3px;
  color: var(--gold);
}
.offices__title {
  font-family: var(--serif); font-size: 34px; font-weight: 700;
  line-height: 1.2;
}
.offices__divider {
  display: block; width: 48px; height: 2px;
  background: var(--gold);
}
.offices__sub { display: none; }
.offices__cards {
  display: flex; flex-direction: column; gap: 32px;
}
.office-card {
  border-radius: 4px; background: var(--navy-light);
  overflow: hidden; height: 228px;
}
.office-card__img {
  display: block; width: 100%; height: 120px;
}
.office-card__img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.office-card__info { padding: 16px 20px; }
.office-card__city {
  display: block;
  font-family: var(--serif); font-size: 28px; font-weight: 700;
}
.office-card__label {
  display: block; margin-top: 6px;
  font-size: 10px; font-weight: 600; letter-spacing: 2px;
  color: var(--gold);
}
.office-card__addr {
  display: block; margin-top: 4px;
  font-size: 12px; color: rgba(245, 240, 232, 0.38);
}

/* ---------- CTA OVERRIDES ---------- */
.about-cta .cta-strip__title { font-size: 30px; }
.about-cta__t--d { display: none; }
.about-cta__btn--d { display: none; }

/* ==========================================
   DESKTOP (1024px+)
   ========================================== */
@media (min-width: 1024px) {

  /* --- Hero desktop: split layout --- */
  .about-hero {
    height: 680px;
    background: var(--navy);
  }
  .about-hero__bg {
    inset: unset;
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 50%;
  }
  .about-hero__overlay { display: none; }
  /* Gold vertical line */
  .about-hero::after {
    content: '';
    position: absolute;
    left: calc(50% - 1px); top: 140px;
    width: 1px; height: 400px;
    background: rgba(201, 169, 110, 0.4);
    z-index: 2;
  }
  .about-hero__tag { left: 80px; top: 200px; }
  .about-hero__est {
    display: block;
    position: absolute; left: 80px; top: 226px;
    font-family: var(--serif); font-size: 14px;
    font-style: italic; color: rgba(201, 169, 110, 0.6);
  }
  .about-hero__t1 { left: 80px; top: 248px; font-size: 80px; }
  .about-hero__t2 { left: 80px; top: 340px; font-size: 72px; }
  .about-hero__year { display: none; }
  .about-hero__accent { left: 80px; top: 434px; width: 64px; }
  .about-hero__sub {
    display: block;
    position: absolute; left: 80px; top: 452px;
    font-size: 16px; line-height: 1.6;
    color: rgba(245, 240, 232, 0.44);
  }
  .about-hero__scroll { left: 80px; top: 640px; color: rgba(245, 240, 232, 0.19); }

  /* --- Founder desktop: 2-column --- */
  .founder {
    display: block;
    position: relative;
    height: 520px;
    padding: 0; gap: 0;
  }
  .founder__year-deco {
    position: absolute;
    left: 40px; top: -20px;
    font-size: 200px;
    color: rgba(201, 169, 110, 0.03);
    order: unset;
  }
  .founder__left {
    display: flex; flex-direction: column; gap: 24px;
    position: absolute; left: 80px; top: 80px;
    width: 500px;
  }
  .founder__left > * { order: unset; }
  .founder__right {
    display: flex; flex-direction: column; gap: 20px;
    position: absolute; left: 720px; top: 80px;
    width: 520px;
  }
  .founder__right > * { order: unset; }
  .founder__title { font-size: 56px; line-height: 1.1; }
  .founder__title--m { display: none; }
  .founder__title--d { display: inline; }
  .founder__body {
    font-size: 16px; max-width: 520px;
    color: rgba(245, 240, 232, 0.56);
  }
  .founder__body--ext { display: block; order: unset; }
  .founder__quote {
    font-size: 22px; max-width: 460px;
  }
  .founder__quote-by { color: rgba(245, 240, 232, 0.31); }

  /* --- Milestones desktop: horizontal --- */
  .milestones { padding: 80px; }
  .ms__header { gap: 0; margin-bottom: 48px; }
  .ms__tag { margin-bottom: 8px; }
  .ms__title { font-size: 40px; }
  .ms__title--m { display: none; }
  .ms__title--d { display: inline; }
  .ms__divider { display: none; }
  .ms__track {
    flex-direction: row;
    position: relative;
    padding-top: 20px;
  }
  /* Horizontal gold track line */
  .ms__track::before {
    content: '';
    position: absolute;
    top: 24px; left: 0; right: 0;
    height: 2px;
    background: rgba(201, 169, 110, 0.19);
  }
  .ms__item {
    flex: 1;
    flex-direction: column;
    height: auto; gap: 0;
  }
  .ms__item--last { height: auto; }
  .ms__item::after { display: none; }
  .ms__dot {
    width: 14px; height: 14px;
    margin-top: 0; margin-bottom: 16px;
  }
  .ms__dot--ring {
    width: 16px; height: 16px;
    box-shadow: 0 0 0 5px rgba(201, 169, 110, 0.4);
    margin-top: 0;
  }
  .ms__text { gap: 10px; }
  .ms__year { font-size: 28px; }
  .ms__desc { font-size: 12px; max-width: 200px; color: rgba(245, 240, 232, 0.44); }
  .ms__desc--m { display: none; }
  .ms__desc--d { display: inline; }

  /* --- Leadership desktop --- */
  .leadership { padding: 80px; }
  .lead__header { gap: 0; margin-bottom: 48px; }
  .lead__tag { margin-bottom: 8px; }
  .lead__title { font-size: 40px; }
  .lead__title--m { display: none; }
  .lead__title--d { display: inline; }
  .lead__divider { display: none; }
  .lead__top {
    flex-direction: row; gap: 40px;
    margin-bottom: 48px;
  }
  .lead__card--exec {
    flex: 1; height: 380px;
  }
  .lead__card--exec .lead__photo { height: 280px; }
  .lead__card--exec .lead__info { padding: 20px 32px 0; }
  .lead__name--serif { font-size: 22px; }
  .lead__card--exec .lead__role { font-size: 13px; }
  .lead__dirs {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
  .lead__card--dir { height: 260px; }
  .lead__card--dir .lead__photo { height: 180px; }
  .lead__card--dir .lead__info { padding: 16px 20px 0; }
  .lead__card--dir .lead__name { font-size: 15px; }
  .lead__card--dir .lead__role { font-size: 12px; }
  .lead__role--m { display: none; }
  .lead__role--d { display: inline; }

  /* --- Values desktop --- */
  .values { padding: 80px 80px 60px; }
  .val__header { gap: 0; margin-bottom: 16px; }
  .val__tag { margin-bottom: 8px; }
  .val__title { font-size: 40px; }
  .val__title--m { display: none; }
  .val__title--d { display: inline; }
  .val__divider { width: 64px; margin-top: 8px; }
  .val__items { gap: 8px; }
  .val__item {
    height: 120px;
    border-bottom: 1px solid rgba(245, 240, 232, 0.03);
  }
  .val__item:last-child { border-bottom: none; }
  .val__num {
    top: -24px; font-size: 140px;
    color: rgba(201, 169, 110, 0.07);
  }
  .val__name { top: 28px; font-size: 36px; }
  .val__desc {
    left: 420px; top: 32px;
    font-size: 15px; max-width: 480px;
  }
  .val__desc--m { display: none; }
  .val__desc--d { display: inline; }

  /* --- Offices desktop: split layout --- */
  .offices {
    position: relative;
    height: 520px;
    padding: 0;
  }
  .offices__left {
    position: absolute; left: 80px; top: 80px;
    width: 360px; gap: 24px; margin-bottom: 0;
  }
  .offices__title { font-size: 48px; line-height: 1.15; }
  .offices__sub {
    display: block;
    font-size: 15px; line-height: 1.6;
    color: rgba(245, 240, 232, 0.44);
    max-width: 340px;
  }
  .offices__cards {
    position: absolute;
    top: 80px; right: 80px;
    flex-direction: row; gap: 40px;
    width: auto;
  }
  .office-card {
    width: 390px; height: 380px;
  }
  .office-card__img { height: 240px; }
  .office-card__info { padding: 20px 28px; }

  /* --- CTA desktop --- */
  .about-cta { padding: 72px var(--pad-desk); }
  .about-cta .cta-strip__title { font-size: 48px; max-width: 700px; }
  .about-cta .cta-strip__sub { font-size: 16px; }
  .about-cta__t--m { display: none; }
  .about-cta__t--d { display: inline; }
  .about-cta__btn--m { display: none; }
  .about-cta__btn--d { display: inline; }
  .about-cta .btn--dark { padding: 16px 40px; font-size: 14px; }
}

/* ==========================================
   LARGE DESKTOP (1600px+)
   ========================================== */
@media (min-width: 1600px) {
  .about-hero { height: 800px; }
  .about-hero__t1 { font-size: 90px; }
  .about-hero__t2 { font-size: 80px; top: 360px; }
  .about-hero__accent { top: 460px; }
  .about-hero__sub { top: 480px; }
  .about-hero__scroll { top: 720px; }
  .about-hero::after { height: 500px; top: 160px; }
}
