:root {
  --navy: #071b2e;
  --navy-2: #0a243d;
  --orange: #ed6b2d;
  --brand-blue: #0879bd;
  --ink: #14202b;
  --muted: #68737e;
  --line: #dbe0e4;
  --paper: #f4f5f5;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Noto Sans KR", sans-serif;
  word-break: keep-all;
}
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }

.hero { position: relative; min-height: 790px; height: 100vh; overflow: hidden; color: #fff; background: var(--navy); }
/*.hero-media {*/
/*  position: absolute;*/
/*  inset: 0;*/
/*  background-position: center;*/
/*  background-size: cover;*/
/*  background-repeat: no-repeat;*/
/*  animation: heroZoom 12s ease-out both;*/
/*}*/
.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,14,26,.92) 0%, rgba(4,18,30,.63) 40%, rgba(4,16,27,.13) 78%), linear-gradient(0deg, rgba(2,12,22,.6), transparent 40%); }
.hero-content { position: relative; z-index: 1; width: min(1240px, 88vw); margin: auto; padding-top: max(230px, 26vh); }
.eyebrow { margin: 0 0 24px; color: var(--orange); font: 700 12px/1.2 "Manrope", sans-serif; letter-spacing: 2.4px; }
.eyebrow.light { color: #ff8a52; }
.hero h1 { margin: 0; font-size: clamp(46px, 4.4vw, 76px); font-weight: 500; line-height: 1.28; letter-spacing: -4px; }
.hero h1 strong { color: #ff7b3d; font-weight: 700; }
.hero-copy { margin: 30px 0 38px; color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.9; }
.round-link { display: inline-flex; align-items: center; gap: 35px; font-size: 14px; font-weight: 600; }
.round-link i { width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-style: normal; transition: .25s; }
.round-link:hover i { transform: rotate(-45deg); color: #fff; border-color: var(--orange); background: var(--orange); }
.light-link i { border-color: rgba(255,255,255,.4); }
.hero-bottom { position: absolute; z-index: 2; bottom: 38px; left: 6vw; right: 6vw; display: flex; align-items: center; justify-content: space-between; }
.slide-count { display: flex; align-items: center; gap: 13px; font: normal 12px "Manrope"; }
.slide-count strong { color: var(--orange); }
.slide-count span { width: 90px; height: 1px; background: linear-gradient(90deg, var(--orange) 33%, rgba(255,255,255,.35) 33%); }
.slide-count em { color: rgba(255,255,255,.55); font-style: normal; }
.scroll-guide { display: flex; align-items: center; gap: 18px; color: rgba(255,255,255,.55); font: 600 10px "Manrope"; letter-spacing: 2px; }
.scroll-guide i { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; font-size: 15px; font-style: normal; }

.section { padding: 145px max(6vw, calc((100vw - 1280px)/2)); }
.section-heading h2, .sustain-title h2, .news-heading h2 { margin: 0; font-size: clamp(38px, 3.3vw, 58px); line-height: 1.35; letter-spacing: -3px; }
.intro { display: grid; grid-template-columns: 1fr 1fr; column-gap: 10vw; background: #fff; }
.intro .eyebrow { color: var(--brand-blue); }
.intro .metric strong small { color: var(--brand-blue); }
.intro-body { padding-top: 42px; }
.intro-body > p { max-width: 540px; margin: 0 0 30px; color: var(--muted); font-size: 17px; line-height: 1.9; }
.text-link { display: inline-flex; gap: 50px; padding-bottom: 8px; border-bottom: 1px solid var(--ink); font-size: 14px; font-weight: 600; }
.text-link span { transition: transform .2s; }
.text-link:hover span { transform: translateX(5px); }
.metrics { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 100px; border-top: 1px solid var(--line); }
.metric { position: relative; min-height: 210px; padding: 32px 35px; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }
.metric > span { color: #9ca5ad; font: 600 11px "Manrope"; }
.metric strong { display: block; margin-top: 24px; font: 500 58px "Manrope"; letter-spacing: -3px; }
.metric strong small { margin-left: 5px; color: var(--orange); font-size: 22px; }
.metric p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }

.dark-section { color: #fff; background: var(--navy); }
.business { display: grid; grid-template-columns: 1fr 1fr; }
.business .section-summary { justify-self: end; padding-top: 55px; color: rgba(255,255,255,.57); font-size: 16px; line-height: 1.8; }
.business-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 80px; }
.business-card { position: relative; min-height: 410px; padding: 34px 35px; overflow: hidden; border: 1px solid rgba(255,255,255,.15); border-right: 0; transition: .35s; }
.business-card:last-child { border-right: 1px solid rgba(255,255,255,.15); }
.business-card::before { position: absolute; inset: 100% 0 0; background: var(--orange); content: ""; transition: inset .45s cubic-bezier(.2,.8,.2,1); }
.business-card:hover::before { inset: 0; }
.business-card > * { position: relative; z-index: 1; }
.card-number { color: rgba(255,255,255,.4); font: 600 11px "Manrope"; }
.card-icon { margin-top: 60px; color: #ff8a52; font: 300 56px "Manrope"; transition: color .3s; }
.business-card h3 { margin: 38px 0 15px; font-size: 24px; }
.business-card p { max-width: 330px; margin: 0; color: rgba(255,255,255,.55); font-size: 14px; line-height: 1.8; }
.business-card > a { position: absolute; right: 34px; bottom: 32px; font-size: 20px; }
.business-card:hover .card-icon, .business-card:hover p, .business-card:hover .card-number { color: #fff; }

.technology { display: grid; grid-template-columns: 1.15fr .85fr; gap: 8vw; align-items: center; background: var(--paper); }
.tech-visual { position: relative; min-height: 650px; background: linear-gradient(145deg, rgba(7,27,46,.12), rgba(7,27,46,.6)), url("assets/hero-metal-factory.png") 72% center/cover no-repeat; }
.tech-visual::before { position: absolute; top: -1px; right: -1px; width: 115px; height: 115px; background: var(--paper); clip-path: polygon(100% 0, 0 0, 100% 100%); content: ""; }
.tech-label { position: absolute; left: 0; bottom: 0; width: 62%; padding: 30px; color: #fff; background: var(--navy); }
.tech-label span { color: var(--orange); font: 600 10px "Manrope"; letter-spacing: 2px; }
.tech-label strong { display: block; margin-top: 12px; font-size: 20px; line-height: 1.5; }
.tech-content h2 { margin: 0; font-size: clamp(38px, 3.4vw, 58px); line-height: 1.25; letter-spacing: -3px; }
.tech-content > p:not(.eyebrow) { margin: 30px 0; color: var(--muted); font-size: 16px; line-height: 1.9; }
.tech-content ul { padding: 0; margin: 0 0 38px; list-style: none; border-top: 1px solid #cdd3d8; }
.tech-content li { padding: 18px 0; border-bottom: 1px solid #cdd3d8; font-size: 14px; font-weight: 600; }
.tech-content li span { margin-right: 25px; color: var(--orange); font: 600 10px "Manrope"; }

.sustainability { background: #fff; }
.sustain-title { display: grid; grid-template-columns: 1fr .65fr; gap: 10vw; align-items: end; }
.sustain-title p { margin: 0 0 8px; color: var(--muted); font-size: 16px; line-height: 1.9; }
.value-list { margin-top: 85px; border-top: 1px solid var(--ink); }
.value-list article { display: grid; grid-template-columns: .5fr 1fr auto; align-items: center; min-height: 125px; border-bottom: 1px solid var(--line); transition: padding .25s, background .25s; }
.value-list article:hover { padding: 0 28px; background: var(--paper); }
.value-list span { color: var(--orange); font: 700 11px "Manrope"; letter-spacing: 1.5px; }
.value-list h3 { font-size: 23px; }
.value-list i { color: #9aa3aa; font: normal 12px "Manrope"; }

.news { background: var(--paper); }
.news-heading { display: flex; align-items: end; justify-content: space-between; }
.news-list { margin-top: 70px; border-top: 1px solid var(--ink); }
.news-item { display: grid; grid-template-columns: 180px 1fr auto; align-items: center; min-height: 145px; border-bottom: 1px solid #ccd2d6; transition: padding .25s, background .25s; }
.news-item:hover { padding: 0 25px; background: #fff; }
.news-date { color: #8a949c; font: 500 11px "Manrope"; }
.news-date strong { display: block; margin-bottom: 5px; color: var(--ink); font-size: 34px; }
.news-copy { display: grid; gap: 10px; }
.news-copy em { color: var(--orange); font: normal 700 10px "Manrope"; letter-spacing: 1.5px; }
.news-copy b { font-size: 18px; }
.news-item > i { font-size: 20px; font-style: normal; }

.contact { min-height: 430px; padding: 100px max(6vw, calc((100vw - 1280px)/2)); display: flex; align-items: end; justify-content: space-between; color: #fff; background: linear-gradient(120deg, #06182a 0%, #0c2e4c 70%, #17344a 100%); }
.contact h2 { margin: 0; font-size: clamp(38px, 3.4vw, 56px); line-height: 1.35; letter-spacing: -3px; }
.contact > a { width: 230px; height: 230px; padding: 38px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; background: var(--orange); transition: transform .25s; }
.contact > a:hover { transform: translateY(-8px); }
.contact > a span { font-size: 18px; font-weight: 700; }
.contact > a i { align-self: end; font-size: 24px; font-style: normal; }

.footer { padding: 55px 6vw; display: grid; grid-template-columns: 1fr 2fr auto; gap: 5vw; align-items: start; color: #7c868f; background: #041422; }
.footer-brand { color: #fff; }
.footer-brand img { filter: brightness(0) invert(1); }
.footer-info { font-size: 12px; line-height: 1.8; }
.footer-info p { margin: 0 0 8px; }
.footer-info small { display: block; margin-top: 25px; color: #53606b; font: 10px "Manrope"; }
.top-button { width: 44px; height: 44px; border: 1px solid #30404d; color: #fff; background: transparent; cursor: pointer; }

.reveal { opacity: 0; transform: translateY(35px); transition: opacity .8s, transform .8s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  .business-card { padding: 28px; }
}

@media (max-width: 860px) {
  .hero { min-height: 700px; }
  .hero-content { padding-top: 210px; }
  .hero h1 { letter-spacing: -2.7px; }
  .hero-copy br { display: none; }
  .scroll-guide span { display: none; }
  .section { padding: 95px 24px; }
  .intro, .business, .technology { grid-template-columns: 1fr; }
  .intro-body { padding-top: 35px; }
  .metrics { grid-template-columns: 1fr; margin-top: 65px; }
  .metric { min-height: 160px; border-right: 0; border-bottom: 1px solid var(--line); }
  .business .section-summary { justify-self: start; padding-top: 30px; }
  .business-grid { grid-template-columns: 1fr; margin-top: 50px; }
  .business-card { min-height: 340px; border-right: 1px solid rgba(255,255,255,.15); border-bottom: 0; }
  .business-card:last-child { border-bottom: 1px solid rgba(255,255,255,.15); }
  .technology { gap: 60px; }
  .tech-visual { min-height: 520px; }
  .sustain-title { grid-template-columns: 1fr; gap: 30px; }
  .value-list article { grid-template-columns: 1fr auto; padding: 25px 0; }
  .value-list span { grid-column: 1 / -1; }
  .value-list h3 { margin: 12px 0 0; font-size: 18px; }
  .news-item { grid-template-columns: 90px 1fr auto; }
  .contact { min-height: 540px; padding: 80px 24px 0; flex-direction: column; align-items: stretch; }
  .contact > a { align-self: end; margin-top: 55px; }
  .footer { grid-template-columns: 1fr auto; padding: 50px 24px; }
  .footer-info { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 520px) {
  .hero { height: 92vh; }
  .hero h1 { font-size: 42px; }
  .hero-copy { font-size: 15px; }
  .section-heading h2, .sustain-title h2, .news-heading h2, .tech-content h2 { font-size: 36px; letter-spacing: -2px; }
  .tech-visual { min-height: 420px; }
  .tech-label { width: 85%; }
  .news-heading { align-items: start; }
  .news-heading .round-link span { display: none; }
  .news-item { grid-template-columns: 68px 1fr; min-height: 125px; }
  .news-item > i { display: none; }
  .news-copy b { font-size: 15px; }
  .contact h2 { font-size: 36px; }
  .contact > a { width: 190px; height: 190px; }
}

/* Main visual: reference screenshot layout */
.hero.kcc-layout {
  min-height: 760px;
  height: 100vh;
}
.kcc-layout .hero-media {
  background-position: 63% center;
  filter: brightness(.7) saturate(1.05) contrast(1.03);
}
.kcc-layout .hero-shade {
  background:
    linear-gradient(90deg, rgba(2,12,20,.24) 0%, rgba(2,12,20,.12) 48%, rgba(1,8,14,.25) 100%),
    linear-gradient(0deg, rgba(0,8,15,.28), rgba(0,8,15,.05) 60%);
}
.hero-left {
  position: absolute;
  z-index: 2;
  top: 40%;
  left: max(24px, calc(50% - 640px));
  transform: translateY(-31%);
}
.hero-left h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(45px, 3.05vw, 61px);
  font-weight: 700;
  line-height: 1.23;
  letter-spacing: -3.7px;
}
.hero-arrow {
  width: 72px;
  height: 72px;
  margin-top: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #151b20;
  background: #fff;
  font: 400 48px/1 "Manrope", sans-serif;
  transition: transform .25s, background .25s;
}
.hero-arrow:hover { transform: translateX(8px); background: var(--orange); color: #fff; }
.hero-pills { display: flex; gap: 8px; margin-top: 23px; }
.hero-pills a {
  min-width: 160px;
  padding: 8px 17px 9px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 22px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.hero-pills a:hover { color: var(--ink); background: #fff; }
.hero-pills span { font-size: 20px; font-weight: 400; }
.hero-panels {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: calc(50% + 90px);
  width: auto; /* 고정 너비 해제 (내부 요소에 따라 오른쪽으로 확장) */
  display: flex; /* Grid에서 Flex로 변경 */
  color: #fff;
  background: rgba(0, 8, 14, 0.51);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-panel {
  width: 270px; /* 각 패널의 가로 기본 크기 지정 */
  flex-shrink: 0; /* 크기가 줄어들지 않도록 고정 */
  padding: 0 22px 33vh;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.3s;
  box-sizing: border-box;
}
/* 1. 패널 부모 컨테이너: Grid 강제 해제 및 Flex 적용 */
.hero-panels {
  display: flex !important;
  grid-template-columns: none !important;
  width: auto !important;
  overflow: visible;
}

/* 2. 기본 패널 2개: 크기 고정 */
#main_ton_area,
#main_kg_area {
  width: 270px !important;
  flex: 0 0 270px !important;
  box-sizing: border-box;
}

/* 3. 상세 패널 2개: 초기 너비 0 (display: flex 유지한 채 숨김) */
#main_ton_area_detail,
#main_kg_area_detail {
  display: flex !important;
  width: 0 !important;
  min-width: 0 !important;
  flex: 0 0 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
  border: none !important;
  pointer-events: none;
  transition: all 0.7s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

/* 4. 활성화 시 펼쳐짐 */
#main_ton_area_detail.is-active,
#main_kg_area_detail.is-active {
  width: 270px !important;
  flex: 0 0 270px !important;
  padding: 0 22px 24vh !important;
  opacity: 1 !important;
  border-right: 1px solid rgba(255, 255, 255, 0.12) !important;
  pointer-events: auto;
}
.hero-panel:last-child { border-right: 0; }
/*.hero-panel:hover { background: rgba(237,107,45,.72); }*/
.hero-panel:hover { background: rgba(45, 163, 237, 0.72); }
.hero-panel > span { font-size: 14px; font-weight: 700; }
.hero-panel > strong { margin: 3px 0 25px; font-size: 22px; }
.panel-stat {
  min-width: 150px;
  padding: 16px 20px;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 40px;
  font-style: normal;
  white-space: nowrap;
}
.panel-stat b {
  color: #fff;
  font: 700 29px/1 "Manrope", sans-serif;
  letter-spacing: -1px;
}
.panel-stat small {
  margin-left: 5px;
  color: rgba(255,255,255,.78);
  font: 600 13px/1 "Noto Sans KR", sans-serif;
}
.panel-symbol {
  position: relative;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #12191e;
  background: #fff;
  font-style: normal;
}
.symbol-grid { padding: 23px; grid-template-columns: 1fr 1fr; gap: 3px; }
.symbol-grid b { display: block; border: 3px solid #252a2e; }
.symbol-diamond::before {
  width: 24px;
  height: 24px;
  border: 4px solid #252a2e;
  content: "";
  transform: rotate(45deg);
}
.symbol-diamond::after {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #252a2e;
  content: "";
}
.symbol-layers::before,
.symbol-layers::after {
  position: absolute;
  width: 30px;
  height: 16px;
  border: 4px solid #252a2e;
  content: "";
  transform: skew(-28deg);
}
.symbol-layers::before { margin: -8px 0 0 8px; }
.symbol-layers::after { margin: 8px 8px 0 0; }
.scroll-mouse {
  position: absolute;
  z-index: 3;
  left: max(24px, calc(50% - 640px));
  bottom: 28px;
  display: grid;
  justify-items: center;
  color: #fff;
}
.scroll-mouse i {
  width: 23px;
  height: 38px;
  display: block;
  border: 2px solid #fff;
  border-radius: 13px;
}
.scroll-mouse i::after {
  width: 3px;
  height: 8px;
  margin: 7px auto;
  display: block;
  border-radius: 2px;
  background: #fff;
  content: "";
  animation: mouseWheel 1.5s infinite;
}
.scroll-arrows {
  height: 30px;
  margin-top: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.scroll-arrows b {
  width: 10px;
  height: 10px;
  display: block;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  opacity: 0;
  transform: rotate(45deg) translate(-2px, -2px);
  animation: scrollChevron 1.8s ease-in-out infinite;
}
.scroll-arrows b:nth-child(2) { animation-delay: .18s; }
.scroll-arrows b:nth-child(3) { animation-delay: .36s; }
.divider {
  display: block;
  width: 40%;                 /* 선 가로 길이 */
  height: 2px;                 /* 선 두께 */
  margin: 24px auto;           /* 위아래 여백 및 가운데 정렬 */
  background: rgba(255, 255, 255, 0.2); /* 어두운 배경용 반투명 흰색 */
  border: none;
}

@keyframes mouseWheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(9px); opacity: 0; } }
@keyframes scrollChevron {
  0%, 15% { opacity: 0; }
  35%, 60% { opacity: 1; }
  80%, 100% { opacity: 0; }
}
.hero-top {
  position: fixed;
  z-index: 90;
  right: 3.5vw;
  bottom: 34px;
  width: 72px;
  height: 72px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(20,22,24,.82);
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  transition: opacity .2s ease, visibility .2s ease;
}
.hero-top.is-visible { opacity: 1; visibility: visible; }
.hero-top svg { width: 34px; height: 34px; display: block; margin: auto; }
.hero-top path { fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: square; stroke-linejoin: miter; }

@media (max-width: 1100px) {
  .hero-left { left: 45px; }
  .hero-panels { left: 57%; width: 43%; }
  .hero-panel { padding-left: 12px; padding-right: 12px; }
  .scroll-mouse { left: 45px; }
}

@media (max-width: 860px) {
  .hero-left {
    top: 35%;
    left: 24px;
    right: 24px;
    transform: none;
  }
  .hero-left h1 { font-size: clamp(38px, 10vw, 52px); }
  .hero-arrow { width: 62px; height: 62px; }
  .hero-pills a { min-width: 0; width: 150px; padding-left: 18px; }
  .hero-panels {
    display: none !important;
  }
  .hero-panel { padding: 24px 8px 28px; justify-content: center; }
  .hero-panel > span { font-size: 11px; }
  .hero-panel > strong { margin-bottom: 13px; font-size: 17px; }
  .panel-stat { min-width: 115px; padding: 12px 14px; }
  .panel-stat b { font-size: 22px; }
  .panel-symbol { width: 54px; height: 54px; }
  .symbol-grid { padding: 17px; }
  .scroll-mouse, .hero-top { display: none; }
}

@media (max-width: 520px) {
  .hero-left { top: 23%; }
  .hero-left h1 { font-size: 37px; letter-spacing: -2.5px; }
  .hero-pills { display: none; }
  .hero-panel > span { display: none; }
}
