/* eduwise.kr 01 회사 소개 — 도식(배우고 · 맡기고 · 남깁니다) · 정체성(이름의 뜻 · 차별점). site-sections.css 다음에 읽는다. */

/* 도식: 이미지 위 세 단계 이름 — 이미지의 세 정거장(1/6 · 3/6 · 5/6)에 맞춰 3등분 */
.flow {
  position: relative;
  margin: 96px 0 0;
  overflow: hidden;
  border-radius: 20px;
  background: var(--night);
  color: var(--on-brand);
}

.flow-img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  object-position: center 55%;
}

.flow-steps {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0 0 36px;
  background: linear-gradient(0deg, color-mix(in srgb, var(--night) 88%, transparent) 30%, transparent);
  text-align: center;
}

.flow-steps div {
  display: grid;
  gap: 6px;
  justify-items: center;
  padding: 72px 16px 0;
}

.flow-steps .mono {
  color: var(--signal);
}

.flow-steps b {
  font-size: clamp(1.375rem, 1rem + 1vw, 2rem);
  font-weight: 750;
  letter-spacing: -0.035em;
}

.flow-steps p {
  font-size: 0.9375rem;
  color: color-mix(in srgb, var(--on-brand) 72%, transparent);
}

/* 정체성: 왼쪽 = 워드마크와 이름의 뜻, 오른쪽 = 차별점 */
.identity {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  margin: 96px 0 0;
  border-top: 1px solid var(--ink);
}

.id-label {
  color: var(--brand);
}

.id-name {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 40px 56px 8px 0;
  border-right: 1px solid var(--edge-light);
}

.id-mark {
  margin-top: 8px;
  font-size: clamp(4rem, 2rem + 6vw, 7.5rem);
}

.id-mark .wm-wise {
  background-size: 100% 0.07em;
}

.id-parts {
  display: flex;
  align-items: baseline;
  gap: 18px;
}

.id-parts p {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 1.0625rem;
  color: var(--muted);
}

.id-parts b {
  font-size: 1.5rem;
  color: var(--ink);
}

.id-edu {
  font-family: var(--font-latin-serif);
  font-style: italic;
  font-weight: 400;
}

.id-wise {
  font-weight: 750;
  letter-spacing: -0.04em;
}

.id-parts i {
  font-family: var(--font-latin-serif);
  font-style: normal;
  font-size: 1.5rem;
  color: var(--signal);
}

.id-desc {
  font-size: clamp(1.125rem, 1rem + 0.4vw, 1.3125rem);
  font-weight: 650;
  letter-spacing: -0.02em;
}

.id-note {
  max-width: 30em;
  color: var(--muted);
}

/* 차별점: 제목 · 설명 · 비교표(지식 전달형 강의 / 에듀와이즈) */
.id-diff {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 40px 0 8px 56px;
}

.id-title {
  font-size: clamp(1.25rem, 1rem + 0.65vw, 1.625rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.4;
}

.id-text {
  max-width: 32em;
  color: var(--muted);
}

.id-compare {
  width: 100%;
  margin-top: 12px;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.id-compare th,
.id-compare td {
  padding: 14px 12px 14px 0;
  border-bottom: 1px solid var(--edge-light);
  text-align: left;
  vertical-align: top;
}

.id-compare thead th {
  padding-top: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  border-bottom-color: var(--ink);
}

.id-compare thead th:last-child {
  color: var(--brand);
}

.id-compare tbody th {
  width: 22%;
  font-weight: 600;
  color: var(--muted);
}

.id-compare td {
  color: var(--muted);
}

/* 에듀와이즈 쪽 칸은 진하게 + 오커 표시 */
.id-compare td:last-child {
  font-weight: 700;
  color: var(--ink);
}

.id-compare td:last-child::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 8px 2px 0;
  background: var(--signal);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 860px) {
  .flow {
    margin-top: 64px;
  }

  .flow-img {
    aspect-ratio: 16 / 10;
  }

  .flow-steps {
    position: static;
    grid-template-columns: minmax(0, 1fr);
    padding: 8px 20px 24px;
    background: none;
    text-align: left;
  }

  .flow-steps div {
    grid-template-columns: 76px minmax(0, 1fr);
    justify-items: start;
    align-items: baseline;
    column-gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid var(--edge-dark);
  }

  .flow-steps div:last-child {
    border-bottom: 0;
  }

  .flow-steps p {
    grid-column: 2;
  }

  .identity {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 80px;
  }

  .id-name {
    padding: 32px 0;
    border-right: 0;
    border-bottom: 1px solid var(--edge-light);
  }

  .id-diff {
    padding: 32px 0 0;
  }

  .id-compare {
    font-size: 0.875rem;
  }
}
