:root {
  /* 인디고 염색 잉크 · 생지(greige) · 셀비지 레드 — 섬유에서 가져온 팔레트 */
  --ink: #1b2231;
  --bone: #f2f1ec;
  --bone-dim: #e7e5dd;
  --rust: #b23a2e;
  --font-body: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", sans-serif;
  --font-display: "Fraunces", "Pretendard Variable", serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bone);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 28px; }

/* ── 헤더: 잉크 블랙 위 본 톤 ── */
header { background: var(--ink); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: 1.2rem; letter-spacing: -0.01em;
  color: var(--bone); text-decoration: none;
}
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  color: rgba(242,241,236,0.5); text-decoration: none;
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em;
  transition: color 0.15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--bone); }

/* ── 히어로: 헤더와 이어지는 잉크 블록 ── */
.hero { background: var(--ink); color: var(--bone); padding: 104px 0 96px; }
.hero.compact { padding: 72px 0 64px; }
.hero h1 {
  text-wrap: balance;
  font-family: var(--font-display); font-weight: 420;
  font-size: clamp(2.4rem, 6vw, 4.2rem); letter-spacing: -0.02em; line-height: 1.08;
  margin-bottom: 26px;
}
.hero.compact h1 { margin-bottom: 10px; font-size: clamp(2.2rem, 5vw, 3.4rem); }
.hero p.sub { font-size: clamp(1rem, 2vw, 1.12rem); color: rgba(242,241,236,0.72); max-width: 640px; font-weight: 300; }
.hero .en {
  margin-top: 22px; font-size: 11px; color: rgba(242,241,236,0.4);
  text-transform: uppercase; letter-spacing: 0.16em;
}

/* ── 섹션 공통 ── */
section { padding: 84px 0 96px; }
section.tight { padding: 56px 0; }
section h2 {
  text-wrap: balance;
  font-family: var(--font-display); font-weight: 460;
  font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--ink);
  letter-spacing: -0.015em; margin-bottom: 34px; line-height: 1.2;
}
section .h2-en {
  font-size: 11px; color: var(--rust); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.18em; margin-bottom: 14px;
}
section h3.block {
  font-family: var(--font-display); font-weight: 500;
  font-size: 1.25rem; color: var(--ink); margin: 40px 0 14px;
}
section p.body { color: rgba(27,34,49,0.78); font-size: 1rem; max-width: 720px; margin-bottom: 14px; font-weight: 350; }

/* ── 정보 표: 헤어라인 에디토리얼 ── */
table.info { width: 100%; border-collapse: collapse; background: transparent; border: none; border-top: 1px solid rgba(27,34,49,0.4); }
table.info th, table.info td { text-align: left; padding: 18px 4px; font-size: 0.96rem; border-bottom: 1px solid rgba(27,34,49,0.12); vertical-align: top; }
table.info th {
  width: 200px; color: rgba(27,34,49,0.45); font-weight: 600; background: transparent;
  white-space: nowrap; font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; padding-top: 22px;
}
table.info td { color: var(--ink); font-variant-numeric: tabular-nums; }
table.info td .en { display: block; color: rgba(27,34,49,0.4); font-size: 0.82rem; margin-top: 3px; letter-spacing: 0.02em; }

/* ── 리스트 ── */
ul.feature { list-style: none; max-width: 720px; }
ul.feature li {
  padding: 13px 0 13px 30px; position: relative; font-size: 0.96rem;
  color: rgba(27,34,49,0.78); border-bottom: 1px solid rgba(27,34,49,0.1); font-weight: 350;
}
ul.feature li:last-child { border-bottom: none; }
ul.feature li::before { content: "—"; position: absolute; left: 2px; color: var(--rust); font-weight: 400; }

/* ── 연혁: 고스트 연도 ── */
.timeline { list-style: none; max-width: 680px; }
.timeline li { display: flex; gap: 32px; padding: 22px 0; border-bottom: 1px solid rgba(27,34,49,0.1); align-items: baseline; }
.timeline li:last-child { border-bottom: none; }
.timeline .when {
  min-width: 130px; font-family: var(--font-display); font-weight: 450;
  color: rgba(27,34,49,0.3); font-size: 1.5rem; letter-spacing: -0.01em;
}
.timeline .what { color: rgba(27,34,49,0.8); font-size: 0.98rem; font-weight: 350; }

/* ── 문의: 잉크 다크 밴드 ── */
#contact { background: var(--ink); color: var(--bone); }
#contact h2 { color: var(--bone); }
#contact .h2-en { color: var(--rust); }
#contact p.body { color: rgba(242,241,236,0.65); }
.contact-box { background: transparent; border: none; border-top: 1px solid rgba(242,241,236,0.25); border-radius: 0; padding: 30px 0 0; display: flex; flex-direction: column; gap: 18px; }
.contact-row { display: flex; gap: 18px; align-items: baseline; }
.contact-row .label {
  min-width: 96px; font-weight: 600; color: rgba(242,241,236,0.45); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.14em;
}
.contact-row .value { color: rgba(242,241,236,0.85); font-size: 0.96rem; font-weight: 300; }
.contact-row .value a {
  color: var(--bone); text-decoration: none; font-weight: 500;
  border-bottom: 1px solid rgba(242,241,236,0.4); padding-bottom: 2px;
  transition: border-color 0.15s, color 0.15s;
}
.contact-row .value a:hover { color: #dd8b76; border-color: var(--rust); }

/* 다크 밴드가 아닌 페이지(회사소개 등)의 contact-box */
section:not(#contact) .contact-box { border-top-color: rgba(27,34,49,0.25); }
section:not(#contact) .contact-row .label { color: rgba(27,34,49,0.45); }
section:not(#contact) .contact-row .value { color: rgba(27,34,49,0.8); }
section:not(#contact) .contact-row .value a { color: var(--ink); border-bottom-color: rgba(27,34,49,0.35); }
section:not(#contact) .contact-row .value a:hover { color: var(--rust); border-color: var(--rust); }

/* ── 푸터: 잉크 다크 북엔드 (헤더와 수미상관) ── */
footer { background: var(--ink); color: rgba(242,241,236,0.45); padding: 56px 0 48px; font-size: 0.84rem; border-top: 1px solid rgba(242,241,236,0.12); }
footer .foot-name {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  color: var(--bone); font-size: 1.3rem; margin-bottom: 10px;
}
footer .wrap { display: flex; flex-direction: column; gap: 3px; }
footer nav { margin-bottom: 18px; display: flex; gap: 22px; }
footer nav a {
  color: rgba(242,241,236,0.55); text-decoration: none;
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em;
  transition: color 0.15s;
}
footer nav a:hover { color: #dd8b76; }

/* ── 공급망 체인: 타이포그래피 프로세스 ── */
section.band { background: var(--bone-dim); }
ol.chain {
  list-style: none; display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 44px 28px; margin-top: 48px;
}
ol.chain li { border-top: 1px solid rgba(27,34,49,0.35); padding-top: 14px; }
ol.chain .idx {
  display: block; font-family: var(--font-display); font-style: italic;
  font-size: 1.35rem; font-weight: 420; color: var(--rust); margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
ol.chain .ko {
  display: block; font-size: 1.15rem; font-weight: 600;
  letter-spacing: -0.01em; color: var(--ink); line-height: 1.35;
}
ol.chain .stage-en {
  display: block; margin-top: 5px; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.12em; color: rgba(27,34,49,0.45);
}
ol.chain.small { margin: 36px 0 6px; gap: 32px 24px; max-width: 760px; }
ol.chain.small .idx { font-size: 1.1rem; margin-bottom: 5px; }
ol.chain.small .ko { font-size: 1rem; }
@media (max-width: 720px) {
  ol.chain, ol.chain.small { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
}


/* ── 사업영역: 에디토리얼 넘버드 로우 ── */
.biz-rows { border-top: 1px solid rgba(27,34,49,0.4); }
.biz-row {
  display: grid; grid-template-columns: 128px 240px 1fr 48px; gap: 28px; align-items: baseline;
  padding: 30px 0 34px; border-bottom: 1px solid rgba(27,34,49,0.14);
  text-decoration: none; color: inherit; position: relative;
  transition: background 0.2s;
}
.biz-row .num {
  font-size: 11px; font-weight: 700; color: var(--rust);
  text-transform: uppercase; letter-spacing: 0.16em; line-height: 1.5;
}
.biz-row h3 {
  font-family: var(--font-display); font-weight: 500; font-size: 1.3rem;
  color: var(--ink); letter-spacing: -0.01em; line-height: 1.3;
}
.biz-row p { font-size: 0.95rem; color: rgba(27,34,49,0.6); font-weight: 350; max-width: 540px; }
.biz-row .arrow {
  font-size: 1.2rem; color: rgba(27,34,49,0.3); justify-self: end;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s;
}
.biz-row:hover .arrow { transform: translateX(6px); color: var(--rust); }
.biz-row:hover h3 { color: var(--rust); }
.biz-row h3 { transition: color 0.2s; }
@media (max-width: 820px) {
  .biz-row { grid-template-columns: 1fr 32px; grid-template-rows: auto auto auto; gap: 6px 18px; }
  .biz-row .num { grid-row: 1; grid-column: 1; }
  .biz-row h3 { grid-row: 2; grid-column: 1; }
  .biz-row p { grid-column: 1; grid-row: 3; }
  .biz-row .arrow { grid-row: 2; grid-column: 2; }
}

/* ── 그레인 오버레이 ── */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 999; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.05; mix-blend-mode: multiply;
}

/* ── 스크롤 리빌 ── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ── 접근성: 포커스·스킵 링크 ── */
:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; border-radius: 2px; }
.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 1000;
  background: var(--rust); color: #fff; padding: 10px 18px; font-size: 0.88rem; font-weight: 600;
  text-decoration: none; transition: top 0.2s;
}
.skip-link:focus { top: 12px; }
