/* ============================================================
   GAONMETAL — Renewal v3
   Minimalist corporate (Seoyon E-Hwa influence)
   - Flat surfaces only (no shadow/blur/gradient/pill chips)
   - 2 colors max (deep blue + grayscale)
   - Generous whitespace, light type weights
   - Restrained motion (fade only)
   ============================================================ */

:root {
  --c-ink:    #1A1A1A;
  --c-text:   #333333;
  --c-muted:  #888888;
  --c-line:   #EAEAEA;
  --c-bg:     #FAFBFD;
  --c-bg-2:   #EEF2F7;
  --c-bg-3:   #FFFFFF;
  --c-accent: #0E2A66;
  --font-sans: 'Inter', 'NanumSquare', system-ui, -apple-system, 'Pretendard Variable', sans-serif;
  --font-disp: 'Inter', 'NanumSquare', system-ui, sans-serif;
  --maxw: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* Snap only on main landing (sub-pages keep natural scroll) */
html:not(.subpage) {
  scroll-snap-type: y mandatory;
}
html:not(.subpage) body > main > section,
html:not(.subpage) body > main > .hero {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
html:not(.subpage) body > footer {
  scroll-snap-align: end;
  scroll-snap-stop: always;
}
html:not(.subpage) .hero,
html:not(.subpage) .about,
html:not(.subpage) .partners,
html:not(.subpage) .services,
html:not(.subpage) .proc,
html:not(.subpage) .mfg,
html:not(.subpage) .sustain,
html:not(.subpage) .sub,
html:not(.subpage) .hist,
html:not(.subpage) .news,
html:not(.subpage) .contact {
  height: 100vh;
  min-height: 100vh;
  max-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}
html:not(.subpage) .hero { align-items: center; }

@media (max-width: 960px) {
  html:not(.subpage) { scroll-snap-type: none; }
  html:not(.subpage) .hero,
  html:not(.subpage) .about,
  html:not(.subpage) .partners,
  html:not(.subpage) .services,
  html:not(.subpage) .proc,
  html:not(.subpage) .mfg,
  html:not(.subpage) .sustain,
  html:not(.subpage) .sub,
  html:not(.subpage) .hist,
  html:not(.subpage) .news,
  html:not(.subpage) .contact {
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
    display: block;
  }
  html:not(.subpage) .hero {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
  }
}
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

/* hero only — full-bleed first screen */
.hero { min-height: 100vh; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; margin: 0; list-style: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 40px; width: 100%; }
@media (max-width: 720px) { .container { padding: 0 20px; } }

/* ============================================================ Typography */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-accent);
  font-weight: 500;
  margin-bottom: 32px;
  display: block;
}
.eyebrow--light { color: rgba(255,255,255,.8); }
.eyebrow-ko {
  display: inline-block;
  margin-left: 14px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--c-muted);
}
.eyebrow--light .eyebrow-ko { color: rgba(255,255,255,.5); }

.h2 {
  font-family: var(--font-disp);
  font-size: clamp(34px, 4.2vw, 60px);
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--c-ink);
  font-weight: 300;
  margin: 0 0 36px;
  word-break: keep-all;
}
.h2 em { font-style: normal; color: var(--c-ink); font-weight: 500; }
.h2--light, .h2--light em { color: #fff; }

.lead {
  font-size: 18px;
  color: var(--c-muted);
  max-width: 680px;
  margin: 0 0 36px;
  line-height: 1.75;
  font-weight: 400;
}
.lead--light { color: rgba(255,255,255,.7); }
.section-sub-ko {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--c-muted);
  margin: 14px 0 0;
  word-break: keep-all;
  font-weight: 400;
  line-height: 1.7;
}

.link-arrow {
  display: inline-flex; align-items: baseline; gap: 8px;
  font-family: var(--font-sans);
  font-weight: 500; font-size: 14px;
  color: var(--c-ink);
  border: 0;
  padding: 0;
  border-bottom: 1px solid var(--c-ink);
  padding-bottom: 6px;
  transition: gap .2s, color .2s;
}
.link-arrow:hover { gap: 14px; color: var(--c-accent); border-color: var(--c-accent); }
.link-arrow--light { color: #fff; border-color: rgba(255,255,255,.5); }
.link-arrow--light:hover { color: #fff; border-color: #fff; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 0;
  border: 1px solid transparent;
  transition: background .2s, color .2s, border-color .2s;
  cursor: pointer;
}
.btn--primary { background: var(--c-accent); color: #fff; }
.btn--primary:hover { background: var(--c-ink); }
.btn--outline { background: transparent; color: var(--c-ink); border-color: var(--c-ink); }
.btn--outline:hover { background: var(--c-ink); color: #fff; }
.hero .btn--outline { color: #fff; border-color: rgba(255,255,255,.7); background: rgba(15,23,42,.18); backdrop-filter: blur(2px); }
.hero .btn--outline:hover { background: #fff; color: var(--c-ink); border-color: #fff; }

.section-head { max-width: 760px; margin: 0 0 80px; text-align: left; }
.section-head--row {
  max-width: 100%;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 80px;
}
.section-foot {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--c-line);
  display: flex; justify-content: flex-end;
}
.section-foot .link-arrow { font-size: 14px; }

/* ============================================================ Navigation */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background .25s, border-color .25s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 14px 48px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav__logo { display: inline-flex; align-items: center; }
.nav__logo-img {
  height: 46px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  transition: filter .25s;
}
.nav.scrolled .nav__logo-img { filter: none; }

.nav__menu {
  display: flex;
  font-size: 18px; font-weight: 500;
  letter-spacing: -0.005em;
  color: #fff;
  transition: color .25s;
}
.nav.scrolled .nav__menu,
.nav.is-mega-open .nav__menu { color: var(--c-ink); }

.nav__item {
  position: relative;
  padding: 0 28px;
}
.nav__top {
  position: relative;
  padding: 24px 0;
  display: inline-block;
  color: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: color .2s;
}
.nav__top::before {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  width: 0;
  background: var(--c-accent);
  transition: width .3s cubic-bezier(.4,0,.2,1);
}
.nav__item:hover .nav__top::before { width: 100%; }
.nav.is-mega-open .nav__item:hover .nav__top { color: var(--c-accent); font-weight: 600; }

/* Light theme when mega is open */
.nav.is-mega-open {
  background: #fff;
}
.nav.is-mega-open .nav__logo-img { filter: none; }
.nav.is-mega-open .nav__lang { color: var(--c-ink); }
.nav.is-mega-open .nav__burger span { background: var(--c-ink); }

/* Per-item dropdown that visually behaves like a strip when nav is open */
.nav__sub {
  position: absolute;
  top: 100%;
  left: 28px;
  min-width: 160px;
  padding: 36px 0 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.nav.is-mega-open .nav__sub {
  opacity: 1;
  pointer-events: auto;
}
.nav__sub a {
  display: block;
  position: relative;
  padding: 11px 0;
  font-size: 16px;
  font-weight: 400;
  color: #666;
  letter-spacing: -0.01em;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .3s ease, transform .3s ease, color .15s, font-weight .15s;
}
.nav.is-mega-open .nav__sub a { opacity: 1; transform: translateY(0); }
.nav.is-mega-open .nav__sub a:nth-child(1) { transition-delay: .08s; }
.nav.is-mega-open .nav__sub a:nth-child(2) { transition-delay: .12s; }
.nav.is-mega-open .nav__sub a:nth-child(3) { transition-delay: .16s; }
.nav.is-mega-open .nav__sub a:nth-child(4) { transition-delay: .20s; }
.nav.is-mega-open .nav__sub a:nth-child(5) { transition-delay: .24s; }
.nav__sub a:hover {
  color: var(--c-accent);
  font-weight: 500;
}

/* Solid white panel that drops down — Seoyon-E-Hwa style */
.nav::before {
  content: '';
  position: absolute;
  top: 100%; left: 0; right: 0;
  height: 0;
  background: #fff;
  transition: height .35s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}
.nav.is-mega-open::before { height: 360px; }
.nav.is-mega-open {
  background: #fff;
  box-shadow: 0 0 4px rgba(0,0,0,.06);
}

@media (max-width: 960px) {
  .nav__sub { display: none; }
}

.nav__right { display: flex; align-items: center; gap: 20px; }
.nav__lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14px; font-weight: 500; letter-spacing: 0.04em;
  color: rgba(255,255,255,.7);
  transition: color .25s;
}
.nav.scrolled .nav__lang,
.nav.is-mega-open .nav__lang { color: var(--c-muted); }
.nav__lang a {
  color: inherit;
  padding: 4px 0;
  transition: color .2s;
}
.nav__lang a.is-active {
  color: #fff;
  font-weight: 600;
}
.nav.scrolled .nav__lang a.is-active,
.nav.is-mega-open .nav__lang a.is-active { color: var(--c-ink); }
.nav__lang a:hover { color: var(--c-accent); }
.nav__lang span {
  opacity: .4;
  font-weight: 300;
}

.nav__burger { display: none; background: none; border: 0; padding: 8px; }
@media (max-width: 960px) {
  .nav__menu { display: none; }
  .nav__burger { display: inline-flex; flex-direction: column; gap: 4px; cursor: pointer; }
  .nav__burger span { width: 22px; height: 1px; background: #fff; transition: background .25s; }
  .nav.scrolled .nav__burger span { background: var(--c-ink); }
  .nav__logo-img { height: 34px; }
}

/* ============================================================ HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: flex-end;
  background: #0a0a0a;
  color: #fff;
  overflow: hidden;
  padding: 0 0 100px;
}
.hero__carousel { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.8s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}
.hero__slide.is-active { opacity: 1; }
.hero__video,
.hero__img {
  width: 100%; height: 100%;
  object-fit: cover;
  background: #0a0a0a;
  display: block;
}
.hero__img {
  transform-origin: 55% 45%;
  will-change: transform;
  animation: heroKenBurns 20s ease-in-out infinite alternate;
}
@keyframes heroKenBurns {
  0%   { transform: scale(1.06) translate(0, 0); }
  100% { transform: scale(1.18) translate(-2.5%, -1.5%); }
}
.hero__fade {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.1) 35%, rgba(0,0,0,.45) 80%, rgba(0,0,0,.75) 100%),
    linear-gradient(90deg, rgba(0,0,0,.3) 0%, transparent 40%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; }
.hero__copy {
  max-width: 980px;
  animation: heroCopyIn 1.4s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes heroCopyIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero__copy > * { animation: heroLineIn 1.2s cubic-bezier(.2,.7,.2,1) both; }
.hero__copy > *:nth-child(1) { animation-delay: .1s; }
.hero__copy > *:nth-child(2) { animation-delay: .25s; }
.hero__copy > *:nth-child(3) { animation-delay: .4s; }
.hero__copy > *:nth-child(4) { animation-delay: .5s; }
.hero__copy > *:nth-child(5) { animation-delay: .6s; }
@keyframes heroLineIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero__eyebrow {
  font-family: var(--font-sans);
  font-size: 14px; letter-spacing: 0.08em;
  color: rgba(255,255,255,.7);
  margin-bottom: 32px;
  font-weight: 400;
  display: inline-flex; align-items: center; gap: 10px;
}
.hero__eyebrow .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(255,255,255,.5);
}
.hero__title {
  font-family: var(--font-disp);
  font-size: clamp(44px, 5.6vw, 92px);
  font-weight: 200;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 40px;
  color: #fff;
}
.hero__title .line { display: block; }
.hero__title .line--accent { color: #fff; font-style: normal; font-weight: 400; }
.hero__sub {
  font-size: 18px;
  font-weight: 400;
  max-width: 600px;
  margin: 0 0 8px;
  color: rgba(255,255,255,.88);
  line-height: 1.55;
}
.hero__sub-ko {
  font-size: 16px;
  color: rgba(255,255,255,.6);
  margin: 0 0 44px;
  word-break: keep-all;
  font-weight: 400;
}
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__nav {
  position: absolute;
  z-index: 3;
  right: 40px; bottom: 40px;
  left: auto !important;
  margin: 0 !important;
  width: auto !important;
  padding: 0 !important;
  display: flex; align-items: center; gap: 24px;
}
.hero__btn {
  border: 0; background: transparent;
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.8);
  cursor: pointer;
  transition: color .2s;
}
.hero__btn:hover { color: #fff; }
.hero__btn svg { width: 18px; height: 18px; }
.hero__pages {
  font-family: var(--font-disp);
  font-size: 14px; font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,.7);
  display: inline-flex; align-items: center; gap: 10px;
}
.hero__cur { color: #fff; font-weight: 500; }
.hero__sep { width: 24px; height: 1px; background: rgba(255,255,255,.3); }
.hero__tot { color: rgba(255,255,255,.5); }

.hero__scroll {
  position: absolute; bottom: 40px; left: 40px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  color: rgba(255,255,255,.7);
  font-family: var(--font-sans); font-size: 12px; letter-spacing: 0.2em;
  z-index: 3;
}
.hero__scroll-text { text-transform: uppercase; }
.hero__scroll-line {
  width: 1px; height: 36px;
  background: rgba(255,255,255,.4);
}

@media (max-width: 760px) {
  .hero__nav { right: 20px; bottom: 80px; }
  .hero__scroll { left: 20px; bottom: 20px; }
}

/* ============================================================ ABOUT */
.about {
  padding: 200px 0 160px;
  background: var(--c-bg) url("/img/bg-map.svg") no-repeat top right;
  background-size: min(560px, 46%) auto;
  display: flex; align-items: center;
  position: relative;
}
@media (max-width: 768px) { .about { padding: 120px 0 100px; } }
.about > .container { position: relative; z-index: 1; }
.about__inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.about__cta { margin-top: 8px; }
.about__right { display: grid; grid-template-columns: 1fr 1fr; gap: 60px 40px; }
.stat { }
.stat__icon { display: none; }
.stat__num {
  font-family: var(--font-disp);
  font-size: 44px; font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  line-height: 1;
}
.stat__num span { font-size: 22px; color: var(--c-muted); margin-left: 4px; }
.stat__label {
  margin-top: 12px;
  font-size: 14px;
  color: var(--c-muted);
  letter-spacing: 0.02em;
}
@media (max-width: 960px) {
  .about__inner { grid-template-columns: 1fr; gap: 60px; }
}

/* ============================================================ PARTNERS */
.partners {
  padding: 130px 0 130px;
  background: var(--c-bg-2);
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--c-line);
  border-left: 1px solid var(--c-line);
}
.partners-grid li {
  padding: 40px 32px;
  border-right: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  background: #fff;
  transition: background .25s;
  display: flex; flex-direction: column;
}
.partners-grid li:hover { background: var(--c-bg-2); }
.partners-grid b {
  font-family: var(--font-disp);
  font-size: 22px; font-weight: 500;
  color: var(--c-ink);
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  display: block;
}
.partners-grid span {
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 6px;
}
.partners-grid em {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 14px;
  color: var(--c-muted);
}
@media (max-width: 960px) { .partners-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .partners-grid { grid-template-columns: 1fr; } }

/* ============================================================ SERVICES */
.services {
  padding: 200px 0 160px;
  background: var(--c-bg-2) url("/img/bg-coil.svg") no-repeat top right;
  background-size: min(560px, 46%) auto;
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
}
@media (max-width: 768px) {
  .services { padding: 120px 0 100px; }
}
.services > .container { position: relative; z-index: 1; }
.srv-grid {
  display: grid; grid-template-columns: 1.3fr 1fr;
  gap: 60px;
}
.srv-feature {
  position: relative;
  margin: 0;
  background: var(--c-bg-2);
  aspect-ratio: 16/11;
  min-width: 0;
  overflow: hidden;
}
.srv-feature img { width: 100%; height: 100%; object-fit: cover; }
.srv-feature figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 48px 48px;
  color: #fff;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.7) 100%);
}
.srv-num {
  font-family: var(--font-sans);
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,.7);
  font-weight: 400;
}
.srv-title {
  font-family: var(--font-disp);
  font-size: 26px; font-weight: 300;
  margin: 10px 0 14px;
  letter-spacing: -0.01em;
}
.srv-desc { margin: 0; max-width: 480px; color: rgba(255,255,255,.8); font-weight: 400; }

.srv-list { display: flex; flex-direction: column; }
.srv-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 0;
  border-bottom: 1px solid var(--c-line);
  transition: padding-left .25s, color .2s;
  cursor: pointer;
}
.srv-item:first-child { border-top: 1px solid var(--c-line); }
.srv-item h3 {
  font-family: var(--font-disp);
  font-size: 22px; font-weight: 400;
  margin: 0;
  line-height: 1.3;
  color: var(--c-ink);
  letter-spacing: -0.01em;
}
.srv-go { font-size: 16px; color: var(--c-muted); transition: color .2s, transform .2s; }
.srv-item:hover { padding-left: 12px; color: var(--c-accent); }
.srv-item:hover h3 { color: var(--c-accent); }
.srv-item:hover .srv-go { color: var(--c-accent); transform: translateX(4px); }
.srv-item.is-active h3 { color: var(--c-accent); }
.srv-item.is-active .srv-go { color: var(--c-accent); }

@media (max-width: 960px) {
  .srv-grid { grid-template-columns: 1fr; gap: 40px; }
  .srv-feature { aspect-ratio: 16/10; }
  .srv-feature figcaption { padding: 32px; }
}

/* Universal scroll-margin so fixed nav never covers anchor target */
section[id] { scroll-margin-top: 100px; }

/* ============================================================ SALES PROCESS */
.proc {
  padding: 160px 0 120px;
  background: var(--c-bg) url("/img/bg-process.svg") no-repeat top right;
  background-size: min(560px, 46%) auto;
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
}
@media (max-width: 768px) { .proc { padding: 100px 0 80px; } }
.proc > .container { position: relative; z-index: 1; }
.proc .h2 {
  font-size: clamp(34px, 4.2vw, 60px);
  line-height: 1.1;
  margin-bottom: 24px;
}
@media (min-width: 961px) {
  .proc .h2 .nw2 { white-space: nowrap; }
}
.proc .section-head { margin-bottom: 56px; max-width: 840px; }
.proc .section-foot { margin-top: 48px; padding-top: 32px; }
.proc-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  align-items: start;
}
.proc-menu ul { display: flex; flex-direction: column; }
.proc-menu li {
  font-family: var(--font-disp);
  font-size: 16px; font-weight: 400;
  color: var(--c-muted);
  padding: 18px 0;
  border-bottom: 1px solid var(--c-line);
  cursor: pointer;
  display: flex; align-items: baseline; gap: 14px;
  transition: color .25s, padding-left .25s;
}
.proc-menu li:first-child { border-top: 1px solid var(--c-line); }
.proc-menu li span {
  font-size: 12px; letter-spacing: 0.06em;
  color: var(--c-muted);
  width: 24px;
}
.proc-menu li:hover { color: var(--c-ink); }
.proc-menu li.is-active { color: var(--c-accent); font-weight: 500; }
.proc-menu li.is-active span { color: var(--c-accent); }

.proc-stage { margin: 0; min-width: 0; }
.proc-stage__img {
  width: 100%; aspect-ratio: 21/9;
  background-size: cover; background-position: center;
  background-color: #fff;
}
.proc-stage__caption { padding: 28px 0 0; }
.proc-stage__caption h3 {
  font-family: var(--font-disp);
  font-size: 26px; font-weight: 400;
  margin: 0 0 10px;
  color: var(--c-ink);
}
.proc-stage__caption p { margin: 0; color: var(--c-muted); }
@media (max-width: 960px) { .proc-grid { grid-template-columns: 1fr; } }

/* ============================================================ MANUFACTURING */
.mfg {
  padding: 200px 0 160px;
  background: var(--c-bg-2) url("/img/bg-briquette.svg") no-repeat top right;
  background-size: min(560px, 46%) auto;
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
}
@media (max-width: 768px) { .mfg { padding: 120px 0 100px; } }
.mfg > .container { position: relative; z-index: 1; }
.mfg-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; }
.mfg-num {
  font-family: var(--font-disp);
  font-size: 14px; letter-spacing: 0.04em;
  color: var(--c-muted);
  font-weight: 400;
}
.mfg-grid figure {
  margin: 16px 0 20px;
  width: 100%; aspect-ratio: 4/3;
  background: var(--c-bg-2);
  overflow: hidden;
}
.mfg-grid figure img { width: 100%; height: 100%; object-fit: cover; }
.mfg-grid h4 {
  font-family: var(--font-disp);
  font-size: 18px; font-weight: 400;
  color: var(--c-ink);
  margin: 0;
  line-height: 1.4;
}
@media (max-width: 960px) {
  .mfg-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) { .mfg-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 14px; } }

/* ============================================================ SUSTAINABILITY */
.sustain {
  position: relative;
  padding: 200px 0 160px;
  color: #fff;
  overflow: hidden;
  background: #0a1535 url("/img/sustain-bg.jpg") no-repeat center;
  background-size: cover;
  display: flex; align-items: center;
}
.sustain::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,18,46,0.92) 0%, rgba(14,42,102,0.74) 40%, rgba(14,42,102,0.45) 80%, rgba(14,42,102,0.32) 100%);
  z-index: 0;
}
.sustain__bg, .sustain__overlay { display: none; }
.sustain__inner { position: relative; z-index: 1; }
.sustain .eyebrow,
.sustain .h2,
.sustain .lead,
.sustain .section-sub-ko { max-width: 760px; }
.sustain__pills {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 40px;
  max-width: 760px;
}
.sustain .pill {
  display: inline-block;
  padding: 9px 18px;
  border: 1px solid rgba(255,255,255,0.32);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.92);
  background: rgba(255,255,255,0.06);
}
@media (max-width: 768px) { .sustain { padding: 120px 0 100px; } }

/* ============================================================ SUBSIDIARY */
.sub {
  padding: 200px 0 160px;
  background: var(--c-bg) url("/img/bg-map.svg") no-repeat top right;
  background-size: min(560px, 46%) auto;
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
}
.sub-banner {
  margin: 0 0 64px;
  aspect-ratio: 21/9;
  overflow: hidden;
  border-radius: 4px;
}
.sub-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 768px) { .sub { padding: 120px 0 100px; } }
.sub > .container { position: relative; z-index: 1; }
.sub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; }
.sub-card { padding: 0; background: transparent; border: 0; }
.sub-card--primary { background: transparent; color: inherit; border: 0; }
.sub-card__media {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: 28px;
  background-color: #eee;
}
.sub-card__body { display: block; }
.sub-card__badge {
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 500; letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 18px;
  display: inline-block;
}
.sub-card--primary .sub-card__badge { color: var(--c-accent); }
.sub-card h3 {
  font-family: var(--font-disp);
  font-size: 22px; font-weight: 400;
  margin: 0 0 24px;
  color: var(--c-ink);
}
.sub-card--primary h3 { color: var(--c-ink); }
.sub-card ul li {
  font-size: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--c-line);
  color: var(--c-text);
  font-weight: 400;
}
.sub-card--primary ul li { color: var(--c-text); border-color: var(--c-line); }
.sub-card ul li:first-child { border-top: 1px solid var(--c-line); }
@media (max-width: 960px) { .sub-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ============================================================ HISTORY */
.hist {
  padding: 130px 0 100px;
  background: #0a1535;
  color: #fff;
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
  overflow: hidden;
}
.hist .section-head { margin-bottom: 40px; }
.hist .timeline li { padding: 16px 0; }
.hist::after {
  content: "";
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 56%;
  background: url("/img/sub-metal.jpg") no-repeat;
  background-size: auto 190%;
  background-position: right calc(78% + var(--par, 0px));
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 34%);
  z-index: 0;
}
.hist::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,18,46,0.72) 0%, rgba(14,42,102,0.48) 50%, rgba(14,42,102,0.28) 100%);
  z-index: 1;
}
.hist .eyebrow { color: rgba(255,255,255,0.85); }
.hist .eyebrow-ko { color: rgba(255,255,255,0.55); }
.hist .h2,
.hist .h2 em { color: #fff; }
.hist .section-sub-ko { color: rgba(255,255,255,0.75); }
.hist .timeline li { border-color: rgba(255,255,255,0.18); }
.hist .timeline li:first-child { border-top-color: rgba(255,255,255,0.18); }
.hist .t-year { color: #fff; }
.hist .timeline p { color: rgba(255,255,255,0.85); }
@media (max-width: 768px) { .hist { padding: 120px 0 100px; } }
.hist > .container { position: relative; z-index: 1; }
.timeline { max-width: 820px; margin: 0 auto; }
.timeline li {
  display: grid; grid-template-columns: 110px 1fr;
  align-items: baseline;
  gap: 32px;
  padding: 24px 0;
  border-bottom: 1px solid var(--c-line);
}
.timeline li:first-child { border-top: 1px solid var(--c-line); }
.t-year {
  font-family: var(--font-disp);
  font-size: 18px; font-weight: 500;
  color: var(--c-accent);
}
.timeline p { margin: 0; color: var(--c-text); font-size: 16px; }
@media (max-width: 720px) {
  .timeline li { grid-template-columns: 1fr; gap: 8px; }
}

/* ============================================================ NEWS */
.news {
  padding: 80px 0 56px;
  background: var(--c-bg) url("/img/bg-process.svg") no-repeat top right;
  background-size: min(560px, 46%) auto;
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
}
.news-banner {
  margin: 0 0 32px;
  aspect-ratio: 4/1;
  overflow: hidden;
  border-radius: 4px;
}
.news-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 768px) { .news { padding: 120px 0 100px; } }
.news-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.news-grid > li a {
  display: block; height: 100%;
  padding: 32px 0;
  border-top: 1px solid var(--c-ink);
  transition: opacity .2s;
}
.news-grid > li a:hover { opacity: .6; }
.news-cat {
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted);
  display: inline-block; margin-bottom: 24px;
}
.news-grid h4 {
  font-family: var(--font-disp);
  font-size: 16px; font-weight: 400;
  color: var(--c-ink);
  margin: 0 0 36px;
  line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 4.5em;
}
.news-grid time {
  font-family: var(--font-disp);
  font-size: 14px;
  color: var(--c-muted);
}
@media (max-width: 1100px) { .news-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .news-grid { grid-template-columns: 1fr; } }

/* ============================================================ CONTACT */
.contact {
  position: relative;
  padding: 140px 0;
  background: #1A1A1A;
  color: #fff;
  display: flex; align-items: center;
}
.contact__bg, .contact__overlay { display: none; }
.contact__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact__left { max-width: 540px; }
.contact__tit {
  font-family: var(--font-disp);
  font-size: clamp(34px, 4.2vw, 60px);
  font-weight: 300; letter-spacing: -0.02em;
  color: #fff;
  margin: 16px 0 24px;
  line-height: 1.1;
}
.contact__txt {
  font-size: 16px;
  color: rgba(255,255,255,.7);
  margin: 0 0 40px;
  line-height: 1.7;
  max-width: 460px;
  font-weight: 400;
}
.contact__info {
  margin: 0 0 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.contact__info li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  padding: 14px 0;
  font-size: 14px;
  align-items: baseline;
}
.contact__info li span {
  font-family: var(--font-sans);
  font-size: 12px; letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  font-weight: 400;
}
.contact__info li b {
  font-weight: 400;
  color: rgba(255,255,255,.88);
}
.contact__info a:hover { color: #fff; }
.contact__cta {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.contact__cta:hover { background: #fff; color: var(--c-ink); border-color: #fff; }
.contact__map {
  position: relative;
  aspect-ratio: 4/3;
  background: #2a2a2a;
  border: 1px solid rgba(255,255,255,.1);
}
.contact__map iframe {
  width: 100%; height: 100%; border: 0;
}
@media (max-width: 960px) {
  .contact__inner { grid-template-columns: 1fr; gap: 48px; }
}

/* ============================================================ FOOTER */
.footer {
  background: #1A1A1A;
  color: rgba(255,255,255,.55);
  padding: 80px 0 0;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer__inner { display: grid; grid-template-columns: 1.2fr 2fr; gap: 80px; padding-bottom: 60px; }
.footer__logo { margin-bottom: 24px; display: inline-block; }
.footer__logo-img {
  height: 32px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: .85;
}
.footer__brand p { margin: 6px 0; font-size: 14px; font-weight: 400; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer__cols h4 {
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 18px;
}
.footer__cols a { display: block; padding: 5px 0; font-size: 14px; color: rgba(255,255,255,.55); transition: color .2s; font-weight: 400; }
.footer__cols a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0;
  font-size: 12px;
}
.footer__bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer__small { color: rgba(255,255,255,.4); }
.footer__small a { transition: color .2s; }
.footer__small a:hover { color: #fff; }
@media (max-width: 720px) {
  .footer__inner { grid-template-columns: 1fr; gap: 48px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}

/* ============================================================ SUB PAGE — Seoyon-style light */
.sub-hero {
  position: relative;
  background: var(--c-bg) url("/img/bg-contour-tr.svg") no-repeat top right;
  background-size: min(820px, 70%) auto;
  color: var(--c-ink);
  padding: 200px 0 80px;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  box-sizing: border-box;
}
@media (max-width: 720px) {
  .sub-hero { padding: 160px 0 56px; min-height: 320px; }
}
.sub-hero__bg,
.sub-hero__overlay { display: none; }
.sub-hero__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 40px;
  width: 100%;
}
.sub-hero__crumb {
  font-family: var(--font-sans);
  font-size: 14px; letter-spacing: 0.02em;
  color: var(--c-muted);
  margin: 0 0 28px;
  display: flex; flex-wrap: wrap; gap: 10px;
  align-items: center;
  min-height: 16px;
}
.sub-hero__crumb a { color: inherit; transition: color .2s; }
.sub-hero__crumb a:hover { color: var(--c-accent); }
.sub-hero__crumb svg { width: 11px; height: 11px; opacity: .5; }
.sub-hero__title {
  font-family: var(--font-disp);
  font-size: clamp(40px, 4.5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--c-ink);
  margin: 0 0 18px;
  position: relative;
}
.sub-hero__title::before {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background: var(--c-accent);
  margin-bottom: 22px;
}
.sub-hero__sub {
  font-size: 16px;
  color: var(--c-muted);
  max-width: 720px;
  margin: 0;
  font-weight: 400;
  line-height: 1.6;
  min-height: 26px;
}

/* 2nd nav tabs (category sub-menu) */
.sub-tabs {
  background: #fff;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.sub-tabs__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 40px;
  display: flex; flex-wrap: wrap;
}
.sub-tabs a {
  padding: 20px 28px;
  font-size: 16px;
  font-weight: 500;
  color: var(--c-muted);
  position: relative;
  transition: color .2s;
  white-space: nowrap;
}
.sub-tabs a:first-child { padding-left: 0; }
.sub-tabs a:hover { color: var(--c-ink); }
.sub-tabs a.is-active {
  color: var(--c-ink);
  font-weight: 700;
}
.sub-tabs a.is-active::after {
  content: '';
  position: absolute;
  left: 28px; right: 28px;
  bottom: -1px;
  height: 3px;
  background: var(--c-accent);
}
.sub-tabs a:first-child.is-active::after { left: 0; }
@media (max-width: 720px) {
  .sub-tabs__inner { overflow-x: auto; padding: 0 20px; }
  .sub-tabs a { padding: 16px 16px; font-size: 14px; }
  .sub-tabs a.is-active::after { left: 16px; right: 16px; }
}

/* sub-page sections drop scroll-snap (regular flow on inner pages) */
.subpage html, html.subpage { scroll-snap-type: none !important; }
body.subpage { background: #fff; }
body.subpage .hero,
body.subpage .about,
body.subpage .services,
body.subpage .proc,
body.subpage .mfg,
body.subpage .sustain,
body.subpage .sub,
body.subpage .hist,
body.subpage .news,
body.subpage .contact,
body.subpage .footer {
  scroll-snap-align: unset;
  scroll-snap-stop: unset;
  min-height: 0;
}

/* Per-page semantic blueprint backgrounds — disabled (cleaner subpages) */
body.bg-coil .sub-hero,
body.bg-coil .sub-content,
body.bg-briquette .sub-hero,
body.bg-briquette .sub-content,
body.bg-process .sub-hero,
body.bg-process .sub-content,
body.bg-map .sub-hero,
body.bg-map .sub-content,
body.bg-battery .sub-hero,
body.bg-battery .sub-content { background-image: none; }

.sub-content--bg-tr {
  background: var(--c-bg-3) url("/img/bg-contour-tr.svg") no-repeat top right;
  background-size: 55% auto;
}
.sub-content {
  padding: 120px 0;
  background: var(--c-bg-3) url("/img/bg-contour-bl.svg") no-repeat bottom left;
  background-size: min(720px, 60%) auto;
  position: relative;
  min-height: 480px;
}
@media (max-width: 720px) {
  .sub-content { padding: 80px 0; min-height: 360px; }
}
.sub-content--gray { background: var(--c-bg-2); }
.sub-content--dark { background: #1A1A1A; color: #fff; }

.sub-block {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}
.sub-block + .sub-block { margin-top: 100px; padding-top: 100px; border-top: 1px solid var(--c-line); }
.sub-block--single { grid-template-columns: 1fr; }
.sub-block__head .eyebrow { margin-bottom: 16px; }
.sub-block__head h2 {
  font-family: var(--font-disp);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.2;
  color: var(--c-ink);
  margin: 0;
  position: relative;
  padding-top: 24px;
}
.sub-block__head h2::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 28px; height: 3px;
  background: var(--c-accent);
}
.sub-block--single .sub-block__head { max-width: 760px; margin-bottom: 72px; }
.sub-block__body p { font-size: 18px; color: var(--c-text); line-height: 1.85; margin: 0 0 1em; font-weight: 400; }
.sub-block__body p:last-child { margin-bottom: 0; }
.sub-block__body p.lead-quote {
  font-family: var(--font-disp);
  font-size: 26px; font-weight: 300;
  color: var(--c-ink);
  line-height: 1.5;
  margin-bottom: 40px;
  letter-spacing: -0.015em;
}
.sub-block__body .signature {
  margin-top: 36px;
  font-family: var(--font-sans);
  font-size: 14px; color: var(--c-muted);
  letter-spacing: 0.02em;
}

.sub-figure {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--c-bg-2);
  overflow: hidden;
  margin: 0;
}
.sub-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sub-figure--wide { aspect-ratio: 16/9; }
.sub-figure--portrait { aspect-ratio: 3/4; }

.sub-banner {
  width: 100%;
  aspect-ratio: 16/6;
  overflow: hidden;
  margin: 0 0 64px;
  background: var(--c-bg-2);
}
.sub-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }

.cat-card {
  background: #fff;
  border: 1px solid var(--c-line);
}
.cat-card__media { aspect-ratio: 4/3; background-size: cover; background-position: center; background-color: var(--c-bg-2); }
.cat-card__body { padding: 24px 28px; }
.cat-card__body h4 {
  font-family: var(--font-disp);
  font-size: 18px; font-weight: 600;
  margin: 0 0 12px;
  color: var(--c-ink);
}
.cat-card__caption { font-size: 14px; color: var(--c-accent); margin: 0 0 12px; }
.cat-card ul li {
  padding: 6px 0;
  font-size: 14px;
  color: var(--c-text);
  border-top: 1px solid var(--c-line);
}
.cat-card ul li:first-child { border-top: 0; }
.sub-block__body .signature b {
  display: block;
  font-family: var(--font-disp);
  font-size: 22px; font-weight: 400; color: var(--c-ink);
  margin-top: 4px;
}
@media (max-width: 960px) {
  /* 인라인 스타일(인사말 등)보다 우선해야 하므로 !important */
  .sub-block { grid-template-columns: 1fr !important; gap: 32px !important; }
}

/* Info table — company profile, location */
.info-table {
  width: 100%;
  border-top: 1px solid var(--c-ink);
}
.info-table > div {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--c-line);
}
.info-table > div > span {
  font-family: var(--font-sans);
  font-size: 12px; letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-muted);
  font-weight: 500;
}
.info-table > div > b {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--c-ink);
  font-size: 16px;
}
@media (max-width: 720px) {
  .info-table > div { grid-template-columns: 1fr; gap: 4px; }
}

/* Category list (Business products) */
.cat-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 40px; }
.cat-list h4 {
  font-family: var(--font-disp);
  font-size: 18px; font-weight: 400;
  color: var(--c-ink);
  margin: 0 0 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--c-ink);
}
.cat-list ul li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--c-text);
  border-bottom: 1px solid var(--c-line);
}
.cat-list ul li:last-child { border-bottom: 0; }
@media (max-width: 720px) { .cat-list { grid-template-columns: 1fr; gap: 32px; } }

/* ============================================================ Reveal */
.reveal { opacity: 0; transition: opacity .8s ease-out; }
.reveal.in-view { opacity: 1; }

/* ============================================================ Mobile drawer */
.mdrawer { position: fixed; inset: 0; z-index: 9999; pointer-events: none; }
.mdrawer__overlay {
  position: absolute; inset: 0; background: rgba(15, 23, 42, 0);
  transition: background .3s ease;
}
.mdrawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(86vw, 380px);
  background: #fff;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
  display: flex; flex-direction: column;
  box-shadow: -10px 0 40px rgba(15, 23, 42, .12);
  overflow-y: auto;
}
.mdrawer.is-open { pointer-events: auto; }
.mdrawer.is-open .mdrawer__overlay { background: rgba(15, 23, 42, .45); }
.mdrawer.is-open .mdrawer__panel { transform: translateX(0); }

.mdrawer__close {
  align-self: flex-end;
  margin: 18px 18px 0;
  background: none; border: 0; padding: 8px;
  color: var(--c-ink); cursor: pointer;
}
.mdrawer__nav { padding: 12px 28px 24px; flex: 1; }
.mdrawer__sec { border-bottom: 1px solid var(--c-line); }
.mdrawer__sec summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0;
  font-family: var(--font-disp);
  font-size: 18px; font-weight: 600;
  color: var(--c-ink);
  cursor: pointer;
}
.mdrawer__sec summary::-webkit-details-marker { display: none; }
.mdrawer__sec summary svg { transition: transform .25s; opacity: .6; }
.mdrawer__sec[open] summary svg { transform: rotate(180deg); }
.mdrawer__sec ul {
  list-style: none; padding: 0 0 16px; margin: 0;
}
.mdrawer__sec ul li a {
  display: block; padding: 11px 0;
  font-size: 16px;
  color: var(--c-text);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.mdrawer__sec ul li a:hover { color: var(--c-ink); }
.mdrawer__foot {
  padding: 20px 28px 28px;
  font-family: var(--font-disp);
  font-size: 14px;
  letter-spacing: 0.04em;
  border-top: 1px solid var(--c-line);
  display: flex; gap: 12px; align-items: center;
}
.mdrawer__foot a { color: var(--c-muted); text-decoration: none; }
.mdrawer__foot a.is-active { color: var(--c-ink); font-weight: 600; }
.mdrawer__foot span { color: var(--c-line); }

/* ============================================================ WASH — full-bleed photo + navy overlay (Seoyon style) */
.wash {
  position: relative;
  padding: 140px 0 120px;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  color: #fff;
  overflow: hidden;
  background-color: #0a1535;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.wash::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,18,46,0.94) 0%, rgba(14,42,102,0.78) 35%, rgba(14,42,102,0.45) 65%, rgba(14,42,102,0.28) 100%);
  z-index: 0;
}
.wash::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 260px;
  background: linear-gradient(180deg, rgba(8,18,46,0) 0%, rgba(8,18,46,0.65) 100%);
  z-index: 0;
  pointer-events: none;
}
.wash > .container {
  position: relative; z-index: 1;
  max-width: var(--maxw); padding: 0 40px;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 60px;
  width: 100%;
  min-height: calc(100vh - 260px);
}
.wash__intro {
  max-width: 760px;
  align-self: center;
}
.wash .eyebrow { margin-bottom: 20px; }
.wash h2, .wash__intro h2 { margin: 0 0 28px; font-size: clamp(34px, 4.2vw, 60px); line-height: 1.05; letter-spacing: -0.02em; }
.wash .lead, .wash__intro .lead { margin-bottom: 14px; font-size: 18px; line-height: 1.65; }
.wash .section-sub-ko { color: rgba(255,255,255,0.55); }
.wash__kpis {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-top: 44px;
  border-top: 1px solid rgba(255,255,255,0.22);
}
.wash-kpi__num {
  font-family: var(--font-disp);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1;
}
.wash-kpi__num span { font-size: 0.45em; color: rgba(255,255,255,0.55); margin-left: 4px; font-weight: 400; }
.wash-kpi__lbl {
  margin-top: 14px;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}
.wash-kpi__sub {
  margin-top: 6px;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}
@media (max-width: 768px) {
  .wash__kpis { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .wash > .container { gap: 48px; }
}
.wash--coil { background-image: url("/img/sub-distribution.jpg?v=3"); background-position: right center; }
.wash--precision { background-image: url("/img/wash-precision-v2.jpg"); background-position: right center; }
@media (max-width: 768px) {
  .wash { padding: 90px 0; min-height: 64vh; }
}

/* ============================================================ KOREA MAP — Yangsan HQ + industrial clusters */
.kmap {
  padding: 120px 0;
  background: var(--c-bg-3) url("/img/bg-contour-tr.svg") no-repeat top right;
  background-size: min(720px, 60%) auto;
}
.kmap__inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: center; }
.kmap__copy h2 { margin: 16px 0 24px; }
.kmap__list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.kmap__list li {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--c-text);
  display: flex; gap: 10px; align-items: baseline;
}
.kmap__list li::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--c-accent);
  border-radius: 50%;
  flex-shrink: 0;
  transform: translateY(2px);
}
.kmap__list li b { color: var(--c-ink); font-weight: 600; margin-right: 6px; }
.kmap__svg { width: 100%; height: auto; }
.kmap__svg .kr-land { fill: #E6EAF1; }
.kmap__svg .kr-pin-hq { fill: var(--c-accent); }
.kmap__svg .kr-pin { fill: rgba(14,42,102,0.55); }
.kmap__svg .kr-pin-ring { fill: none; stroke: var(--c-accent); stroke-width: 1.2; stroke-opacity: 0.4; }
.kmap__svg .kr-line { fill: none; stroke: rgba(14,42,102,0.18); stroke-width: 1; stroke-dasharray: 3 3; }
.kmap__svg .kr-label { font-family: 'Inter', sans-serif; font-size: 13px; fill: var(--c-ink); font-weight: 500; }
.kmap__svg .kr-label-hq { font-weight: 700; fill: var(--c-accent); font-size: 14px; }
@media (max-width: 900px) {
  .kmap__inner { grid-template-columns: 1fr; gap: 40px; }
  .kmap__list { grid-template-columns: 1fr; }
}

/* nav lang toggle separator */
.nav__lang-sep { color: rgba(255,255,255,.35); margin: 0 6px; font-weight: 300; }
.nav.scrolled .nav__lang-sep,
body.subpage .nav__lang-sep { color: rgba(0,0,0,.2); }
.nav__lang a { transition: color .2s; }
.nav__lang a:not(.is-active) { opacity: 0.6; }
.nav__lang a:not(.is-active):hover { opacity: 1; }

/* ============================================================ Premium micro-details (v92) */
/* 1) Section heading line reveal — spans injected by nav.js */
.h2 .h2-ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.h2 .h2-ln > span {
  display: inline-block;
  transform: translateY(115%);
  transition: transform 1s cubic-bezier(.16, 1, .3, 1);
}
.h2.is-in .h2-ln > span { transform: translateY(0); }
.h2 .h2-ln:nth-child(2) > span { transition-delay: .1s; }
.h2 .h2-ln:nth-child(3) > span { transition-delay: .2s; }

/* 2) Slow image zoom on hover */
.sub-card__media { position: relative; overflow: hidden; }
.sub-card__media::before {
  content: "";
  position: absolute; inset: 0;
  background: inherit;
  background-size: cover;
  background-position: center;
  transition: transform 1.2s cubic-bezier(.16, 1, .3, 1);
}
.sub-card:hover .sub-card__media::before { transform: scale(1.06); }
.srv-feature img, .sub-figure img { transition: transform 1.2s cubic-bezier(.16, 1, .3, 1); }
.srv-feature:hover img { transform: scale(1.04); }
.sub-figure:hover img { transform: scale(1.05); }

/* 3) Link underline draw (accent line over base border) */
.link-arrow { position: relative; }
.link-arrow::after {
  content: "";
  position: absolute; left: 0; bottom: -1px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .55s cubic-bezier(.16, 1, .3, 1);
}
.link-arrow:hover::after { transform: scaleX(1); }

/* 4) Subtle parallax — --par driven by main.js */
/* .hist parallax는 ::after 배경(우측 1/2 패널)에서 --par로 처리 */
.news-banner img { transform: translateY(var(--par, 0px)) scale(1.12); will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .h2 .h2-ln > span { transition: none; transform: none; }
  .sub-card__media::before, .srv-feature img, .sub-figure img, .link-arrow::after { transition: none; }
  .news-banner img { transform: none; }
}

/* ============================================================ Compact height (laptop ≤1160px tall) — fit every snap section in 100vh */
@media (min-width: 961px) and (max-height: 1160px) {
  .about, .services, .proc, .mfg, .sustain, .sub, .hist, .news, .contact { padding: 150px 0 40px; }
  .news-banner { aspect-ratio: 16/3; }
  .news-grid > li a { padding: 26px 0; }
  .proc .section-head { margin-bottom: 10px; }
  .proc-menu li { padding: 10px 0; }
  .sub-card__badge { margin-bottom: 10px; }
  .sub-card__media { margin-bottom: 18px; }
  .news-grid > li a { padding: 16px 0; }
  .proc { padding-bottom: 20px; }
  .news .section-head { margin-bottom: 16px; }
  .news-banner { margin-bottom: 12px; }
  .proc-stage__caption { padding: 10px 0 0; }
  .sub .section-head { margin-bottom: 16px; }
  .hist .timeline li { padding: 11px 0; }
  .hist .section-head { margin-bottom: 20px; }
  .section-head, .section-head--row { margin-bottom: 26px; }
  .eyebrow { margin-bottom: 18px; }
  .h2 { margin-bottom: 16px; }
  .news-banner { margin-bottom: 20px; }
  .section-foot { margin-top: 12px; padding-top: 10px; }
}

/* News 섹션 여백 컴팩트 (큰 모니터 세로 잘림 방지) */
.news .section-head { margin-bottom: 32px; }

/* ============================================================ Notice view (그누보드 연동 상세, v106) */
.notice-view { max-width: 860px; }
.notice-view__title {
  font-family: var(--font-disp);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.3;
  color: var(--c-ink);
  font-weight: 400;
  margin: 0 0 16px;
  word-break: keep-all;
}
.notice-view__meta {
  display: flex; gap: 14px; align-items: baseline;
  color: var(--c-muted); font-size: 14px;
  margin-bottom: 40px; padding-bottom: 24px;
  border-bottom: 1px solid var(--c-line);
}
.notice-view__meta .news-cat { font-size: 12px; }
.notice-view__body { font-size: 16px; line-height: 1.9; color: var(--c-text); min-height: 120px; word-break: keep-all; }
.notice-view__body p { margin: 0 0 1em; }
.notice-view__body img { max-width: 100%; height: auto; }
.notice-view__foot {
  margin-top: 56px; padding-top: 28px;
  border-top: 1px solid var(--c-line);
  display: flex; justify-content: flex-start;
}

/* KO 히어로 카피(장문) 전용 크기 — EN(92px)보다 축소해 한 줄 수납 */
html[lang="ko"] .hero__title { font-size: clamp(32px, 3.3vw, 56px); }
.hero__sub, .hero__sub-ko { word-break: keep-all; max-width: 640px; }

/* ===== 컴팩트 2단계: 유효 높이 960px 이하 (작은 노트북·창 축소) ===== */
@media (min-width: 961px) and (max-height: 960px) {
  .nav__inner { padding: 8px 48px; }
  .nav__top { padding: 16px 0; }
  .nav__logo-img { height: 38px; }
  .about, .services, .proc, .mfg, .sustain, .sub, .hist, .news, .contact { padding: 112px 0 26px; }
  .section-head, .section-head--row { margin-bottom: 16px; }
  .h2 { margin-bottom: 12px; font-size: clamp(32px, 3.6vw, 52px); }
  .eyebrow { margin-bottom: 12px; }
  .proc .section-head { margin-bottom: 3px; }
  .proc-menu li { padding: 7px 0; }
  .proc { padding-bottom: 6px; }
  .proc .h2 { font-size: clamp(30px, 3vw, 48px); }
  .proc-stage__caption { padding: 6px 0 0; }
  .proc-stage__caption h3 { font-size: 24px; }
  .news-banner { aspect-ratio: 11/2; margin-bottom: 10px; }
  .news-grid > li a { padding: 14px 0; }
  .section-foot { margin-top: 16px; padding-top: 14px; }
  .sub .section-head { margin-bottom: 16px; }
  .sub-card__media { aspect-ratio: 16/11; margin-bottom: 14px; }
  .sub-card__badge { margin-bottom: 8px; }

  .srv-item { padding: 18px 0; }
  .hist .timeline li { padding: 9px 0; }
  .hist .section-head { margin-bottom: 20px; }
  .lead { margin-bottom: 14px; }
}

/* ============================================================ Mobile polish (≤960px) — 한국어 단어 단위 줄바꿈 + 섹션 리듬 */
@media (max-width: 960px) {
  body { word-break: keep-all; overflow-wrap: break-word; }
  .srv-item h3 br { display: none; }
  .hero__title .line { text-wrap: balance; }
  html:not(.subpage) .contact { padding: 88px 0 72px; }
}
@media (max-width: 768px) {
  .wash { padding: 72px 0; min-height: 0; }
  .news-cat { margin-bottom: 12px; }
  .news-grid h4 { margin: 0 0 12px; min-height: 0; }
  .news-grid > li a { padding: 22px 0; }
  .mfg-grid h4 { font-size: 15px; }
}
