:root {
  --catalog-ink: #292a22;
  --catalog-paper: #f7f7f4;
  --catalog-beige: rgb(228, 222, 211);
  --catalog-green: #555640;
  --catalog-line: rgba(41, 42, 34, .17);
}

html { scroll-behavior: smooth; }

.catalog-body {
  margin: 0;
  background: var(--catalog-paper);
  color: var(--catalog-ink);
}

.catalog-body .container {
  width: min(1240px, calc(100% - 72px));
  margin-inline: auto;
}

.catalog-body .header > .container {
  width: 100%;
  max-width: none;
  margin: 0;
}

.catalog-body .header .logo-icon {
  width: 38px;
  height: 38px;
}

.catalog-body .nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.catalog-page {
  overflow: hidden;
  padding: 76px 0 0;
}

.catalog-heading {
  padding-block: clamp(62px, 8vw, 116px) clamp(38px, 5vw, 70px);
  border-bottom: 1px solid var(--catalog-line);
}

.catalog-heading__kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 28px;
  color: #6c6e67;
  font: 500 10px / 1 "Jura", sans-serif;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.catalog-heading__kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  background: #b44535;
}

.catalog-heading__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.catalog-heading h1 {
  margin: 0;
  font-family: "Noto Sans KR", sans-serif !important;
  font-size: clamp(62px, 9vw, 132px);
  font-weight: 300 !important;
  line-height: .82;
  letter-spacing: -.075em;
}

.catalog-heading__note {
  margin-bottom: 7px;
  color: #74766f;
  font: 400 9px / 1.4 "Jura", sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.catalog-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px 22px;
  padding-block: 22px 70px;
}

.catalog-card {
  display: block;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.catalog-card__media {
  position: relative;
  height: clamp(430px, 42vw, 590px);
  margin: 0;
  overflow: hidden;
  background: var(--catalog-beige);
  border: 1px solid var(--catalog-line);
}

.catalog-card--compact .catalog-card__media {
  height: clamp(350px, 33vw, 460px);
}

.catalog-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s cubic-bezier(.22, .61, .36, 1), filter .65s ease;
}

.catalog-card--standard .catalog-card__media img {
  object-position: center 51%;
}

.catalog-card--grand .catalog-card__media img {
  object-position: center;
}

.catalog-card--compact:nth-of-type(3) .catalog-card__media img {
  object-position: center;
}

.catalog-card--compact:nth-of-type(4) .catalog-card__media img {
  object-position: center 48%;
}

.catalog-card__number {
  position: absolute;
  top: 16px;
  left: 16px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: rgba(247, 247, 244, .9);
  color: var(--catalog-ink);
  font: 500 11px / 1 "Noto Sans KR", sans-serif;
  backdrop-filter: blur(8px);
}

.catalog-card__caption {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  min-height: 92px;
  padding: 18px 2px 0;
  border-bottom: 1px solid var(--catalog-line);
}

.catalog-card__caption p {
  order: 2;
  margin: 0 0 6px;
  color: #737268;
  font: 400 10px / 1.3 "Noto Sans KR", sans-serif;
  letter-spacing: .13em;
  text-transform: uppercase;
  text-align: right;
}

.catalog-card__caption h2 {
  margin: 0 0 13px;
  font-family: "Noto Sans KR", sans-serif !important;
  font-size: clamp(25px, 2.55vw, 38px);
  font-weight: 300 !important;
  line-height: 1;
  letter-spacing: -.055em;
}

.catalog-card__caption h2 em {
  color: var(--catalog-green);
  font-style: normal;
}

@media (hover: hover) {
  .catalog-card:hover .catalog-card__media img {
    transform: scale(1.018);
    filter: saturate(1.04);
  }

  .catalog-card:hover .catalog-card__caption {
    border-bottom-color: var(--catalog-ink);
  }
}

.catalog-secondary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding-bottom: clamp(80px, 10vw, 136px);
}

.catalog-secondary a {
  display: grid;
  grid-template-columns: 116px 1fr;
  min-height: 116px;
  overflow: hidden;
  border: 1px solid var(--catalog-line);
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: border-color .35s ease, background-color .35s ease;
}

.catalog-secondary img {
  width: 116px;
  height: 116px;
  object-fit: cover;
}

.catalog-secondary a:last-child img {
  object-position: center 58%;
}

.catalog-secondary span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  padding: 18px 24px;
}

.catalog-secondary small {
  color: #7c7b70;
  font: 400 10px / 1.2 "Noto Sans KR", sans-serif;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.catalog-secondary strong {
  font-family: "Noto Sans KR", sans-serif !important;
  font-size: clamp(22px, 2.2vw, 31px);
  font-weight: 300 !important;
  line-height: 1;
  letter-spacing: -.045em;
}

@media (hover: hover) {
  .catalog-secondary a:hover {
    border-color: var(--catalog-ink);
    background: var(--catalog-beige);
  }
}

@media (max-width: 900px) {
  .catalog-body .container {
    width: min(100% - 40px, 1240px);
  }

  .catalog-page {
    padding-top: 0;
  }

  .catalog-heading {
    padding-block: 48px 32px;
  }

  .catalog-heading h1 {
    font-size: clamp(58px, 18vw, 86px);
  }

  .catalog-products {
    gap: 46px 16px;
    padding-bottom: 56px;
  }

  .catalog-card__media,
  .catalog-card--compact .catalog-card__media {
    height: min(57vw, 480px);
  }

  .catalog-card__caption {
    display: block;
    min-height: 82px;
  }

  .catalog-card__caption p {
    margin: 0 0 8px;
    text-align: left;
  }

  .catalog-card__caption h2 {
    margin-bottom: 12px;
  }
}

@media (max-width: 640px) {
  .catalog-body .container {
    width: calc(100% - 24px);
  }

  .catalog-heading {
    padding-block: 32px 22px;
  }

  .catalog-heading__kicker {
    margin-bottom: 20px;
  }

  .catalog-heading__note {
    display: none;
  }

  .catalog-heading h1 {
    font-size: clamp(52px, 17vw, 72px);
  }

  .catalog-products {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 12px;
    padding-bottom: 28px;
  }

  .catalog-card,
  .catalog-card--compact {
    display: grid;
    grid-template-rows: minmax(0, 2fr) minmax(118px, .72fr);
    height: clamp(410px, 110vw, 485px);
    overflow: hidden;
    border: 1px solid rgba(32, 33, 28, .2);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(27, 28, 23, .07);
  }

  .catalog-card__media,
  .catalog-card--compact .catalog-card__media {
    height: auto;
    min-height: 0;
    border: 0;
  }

  .catalog-card__caption {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    min-height: 118px;
    padding: 14px 17px;
    border: 0;
    background: rgb(228, 222, 211);
  }

  .catalog-card__caption p {
    order: initial;
    margin: 0 0 8px;
    font-size: 9px;
    text-align: left;
  }

  .catalog-card__caption h2 {
    margin: 0;
    font-size: clamp(25px, 7.4vw, 29px);
    line-height: 1.05;
  }

  .catalog-card__number {
    top: 12px;
    left: 12px;
    width: 35px;
    height: 35px;
    font-size: 10px;
  }

  .catalog-secondary {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-bottom: 82px;
  }

  .catalog-secondary a {
    grid-template-columns: 104px 1fr;
    min-height: 104px;
    border-radius: 16px;
    background: rgb(228, 222, 211);
    box-shadow: 0 4px 13px rgba(27, 28, 23, .055);
  }

  .catalog-secondary img {
    width: 104px;
    height: 104px;
  }

  .catalog-secondary span {
    padding: 14px 18px;
  }

  .catalog-secondary strong {
    font-size: 24px;
  }
}
