.company-layout {
  width: min(100% - clamp(40px, 11.4vw, 220px), 1480px);
  margin-inline: auto;
  color: #10223b;
}
.company-mast, .company-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(32px, 5vw, 86px);
}
.company-mast { align-items: center; padding-block: clamp(36px, 4.3vw, 74px); }
.company-intro h1 {
  font: 690 clamp(2.35rem, 4.1vw, 4.4rem)/1.05 var(--display);
  letter-spacing: -.045em;
  margin: .36em 0 .31em;
}
.company-layout p, .company-roles dd {
  font: 400 1rem/1.65 var(--reading);
  color: #405168;
}
.company-intro > p:first-of-type { max-width: 43ch; font-size: clamp(1rem, 1.2vw, 1.2rem); }
.company-photo { min-width: 0; margin: 0; }
.company-photos {
  display: grid;
  height: clamp(235px, 23vw, 365px);
  overflow: hidden;
}
.company-photos.paired { grid-template-columns: 2.45fr 1fr; gap: 5px; }
.company-photos img { display: block; width: 100%; height: 100%; min-height: 0; min-width: 0; object-fit: cover; }
.team-photo img { object-position: center 48%; }
.company-photo figcaption { margin-top: 10px; padding-inline-start: 10px; border-inline-start: 2px solid #c42546; color: #526377; font: 500 .8rem/1.5 var(--reading); }
.company-intro .crew-count { display: flex; align-items: center; gap: 15px; border-block-start: 1px solid #d3d9df; padding-top: 15px; margin-top: 21px; width: fit-content; max-width: 100%; }
.crew-count bdi { color: #bb1d3d; font: 650 clamp(2rem, 2.8vw, 3rem)/1.13 var(--display); letter-spacing: -.045em; }
.crew-count span { font-size: .9rem; max-width: 19ch; line-height: 1.4; }
.company-section { border-top: 1px solid #c7cfd7; padding-block: clamp(38px, 5vw, 78px); align-items: start; }
.company-section h2 { font: 650 clamp(1.65rem, 2.7vw, 2.8rem)/1.12 var(--display); margin: 0 0 14px; letter-spacing: -.035em; max-width: 18ch; }
.company-section-intro > p { max-width: 44ch; }
.company-link { display:inline-flex; align-items:center; gap: 11px; font-weight: 650; font-size:.95rem; color:#ac1a37; margin-top:19px; padding-block:3px; text-decoration: underline; text-underline-offset:4px; }
.company-link:hover { color:#771127; }
.company-stages { list-style:none; padding:0; margin:0; counter-reset: delivery-stage; }
.company-stages li { counter-increment:delivery-stage; position:relative; padding:0 0 24px; padding-inline-start:54px; }
.company-stages li::before {
  content:counter(delivery-stage, decimal-leading-zero); display:grid; place-items:center; position:absolute; inset-inline-start:0; inset-block-start:0;
  width:36px; height:36px; border:1px solid #dbc6ca; color:#a91e39; background:white; border-radius:50%; font:650 .82rem/1 var(--reading);
}
.company-stages li:not(:last-child)::after { content:""; position:absolute; inset-inline-start:18px; inset-block:39px 3px; width:1px; background:#d7dce1; }
.company-stages li:last-child { padding-bottom:0; }
.company-stages h3, .company-roles dt, .company-roles .roles-title { font:650 clamp(1.1rem, 1.35vw, 1.35rem)/1.35 var(--display); letter-spacing:-.018em; }
.company-stages h3 { padding-top:4px; margin-bottom:5px; }
.company-roles .roles-title { margin:0 0 18px; }
.company-roles dl { display:grid; grid-template-columns:1fr 1fr; gap:23px clamp(18px, 2.3vw, 38px); margin:0; }
.company-roles dl > div { border-block-start:2px solid #bfc9d1; padding-block-start:13px; }
.company-roles dd { margin:7px 0 0; }
[dir="rtl"] .company-stages li::before { content:counter(delivery-stage, arabic-indic); }
[dir="rtl"] .company-layout :is(h1,h2,h3,dt) { line-height:1.48; letter-spacing:0; }
[dir="rtl"] .company-layout :is(p,dd) { line-height:1.85; }
@media (max-width:800px) {
  .company-layout { width:calc(100% - 40px); }
  .company-mast, .company-section { grid-template-columns:1fr; gap:24px; }
  .company-mast { padding-block:32px; }
  .company-section { padding-block:34px; gap:30px; }
  .company-intro h1 { font-size:clamp(2rem,6.5vw,2.8rem); }
  .company-intro > p:first-of-type, .company-section-intro > p { max-width:58ch; }
  .company-photos { height:clamp(180px,42vw,285px); }
  .company-layout p,.company-roles dd { font-size: .96rem; }
  .company-section h2 { max-width: none; }
}
@media (max-width:480px) {
  .company-roles dl { grid-template-columns:1fr; gap:18px; }
  .company-stages li { padding-inline-start:46px; }
}
