/* ==========================================================================
   p-kabejin.css — 카베진 고유 레이어 (fresh.css 위에 얹음)
   모티프: 양배추 잎 — 유기적 곡선, 겹치는 타원, 잎맥
   정렬: 중앙 (산뜻조 기본 유지)
   타이포: '양배추' 한 단어를 압도적으로 확대
   ========================================================================== */

/* ── 히어로 배경 모티프: 겹치는 잎 곡선 ──────────────────────────────── */
.hero {
  position: relative;
}
.leaf-motif {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.leaf-motif span {
  position: absolute;
  display: block;
  border-radius: 100% 0 100% 0; /* 잎 모양 */
  border: 1.5px solid var(--brand-200);
  opacity: 0.55;
}
.leaf-motif span:nth-child(1) {
  width: clamp(220px, 30vw, 420px);
  aspect-ratio: 1;
  left: -6%;
  top: 12%;
  transform: rotate(-18deg);
}
.leaf-motif span:nth-child(2) {
  width: clamp(160px, 22vw, 320px);
  aspect-ratio: 1;
  right: -4%;
  top: 6%;
  transform: rotate(26deg);
  border-color: var(--brand-100);
}
.leaf-motif span:nth-child(3) {
  width: clamp(120px, 16vw, 230px);
  aspect-ratio: 1;
  left: 8%;
  bottom: 18%;
  transform: rotate(38deg);
  border-color: var(--brand-100);
  opacity: 0.4;
}
/* 잎맥 — 중앙에서 뻗는 얇은 선 */
.leaf-motif::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 42%;
  background: linear-gradient(to bottom, transparent, var(--brand-200));
  opacity: 0.5;
}

/* ── 대형 키워드 '양배추' ────────────────────────────────────────────── */
.hero h1 .big {
  display: block;
  font-size: clamp(52px, 11vw, 132px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.06em;
  color: var(--brand-600);
  margin: 6px 0 2px;
}
.hero h1 .small {
  display: block;
  font-size: clamp(20px, 3.2vw, 34px);
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -0.04em;
}

/* ── 도형 언어: 태그·아이콘을 타원(잎)으로 ───────────────────────────── */
.chip,
.eyebrow,
.sec-label,
.zz-tag {
  border-radius: 100px 8px 100px 8px;
}
.step-ic,
.ing-item .ic {
  border-radius: 100% 12% 100% 12%;
}
.check-item {
  border-radius: 22px 6px 22px 6px;
}

/* ── 시그니처 섹션: MMSC 작용 3단계 흐름도 ───────────────────────────── */
.flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
  counter-reset: fl;
}
.flow-step {
  counter-increment: fl;
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px 6px 26px 6px;
  padding: 34px 26px 30px;
  text-align: center;
}
.flow-step + .flow-step {
  margin-left: 26px;
}
/* 단계 사이 잎맥 연결선 */
.flow-step + .flow-step::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 50%;
  width: 27px;
  height: 1px;
  background: repeating-linear-gradient(
    to right,
    var(--brand-200) 0 6px,
    transparent 6px 11px
  );
}
.flow-no {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 100% 20% 100% 20%;
  background: var(--brand-050);
  border: 1px solid var(--brand-200);
  color: var(--brand-700);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}
.flow-step h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.035em;
  margin-bottom: 9px;
}
.flow-step p {
  font-size: 14.5px;
  color: var(--ink-500);
  word-break: keep-all;
}
.flow-note {
  margin-top: 26px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-300);
  word-break: keep-all;
}

@media (max-width: 860px) {
  .flow {
    grid-template-columns: 1fr;
  }
  .flow-step + .flow-step {
    margin-left: 0;
    margin-top: 26px;
  }
  .flow-step + .flow-step::before {
    left: 50%;
    top: -27px;
    width: 1px;
    height: 27px;
    background: repeating-linear-gradient(
      to bottom,
      var(--brand-200) 0 6px,
      transparent 6px 11px
    );
  }
}
