.legacy-subpage {
  margin: 0;
  background: #f7f5ef;
  color: #20252b;
  font-family: "Noto Sans KR", Arial, sans-serif;
}

.legacy-subpage .legacy-page-main {
  padding-top: 104px;
}

.legacy-page-hero {
  padding: 96px 24px 82px;
  background: #174b8c;
  color: #fff;
}

.legacy-page-container {
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
}

.legacy-eyebrow {
  margin: 0 0 18px;
  color: #f3c344;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
}

.legacy-page-hero h1 {
  max-width: 800px;
  margin: 0;
  font-family: "Noto Serif KR", serif;
  font-size: clamp(38px, 5vw, 66px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1.2;
  text-wrap: balance;
}

.legacy-page-hero p:last-child {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 17px;
  line-height: 1.8;
}

.legacy-content-section {
  padding: 84px 0 96px;
}

.legacy-content-section + .legacy-content-section {
  border-top: 1px solid #dedbd3;
}

.legacy-section-heading {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 46px;
  margin-bottom: 52px;
}

.legacy-section-heading h2 {
  margin: 0;
  color: #153d71;
  font-family: "Noto Serif KR", serif;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.25;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.legacy-section-heading p {
  max-width: 660px;
  margin: 8px 0 0;
  color: #5e646a;
  font-size: 16px;
  line-height: 1.9;
}

.legacy-brand-lockup {
  display: grid;
  grid-template-columns: minmax(240px, .8fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: center;
  padding: 48px;
  background: #fff;
}

.legacy-brand-lockup img {
  width: 100%;
  max-width: 330px;
}

.legacy-brand-lockup h2 {
  margin: 0 0 20px;
  color: #153d71;
  font-family: "Noto Serif KR", serif;
  font-size: 38px;
  line-height: 1.35;
}

.legacy-brand-lockup p {
  margin: 0;
  color: #5e646a;
  font-size: 16px;
  line-height: 1.9;
}

.legacy-value-grid,
.legacy-business-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: #d9d7d0;
  border: 1px solid #d9d7d0;
}

.legacy-value-card,
.legacy-business-card {
  min-height: 190px;
  padding: 34px;
  background: #fff;
}

.legacy-value-card strong,
.legacy-business-card strong {
  display: block;
  margin-bottom: 16px;
  color: #174b8c;
  font-size: 18px;
}

.legacy-value-card p,
.legacy-business-card p {
  margin: 0;
  color: #64696e;
  line-height: 1.75;
}

.legacy-company-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.legacy-company-intro img {
  width: 100%;
  min-height: 380px;
  object-fit: cover;
}

.legacy-company-intro h2 {
  margin: 0 0 24px;
  color: #153d71;
  font-family: "Noto Serif KR", serif;
  font-size: 40px;
  line-height: 1.35;
}

.legacy-company-intro p {
  color: #5e646a;
  line-height: 1.9;
}

.legacy-history {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid #174b8c;
}

.legacy-history li {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 32px;
  padding: 24px 0;
  border-bottom: 1px solid #d9d7d0;
}

.legacy-history strong {
  color: #174b8c;
  font-size: 24px;
  font-variant-numeric: tabular-nums;
}

.legacy-history span {
  color: #4e555c;
  line-height: 1.7;
}

.legacy-note {
  margin-top: 28px;
  padding: 20px 24px;
  background: #eef3f9;
  color: #41546b;
  line-height: 1.7;
}

.legacy-catalog-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
  padding-bottom: 22px;
  border-bottom: 1px solid #cfd5dc;
}

.legacy-filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.legacy-filter {
  border: 1px solid #bcc5cf;
  background: transparent;
  padding: 10px 16px;
  color: #39444f;
  font-weight: 600;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}

.legacy-filter:hover,
.legacy-filter:focus-visible,
.legacy-filter.is-active {
  border-color: #174b8c;
  background: #174b8c;
  color: #fff;
}

.legacy-search {
  min-width: 250px;
  border: 0;
  border-bottom: 2px solid #7e8994;
  background: transparent;
  padding: 11px 4px;
  font: inherit;
}

.legacy-search:focus {
  border-color: #174b8c;
  outline: 0;
}

.legacy-result-count {
  margin: 0 0 22px;
  color: #56616b;
}

.legacy-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px 18px;
}

.legacy-product-card {
  min-width: 0;
}

.legacy-product-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #fff;
  object-fit: contain;
}

.legacy-product-card h3 {
  margin: 14px 0 0;
  color: #293039;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.legacy-product-card p {
  margin: 7px 0 0;
  color: #78808a;
  font-size: 12px;
}

.legacy-load-more {
  display: block;
  margin: 46px auto 0;
  border: 1px solid #174b8c;
  background: #174b8c;
  padding: 14px 34px;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.legacy-load-more[hidden] {
  display: none;
}

@media (max-width: 900px) {
  .legacy-section-heading,
  .legacy-brand-lockup,
  .legacy-company-intro {
    grid-template-columns: 1fr;
  }

  .legacy-value-grid,
  .legacy-business-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legacy-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .legacy-subpage .legacy-page-main {
    padding-top: 108px;
  }

  .legacy-page-hero {
    padding: 64px 0 56px;
  }

  .legacy-page-container {
    width: min(100% - 36px, 1100px);
  }

  .legacy-content-section {
    padding: 58px 0 68px;
  }

  .legacy-section-heading {
    gap: 8px;
    margin-bottom: 34px;
  }

  .legacy-brand-lockup {
    gap: 34px;
    padding: 28px;
  }

  .legacy-value-grid,
  .legacy-business-grid,
  .legacy-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legacy-value-card,
  .legacy-business-card {
    min-height: 0;
    padding: 24px;
  }

  .legacy-catalog-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .legacy-search {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .legacy-company-page .legacy-page-hero h1 {
    font-size: clamp(30px, 8.5vw, 34px);
    line-height: 1.25;
    word-break: keep-all;
  }

  .legacy-value-grid,
  .legacy-business-grid {
    grid-template-columns: 1fr;
  }
}
