/* ============================================================
   sub.css - 하위 페이지 공통 (서브 히어로 · 에디토리얼 · 타임라인 · 갤러리)
   마스터 서브 스케일: d1 80 / h1 44 / p1 18
   ============================================================ */

/* ---- 서브 히어로 ---- */
.sub-hero {
  background: linear-gradient(90deg, rgba(11,13,16,.94) 30%, rgba(11,13,16,.7)), url('../assets/media/texture-circuit.webp') right center/cover no-repeat var(--ink-950);
  color: var(--ondark);
  padding-top: calc(var(--header-h) + 7.5rem); padding-bottom: 6.25rem;
  position: relative; overflow: hidden;
}
.sub-hero .crumb { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ondark-sub); margin-bottom: 1.5rem; display: flex; gap: .75rem; align-items: center; }
.sub-hero .crumb .sep { color: var(--brand); }
.sub-hero h1 { font-size: 5rem; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.sub-hero .lead { margin-top: 1.75rem; color: var(--ondark-sub); font-size: 1.125rem; max-width: 38em; }
.sub-hero .hline { position: absolute; right: 0; bottom: 0; width: 40%; height: 100%; pointer-events: none; opacity: .6; }
@media (max-width: 1024px) { .sub-hero h1 { font-size: 44px; } }
@media (max-width: 767px)  { .sub-hero h1 { font-size: 34px; } }

/* 서브 로컬 탭 */
.sub-tabs { border-bottom: 1px solid var(--ink-100); background: #fff; position: sticky; top: 0; z-index: 50; }
/* overflow-y hidden: overflow-x auto만 지정하면 y도 auto로 계산되어 언더라인 1px에 세로 스크롤바가 생김 */
.sub-tabs ul { display: flex; gap: 2.5rem; overflow-x: auto; overflow-y: hidden; }
.sub-tabs a { display: block; padding: 1.375rem 0; font-weight: 600; font-size: 1rem; color: var(--ink-500); position: relative; white-space: nowrap; }
.sub-tabs a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: transparent; }
.sub-tabs a.is-on { color: var(--ink-950); }
.sub-tabs a.is-on::after { background: var(--brand); }

/* ---- 에디토리얼 블록 ---- */
.prose { max-width: 46em; color: var(--ink-700); font-size: 1.125rem; line-height: 1.9; }
.prose + .prose { margin-top: 1.5rem; }
.prose strong { color: var(--ink-950); }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.value-card { border: 1px solid var(--ink-100); border-radius: var(--radius-lg); padding: 2.5rem; background: #fff; }
.value-card .no { font-family: var(--font-mono); color: var(--brand); font-size: .8125rem; letter-spacing: .1em; }
.value-card h3 { font-size: 1.5rem; margin: 1rem 0 .375rem; }
.value-card .en { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em; color: var(--ink-500); text-transform: uppercase; display: block; margin-bottom: 1rem; }
.value-card p { color: var(--ink-700); font-size: .9375rem; line-height: 1.8; }
@media (max-width: 1024px) { .value-grid { grid-template-columns: 1fr; } }

/* 사업 페이지: 번호 리스트 (한빛 문법) */
.num-list { border-top: 1px solid var(--ink-950); }
.num-list li { display: grid; grid-template-columns: 5rem 1fr; gap: var(--gap); padding: 1.75rem .25rem; border-bottom: 1px solid var(--ink-100); align-items: baseline; transition: background .3s var(--ease-out-quad), padding .3s var(--ease-out-quad); }
.num-list li:hover { background: var(--surface-50); padding-left: 1rem; padding-right: 1rem; }
.num-list .no { font-family: var(--font-mono); color: var(--brand); font-size: .9375rem; }
.num-list .ko { font-size: 1.375rem; font-weight: 600; }
.num-list .en { display: block; font-family: var(--font-mono); font-size: .8125rem; color: var(--ink-500); margin-top: .25rem; letter-spacing: .04em; }

.biz-detail { display: grid; grid-template-columns: 1fr 1.2fr; gap: calc(var(--gap) * 4); align-items: start; }
.biz-detail .sticky { position: sticky; top: calc(var(--header-h) + 2rem); }
@media (max-width: 1024px) { .biz-detail { grid-template-columns: 1fr; } .biz-detail .sticky { position: static; } }

/* ---- C13. Timeline (연혁) ---- */
.timeline { position: relative; padding-left: 3rem; }
.timeline::before { content: ""; position: absolute; left: .375rem; top: .5rem; bottom: .5rem; width: 1px; background: var(--ink-100); }
.tl-era { position: relative; padding-bottom: 4.5rem; }
.tl-era:last-child { padding-bottom: 0; }
.tl-era::before { content: ""; position: absolute; left: calc(-3rem + 1px); top: .625rem; width: .75rem; height: .75rem; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-tint); }
.tl-era .year { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; line-height: 1; margin-bottom: 1.25rem; }
.tl-era .year small { font-family: var(--font-mono); font-size: .8125rem; color: var(--brand); margin-left: .5rem; letter-spacing: .1em; }
.tl-era li { position: relative; padding: .5rem 0 .5rem 1.25rem; color: var(--ink-700); font-size: 1.0625rem; }
.tl-era li::before { content: ""; position: absolute; left: 0; top: 1.1em; width: .375rem; height: 1px; background: var(--ink-300); }

/* 연혁 스테이지: 화이트 톤, 중앙 집중(연도 좌중앙 + 리스트 우중앙). 모바일/JS 미동작 시 정적 폴백 */
.era-stage { position: relative; background: var(--surface-0); color: var(--ink-950); overflow: hidden; padding: 96px 0; }
.era-bg { position: absolute; inset: 0; }
.era-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.era-stage::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(255,255,255,.9), rgba(255,255,255,.95)); }
.era-year { display: none; }
.era-list { position: relative; z-index: 1; max-width: var(--container-max); margin-inline: auto; padding-inline: var(--pad-x); }
.era-group { padding: 2.25rem 0; opacity: .55; transition: opacity .35s var(--ease-out-quad); border-top: 1px solid var(--ink-100); }
.era-group:first-child { border-top: 0; }
.era-group.is-on { opacity: 1; }
.eg-year { font-family: var(--font-mono); font-size: .875rem; letter-spacing: .12em; color: var(--brand); }
.era-group ul { margin-top: 1rem; }
.era-group li { display: grid; grid-template-columns: 2.25rem 1fr; gap: .75rem; padding: .5rem 0; font-size: 1.0625rem; align-items: baseline; color: var(--ink-950); }
.era-group li i { font-style: normal; font-family: var(--font-mono); font-size: .75rem; color: var(--ink-700); }
/* 데스크톱 핀 모드 (JS가 is-pin 부여): 연도와 리스트를 중앙으로 모음 */
.era-stage.is-pin { height: 100vh; padding: 0; }
.era-stage.is-pin .era-year { display: block; position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(calc(-100% - 3.5rem), -50%); font-size: clamp(96px, 12vw, 200px); font-weight: 700; line-height: 1; letter-spacing: -0.03em; color: var(--ink-950); }
.era-stage.is-pin .era-list { position: absolute; z-index: 1; left: 52%; top: 0; width: min(30rem, 40vw); max-width: none; margin: 0; padding-inline: 0; will-change: transform; }
.era-stage.is-pin .era-group { border-top: 0; padding: 3rem 0; }

/* ---- C10. Awards Gallery ---- */
.award-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.award-card { border: 1px solid var(--ink-100); border-radius: var(--radius-lg); overflow: hidden; background: #fff; transition: transform var(--dur-hover) var(--ease-out-quad), box-shadow var(--dur-hover); }
@media (hover: hover) { .award-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); } }
.award-card .thumb { aspect-ratio: 4/3; background: var(--surface-50); display: flex; align-items: center; justify-content: center; padding: 2rem; }
.award-card .thumb img { max-height: 100%; width: auto; object-fit: contain; }
.award-card .body { padding: 1.5rem 1.75rem 1.75rem; }
.award-card .body .year { font-family: var(--font-mono); font-size: .75rem; color: var(--brand); letter-spacing: .1em; }
.award-card .body h3 { font-size: 1.125rem; font-weight: 700; margin-top: .5rem; line-height: 1.45; }
.award-card .body p { font-size: .875rem; color: var(--ink-500); margin-top: .375rem; }
@media (max-width: 1024px) { .award-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px)  { .award-grid { grid-template-columns: 1fr; } }

/* 최근 글 캐러셀: 슬라이드 크로스페이드 + 도트 */
.feat-carousel { position: relative; display: grid; }
.feat-carousel .featured-card { grid-area: 1 / 1; opacity: 0; pointer-events: none; transition: opacity .6s var(--ease-out-quad); }
.feat-carousel .featured-card.is-on { opacity: 1; pointer-events: auto; }
.fc-nav { position: absolute; right: 2rem; bottom: 1.75rem; z-index: 2; display: flex; gap: .5rem; }
.fc-dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--ink-100); transition: background .3s, width .3s; }
.fc-dot.is-on { background: var(--brand); width: 1.5rem; border-radius: 999px; }

/* 게시물 상세 (공지·보도자료) */
.post-wrap { max-width: 68.75rem; margin-inline: auto; padding-top: calc(var(--header-h) + 5rem); padding-bottom: 7.5rem; }
.post-back { font-family: var(--font-mono); font-size: .8125rem; color: var(--ink-500); letter-spacing: .06em; transition: color .25s; }
.post-back:hover { color: var(--brand); }
.post-head { margin-top: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--ink-950); }
.post-head .badge { display: inline-block; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .06em; border: 1px solid currentColor; border-radius: 999px; padding: .25rem .75rem; }
.post-head .badge.press { color: var(--brand); }
.post-head h1 { font-size: 2.25rem; font-weight: 700; line-height: 1.4; margin-top: 1.25rem; letter-spacing: -0.01em; }
.post-head .date { display: block; margin-top: 1rem; font-family: var(--font-mono); font-size: .8125rem; color: var(--ink-500); }
.post-body { padding-top: 2.5rem; }
.post-body p { color: var(--ink-700); font-size: 1.0625rem; line-height: 1.9; }
.post-body p + p { margin-top: 1.25rem; }
.post-body ul { margin-top: 1.25rem; padding-left: 1.1em; list-style: disc; color: var(--ink-700); font-size: 1.0625rem; line-height: 1.9; }
.post-body strong { color: var(--ink-950); }
.post-foot { margin-top: 4.5rem; }
@media (max-width: 767px) { .post-head h1 { font-size: 24px; } }

/* 제품 인덱스 (한빛 문법: 세로 칼럼 + 호버 하이라이트 + 이미지 리프트, 비호버 감광) */
.pd-index { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink-100); border-bottom: 1px solid var(--ink-100); }
.pi-col { position: relative; display: flex; flex-direction: column; min-height: 28rem; padding: 3rem 2.75rem 2.5rem; transition: background .35s var(--ease-out-quad), opacity .35s var(--ease-out-quad); }
.pi-col + .pi-col { border-left: 1px solid var(--ink-100); }
.pi-col .no { font-family: var(--font-mono); font-size: .8125rem; color: var(--brand); letter-spacing: .1em; }
.pi-col h3 { font-family: var(--font-display); font-size: 2rem; font-weight: 700; margin-top: 1.25rem; }
.pi-col > p { margin-top: .5rem; color: var(--ink-500); font-size: .9375rem; }
.pi-col .img { margin-top: auto; padding-top: 2rem; height: 13rem; display: flex; align-items: flex-end; justify-content: center; }
.pi-col .img img { max-width: 100%; width: auto; object-fit: contain; transition: transform .5s var(--ease-out-expo); }
/* 트리밍된 컷 기준 시각 질량 균형 (하단 기준선 동일) */
.pi-col:nth-child(1) .img img { height: 7rem; }
.pi-col:nth-child(2) .img img { height: 5.75rem; }
.pi-col:nth-child(3) .img img { height: 8rem; }
.pi-col:hover { background: var(--surface-50); }
.pi-col:hover .img img { transform: translateY(-12px) scale(1.05); }
.pd-index:hover .pi-col:not(:hover) { opacity: .45; }
.pi-col .arr-hint { position: absolute; top: 3rem; right: 2.75rem; font-size: 1rem; color: var(--ink-300); transition: color .3s, transform .3s; }
.pi-col:hover .arr-hint { color: var(--brand); transform: translate(3px, -3px); }
@media (max-width: 1024px) {
  .pd-index { grid-template-columns: 1fr; }
  .pi-col { min-height: 0; padding: 28px 20px; }
  .pi-col + .pi-col { border-left: 0; border-top: 1px solid var(--ink-100); }
  .pi-col .img { height: 160px; }
}

/* ---- 오시는 길 ---- */
.loc-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: calc(var(--gap) * 3); align-items: start; }
.loc-map { aspect-ratio: 16/10; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--ink-100); background: var(--surface-50); }
.loc-map iframe { width: 100%; height: 100%; border: 0; }
.loc-info dl { display: grid; grid-template-columns: 6.5rem 1fr; row-gap: 1.25rem; font-size: 1.0625rem; }
.loc-info dt { font-family: var(--font-mono); font-size: .8125rem; letter-spacing: .08em; color: var(--brand); text-transform: uppercase; padding-top: .25rem; }
.loc-info dd { color: var(--ink-700); }
@media (max-width: 1024px) { .loc-grid { grid-template-columns: 1fr; } }

/* ---- 제품 상세 ---- */
.pd-hero { background: var(--ink-950); color: var(--ondark); padding-top: calc(var(--header-h) + 6rem); padding-bottom: 0; overflow: hidden; }
.pd-hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: center; min-height: 34rem; }
.pd-hero .mono-label { color: var(--brand-bright); }
.pd-hero h1 { font-family: var(--font-display); font-size: 4.5rem; font-weight: 700; line-height: 1.05; margin: 1rem 0 1.25rem; }
.pd-hero .lead { color: var(--ondark-sub); font-size: 1.125rem; max-width: 30em; }
.pd-hero .visual { display: flex; align-items: center; justify-content: center; padding: 2rem 0 4rem; }
.pd-hero .visual img { max-height: 24rem; width: auto; filter: drop-shadow(0 40px 60px rgba(0,0,0,.55)); }
@media (max-width: 1024px) { .pd-hero-inner { grid-template-columns: 1fr; min-height: 0; } .pd-hero h1 { font-size: 44px; } }

.pd-lineup { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: var(--gap); }
.spec-note { margin-top: 2.5rem; padding: 1.25rem 1.5rem; background: var(--brand-tint); border-radius: var(--radius-md); font-size: .9375rem; color: var(--brand-deep); }

.gallery-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.gallery-strip img { border-radius: var(--radius-md); border: 1px solid var(--ink-100); }
@media (max-width: 767px) { .gallery-strip { grid-template-columns: 1fr 1fr; } }

/* ---- 고객사 그리드 ---- */
.client-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--gap); }
.client-cell { border-radius: var(--radius-md); aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; padding: 1.25rem; background: #fff; }
.client-cell img { max-height: 2.75rem; width: auto; filter: grayscale(1); opacity: .6; transition: .3s; }
@media (hover: hover) { .client-cell:hover img { filter: none; opacity: 1; } }
@media (max-width: 1024px) { .client-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px)  { .client-grid { grid-template-columns: repeat(2, 1fr); } }

/* 준비 중 안내 */
.prep-box { border: 1px dashed var(--ink-300); border-radius: var(--radius-lg); padding: 5rem 2rem; text-align: center; color: var(--ink-500); }
.prep-box strong { display: block; color: var(--ink-950); font-size: 1.375rem; margin-bottom: .75rem; }

/* ============================================================
   POSCO FLOW 서브 문법 확장 (중앙 히어로 · 다크 산개 · 오프셋 콜라주 · 메트릭)
   ============================================================ */

/* 중앙 정렬 페이지 히어로: 눈썹 + 초대형 타이틀 + 대형 라운드 미디어 */
.page-hero { padding-top: calc(var(--header-h) + 6.5rem); text-align: center; background: var(--surface-0); }
.page-hero .eyebrow { display: block; font-family: var(--font-mono); font-size: .8125rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 1.5rem; }
.page-hero h1 { font-size: 5rem; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.page-hero .lead { margin: 1.75rem auto 0; color: var(--ink-500); font-size: 1.125rem; max-width: 40em; }
.page-hero .hero-media { margin-top: 4.5rem; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 21/9; background: var(--ink-950); }
.page-hero .hero-media img, .page-hero .hero-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 1024px) { .page-hero h1 { font-size: 44px; } .page-hero .hero-media { aspect-ratio: 16/9; } }
@media (max-width: 767px)  { .page-hero h1 { font-size: 32px; } }

/* 히어로 스크럽 (철강 실측 문법): 미디어 풀스크린 확장 → 다크 인트로
   (문구 선등장 → 배경 블랙 교체 → 썸네일 세로 마키 상승) */
.ph-scrub { position: relative; }
/* 미디어는 섹션 직속 (컨테이너에 transform이 걸려도 좌표계가 유지되도록) */
.ph-scrub .hero-media { position: relative; margin-inline: auto; width: min(calc(100% - 2 * var(--pad-x)), calc(var(--container-max) - 2 * var(--pad-x))); }
.ph-scrub .hero-media.is-fs { transition: none; }
.ph-blackout { position: absolute; inset: 0; background: #08090B; opacity: 0; pointer-events: none; }
.ph-overlay { position: absolute; inset: 0; z-index: 1; overflow: hidden; opacity: 0; pointer-events: none; }
.ph-copy { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.75rem; text-align: center; padding: 0 24px; }
.ph-msg { color: #fff; font-size: clamp(28px, 2.6vw, 3rem); font-weight: 700; line-height: 1.35; letter-spacing: -0.01em; }
.ph-msg .accent { display: block; color: var(--brand-bright); }
.ph-desc { color: var(--ondark-sub); font-size: 1.0625rem; line-height: 1.8; max-width: 46em; }
/* 썸네일 세로 마키: 두 세트를 세로로 이어 붙여 아래에서 위로 무한 상승 */
.ph-marquee { position: absolute; inset: 0; opacity: 0; }
.ph-track { display: flex; flex-direction: column; width: 100%; height: max-content; animation: phMarquee 28s linear infinite; will-change: transform; }
.ph-set { position: relative; width: 100%; height: 120vh; flex: none; }
/* .page-hero .hero-media img (width/height 100%) 규칙보다 특이도를 높여 카드 크기 고정 */
.page-hero .hero-media .ph-set img { position: absolute; width: 16rem; height: auto; aspect-ratio: 4/3; border-radius: var(--radius-md); object-fit: cover; opacity: .85; }
.page-hero .hero-media .ph-set .c1 { width: 16rem; left: 7%; top: 6%; }
.page-hero .hero-media .ph-set .c2 { width: 16rem; left: auto; right: 9%; top: 32%; }
.page-hero .hero-media .ph-set .c3 { width: 16rem; left: 11%; top: 64%; }
@keyframes phMarquee { to { transform: translateY(-50%); } }
/* 커튼: 핀 고정된 히어로 위로 다음 섹션이 덮이도록.
   .ph-scrub가 pin-spacer로 감싸이므로 JS가 main에 .has-hero-pin을 부여해 기준으로 사용 */
/* sub-tabs는 자체 sticky(top 0, z 50)를 유지해야 하므로 오버라이드에서 제외 */
.has-hero-pin > nav:not(.sub-tabs), .has-hero-pin > section { position: relative; z-index: 1; }
/* 투명 배경 섹션은 커튼 구간에서 블랙 스테이지가 비치지 않도록 불투명 처리 */
.has-hero-pin > .section, .has-hero-pin > .section-md, .has-hero-pin > .nextnav { background-color: var(--surface-0); }
/* 자체 배경을 가진 섹션은 위 화이트 오버라이드에서 제외 (재지정) */
.has-hero-pin > .metric-band { background-color: var(--ink-950); }
.has-hero-pin > .section-gray { background-color: var(--surface-50); }
.has-hero-pin > .data-band { background-color: var(--data-surface); }
/* 푸터는 main 밖이라 별도 보정: 핀 해제된 히어로의 빈 하단부가 위를 덮지 않도록 */
main.has-hero-pin ~ footer { position: relative; z-index: 1; }
/* 핀 해제된 히어로의 transform 이동 박스가 문서 스크롤 영역을 늘리지 않도록 시각 오버플로만 클립
   (overflow clip은 스크롤 컨테이너를 만들지 않아 내부 sticky는 뷰포트 기준 그대로 동작) */
main.has-hero-pin { overflow: clip; }
@media (max-width: 1024px) { .ph-blackout, .ph-overlay { display: none; } }

/* 다크 산개 콜라주 밴드: 흩어진 이미지 + 중앙 2줄 타이틀(2줄 레드) */
/* z-index 1: 핀 고정된 히어로 위로 커튼처럼 덮이도록 */
.dark-band { position: relative; z-index: 1; background: #08090B; color: var(--ondark); overflow: hidden; padding-block: 16rem; }
.dark-band .center { position: relative; z-index: 1; text-align: center; max-width: 46em; margin-inline: auto; }
.dark-band .center h2 { font-size: 3rem; font-weight: 700; line-height: 1.35; }
.dark-band .center h2 .accent { display: block; color: var(--brand-bright); }
.dark-band .center p { margin-top: 1.75rem; color: var(--ondark-sub); font-size: 1.0625rem; line-height: 1.8; }
.dark-band .scatter { position: absolute; border-radius: var(--radius-md); overflow: hidden; opacity: .9; }
.dark-band .scatter img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dark-band .s1 { width: 18rem; aspect-ratio: 4/3; left: 6%; top: 8%; }
.dark-band .s2 { width: 18rem; aspect-ratio: 4/3; right: 8%; top: 14%; }
.dark-band .s3 { width: 18rem; aspect-ratio: 4/3; left: 12%; bottom: 10%; }
.dark-band .s4 { width: 18rem; aspect-ratio: 4/3; right: 5%; bottom: 6%; }
@media (max-width: 1024px) {
  /* 모바일: 산개 이미지가 문서 흐름에 쌓여 카피보다 먼저 긴 검은 구간을
     만들던 문제. 카피 중심의 컴팩트 밴드로 정리 */
  .dark-band { padding-block: 88px; }
  /* 정적 레이아웃에서 히어로 미디어와 검은 밴드가 맞붙지 않도록 여백 */
  .page-hero + .dark-band { margin-top: 64px; }
  .dark-band .scatter { display: none; }
  .dark-band .center h2 { font-size: 30px; }
}

/* 좌 텍스트 칼럼 + 우 오프셋 이미지 콜라주 */
.split-feature { display: grid; grid-template-columns: 1fr 1.1fr; gap: calc(var(--gap) * 4); align-items: center; }
.split-feature .txt h2 { font-size: 2.5rem; font-weight: 700; line-height: 1.3; }
.split-feature .txt .lead-line { margin-top: 1.5rem; color: var(--brand); font-weight: 600; font-size: 1.1875rem; line-height: 1.6; }
.split-feature .bullets { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.75rem; }
.split-feature .bullets li strong { display: block; font-size: 1.125rem; margin-bottom: .375rem; }
.split-feature .bullets li p { color: var(--ink-700); font-size: .9375rem; line-height: 1.7; }
.split-feature .collage { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.split-feature .collage .c1 { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3/4; }
.split-feature .collage .c2 { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3/4; margin-top: 5rem; }
.split-feature .collage img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 1024px) { .split-feature { grid-template-columns: 1fr; } .split-feature .collage .c2 { margin-top: 40px; } }

/* 메트릭 밴드: 대형 숫자 + 소형 단위 */
.metric-band { background: var(--ink-950); color: var(--ondark); }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.metric .num { font-family: var(--font-display); font-size: 4.5rem; font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.metric .num em { font-style: normal; }
.metric .unit { font-size: 1.125rem; font-weight: 600; margin-left: .375rem; color: var(--brand-bright); }
.metric .label { margin-top: .75rem; color: var(--ondark-sub); font-size: .9375rem; }
@media (max-width: 1024px) { .metric-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; } .metric .num { font-size: 44px; } }

.data-band { background: var(--data-surface); overflow: hidden; }
.data-band.section { padding-top: 160px; padding-bottom: 128px; background: var(--data-surface); }
.data-band > .container { max-width: 1200px; }
.db-head { text-align: center; }
.db-head .mono-label { display: block; margin-bottom: 32px; color: var(--ink-700); font-size: 12px; }
.db-head h2 { font-size: clamp(40px, 3.65vw, 56px); line-height: 1.18; letter-spacing: -.045em; }
.db-meta { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--gap); margin-top: 48px; font-family: var(--font-mono); font-size: 13px; letter-spacing: .04em; color: var(--ink-500); }
.db-meta .db-tags { text-align: right; }
.db-counter { display: flex; align-items: center; gap: 1rem; white-space: nowrap; }
.db-counter .ln { width: clamp(3rem, 8vw, 9rem); height: 1px; background: var(--ink-100); }
.db-counter b { font-weight: 500; color: var(--ink-950); }
.db-wave { position: relative; height: var(--data-wave-height); margin-top: var(--data-wave-margin-top); }
.db-wave canvas { width: 100%; height: 100%; display: block; }
.db-wave-metrics { position: absolute; inset: 0; pointer-events: none; }
.db-wave-metric { position: absolute; top: var(--data-marker-y-1); width: var(--data-marker-hit-width); height: var(--data-marker-hit-height); padding: 0; border: 0; background: transparent; color: var(--ink-950); transform: translate(-50%, -50%); cursor: pointer; pointer-events: auto; }
.db-wave-metric:nth-child(1) { left: clamp(var(--data-marker-edge-guard), var(--data-marker-x-1), calc(100% - var(--data-marker-edge-guard))); }
.db-wave-metric:nth-child(2) { left: var(--data-marker-x-2); top: var(--data-marker-y-2); }
.db-wave-metric:nth-child(3) { left: clamp(var(--data-marker-edge-guard), var(--data-marker-x-3), calc(100% - var(--data-marker-edge-guard))); top: var(--data-marker-y-3); }
.db-wave-card { position: absolute; left: 50%; top: 50%; display: grid; width: var(--data-marker-width); padding: 0 var(--data-marker-padding-x) var(--data-marker-padding-bottom); border: 0; background: transparent; text-align: center; opacity: 0; visibility: hidden; transform: translate(-50%, -100%) translateY(var(--data-marker-idle-offset)); transition: opacity var(--dur-hover) var(--ease-out-quad), transform var(--dur-hover) var(--ease-out-quad), visibility 0s var(--dur-hover); }
.db-wave-card::after { content: ''; position: absolute; left: 50%; top: 100%; width: 1px; height: var(--data-marker-line-height); background: var(--data-dot-warm); }
.db-wave-card strong { font-family: var(--font-display); font-size: var(--data-marker-unit-size); line-height: 1; letter-spacing: -.035em; color: var(--data-dot-warm); }
.db-wave-card strong em { font-size: var(--data-marker-number-size); font-style: normal; }
.db-wave-card b { margin-top: var(--data-marker-gap); font-size: var(--data-marker-title-size); line-height: 1.3; }
.db-wave-card small { margin-top: var(--data-marker-gap); color: var(--ink-500); font-size: var(--data-marker-copy-size); line-height: var(--data-marker-copy-line-height); }
.db-wave-metric:focus-visible .db-wave-card,
.db-wave-metric.is-active .db-wave-card { opacity: 1; visibility: visible; transform: translate(-50%, -100%) translateY(var(--data-marker-active-offset)); transition-delay: 0s; }
.db-wave-metric:focus-visible { outline: 0; }
.db-wave-metric:focus-visible .db-wave-card { outline: 2px solid var(--brand); outline-offset: 5px; }
.data-band > .db-foot { display: grid; max-width: 1156px; grid-template-columns: .96fr 1.04fr; gap: calc(var(--gap) * 3); align-items: start; margin-top: 1.75rem; }
.db-left h3 { font-size: 32px; font-weight: 700; line-height: 1.35; }
.db-left p { margin-top: 24px; color: var(--ink-700); font-size: 15px; line-height: 1.75; max-width: 34em; }
.db-left .btn { margin-top: 52px; }
.db-left .btn-data { min-height: 48px; padding: 4px 6px 4px 18px; border: 1px solid var(--ink-100); background: var(--surface-50); color: var(--ink-950); font-size: 15px; }
.db-left .btn-data:hover { border-color: var(--ink-300); background: var(--ink-100); }
.db-left .btn-data .arr { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; background: var(--ink-950); color: var(--surface-0); }
.db-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.db-col { min-height: 112px; padding-left: 24px; border-left: 1px solid var(--ink-100); }
.db-col strong { display: block; font-size: 18px; font-weight: 700; letter-spacing: -.025em; }
.db-col p { margin-top: 10px; color: var(--ink-500); font-size: 15px; line-height: 1.75; }
body.is-data-band-visible .chatbot-fab { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s, visibility 0s .2s; }
@media (max-width: 1024px) {
  .db-meta { grid-template-columns: 1fr; justify-items: center; row-gap: 10px; margin-top: 40px; }
  .db-meta .db-tags { text-align: center; }
  .db-head h2 { font-size: 34px; }
  .db-wave { height: var(--data-wave-height-tablet); margin-top: var(--data-wave-margin-tablet); }
  .data-band > .db-foot { grid-template-columns: 1fr; gap: 48px; }
  .db-cols { max-width: 46rem; }
}
@media (max-width: 767px) {
  .data-band.section { padding-top: 96px; padding-bottom: 96px; }
  .db-head .mono-label { margin-bottom: 20px; }
  .db-head h2 { font-size: 30px; }
  .db-counter .ln { width: 44px; }
  .db-wave { height: var(--data-wave-height-mobile); margin-top: var(--data-wave-margin-mobile); }
  .db-wave-metric { top: var(--data-marker-mobile-y-1); width: var(--data-marker-mobile-hit-width); height: var(--data-marker-mobile-hit-height); transform: translateY(-50%); }
  .db-wave-metric:nth-child(1) { left: var(--data-marker-mobile-x-1); }
  .db-wave-metric:nth-child(2) { left: var(--data-marker-mobile-x-2); top: var(--data-marker-mobile-y-2); }
  .db-wave-metric:nth-child(3) { left: var(--data-marker-mobile-x-3); top: var(--data-marker-mobile-y-3); }
  .db-wave-card { width: var(--data-marker-width-mobile); }
  .db-wave-metric:nth-child(1) .db-wave-card { left: calc(50% + var(--data-marker-edge-inset)); }
  .db-wave-metric:nth-child(3) .db-wave-card { left: calc(50% - var(--data-marker-edge-inset)); }
  .db-left h3 { font-size: 28px; }
  .db-cols { grid-template-columns: 1fr; }
  .db-col { min-height: 0; padding: 18px 0; border-left: 0; border-top: 1px solid var(--ink-100); }
}
@media (prefers-reduced-motion: reduce) { .db-wave-card { transition: none; } }

/* 프로세스 스텝 */
.process { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.process li { position: relative; padding: 2rem 1.75rem 2.25rem; border-radius: var(--radius-lg); background: var(--surface-50); }
.process li .stepno { font-family: var(--font-mono); font-size: .8125rem; color: var(--brand); letter-spacing: .1em; }
.process li h3 { font-size: 1.1875rem; font-weight: 700; margin: .875rem 0 .5rem; }
.process li p { font-size: .875rem; color: var(--ink-700); line-height: 1.7; }
@media (max-width: 1024px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px)  { .process { grid-template-columns: 1fr; } }

/* 뉴스 featured 카드 + 검색 */
.featured-card { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-50); }
.featured-card .fimg { aspect-ratio: 4/3; }
.featured-card .fimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.featured-card .fbody { padding: 3rem; display: flex; flex-direction: column; justify-content: center; gap: 1rem; }
.featured-card .fbody .badge { align-self: flex-start; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .06em; border: 1px solid var(--brand); color: var(--brand); border-radius: 999px; padding: .25rem .875rem; }
.featured-card .fbody h3 { font-size: 1.625rem; font-weight: 700; line-height: 1.4; }
.featured-card .fbody .date { font-family: var(--font-mono); font-size: .8125rem; color: var(--ink-500); }
.news-toolbar { display: flex; justify-content: space-between; align-items: center; gap: var(--gap); margin: 3.5rem 0 2rem; flex-wrap: wrap; }
.news-search { display: flex; align-items: center; gap: .625rem; border: 1px solid var(--ink-100); border-radius: 999px; padding: .625rem 1.25rem; min-width: 17rem; }
.news-search input { border: 0; outline: 0; flex: 1; font-size: .9375rem; background: transparent; }
@media (max-width: 767px) { .featured-card { grid-template-columns: 1fr; } .featured-card .fbody { padding: 24px; } }

/* ============================================================
   철강 페이지 문법: 프로세스 스테이지(핀+스텝) · 스택 카드 · 사업 내비
   ============================================================ */

/* 프로세스 스테이지: 풀블리드 다크 + 우측 화이트 스텝 카드 (핀 고정, 스크롤 스텝) */
.process-stage { position: relative; background: linear-gradient(rgba(11,13,16,.86), rgba(11,13,16,.94)), url('../assets/media/texture-circuit.webp') center/cover no-repeat var(--ink-950); color: var(--ondark); overflow: hidden; }
/* 배경 루프 영상 (빨간 회로 전류) + 가독용 스크림 */
.ps-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.process-stage::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(rgba(11,13,16,.55), rgba(11,13,16,.78)); }
.process-stage .ps-wrap { position: relative; z-index: 2; }
.ps-wrap { display: grid; grid-template-columns: 1fr 24rem; gap: calc(var(--gap) * 4); align-items: center; min-height: 100vh; min-height: 100svh; padding-block: 6rem; }
.ps-left h2 { font-size: 2.75rem; font-weight: 700; line-height: 1.3; margin-top: 1.25rem; }
.ps-left p { margin-top: 1.5rem; color: var(--ondark-sub); font-size: 1.0625rem; max-width: 30em; line-height: 1.8; }
.ps-card { position: relative; overflow: hidden; background: #fff; color: var(--ink-950); border-radius: var(--radius-lg); padding: 2rem 2rem 1.5rem; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.ps-card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--brand); transform: scaleX(var(--psp, 0)); transform-origin: left; }
.ps-card-title { display: block; font-size: 1.0625rem; font-weight: 700; color: var(--brand); margin-bottom: 1.5rem; }
.ps-steps { display: flex; flex-direction: column; }
.ps-steps li { position: relative; display: grid; grid-template-columns: 2rem 1fr; gap: .875rem; padding: .875rem 0; }
.ps-steps li:not(:last-child)::before { content: ""; position: absolute; left: .9375rem; top: 2.6rem; bottom: -0.4rem; width: 1px; background: var(--ink-100); }
.ps-steps .n { width: 1.875rem; height: 1.875rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: .8125rem; background: var(--surface-50); color: var(--ink-500); transition: background .3s, color .3s; }
.ps-steps b { display: block; font-size: 1rem; color: var(--ink-300); transition: color .3s; }
.ps-steps p { font-size: .8125rem; color: var(--ink-500); line-height: 1.6; margin-top: .25rem; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .45s var(--ease-out-quad), opacity .45s; }
.ps-steps li.is-on .n { background: var(--brand); color: #fff; }
.ps-steps li.is-on b { color: var(--ink-950); }
.ps-steps li.is-on p { max-height: 6em; opacity: 1; }
.ps-navs { display: flex; justify-content: flex-end; gap: .5rem; margin-top: 1rem; border-top: 1px solid var(--ink-100); padding-top: 1rem; }
.ps-navs button { width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid var(--ink-100); display: flex; align-items: center; justify-content: center; transition: .25s; }
.ps-navs button:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
@media (max-width: 1024px) {
  .ps-wrap { grid-template-columns: 1fr; min-height: 0; padding-block: 88px; }
  .ps-steps p { max-height: none; opacity: 1; }
  .ps-steps b { color: var(--ink-950); }
  .ps-navs { display: none; }
}

/* 스택 카드: 스크롤 시 역량 카드가 겹겹이 쌓임 (JS 미동작 시 sticky 폴백) */
.stack-sec .stack { display: grid; gap: 2rem; }
@media (min-width: 768px) { .stack-sec .stack { padding-bottom: 12vh; } }
/* JS 핀 모드: 카드를 한 셀에 겹쳐 두고 타임라인이 아래에서 올려 덮음 */
.stack-sec.js-stack { overflow: hidden; }
.stack-sec.js-stack .stack { padding-bottom: 0; }
/* sc-bg(absolute)의 컨테이닝 블록 유지를 위해 static이 아닌 relative 사용 */
.stack-sec.js-stack .stack-card { grid-area: 1 / 1; position: relative; top: auto; }
.stack-sec.js-stack .stack-card:nth-child(2) { margin-top: 1.5rem; }
.stack-sec.js-stack .stack-card:nth-child(3) { margin-top: 3rem; }
/* 덮인 카드 감광 오버레이 (JS가 생성, opacity만 트윈해 플리커 방지) */
.sc-dim { position: absolute; inset: 0; z-index: 3; background: #08090B; opacity: 0; pointer-events: none; }
.stack-card {
  /* 뷰포트 중하단(38vh)에서 겹침이 일어나도록 sticky 지점을 내림 */
  position: sticky; top: 38vh;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--ink-900); color: var(--ondark);
  min-height: 24rem; padding: 3rem;
  display: flex; flex-direction: column; justify-content: flex-end; gap: .875rem;
  box-shadow: 0 -12px 40px rgba(11,13,16,.25);
}
.stack-card:nth-child(2) { top: calc(38vh + 1.5rem); }
.stack-card:nth-child(3) { top: calc(38vh + 3rem); }
/* 카드 전용 배경 이미지 + 텍스트 가독용 하단 그라데이션 (철강 역량 카드 문법) */
.stack-card .sc-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.stack-card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(5,6,8,.85) 0%, rgba(5,6,8,.35) 55%, rgba(5,6,8,.08) 100%); }
.stack-card > :not(.sc-bg) { position: relative; z-index: 2; }
.stack-card .sc-line { width: 3rem; height: 2px; background: var(--brand); margin-bottom: .5rem; }
.stack-card h3 { font-size: 1.75rem; font-weight: 700; }
.stack-card p { color: var(--ondark-sub); font-size: 1rem; max-width: 38em; line-height: 1.8; }
.stack-card.alt { background: var(--brand-deep); }
.stack-card.alt p { color: rgba(255,255,255,.75); }
@media (max-width: 767px) {
  .stack-card, .stack-card:nth-child(2), .stack-card:nth-child(3) { position: relative; top: auto; }
  .stack-card { padding: 24px; min-height: 15rem; }
}

/* 이전/다음 사업 내비 밴드 */
.nextnav { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink-100); }
.nextnav a { display: flex; align-items: center; justify-content: center; gap: 1rem; padding: 3.5rem 1rem; font-size: 1.375rem; font-weight: 700; transition: color .25s, background .25s; }
.nextnav a + a { border-left: 1px solid var(--ink-100); }
.nextnav a .cir { width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid var(--ink-300); display: flex; align-items: center; justify-content: center; font-size: 1rem; transition: .25s; }
.nextnav a:hover { color: var(--brand); }
.nextnav a:hover .cir { background: var(--brand); border-color: var(--brand); color: #fff; }
.nextnav .lbl { font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .12em; color: var(--ink-500); display: block; text-transform: uppercase; margin-bottom: .25rem; }
@media (max-width: 767px) { .nextnav a { font-size: 17px; padding: 24px 8px; } }

/* 관리자 에디터(Tiptap) 본문 렌더링 */
.post-body > * + * { margin-top: 1.25rem; }
.post-body h2 { font-size: 1.5rem; font-weight: 700; color: var(--ink-950); margin-top: 2.5rem; }
.post-body h3 { font-size: 1.25rem; font-weight: 700; color: var(--ink-950); margin-top: 2rem; }
.post-body ol { padding-left: 1.3em; list-style: decimal; color: var(--ink-700); font-size: 1.0625rem; line-height: 1.9; }
.post-body blockquote { border-left: 3px solid var(--brand); padding: .25rem 0 .25rem 1.25rem; color: var(--ink-700); }
.post-body img { max-width: 100%; height: auto; border-radius: var(--radius-md); }
.post-body div[data-youtube-video] { text-align: center; }
.post-body iframe { width: 100%; max-width: 760px; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius-md); }
.post-body a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.post-body hr { border: 0; border-top: 1px solid var(--ink-100); margin: 2.5rem 0; }
.post-body [style*="text-align: center"] { text-align: center; }
.post-body [style*="text-align: right"] { text-align: right; }
