.company-page {
  background-color: #ffffff;
}

.company-intro {
  --company-content-width: min(1280px, 100%);
  --company-shell-padding-x: var(--page-gutter, clamp(20px, 14.69vw, 282px));
  padding: 0 var(--company-shell-padding-x) 0;
}

.company-intro__inner {
  max-width: var(--company-content-width);
  margin: 0 auto;
  padding: clamp(40px, 3.18vw, 61px) 0 clamp(64px, 5.21vw, 100px);
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 4.17vw, 80px);
}

.company-intro__visual-wrap {
  width: 100%;
  align-self: stretch;
}

.company-intro__visual {
  width: 100%;
  max-width: none;
  margin: 0;
  aspect-ratio: 1280 / 646;
  border-radius: clamp(12px, 1.04vw, 20px);
  overflow: hidden;
  background-color: #a5a5a5;
}

.company-intro__visual-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.company-intro__ideology-block {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 2.92vw, 56px);
  padding-bottom: clamp(40px, 2.92vw, 56px);
}

.company-intro__ideology-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.company-intro__section-title {
  margin: 0;
  font-size: clamp(28px, 1.88vw, 36px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: #101010;
}

.company-intro__statement-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 100%;
}

.company-intro__statement {
  margin: 0;
  width: 100%;
  max-width: 740px;
  font-size: clamp(20px, 1.25vw, 24px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: #2c4ea2;
  text-wrap: balance;
}

.company-intro__body {
  margin: 0;
  width: 100%;
  max-width: 960px;
  font-size: clamp(17px, 1.04vw, 20px);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: #666666;
}

.company-intro__philosophy {
  border-top: 4px solid #2c4ea2;
  border-bottom: 1px solid #e9e9e9;
}

.company-intro__philosophy-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.company-intro__philosophy-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  height: 100%;
  padding: clamp(32px, 2.6vw, 50px) clamp(16px, 1.25vw, 24px);
  border-right: 1px solid #e9e9e9;
  text-align: center;
  box-sizing: border-box;
}

.company-intro__philosophy-item:last-child {
  border-right: none;
}

.company-intro__philosophy-icon {
  width: clamp(80px, 5.21vw, 100px);
  height: clamp(80px, 5.21vw, 100px);
  flex-shrink: 0;
}

.company-intro__philosophy-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.company-intro__philosophy-title {
  margin: 0;
  width: 100%;
  font-size: clamp(18px, 1.15vw, 22px);
  font-weight: 700;
  line-height: 1.33;
  color: #2c4ea2;
}

.company-intro__philosophy-desc {
  margin: 0;
  width: 100%;
  max-width: 22em;
  font-size: clamp(16px, 0.94vw, 18px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: #101010;
  opacity: 0.9;
  text-wrap: pretty;
}

.company-intro__philosophy-desc--emphasis {
  font-weight: 600;
}

.company-intro__profile {
  width: 100%;
}

.company-intro__profile-table {
  width: 100%;
  border: 1px solid #e9e9e9;
  border-collapse: collapse;
}

.company-intro__profile-row {
  display: grid;
  grid-template-columns: minmax(120px, 236px) minmax(0, 1fr);
  border-bottom: 1px solid #e9e9e9;
}

.company-intro__profile-row:last-child {
  border-bottom: none;
}

.company-intro__profile-label,
.company-intro__profile-value {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-size: clamp(16px, 0.94vw, 18px);
  line-height: 1.2;
  color: #464646;
  text-align: center;
}

.company-intro__profile-label {
  background-color: #f6f6f6;
  font-weight: 600;
  border-right: 1px solid #e9e9e9;
}

.company-intro__profile-value {
  justify-content: flex-start;
  background-color: #ffffff;
  font-weight: 400;
  text-align: left;
  line-height: 1.55;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

.company-intro__profile-row--tall .company-intro__profile-label,
.company-intro__profile-row--tall .company-intro__profile-value {
  align-items: center;
  min-height: 98px;
}

@media (max-width: 1024px) {
  .company-intro__philosophy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .company-intro__philosophy-item {
    height: auto;
    border-right: none;
    border-bottom: 1px solid #e9e9e9;
  }

  .company-intro__philosophy-item:nth-child(odd) {
    border-right: 1px solid #e9e9e9;
  }

  .company-intro__philosophy-item:nth-last-child(-n + 2) {
    border-bottom: none;
  }
}

@media (max-width: 640px) {
  .company-intro__philosophy-grid {
    grid-template-columns: 1fr;
  }

  .company-intro__philosophy-item,
  .company-intro__philosophy-item:nth-child(odd) {
    border-right: none;
  }

  .company-intro__philosophy-item:not(:last-child) {
    border-bottom: 1px solid #e9e9e9;
  }

  .company-intro__profile-row {
    grid-template-columns: 1fr;
  }

  .company-intro__profile-label {
    border-right: none;
    border-bottom: 1px solid #e9e9e9;
    justify-content: flex-start;
    text-align: left;
  }

  .company-intro__profile-value {
    justify-content: flex-start;
  }

  .company-intro__visual-image {
    object-position: center 40%;
  }
}

/* Avoid orphan fragments (e.g. "기업!") in the mid-width column measure */
@media (min-width: 641px) and (max-width: 920px) {
  .company-intro__statement {
    max-width: 100%;
    font-size: clamp(19px, 2.05vw, 22px);
    letter-spacing: -0.025em;
    line-height: 1.5;
  }

  .company-intro__body {
    max-width: min(960px, 100%);
    line-height: 1.5;
  }
}

@media (max-width: 640px) {
  .company-intro__statement {
    max-width: 100%;
    font-size: clamp(18px, 4.8vw, 21px);
    letter-spacing: -0.02em;
    line-height: 1.5;
  }

  .company-intro__philosophy-desc {
    max-width: 26em;
  }
}

@media (max-width: 430px) {
  .company-intro__philosophy-desc {
    max-width: 100%;
  }
}
