.company-home { --section-pad: clamp(48px,5.3vw,82px); }
.cover { position: relative; isolation: isolate; overflow: hidden; background: #10232c; color: white; }
.cover-photo, .cover::after { position: absolute; inset: 0; z-index: -1; }
.cover-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 64% 52%; }
.cover::after { content: ""; background: linear-gradient(90deg,rgba(8,24,34,.86),rgba(8,24,34,.65) 33%,rgba(8,24,34,.16) 64%,rgba(8,24,34,.02) 85%),linear-gradient(0deg,#0b182c39,transparent 35%); }
[dir="rtl"] .cover-photo { transform: scaleX(-1); }
[dir="rtl"] .cover::after { transform: scaleX(-1); }
.cover-layout { min-height: clamp(445px,34.8vw,600px); display: grid; align-items: center; padding-block: clamp(50px,4.7vw,80px); }
.cover-copy { width: min(60%,760px); }
.company-home .cover-label { color: #e6baa1; margin: 0 0 16px; }
.cover-label::before { background: currentColor; width: 30px; }
.hm-custom .cover h1 { margin: 0; color: white; font-size: clamp(46px,4.7vw,78px); line-height: 1.03; font-weight: 650; letter-spacing: -.062em; }
.cover h1 span { display: block; color: #efc3a9; }
[dir="rtl"] .hm-custom .cover h1 { font-size: clamp(44px,4.5vw,73px); line-height: 1.36; letter-spacing: -.025em; font-weight: 750; }
.hm-custom .cover-intro { margin-top: 21px; max-width: 485px; font-size: clamp(16px,1.25vw,19px); line-height: 1.7; color: #eef2f3; }
[dir="rtl"] .hm-custom .cover-intro { line-height: 1.95; }
.cover-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 25px; }
.cover-caption { position: absolute; inset-inline-end: max(var(--gutter),calc((100vw - 1240px) / 2)); bottom: 24px; display: flex; align-items: center; gap: 8px; padding: 2px 6px; color: #fff; text-shadow: 0 1px 5px #000; font-size: 11px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; }
.cover-caption span { width: 17px; height: 1px; background: #eac6af; }
[dir="rtl"] .cover-caption { font-size: 13px; letter-spacing: normal; }
.portfolio { background: #f5f6f5; padding-block: var(--section-pad); }
.portfolio-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 30px; margin-bottom: clamp(22px,2.4vw,36px); }
.hm-custom .portfolio-heading h2, .hm-custom .profile-copy h2 { font-size: clamp(34px,3.55vw,56px); font-weight: 700; line-height: 1.08; letter-spacing: -.053em; margin-top: 10px; }
[dir="rtl"] .hm-custom :is(.portfolio-heading,.profile-copy) h2 { line-height: 1.4; letter-spacing: -.015em; }
.portfolio-heading .text-action { margin-bottom: 2px; }
.material-list { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(12px,1.45vw,22px); }
.material-card { display: block; min-width: 0; background: white; border: 1px solid #d5dddd; border-radius: 4px; overflow: hidden; transition: box-shadow .22s,border-color .22s; }
.material-card:hover { border-color: #9faeb3; box-shadow: 0 5px 16px #132f4012; }
.material-image { overflow: hidden; aspect-ratio: 1.65; background: #dee4e4; }
.material-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .42s ease; }
.material-card:hover img:not(.hm-icon) { transform: scale(1.035); }
.material-text { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: clamp(15px,1.45vw,23px); }
.hm-custom .material-text p { font-size: 11px; color: #53636b; font-weight: 700; letter-spacing: .075em; line-height: 1.55; text-transform: uppercase; margin-bottom: 5px; }
.hm-custom .material-text h3 { font-size: clamp(18px,1.45vw,24px); font-weight: 750; line-height: 1.27; letter-spacing: -.035em; }
[dir="rtl"] .hm-custom .material-text p { font-size: 12px; letter-spacing: normal; }
[dir="rtl"] .hm-custom .material-text h3 { letter-spacing: normal; line-height: 1.5; }
.material-text>.hm-icon { flex: none; width: 18px; height: 18px; }
.company-profile { background: white; padding-block: clamp(50px,6.6vw,105px); }
.profile-layout { display: grid; grid-template-columns: minmax(0,1.04fr) minmax(0,1fr); align-items: center; gap: clamp(35px,6vw,94px); }
.profile-photo { height: 100%; max-height: 505px; min-height: 330px; overflow: hidden; border-radius: 4px; position: relative; }
.profile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hm-custom .profile-lead { color: var(--slate); font-size: 17px; line-height: 1.85; margin-top: 19px; }
.practice-list { margin-block: 22px 15px; }
.practice-list a { display: flex; align-items: center; gap: 10px; border-top: 1px solid #d9e0e1; padding-block: 14px; font-weight: 650; font-size: 14px; }
.practice-list a:last-child { border-bottom: 1px solid #d9e0e1; }
.practice-list .hm-icon { width: 20px; height: 20px; }
.practice-list .hm-icon:last-child { width: 17px; height: 17px; margin-inline-start: auto; }
.practice-list a:hover { color: #8d4c32; }
@media(max-width: 990px) {
  .cover-copy { width: min(72%,600px); }
  .material-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
  .profile-layout { gap: 28px; }
  .cover-layout { min-height: 435px; }
}
@media(max-width: 720px) {
  .profile-layout { grid-template-columns: 1fr; gap: 25px; }
  .profile-photo { height: 250px; min-height: auto; }
}
@media(max-width: 620px) {
  .cover-copy { width: 100%; }
  .cover-layout { min-height: 550px; align-items: flex-end; padding-block: 176px 38px; }
  .cover-photo img { object-position: 50% 34%; }
  .cover::after { background: linear-gradient(0deg,#091c2a 0%,rgba(9,28,42,.94) 27%,rgba(9,28,42,.77) 48%,rgba(9,28,42,.22) 80%,rgba(9,28,42,.08)); }
  .hm-custom .cover h1 { font-size: clamp(39px,8.7vw,53px); letter-spacing: -.055em; }
  [dir="rtl"] .hm-custom .cover h1 { font-size: clamp(34px,8.25vw,48px); line-height: 1.32; }
  .company-home .cover-label { margin-bottom: 11px; }
  .hm-custom .cover-intro { max-width: 36ch; margin-top: 14px; font-size: 16px; line-height: 1.56; }
  [dir="rtl"] .hm-custom .cover-intro { line-height: 1.8; }
  .cover-actions { margin-top: 20px; gap: 9px; }
  .cover-actions .action { min-height: 47px; font-size: 14px; padding: 12px 17px; }
  .cover-caption { display: none; }
  .portfolio { padding-block: 38px 44px; }
  .portfolio-heading { gap: 9px; align-items: flex-end; }
  .hm-custom .portfolio-heading h2 { margin-top: 6px; font-size: clamp(27px,6.2vw,35px); }
  .portfolio-heading .text-action { font-size: 12px; gap: 5px; white-space: nowrap; margin: 0; }
  .portfolio-heading .text-action .hm-icon { width: 15px; height: 15px; }
  .material-list { gap: 13px 10px; }
  .material-image { aspect-ratio: 1.32; }
  .material-text { padding: 12px 10px; gap: 4px; }
  .hm-custom .material-text p { font-size: 11px; }
  [dir=rtl] .hm-custom .material-text p { font-size: 11px; }
  .hm-custom .material-text h3 { font-size: clamp(15px,3.7vw,19px); }
  .material-text>.hm-icon { width: 14px; height: 14px; }
  .hm-custom .profile-lead { font-size: 16px; }
}
@media(max-width: 370px) {
  .portfolio-heading { flex-wrap: wrap; }
  .material-text>.hm-icon { display: none; }
}
