/* About page - layout for about-us.html, built on the tokens and components in styles.css.
   Design reference: reference/about-design.webp (1440 canvas). */

.timeline, .value-list, .cities, .culture-benefits, .side-list { list-style: none; padding: 0; margin: 0; }

/* ---------- Hero ---------- */
.about-hero .hero-inner { min-height: 560px; }
.about-hero .hero-copy { padding: 56px 0 72px; }
.about-hero h1 { margin-top: 26px; }
.about-hero .hero-art { width: 60%; }
.about-hero .hero-art img { object-position: 55% 50%; }
.about-hero .hero-art::before { width: 14%; }

/* ---------- Milestone figures ---------- */
.about-stats .stats-inner { grid-template-columns: repeat(4, 1fr) auto; gap: 32px; padding-top: 34px; padding-bottom: 38px; }
.about-stats .stat { padding-right: 20px; }
.about-stats .stat:nth-child(4) { border-right: 0; }
.about-stats .stats-tag { position: relative; padding-top: 2px; }
.tag-rule { display: block; width: 70px; height: 2px; background: var(--blue); margin-top: 10px; }

/* ---------- Who we are ---------- */
.story-block { border-bottom: 1px solid var(--line); }
.story-block-inner { display: grid; grid-template-columns: 40% 1fr 24%; gap: 32px; align-items: center; padding-top: 48px; padding-bottom: 40px; min-height: 420px; }
.story-block-copy .section-lead { font-size: 18px; max-width: 460px; }
.story-block-art { display: flex; justify-content: center; }
.story-block-art img { width: 100%; max-width: 400px; }
.side-lead { font-size: 18px; line-height: 1.5; font-weight: 500; color: var(--ink); }
.side-rule { display: block; width: 56px; height: 1.5px; background: var(--blue); margin: 26px 0 36px; }
.side-list li { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--ink-soft); line-height: 2.1; }

/* ---------- How we work ---------- */
.approach { border-bottom: 1px solid var(--line); }
.approach-inner { display: grid; grid-template-columns: 31% repeat(3, 1fr); padding-top: 48px; padding-bottom: 40px; }
.approach-copy { padding-right: 40px; }
.approach-copy .section-lead { font-size: 18px; max-width: 420px; }
.approach-step { border-left: 1px solid var(--line); padding: 10px 24px 0 44px; display: flex; flex-direction: column; }
.step-icon { display: block; width: 64px; height: 64px; color: var(--blue-soft); }
.step-icon svg { width: 64px; height: 64px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.approach-step h3 { font-size: 22px; margin: 26px 0 10px; }
.approach-step p { font-size: 16px; line-height: 1.5; color: var(--muted); margin-bottom: 30px; max-width: 260px; }
.approach-step .round-link { margin-top: auto; width: 54px; height: 54px; border-color: var(--blue-soft); }
.approach-step .round-link .arrow { width: 20px; height: 20px; }

/* ---------- Our journey ---------- */
.journey { background: var(--navy); color: #fff; overflow: hidden; }
.journey-inner { position: relative; display: grid; grid-template-columns: 38% 1fr 22%; gap: 40px; min-height: 400px; padding-top: 52px; padding-bottom: 48px; }
.journey .eyebrow { color: #c6cfe6; }
.journey h2 { color: #fff; }
.journey .section-lead { color: #c4cee4; font-size: 17px; max-width: 460px; }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; align-self: start; padding-top: 10px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 6px; right: 6px; top: 60px; height: 1px; background: rgba(255,255,255,.35); }
.timeline li { position: relative; }
.timeline strong { display: block; font-size: 24px; font-weight: 400; letter-spacing: -.02em; color: #e7ecf8; margin-bottom: 20px; }
.timeline .dot { display: block; width: 12px; height: 12px; border-radius: 50%; background: var(--blue-soft); box-shadow: 0 0 0 4px rgba(60,123,255,.25); margin-bottom: 22px; }
.timeline h3 { font-size: 15px; line-height: 1.3; margin-bottom: 8px; }
.timeline p { font-size: 13px; line-height: 1.5; color: #b7c3e2; }
.journey-art { position: absolute; top: 0; bottom: 0; right: 0; width: 22%; }
.journey-art img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }

/* ---------- Our culture ---------- */
.culture { border-bottom: 1px solid var(--line); }
.culture-inner { display: grid; grid-template-columns: 34% 1fr; grid-template-rows: auto auto; column-gap: 40px; padding-top: 44px; padding-bottom: 40px; }
.culture-copy { grid-row: 1 / 3; padding-right: 24px; }
.culture h2, .values h2, .locations h2 { font-size: 44px; }
.culture h2 { font-size: 42px; }
.culture-copy .section-lead { font-size: 17px; max-width: 420px; }
.culture-marquee {
  display: flex;
  overflow: hidden;
  border-radius: 10px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.culture-track { display: flex; gap: 16px; flex: 0 0 auto; padding-right: 16px; list-style: none; margin: 0; animation: culture-scroll 70s linear infinite; }
.culture-marquee:hover .culture-track { animation-play-state: paused; }
.culture-track li { flex: 0 0 auto; }
.culture-track img { display: block; height: 300px; width: auto; object-fit: cover; border-radius: 10px; }
/* moves right to left: each copy slides out one width, the duplicate follows seamlessly */
@keyframes culture-scroll { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .culture-track { animation: none; } .culture-marquee { overflow-x: auto; } }
.culture-benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 26px; }
.culture-benefits li { display: flex; gap: 14px; align-items: flex-start; border-left: 1px solid var(--line); padding-left: 16px; }
.culture-benefits li:first-child { border-left: 0; padding-left: 0; }
.benefit-icon { flex: 0 0 30px; color: var(--blue-soft); }
.benefit-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.culture-benefits h3 { font-size: 14px; margin-bottom: 4px; }
.culture-benefits p { font-size: 13px; line-height: 1.45; color: var(--muted); }

/* ---------- Our values ---------- */
.values { border-bottom: 1px solid var(--line); }
.values-inner { display: grid; grid-template-columns: 33% 1fr; gap: 40px; padding-top: 44px; padding-bottom: 40px; }
.values-copy { border-right: 1px solid var(--line); padding-right: 40px; }
.values-copy .section-lead { font-size: 17px; max-width: 420px; }
.value-list li { display: grid; grid-template-columns: 110px 30% 1fr 54px; align-items: center; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.value-list li:last-child { border-bottom: 0; }
.value-number { font-size: 54px; line-height: 1; font-weight: 300; color: var(--blue-soft); letter-spacing: -.04em; }
.value-list h3 { font-size: 18px; }
.value-list p { font-size: 15px; line-height: 1.5; color: var(--muted); }
.value-list .round-link { width: 44px; height: 44px; border-color: var(--blue-soft); }

/* ---------- Global presence ---------- */
.locations { border-bottom: 1px solid var(--line); }
.locations-inner { display: grid; grid-template-columns: 33% 1fr; gap: 24px; align-items: center; padding-top: 40px; padding-bottom: 40px; }
.cities { display: grid; grid-template-columns: repeat(6, 1fr); }
.cities li { display: flex; flex-direction: column; align-items: center; text-align: center; border-left: 1px solid var(--line); padding: 8px 10px; }
.city-icon { display: block; width: 56px; height: 56px; color: var(--blue-soft); margin-bottom: 14px; }
.city-icon svg { width: 56px; height: 56px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cities strong { font-size: 18px; font-weight: 600; }
.cities span:last-child { font-size: 15px; color: var(--muted); margin-top: 4px; }

/* ---------- Careers and CTA banners ---------- */
.banner { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.banner-inner { position: relative; min-height: 330px; display: flex; align-items: center; }
.banner-copy { position: relative; z-index: 2; width: 46%; padding: 52px 0; }
.banner h2 { font-size: 48px; margin: 18px 0 18px; }
.banner-last { border-bottom: 0; }
.banner .section-lead { font-size: 18px; margin-bottom: 28px; }
.banner-art { position: absolute; top: 0; bottom: 0; right: 0; width: 60%; z-index: 1; }
.banner-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.banner-art::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 24%; background: linear-gradient(90deg, var(--paper), rgba(250,248,241,0)); }
.banner-art figcaption { position: absolute; right: 64px; top: 50%; transform: translateY(-50%); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; line-height: 1.9; color: #dfe6f5; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .story-block-inner { grid-template-columns: 42% 1fr 24%; }
  .journey-inner { grid-template-columns: 38% 1fr; }
  .journey-art { display: none; }
  .approach-step { padding-left: 28px; }
  .approach-step p { font-size: 15px; }
  .timeline strong { font-size: 20px; }
  .value-list li { grid-template-columns: 90px 32% 1fr 48px; }
  .banner h2 { font-size: 40px; }
}

@media (max-width: 980px) {
  .about-hero .hero-inner { display: block; min-height: 0; }
  .about-hero .hero-copy { width: 100%; padding: 48px 0 24px; }
  .about-hero .hero-art { position: relative; right: auto; width: calc(100% + 2 * var(--gutter)); margin: 0 calc(-1 * var(--gutter)); height: 420px; }
  .about-hero .hero-art::before { display: none; }
  .about-stats .stats-inner { grid-template-columns: 1fr 1fr; }
  .about-stats .stat:nth-child(2n) { border-right: 0; }
  .about-stats .stats-tag { display: none; }

  .story-block-inner { grid-template-columns: 1fr 1fr; row-gap: 24px; min-height: 0; }
  .story-block-copy { grid-column: 1 / 3; }
  .approach-inner { grid-template-columns: 1fr 1fr 1fr; row-gap: 32px; }
  .approach-copy { grid-column: 1 / 4; padding-right: 0; }
  .approach-step:first-of-type { border-left: 0; padding-left: 0; }

  .journey-inner { grid-template-columns: 1fr; gap: 28px; min-height: 0; }
  .journey-art { display: none; }
  .timeline { grid-template-columns: repeat(5, 1fr); }

  .culture-inner { grid-template-columns: 1fr; }
  .culture-copy { grid-row: auto; padding-right: 0; margin-bottom: 24px; }
  .culture-benefits { grid-template-columns: 1fr 1fr; }
  .culture-benefits li:nth-child(3) { border-left: 0; padding-left: 0; }

  .values-inner, .locations-inner { grid-template-columns: 1fr; }
  .values-copy { border-right: 0; padding-right: 0; }
  .cities { grid-template-columns: repeat(3, 1fr); row-gap: 24px; }
  .cities li:nth-child(4) { border-left: 0; }

  .banner-inner { display: block; min-height: 0; }
  .banner-copy { width: 100%; padding: 48px 0 28px; }
  .banner-art { position: relative; width: calc(100% + 2 * var(--gutter)); margin: 0 calc(-1 * var(--gutter)); height: 240px; }
  .banner-art::before { display: none; }
}

@media (max-width: 720px) {
  .about-hero .hero-art { height: 280px; }
  .about-stats .stats-inner { grid-template-columns: 1fr; gap: 0; }
  .about-stats .stat { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px 0; }
  .about-stats .stat:nth-child(4) { border-bottom: 0; }

  .story-block-inner { grid-template-columns: 1fr; }
  .story-block-copy { grid-column: 1; }
  .side-rule { margin: 18px 0 22px; }

  .approach-inner { grid-template-columns: 1fr; }
  .approach-copy { grid-column: 1; }
  .approach-step { border-left: 0; padding: 20px 0; border-top: 1px solid var(--line); }
  .approach-step p { margin-bottom: 16px; }

  .timeline { grid-template-columns: 1fr; gap: 0; padding-left: 26px; }
  .timeline::before { left: 5px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .timeline li { padding: 0 0 26px; }
  .timeline .dot { position: absolute; left: -26px; top: 6px; margin: 0; }
  .timeline strong { margin-bottom: 8px; }

  .culture-track img { height: 200px; }
  .culture-benefits { grid-template-columns: 1fr; gap: 14px; }
  .culture-benefits li { border-left: 0; padding-left: 0; }

  .value-list li { grid-template-columns: 56px 1fr; grid-template-rows: auto auto; gap: 6px 16px; }
  .value-number { grid-row: 1 / 3; font-size: 36px; }
  .value-list .round-link { display: none; }

  .cities { grid-template-columns: 1fr 1fr; }
  .cities li:nth-child(odd) { border-left: 0; }
  .city-icon, .city-icon svg { width: 44px; height: 44px; }

  .banner h2 { font-size: 34px; }
  .banner-art { height: 180px; }
  .banner-art figcaption { right: 20px; }
}
