/* ==========================================================================
   COSERVE ABOUT US - J4RVIS OUR-PEOPLE DESIGN SYSTEM
   ========================================================================== */

/* ── HERO TITLE ACCENTS ── */
.page-hero .hero-title em {
  color: #14D7D2;
  font-style: italic;
  font-weight: 300;
}

/* ── SHARED SECTION HEADERS (.sh) ── */
.sh {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: flex-start;
  margin-bottom: 48px;
}
.sh-lead {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.sh-title {
  font-family: 'Lato', sans-serif;
  font-size: clamp(34px, 3.8vw, 52px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: #071017;
  margin: 0;
}
.sh-title em {
  font-family: 'Lato', sans-serif !important;
  font-style: italic;
  font-weight: 400;
  color: #14D7D2;
}
.sh-lede {
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.6;
  color: #415564;
  margin: 0;
  padding-top: 6px;
}

/* ── LEADERSHIP SECTION (.pg) ── */
.pg {
  padding: 88px 0;
  background: #ffffff;
}
.pg-rows {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pg-row {
  display: grid;
  grid-template-columns: 132px 280px 1fr;
  gap: 40px;
  align-items: start;
  padding: 44px 0;
  border-top: 1px solid rgba(8, 54, 69, 0.12);
}
.pg-row:last-child {
  border-bottom: 1px solid rgba(8, 54, 69, 0.12);
}
.pg-portrait {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  overflow: hidden;
  background: #f8fafb;
  border: 1.5px solid rgba(20, 215, 210, 0.4);
  box-shadow: 0 4px 14px rgba(8, 54, 69, 0.06);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.pg-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pg-initials {
  font-family: 'Lato', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: #071017;
  letter-spacing: -0.02em;
}
.pg-who {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 4px;
  min-width: 0;
}
.pg-name {
  margin: 0;
  font-family: 'Lato', sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #071017;
}
a.pg-name-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
a.pg-name-link:hover {
  color: #14D7D2;
}
.pg-role {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: #0d9488;
}
.pg-bio {
  margin: 0;
  padding-top: 4px;
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.65;
  color: #415564;
}

/* ── LEADERSHIP / BOARD CARD GRIDS (4 COLUMNS PER ROW & CENTERED) ── */
.leader-section {
  text-align: center;
  padding: 88px 0;
  background: #ffffff;
}
.leader-section + .leader-section {
  border-top: 1px solid rgba(8, 54, 69, 0.12);
}
.leader-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.leader-section .sh {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 48px;
  width: 100%;
}
.leader-section .sh-lead {
  text-align: center;
  width: 100%;
}
.leader-section .sh-title {
  text-align: center;
  font-size: clamp(28px, 3vw, 40px);
}
.leader-section .sh-lede {
  text-align: center;
  margin: 14px auto 0 auto;
  max-width: 640px;
}
.leader-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: flex-start !important;
  gap: 40px 28px !important;
  width: 100% !important;
  max-width: 1040px !important;
  margin: 0 auto !important;
}
.leader-card {
  flex: 0 0 calc((100% - (3 * 28px)) / 4) !important;
  max-width: calc((100% - (3 * 28px)) / 4) !important;
  width: calc((100% - (3 * 28px)) / 4) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  box-sizing: border-box !important;
}
.leader-photo {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  overflow: hidden;
  background: #f8fafb;
  border: 1.5px solid rgba(20, 215, 210, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px rgba(7, 16, 23, 0.06);
}
.leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.leader-photo .pg-initials {
  font-family: 'Lato', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: #071017;
}
.leader-name {
  margin: 0 0 4px;
  font-family: 'Lato', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #071017;
}
.leader-role {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: #0d9488;
}
.leader-linkedin {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #415564 !important;
  text-decoration: none !important;
  line-height: 1 !important;
  margin-top: 4px !important;
  transition: color 0.2s ease !important;
}
.leader-linkedin svg {
  display: block !important;
  width: 14px !important;
  height: 14px !important;
  flex-shrink: 0 !important;
  transform: translateY(-0.5px) !important;
}
.leader-linkedin span {
  display: inline-block !important;
  line-height: 1 !important;
}
.leader-linkedin:hover {
  color: #14D7D2 !important;
}
@media (max-width: 991px) {
  .leader-grid {
    gap: 32px 24px !important;
    max-width: 540px !important;
  }
  .leader-card {
    flex: 0 0 calc((100% - 24px) / 2) !important;
    max-width: calc((100% - 24px) / 2) !important;
    width: calc((100% - 24px) / 2) !important;
  }
}
@media (max-width: 540px) {
  .leader-grid {
    gap: 28px 18px !important;
    max-width: 280px !important;
  }
  .leader-card {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
}

/* ── CREW STATEMENT (.ss.has-body) ── */
.ss {
  padding: 88px 0 32px;
  background: #f8fafb;
  color: #071017;
  text-align: left;
}
.ss.has-body .ss-headline {
  font-family: 'Lato', sans-serif;
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0;
  color: #071017;
}
.ss-headline em {
  font-family: 'Lato', sans-serif !important;
  font-style: italic;
  font-weight: 400;
  color: #14D7D2;
}
.ss-body {
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1.5;
  color: #415564;
  margin: 24px 0 0;
  max-width: 62ch;
}

/* ── CREW MOSAIC GRID (.crew) ── */
.crew {
  padding: 0 0 96px;
  background: #f8fafb;
}
.crew-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  gap: 16px;
}
.crew-tile {
  grid-column: span var(--crew-cols, 2);
  grid-row: span 2;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  margin: 0;
}
.crew-photo {
  background: #f1f5f9;
  box-shadow: inset 0 0 0 1px rgba(8, 54, 69, 0.1);
}
.crew-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.crew-quote {
  background: radial-gradient(135% 135% at 82% 20%, #0d4d63 0%, #083645 50%, #041e26 100%);
  padding: clamp(28px, 2.6vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(16px, 1.5vw, 20px);
  color: #ffffff;
}
.crew-quote[data-mirror="true"] {
  background: radial-gradient(135% 135% at 18% 20%, #0e6a6a 0%, #083645 50%, #071017 100%);
}
.crew-mark {
  font-family: 'Lato', sans-serif !important;
  font-style: italic;
  font-size: 48px;
  line-height: 0.9;
  color: #14D7D2;
}
.crew-words {
  margin: 0;
}
.crew-words p {
  margin: 0;
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 400;
  line-height: 1.5;
  color: #ffffff;
}
.crew-attr {
  display: flex;
  align-items: center;
  gap: 16px;
}
.crew-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}
.crew-who {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.crew-name {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}
.crew-role {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.75);
}

/* ── OFFICE LOCATIONS (.ol) ── */
.ol {
  padding: 88px 0;
  background: #ffffff;
  color: #071017;
}
.ol .sh,
.ol .sh.sh--centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px auto;
}
.ol .sh-lead {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  margin-bottom: 12px;
}
.ol .sh-title {
  text-align: center;
}
.ol .sh-lede {
  text-align: center;
  margin: 0 auto;
  max-width: 580px;
}
.ol-grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px;
  max-width: 760px;
  justify-content: center;
}
.ol-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
  gap: 56px;
  max-width: 760px;
  margin: 0 auto;
}
.ol-office {
  border-left: 1px solid rgba(8, 54, 69, 0.14);
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ol-office:first-child {
  border-left: none;
  padding-left: 0;
}
.ol-office-label {
  font-family: 'Lato', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: #071017;
  margin: 0 0 4px 0;
}
.ol-office-desc {
  font-size: 13.5px;
  font-weight: 700;
  color: #14D7D2;
  margin: 0 0 6px 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.ol-office-line {
  font-size: 14.5px;
  line-height: 1.55;
  color: #415564;
  margin: 0;
}
.ol-contacts {
  list-style: none;
  margin: 64px auto 0 auto;
  padding: 36px 0 0;
  border-top: 1px solid rgba(8, 54, 69, 0.12);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 920px;
}
.ol-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ol-contact-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #14D7D2;
}
a.ol-contact-value {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: #071017;
  text-decoration: none;
  transition: color 0.2s ease;
}
a.ol-contact-value:hover {
  color: #14D7D2;
}
.ol-contact-note {
  font-size: 13.5px;
  line-height: 1.5;
  color: #64748b;
}

/* ── FINAL CTA (.fc.fc--inline) ── */
.fc {
  padding: 80px 0;
  background: linear-gradient(135deg, #0d4d63 0%, #083645 50%, #071017 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}
.fc--inline {
  padding: clamp(52px, 5.2vw, 68px) 0;
}
.fc--inline > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(28px, 4vw, 48px);
}
.fc-title {
  margin: 0;
  font-family: 'Lato', sans-serif;
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #ffffff;
  max-width: 28ch;
  line-height: 1.18;
}
.fc-title em {
  font-family: 'Lato', sans-serif !important;
  font-style: italic;
  font-weight: 400;
  color: #14D7D2;
}
.fc-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.fc--inline .pill--secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}
.fc--inline .pill--secondary .pill-badge {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}
.fc--inline .pill--secondary:hover {
  border-color: #14D7D2;
  color: #14D7D2;
  background: rgba(20, 215, 210, 0.12);
}
.fc--inline .pill--secondary:hover .pill-badge {
  background: #14D7D2;
  color: #071017;
}

/* ── RESPONSIVE BREAKPOINTS ── */
@media (max-width: 1100px) {
  .ol-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
}
@media (max-width: 1000px) {
  .sh {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 36px;
  }
  .pg-row {
    grid-template-columns: 120px 1fr;
    gap: 24px 32px;
  }
  .pg-bio {
    grid-column: 2;
    padding-top: 0;
  }
}
@media (max-width: 880px) {
  .crew-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .crew-tile {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .crew-photo {
    aspect-ratio: 3 / 2;
  }
  .ol-contacts {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 440px;
    margin: 40px auto 0 auto;
  }
  .fc--inline > .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}
@media (max-width: 680px) {
  .pg-row {
    grid-template-columns: 88px 1fr;
    gap: 16px 20px;
    padding: 28px 0;
  }
  .pg-portrait {
    width: 88px;
    height: 88px;
  }
  .pg-initials {
    font-size: 24px;
  }
  .pg-name {
    font-size: 20px;
  }
  .pg-bio {
    grid-column: 1 / -1;
    font-size: 15px;
  }
  .ol-grid,
  .ol-grid.cols-2 {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 440px;
    margin: 0 auto;
  }
  .ol-office {
    border-left: none;
    padding-left: 0;
  }
}


/* ==========================================================================
   HORIZONTAL TIMELINE ANIMATION (HERITAGE & EVOLUTION)
   ========================================================================== */

.timeline-intro {
  background: #071017;
  padding: 96px 0 44px;
  position: relative;
  z-index: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.timeline-eyebrow {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #14D7D2;
  margin-bottom: 12px;
  display: block;
}
.timeline-heading {
  font-family: 'Lato', sans-serif;
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: #ffffff;
  margin: 0 0 16px 0;
  max-width: 840px;
}
.timeline-heading em {
  font-family: 'Lato', sans-serif !important;
  font-style: italic;
  font-weight: 300;
  color: #14D7D2;
}
.timeline-desc {
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.6;
  color: #94a3b8;
  margin: 0;
  max-width: 680px;
}
.timeline-scroll-cue {
  margin-top: 24px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #14D7D2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.04em;
}
.timeline-scroll-cue svg {
  animation: timeline-bob 1.8s ease-in-out infinite;
}
@keyframes timeline-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* Scroller wrap & sticky container */
.timeline-scroller-wrap {
  position: relative;
  background: #071017;
  color: #ffffff;
  z-index: 2;
}
.timeline-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Blueprint grid background */
.timeline-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(20, 215, 210, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 215, 210, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  z-index: 0;
}

/* Track */
.timeline-track {
  display: flex;
  will-change: transform;
  position: relative;
  z-index: 1;
}

/* Individual Panel */
.timeline-panel {
  flex: 0 0 100vw;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 clamp(28px, 9vw, 140px);
  box-sizing: border-box;
}
.timeline-panel-inner {
  max-width: 680px;
}
.timeline-icon {
  margin-bottom: 24px;
  width: 68px;
  height: 68px;
  color: #14D7D2;
}
.timeline-icon svg {
  width: 100%;
  height: 100%;
}
.timeline-dim {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 12px;
}
.timeline-dim::before {
  content: "";
  width: 36px;
  height: 1.5px;
  background: #14D7D2;
  display: inline-block;
}
.timeline-year {
  font-family: 'Lato', sans-serif;
  font-weight: 800;
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1;
}
.timeline-index {
  font-family: 'Lato', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.05em;
}
.timeline-title {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 2.5vw, 2.3rem);
  color: #ffffff;
  margin: 12px 0 14px 0;
  line-height: 1.2;
}
.timeline-text {
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.7;
  color: #94a3b8;
  margin: 0;
  max-width: 580px;
}

/* Progress rail across top of sticky container */
.thread-rail {
  position: absolute;
  top: 90px;
  left: clamp(28px, 9vw, 140px);
  right: clamp(28px, 9vw, 140px);
  z-index: 5;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  pointer-events: none;
}
.thread-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  background: #14D7D2;
  width: 0%;
  box-shadow: 0 0 14px rgba(20, 215, 210, 0.7);
  transition: width 0.06s linear;
}
.thread-ticks {
  position: absolute;
  top: -5px;
  left: 0;
  right: 0;
  height: 12px;
  display: flex;
  justify-content: space-between;
}
.thread-tick {
  width: 2px;
  height: 12px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  transition: background-color 0.2s ease;
}
.thread-tick.active {
  background: #14D7D2;
  box-shadow: 0 0 8px rgba(20, 215, 210, 0.6);
}
.thread-tick .tick-label {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Lato', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  color: #64748b;
  white-space: nowrap;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}
.thread-tick.active .tick-label {
  color: #14D7D2;
}

/* Reduced motion & Mobile adjustments */
@media (prefers-reduced-motion: reduce) {
  .timeline-scroller-wrap {
    height: auto !important;
  }
  .timeline-sticky {
    position: static;
    height: auto;
    display: block;
  }
  .timeline-track {
    display: block;
    transform: none !important;
  }
  .timeline-panel {
    width: 100%;
    height: auto;
    min-height: auto;
    padding: 60px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .thread-rail {
    display: none;
  }
}
@media (max-width: 768px) {
  .thread-rail {
    top: 72px;
    left: 24px;
    right: 24px;
  }
  .timeline-panel {
    padding: 0 24px;
  }
  .timeline-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
  }
  .timeline-year {
    font-size: 2.2rem;
  }
  .timeline-title {
    font-size: 1.45rem;
  }
  .timeline-text {
    font-size: 0.98rem;
  }
}

/* Remove 6e values image placeholder */
.e6sLeftContainer .rotateImage,
.rotateImage {
  display: none !important;
}
