.company-page .header { width: min(1440px, 100%); }
.company-page .header__logo img { object-fit: contain; mix-blend-mode: normal; }
.company-page .header__nav { color: #fff; }
.company-container { width: min(1120px, calc(100% - 64px)); margin: 0 auto; }
.company-container--narrow { width: min(920px, calc(100% - 64px)); }
.company-section { padding: 108px 0; }
.company-section--gray { background: #eef0ef; }
.eyebrow { margin-bottom: 14px; color: #9099a5; font-family: var(--font-en); font-size: 12px; font-weight: 700; letter-spacing: .16em; }
.eyebrow--green { color: var(--brand); }
.company-heading { margin-bottom: 48px; text-align: center; }
.company-heading h2 { font-size: 38px; line-height: 1.35; }

.company-hero { position: relative; min-height: 470px; display: flex; align-items: center; overflow: hidden; padding: 130px max(32px, calc((100vw - 1120px) / 2)) 70px; background: #111; color: #fff; }
.company-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(10,16,13,.86) 0%, rgba(10,16,13,.62) 48%, rgba(10,16,13,.32) 100%), url("../assets/company/company-hero-workers.webp"); background-position: center, center 36%; background-size: cover; background-repeat: no-repeat; }
.company-hero__inner { position: relative; z-index: 1; }
.company-hero h1 { margin-bottom: 18px; font-size: clamp(44px, 5vw, 68px); letter-spacing: -.04em; }
.company-hero__inner > p:last-child { font-size: 15px; font-weight: 500; }

.message__layout { display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; gap: 88px; }
.message__photo { height: 590px; overflow: hidden; border-radius: 4px 54px 4px 4px; background: #e4e7e5; }
.message__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 78% center; }
.message__copy h2 { margin-bottom: 28px; font-size: 40px; }
.message__copy > p:not(.eyebrow) { margin-top: 18px; color: #525b66; font-size: 14px; line-height: 2; }
.message__sign { display: flex; flex-direction: column; gap: 7px; margin-top: 28px; border-top: 1px solid #dfe3e1; padding-top: 24px; }
.message__sign span { font-size: 12px; }
.message__sign strong { font-size: 22px; letter-spacing: .08em; }

.philosophy__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.philosophy__grid article { min-height: 230px; border-top: 4px solid var(--brand); border-radius: 4px; padding: 34px 30px; background: #fff; }
.philosophy__grid article > p { color: var(--brand); font-family: var(--font-en); font-size: 12px; font-weight: 700; letter-spacing: .14em; }
.philosophy__grid h3 { margin: 10px 0 30px; font-size: 17px; }
.philosophy__grid strong { font-size: 19px; line-height: 1.8; }

.profile-table { overflow: hidden; border: 1px solid #d8dcda; border-radius: 5px; }
.profile-table > div { display: grid; grid-template-columns: 240px 1fr; border-bottom: 1px solid #d8dcda; }
.profile-table > div:last-child { border-bottom: 0; }
.profile-table dt, .profile-table dd { padding: 20px 24px; font-size: 13px; line-height: 1.85; }
.profile-table dt { display: flex; align-items: center; background: #e7e9e8; font-weight: 700; }
.profile-table dd { background: #fff; }
.profile-table .profile-locations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; padding: 0; }
.profile-location { padding: 24px; }
.profile-location + .profile-location { border-left: 1px solid #e1e5e3; }
.profile-location h3 { margin-bottom: 16px; color: var(--brand); font-size: 16px; }
.profile-location__details { display: grid; gap: 8px; }
.profile-location__details p { display: grid; grid-template-columns: 72px 1fr; gap: 10px; margin: 0; }
.profile-location__details span { color: #68717c; font-size: 11px; font-weight: 700; }
.profile-location__details a { color: inherit; text-decoration: none; }
.profile-location__details a:hover { color: var(--brand); text-decoration: underline; }

.history-list { overflow: hidden; border-radius: 5px; padding: 34px 42px; background: #fff; }
.history-list li { display: grid; grid-template-columns: 130px 1fr; gap: 36px; border-bottom: 1px solid #e3e6e4; padding: 24px 0; }
.history-list li:last-child { border-bottom: 0; }
.history-list time { color: var(--brand); font-family: var(--font-en); font-weight: 700; }
.history-list h3 { margin-bottom: 0; font-size: 16px; }
.history-list p { color: #6b737d; font-size: 12px; }

.office__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.office-card { overflow: hidden; border: 1px solid #dfe3e1; border-radius: 5px; background: #fff; }
.office-card > img { width: 100%; height: 300px; object-fit: cover; }
.office-card > div { padding: 30px 32px 34px; }
.office-card h3 { margin-bottom: 18px; font-size: 22px; }
.office-card address, .office-card > div > p:not(.eyebrow), .office-card dd { color: #59626d; font-size: 13px; font-style: normal; line-height: 1.9; }
.office-card dl { margin-top: 18px; }
.office-card dl > div { display: grid; grid-template-columns: max-content 1fr; align-items: baseline; gap: 20px; border-top: 1px solid #e4e7e5; padding: 10px 0; font-size: 12px; }
.office-card dt { font-weight: 700; }
.office-card > div > a { display: inline-flex; gap: 20px; margin-top: 22px; border-bottom: 1px solid; padding-bottom: 5px; color: var(--brand); font-size: 13px; font-weight: 700; }
.office-card dd a,
.office-card dd a:hover {
  display: inline;
  margin: 0;
  border: 0;
  padding: 0;
  color: #59626d;
  font: inherit;
  line-height: inherit;
  text-decoration: none;
}
.company-page .footer { border-radius: 0; }

@media (max-width: 768px) {
  .company-page .header { padding: 9px 15px; }
  .company-page .header__logo img { content: url("../assets/shared/logo-color.png"); }
  .company-page .header.is-stuck .header__logo img { content: url("../assets/shared/logo-color.png"); }
  .company-container, .company-container--narrow { width: min(calc(100% - 40px), 560px); }
  .company-section { padding: 72px 0; }
  .company-heading { margin-bottom: 34px; }
  .company-heading h2 { font-size: 30px; }
  .company-hero { min-height: 410px; padding: 120px 20px 58px; }
  .company-hero::before { background-position: center, 48% center; }
  .company-hero h1 { font-size: 42px; }
  .message__layout, .philosophy__grid, .office__grid { grid-template-columns: 1fr; gap: 28px; }
  .message__photo { height: min(118vw, 520px); }
  .message__photo img { object-position: 82% center; }
  .message__copy h2 { font-size: 30px; }
  .philosophy__grid article { min-height: 0; }
  .profile-table > div { grid-template-columns: 105px 1fr; }
  .profile-table dt, .profile-table dd { padding: 15px 13px; font-size: 11px; }
  .profile-table .profile-locations { grid-template-columns: 1fr; padding: 0; }
  .profile-location { padding: 18px 14px; }
  .profile-location + .profile-location { border-top: 1px solid #e1e5e3; border-left: 0; }
  .profile-location h3 { margin-bottom: 12px; font-size: 14px; }
  .profile-location__details p { grid-template-columns: 62px 1fr; gap: 8px; }
  .profile-location__details span { font-size: 10px; }
  .history-list { padding: 18px 20px; }
  .history-list li { grid-template-columns: 72px 1fr; gap: 14px; }
  .office-card > img { height: 230px; }
}
