/* 경일워터이엔지 공개 화면, 2차 디자인 "에디토리얼 인더스트리얼".
   따뜻한 종이색 바탕 · 잉크색 글자 · 산업 안전 주황 한 색(버튼과 작은 표시에만) · 어두운 구간은 거의 검정.
   대제목·본문 Pretendard(대제목 SemiBold), 숫자 Pretendard Light + tabular-nums.
   순서: 글꼴 → 토큰 → 기본 → 공통 부품 → 머리글·메뉴·바닥글 → 첫 화면 → 하위 화면 → 반응형 → 움직임 */

/* ── 글꼴 ─────────────────────────────────────────────────────────────── */
@font-face { font-family: "Pretendard"; font-weight: 300; font-display: swap; src: url("../fonts/Pretendard-Light.subset.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 400; font-display: swap; src: url("../fonts/Pretendard-Regular.subset.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 500; font-display: swap; src: url("../fonts/Pretendard-Medium.subset.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 600; font-display: swap; src: url("../fonts/Pretendard-SemiBold.subset.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 700; font-display: swap; src: url("../fonts/Pretendard-Bold.subset.woff2") format("woff2"); }

/* ── 토큰 ─────────────────────────────────────────────────────────────── */
:root {
  --paper: #F2EFE9;
  --paper-2: #E8E4DC;          /* 구간 구분용 한 단계 짙은 종이 */
  --mat: #FAF8F4;              /* 인증서 액자 바탕 */
  --ink: #15171A;              /* 종이 위 글자 15.6:1 */
  --ink-2: #4A4D52;            /* 보조 글자 7.4:1 */
  --ink-3: #64676C;            /* 작은 표시 4.95:1 */
  --rule: rgba(21, 23, 26, 0.16);
  --rule-strong: rgba(21, 23, 26, 0.55);
  --night: #0F1012;            /* 어두운 구간 */
  --on-night: #EDEAE4;         /* 15.8:1 */
  --on-night-2: #A9A6A0;       /* 7.8:1 */
  --night-rule: rgba(237, 234, 228, 0.22);
  --signal: #E8571C;           /* 산업 안전 주황. 버튼(잉크 글자 5:1)과 작은 표시에만 */
  --signal-hover: #F26A30;
  --on-signal: #15171A;
  --error: #A3300B;

  --serif: var(--sans);   /* 호환용. 공개 화면은 산세리프 단일 */
  --sans: "Pretendard", system-ui, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;

  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-md: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  --fs-lg: clamp(1.625rem, 1.2rem + 1.4vw, 2.375rem);
  --fs-xl: clamp(2.125rem, 1.3rem + 2.8vw, 3.875rem);
  --fs-2xl: clamp(2.625rem, 1.3rem + 4.6vw, 5.75rem);
  --fs-hero: clamp(2.5rem, 1rem + 5.6vw, 6.75rem);
  --fs-num: clamp(3rem, 1.9rem + 3.8vw, 6rem);

  --sp-xs: 8px; --sp-sm: 12px; --sp-md: 16px; --sp-lg: 24px; --sp-xl: 32px; --sp-2xl: 48px; --sp-3xl: 64px; --sp-4xl: 96px;
  --sec-y: clamp(80px, 4rem + 6vw, 168px);
  --gutter: clamp(20px, 4.4vw, 72px);
  --col-gap: clamp(16px, 2vw, 32px);
  --wrap: 1440px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 2px;
  --grade: saturate(0.72) sepia(0.1) contrast(1.04);     /* 실제 사진 톤 통일 */
  --grade-hover: saturate(0.95) sepia(0.04) contrast(1.04);
}

/* ── 기본 ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); background: var(--paper); }
body {
  margin: 0; font-family: var(--sans); font-size: var(--fs-base); line-height: 1.7; color: var(--ink);
  background: var(--paper); word-break: keep-all; overflow-wrap: anywhere; overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.28em; text-decoration-thickness: 1px; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.3; letter-spacing: -0.015em; }
p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
[hidden] { display: none !important; }
main:focus { outline: none; }
main { display: block; }
body:not(.has-hero) main { padding-top: var(--header-h); }
.num { font-variant-numeric: tabular-nums lining-nums; font-feature-settings: "tnum" 1, "lnum" 1; }
::selection { background: var(--ink); color: var(--paper); }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.hero :focus-visible, .statement :focus-visible, .cta :focus-visible, .mnav :focus-visible,
.site-header.is-over:not(.is-scrolled) :focus-visible { outline-color: var(--on-night); }

.skip {
  position: fixed; left: 16px; top: -64px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--paper);
  font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip:focus { top: 12px; }

/* ── 공통 부품 ────────────────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.02em;
  color: var(--ink-2); line-height: 1.4;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; background: var(--signal); flex: none; }
:lang(en) .eyebrow { text-transform: uppercase; letter-spacing: 0.08em; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 26px;
  font-size: var(--fs-sm); font-weight: 600; line-height: 1.2; letter-spacing: 0; text-decoration: none;
  border: 1px solid transparent; border-radius: var(--radius); cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn span[aria-hidden] { transition: transform .3s var(--ease); }
.btn:hover span[aria-hidden] { transform: translateX(4px); }
.btn--signal { background: var(--signal); color: var(--on-signal); }
.btn--signal:hover { background: var(--signal-hover); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #2B2E33; }
.btn--sm { min-height: 42px; padding: 0 18px; }

.arrow-link, .textbtn {
  display: inline-flex; align-items: baseline; gap: 8px; font-size: var(--fs-sm); font-weight: 600; color: inherit;
  text-decoration: underline; text-decoration-color: currentColor; text-underline-offset: 0.4em; background: none; border: 0; padding: 0; cursor: pointer;
}
.arrow-link span[aria-hidden] { display: inline-block; transition: transform .3s var(--ease); }
.arrow-link:hover span[aria-hidden] { transform: translateX(4px); }

.shead {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: var(--sp-lg);
  margin-bottom: clamp(40px, 5vw, 88px); align-items: end;
}
.shead .eyebrow { grid-column: 1 / -1; }
.shead__title {
  grid-column: 1 / span 7; font-family: var(--sans); font-weight: 600; font-size: var(--fs-xl); line-height: 1.16;
  letter-spacing: -0.035em; text-wrap: balance;
}
.shead__side { grid-column: 9 / -1; display: grid; gap: var(--sp-md); justify-items: start; padding-bottom: 0.4em; }
.shead__lead { color: var(--ink-2); max-width: 30em; }

.sec { padding-block: var(--sec-y); }
.sec--tint { background: var(--paper-2); }
.page { padding-block: clamp(48px, 5vw, 96px) var(--sec-y); }

.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1em; }
.prose h3, .prose h4 { font-family: var(--sans); font-weight: 600; font-size: var(--fs-md); letter-spacing: -0.02em; margin-top: 1.8em; }
.prose ul li, .prose ol li { position: relative; padding-left: 22px; }
.prose ul li + li, .prose ol li + li { margin-top: 0.4em; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.85em; width: 10px; height: 1px; background: var(--ink-3); }
.prose ol { counter-reset: n; }
.prose ol li::before { counter-increment: n; content: counter(n) "."; position: absolute; left: 0; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.prose a { text-decoration: underline; }
.prose strong { font-weight: 600; }
.prose blockquote { padding: 4px 0 4px 20px; border-left: 1px solid var(--rule-strong); color: var(--ink-2); }
.prose--doc h3 { margin-top: 2.4em; }

.empty { padding: var(--sp-2xl) 0; border-top: 1px solid var(--rule); color: var(--ink-3); font-size: var(--fs-sm); }

/* 인증서 액자: 종이 매트 + 가는 테두리 + 아주 옅은 그림자 */
.frame { display: block; text-decoration: none; color: inherit; }
.frame__mat {
  display: block; aspect-ratio: 5 / 7; padding: clamp(10px, 1.2vw, 16px); background: var(--mat);
  border: 1px solid var(--rule); box-shadow: 0 1px 0 rgba(21, 23, 26, 0.04), 0 18px 32px -24px rgba(21, 23, 26, 0.45);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.frame__mat img { width: 100%; height: 100%; object-fit: contain; }
a.frame:hover .frame__mat { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(21, 23, 26, 0.04), 0 28px 40px -26px rgba(21, 23, 26, 0.5); }
.frame__cap { display: block; margin-top: var(--sp-sm); font-size: var(--fs-xs); color: var(--ink-2); line-height: 1.5; }

/* 실적 행 */
.plist { border-bottom: 1px solid var(--rule); }
.prow {
  display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) minmax(12rem, 20rem); column-gap: var(--col-gap);
  align-items: baseline; padding: 22px 0; border-top: 1px solid var(--rule);
}
.prow__year { font-size: 1.375rem; font-weight: 300; letter-spacing: -0.02em; line-height: 1.2; }
.prow__year small { font-size: 0.45em; color: var(--ink-3); letter-spacing: 0; margin-left: 2px; }
.prow__client { font-size: var(--fs-xs); color: var(--ink-3); line-height: 1.5; }
.prow__title { font-size: var(--fs-base); font-weight: 500; line-height: 1.45; margin-top: 2px; }
.prow__scope { margin-top: var(--sp-xs); font-size: var(--fs-sm); color: var(--ink-2); max-width: 46em; }
.prow__side { display: grid; gap: 4px; justify-items: end; text-align: right; }
.prow__cap { font-size: var(--fs-sm); white-space: nowrap; }
.prow__cap .num { font-size: 1.125rem; font-weight: 400; }
.prow__cap .unit { color: var(--ink-3); font-size: var(--fs-xs); }
.pmeta { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 10px; font-size: var(--fs-xs); color: var(--ink-3); }
.pmeta li + li::before { content: "·"; margin-right: 10px; }
.prow--big { grid-template-columns: minmax(9rem, 2.2fr) minmax(0, 6fr) minmax(12rem, 3fr); padding: clamp(28px, 3vw, 44px) 0; align-items: start; }
.prow--big .prow__year { font-size: var(--fs-num); line-height: 0.9; letter-spacing: -0.045em; }
.prow--big .prow__title { font-family: var(--sans); font-weight: 600; font-size: var(--fs-lg); line-height: 1.28; letter-spacing: -0.03em; margin-top: 8px; }
.prow--big .prow__cap .num { font-size: var(--fs-md); font-weight: 300; }
.prow--big .prow__side { padding-top: 6px; }

/* 표 */
.ptable-wrap { overflow-x: auto; }
.ptable { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); min-width: 760px; }
.ptable th { text-align: left; font-size: var(--fs-xs); font-weight: 500; color: var(--ink-3); padding: 12px 20px 12px 0; border-bottom: 1px solid var(--ink); white-space: nowrap; }
.ptable td { padding: 16px 20px 16px 0; border-bottom: 1px solid var(--rule); vertical-align: top; line-height: 1.5; }
.ptable .r { text-align: right; }
.ptable td.num { white-space: nowrap; }

/* 점 세계 지도 */
.wmap { margin: 0; color: rgba(21, 23, 26, 0.17); }
.wmap svg { width: 100%; height: auto; overflow: visible; }
.wmap__dot { fill: var(--signal); stroke: var(--paper-2); stroke-width: 1.5; }
.wmap__pt.is-home .wmap__dot { fill: var(--ink); }
.wmap__lead { fill: none; stroke: var(--ink); stroke-width: 1; }
.wmap__label { font-family: var(--sans); font-size: 19px; font-weight: 600; fill: var(--ink); }
.wmap--live .wmap__pt { cursor: pointer; }
.wmap--live .wmap__pt:hover .wmap__dot, .wmap--live .wmap__pt.is-on .wmap__dot { fill: var(--ink); stroke: var(--signal); stroke-width: 3; }
.wmap--live .wmap__pt:focus-visible { outline: none; }
.wmap--live .wmap__pt:focus-visible .wmap__dot { stroke: var(--ink); stroke-width: 4; }

/* 텍스트 탭(인증 종류) */
.ttabs { display: flex; flex-wrap: wrap; gap: 4px 28px; margin-bottom: clamp(40px, 4vw, 64px); border-bottom: 1px solid var(--rule); }
.ttabs button {
  background: none; border: 0; padding: 0 0 14px; margin-bottom: -1px; cursor: pointer; font-size: var(--fs-sm); color: var(--ink-3);
  border-bottom: 1px solid transparent; transition: color .2s;
}
.ttabs button .num { font-size: var(--fs-xs); margin-left: 4px; }
.ttabs button:hover { color: var(--ink); }
.ttabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); font-weight: 600; }

.kv > div { display: grid; grid-template-columns: minmax(7rem, 11rem) 1fr; gap: var(--sp-md); padding: 14px 0; border-top: 1px solid var(--rule); }
.kv dt { font-size: var(--fs-xs); color: var(--ink-3); padding-top: 2px; }
.kv dd { font-size: var(--fs-sm); }

/* ── 머리글 ───────────────────────────────────────────────────────────── */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); color: var(--ink);
  background: color-mix(in srgb, var(--paper) 94%, transparent); border-bottom: 1px solid var(--rule);
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
@supports (backdrop-filter: blur(1px)) { .site-header { backdrop-filter: saturate(1.2) blur(10px); } }
.site-header.is-over:not(.is-scrolled) { background: transparent; color: var(--on-night); border-bottom-color: transparent; backdrop-filter: none; }
.site-header__bar { height: 100%; display: flex; align-items: center; gap: var(--sp-xl); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand { position: relative; }
.brand__logo { display: block; height: 36px; width: auto; }
.brand__logo--paper { position: absolute; left: 0; top: 50%; transform: translateY(-50%); opacity: 0; transition: opacity .35s var(--ease); }
.brand__logo--ink { transition: opacity .35s var(--ease); }
.site-header.is-over:not(.is-scrolled) .brand__logo--ink { opacity: 0; }
.site-header.is-over:not(.is-scrolled) .brand__logo--paper { opacity: 1; }
.gnav { margin-left: auto; }
.gnav ul { display: flex; gap: clamp(18px, 2vw, 34px); }
.gnav a { position: relative; display: block; padding: 8px 0; font-size: var(--fs-sm); font-weight: 500; text-decoration: none; }
.gnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.gnav a:hover::after, .gnav a[aria-current]::after { transform: scaleX(1); }
.site-header__tools { display: flex; align-items: center; gap: var(--sp-lg); }
.lang { font-size: var(--fs-xs); font-weight: 500; text-decoration: none; opacity: 0.85; white-space: nowrap; }
.lang:hover { opacity: 1; text-decoration: underline; }
.hcta {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid currentColor; border-radius: var(--radius);
  font-size: var(--fs-sm); font-weight: 600; text-decoration: none; transition: background-color .25s, color .25s;
}
.hcta:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.site-header.is-over:not(.is-scrolled) .hcta:hover { background: var(--on-night); color: var(--night); border-color: var(--on-night); }
.menu-btn { display: none; flex: none; width: 44px; height: 44px; margin-right: -10px; padding: 0; background: none; border: 0; color: inherit; cursor: pointer; position: relative; }
.menu-btn__icon, .menu-btn__icon::before, .menu-btn__icon::after { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; }
.menu-btn__icon { top: 21px; }
.menu-btn__icon::before, .menu-btn__icon::after { content: ""; left: 0; right: 0; }
.menu-btn__icon::before { top: -7px; }
.menu-btn__icon::after { top: 7px; }

/* 모바일 전체 화면 메뉴 */
.mnav { position: fixed; inset: 0; z-index: 60; background: var(--night); color: var(--on-night); display: flex; flex-direction: column; overflow-y: auto; }
.mnav__top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--night-rule); flex: none; }
.mnav__logo { display: block; height: 28px; width: auto; }
.mnav__close { background: none; border: 0; color: inherit; font-size: var(--fs-sm); font-weight: 600; cursor: pointer; padding: 10px 0; text-decoration: underline; text-underline-offset: .4em; }
.mnav__list { padding-block: var(--sp-xl); flex: 1; }
.mnav__list li { border-bottom: 1px solid var(--night-rule); }
.mnav__list a {
  display: flex; align-items: baseline; gap: 18px; padding: 14px 0; text-decoration: none;
  font-family: var(--sans); font-weight: 600; font-size: clamp(1.75rem, 7vw, 3rem); letter-spacing: -0.03em; line-height: 1.2;
}
.mnav__no { font-family: var(--sans); font-size: var(--fs-xs); color: var(--on-night-2); font-variant-numeric: tabular-nums; min-width: 2ch; }
.mnav__foot { display: flex; justify-content: space-between; padding-block: var(--sp-lg) var(--sp-2xl); font-size: var(--fs-sm); color: var(--on-night-2); }
.mnav__foot a { text-decoration: none; }
body.menu-open { overflow: hidden; }

/* ── 바닥글 ───────────────────────────────────────────────────────────── */
.site-footer { background: var(--paper); border-top: 1px solid var(--rule); padding-top: clamp(56px, 6vw, 112px); }
.site-footer__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: var(--sp-2xl); padding-block: clamp(40px, 4vw, 72px); }
.site-footer__lead { grid-column: 1 / span 3; display: grid; gap: var(--sp-lg); align-content: start; justify-items: start; }
.site-footer__tag { font-family: var(--sans); font-weight: 600; font-size: var(--fs-md); letter-spacing: -0.02em; line-height: 1.4; max-width: 14em; }
.site-footer__addr { grid-column: span 2; font-style: normal;   /* 주소 셋(본사·공장·안양사무소) + 메뉴가 한 줄에(2026-10-21) */ display: grid; gap: 4px; align-content: start; font-size: var(--fs-sm); color: var(--ink-2); }
.site-footer__addr a { text-decoration: none; }
.site-footer__addr a:hover { text-decoration: underline; }
.site-footer .label { font-size: var(--fs-xs); font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.site-footer__nav { grid-column: span 3; display: grid; gap: 4px; align-content: start; }
.site-footer__nav ul { display: grid; gap: 4px; font-size: var(--fs-sm); }
.site-footer__nav a { text-decoration: none; color: var(--ink-2); }
.site-footer__nav a:hover { color: var(--ink); text-decoration: underline; }
.site-footer__base { display: flex; flex-wrap: wrap; gap: 8px 28px; padding-block: 20px 32px; border-top: 1px solid var(--rule); font-size: var(--fs-xs); color: var(--ink-3); }
.site-footer__base a { text-decoration: none; }
.site-footer__base a:hover { color: var(--ink); text-decoration: underline; }
.site-footer__top { margin-left: auto; }

/* ── 첫 화면 ─────────────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--night); color: var(--on-night); overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__media img, .hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__poster { transform: translate3d(0, var(--py, 0px), 0) scale(1.06); transform-origin: 50% 40%; }
/* 저해상도 시드 사진: 채도·선명도를 낮추고 어둡게 덮어 화소가 덜 보이게 */
.hero__media.is-lowres img { filter: blur(1.6px) saturate(0.6) contrast(1.08) brightness(0.92); }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 16, 18, 0.55) 0%, rgba(15, 16, 18, 0) 22%),
    linear-gradient(0deg, rgba(15, 16, 18, 0.92) 0%, rgba(15, 16, 18, 0.62) 38%, rgba(15, 16, 18, 0.36) 72%),
    linear-gradient(90deg, rgba(15, 16, 18, 0.5) 0%, rgba(15, 16, 18, 0) 60%);
}
.hero__media::before {   /* 필름 입자: 확대된 사진의 계단 현상을 흐린다 */
  content: ""; position: absolute; inset: -50%; z-index: 1; opacity: 0.16; pointer-events: none; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__video { opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__video.is-playing { opacity: 1; }
.hero__inner { position: relative; padding-top: calc(var(--header-h) + 18vh); display: grid; gap: var(--sp-xl); justify-items: start; }
/* 첫 화면 일러스트: 왼쪽 40% 가 비어 있는 남색 영역이므로 글자 블록을 그 안에 세로 가운데로 두고 제목은 두 줄 */
.p-home .hero { justify-content: center; }
.p-home .hero__inner { padding-top: var(--header-h); padding-bottom: 96px; gap: var(--sp-lg); }
.p-home .hero__title--brand { font-size: clamp(2.25rem, 1.2rem + 5.4vw, 5.5rem); line-height: 1.0; max-width: 6.2em; overflow-wrap: normal; word-break: keep-all; }
.p-home .hero__lead { max-width: 26em; font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.3125rem); color: #DCE8F4; }
.p-home .hero__cta { margin-top: var(--sp-sm); }
.hero__title {
  font-family: var(--sans); font-weight: 600; font-size: var(--fs-hero); line-height: 1.15; letter-spacing: -0.03em;
  color: #F6F3EE; max-width: 13em;
}
:lang(en) .hero__title { letter-spacing: -0.03em; line-height: 1.04; font-size: clamp(2.375rem, 0.9rem + 4.4vw, 5.5rem); max-width: 15em; }
.hero__title .ln { display: block; }
.hero__title--brand, :lang(en) .hero__title--brand {
  font-family: var(--sans); font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; max-width: none;
}
.site-footer__slogan { font-family: var(--sans); font-weight: 500; font-size: var(--fs-sm); letter-spacing: 0; color: var(--ink-2); }
.hero__lead { max-width: 33em; font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1875rem); line-height: 1.75; color: #CFCBC4; }
.hero__cta { margin-top: var(--sp-xs); }
.hero__foot {
  position: relative; display: flex; justify-content: space-between; align-items: center; gap: var(--sp-md);
  margin-top: clamp(48px, 7vh, 96px); padding-block: 20px 28px; font-size: var(--fs-xs); letter-spacing: 0.04em; color: var(--on-night-2);
}
.p-home .hero__foot { position: absolute; left: 0; right: 0; bottom: 0; }
.hero__foot::before { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); top: 0; height: 1px; background: var(--night-rule); }
.hero__fields { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.hero__fields a { text-decoration: none; transition: color .2s; }
.hero__fields a:hover { color: var(--on-night); text-decoration: underline; }
.hero__scroll { text-decoration: none; }
.hero__scroll:hover { color: var(--on-night); }

/* 사진 + 숫자 분할 */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: min(100svh, 980px); background: var(--paper); }
.split__media { position: relative; overflow: hidden; background: var(--paper-2); }
.split__frame { position: absolute; inset: 0; overflow: hidden; }
.split__img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; filter: var(--grade); transform: translate3d(0, var(--py, 0px), 0) scale(1.08); }
.split__media figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 64px var(--gutter) 22px; font-size: var(--fs-xs); color: var(--on-night);
  background: linear-gradient(0deg, rgba(15, 16, 18, 0.7), rgba(15, 16, 18, 0));
}
.split__body { display: flex; flex-direction: column; gap: var(--sp-xl); padding: clamp(56px, 7vw, 128px) var(--gutter) clamp(48px, 5vw, 88px) clamp(32px, 5vw, 96px); }
.split__title { font-family: var(--sans); font-weight: 600; font-size: var(--fs-xl); line-height: 1.18; letter-spacing: -0.03em; max-width: 12em; text-wrap: balance; }
.figures { margin-top: auto; padding-top: var(--sp-2xl); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 4.4vw, 80px) var(--col-gap); }
.figure { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.figure dt { order: 2; display: grid; gap: 2px; }
.figure__label { font-size: var(--fs-xs); font-weight: 500; color: var(--ink-3); line-height: 1.5; }
.figure__desc { font-size: var(--fs-xs); color: var(--ink-3); line-height: 1.5; opacity: 0.8; }
.figure__num { order: 1; display: flex; align-items: baseline; flex-wrap: wrap; min-width: 0; font-family: var(--sans); font-size: clamp(2.25rem, 1.4rem + 2.6vw, 4.5rem); font-weight: 300; line-height: 1; letter-spacing: -0.03em; white-space: nowrap; }
.figure__unit { font-family: var(--sans); font-size: var(--fs-sm); font-weight: 400; letter-spacing: 0; margin-left: 0.45em; color: var(--ink-3); }

/* 사업분야: 번호 줄 목록 + 고정 사진 한 장 */
.flines { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: start; }
.flines__rows { grid-column: 1 / span 7; border-bottom: 1px solid var(--rule); }
.fline a {
  display: grid; grid-template-columns: 2.5rem minmax(0, 1.1fr) minmax(0, 1fr) 1.5rem; column-gap: var(--col-gap); align-items: baseline;
  padding: clamp(22px, 2.4vw, 36px) 0; border-top: 1px solid var(--rule); text-decoration: none; color: inherit;
}
.fline__no { font-size: var(--fs-xs); color: var(--ink-3); }
.fline__name { font-family: var(--sans); font-weight: 600; font-size: var(--fs-lg); line-height: 1.2; letter-spacing: -0.03em; transition: color .4s var(--ease); }
.fline__desc { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.6; }
.fline__go { justify-self: end; font-size: 1.25rem; transition: transform .4s var(--ease); }
.fline a.is-on .fline__go, .fline a:hover .fline__go, .fline a:focus-visible .fline__go { transform: translateX(6px); }
.flines__rows:hover .fline a:not(:hover) .fline__name { color: var(--ink-3); }
.flines__media { grid-column: 9 / -1; position: sticky; top: calc(var(--header-h) + 24px); aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); }
.flines__pic { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease); }
.flines__pic.is-on { opacity: 1; }
.flines__img { width: 100%; height: 100%; object-fit: cover; filter: var(--grade); }

/* 선언 */
.statement { position: relative; min-height: clamp(560px, 92vh, 960px); display: flex; align-items: center; background: var(--night); color: var(--on-night); overflow: hidden; isolation: isolate; }
.statement__media { position: absolute; inset: 0; z-index: -1; }
.statement__img { width: 100%; height: 100%; object-fit: cover; filter: blur(1.4px) saturate(0.45) brightness(0.62) contrast(1.1); transform: translate3d(0, var(--py, 0px), 0) scale(1.1); }
.statement__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 16, 18, 0.82) 0%, rgba(15, 16, 18, 0.45) 70%, rgba(15, 16, 18, 0.3) 100%); }
.statement__inner { display: grid; gap: var(--sp-2xl); justify-items: start; padding-block: var(--sec-y); }
.statement .eyebrow { color: var(--on-night-2); }
.statement__text { font-family: var(--sans); font-weight: 600; font-size: clamp(2.25rem, 0.9rem + 5vw, 6.25rem); line-height: 1.14; letter-spacing: -0.03em; color: #F6F3EE; }
.statement__text .ln { display: block; }

/* 주요 발주처 줄 */
.clients { padding-block: clamp(64px, 7vw, 128px); background: var(--paper); }
.clients__label { text-align: center; font-family: var(--sans); font-weight: 600; font-size: var(--fs-md); line-height: 1.4; letter-spacing: -0.01em; color: var(--ink); }
.clients__list {
  display: grid; grid-template-columns: repeat(var(--cn, 6), minmax(0, 1fr)); gap: clamp(32px, 4vw, 64px) var(--col-gap); align-items: center;
  margin-top: clamp(40px, 5vw, 80px); text-align: center; font-size: clamp(1rem, 0.9rem + 0.4vw, 1.25rem); font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; color: var(--ink-2);
}
/* 로고는 모두 한 가지 잉크색 단색(투명 배경 이미지를 검게 만든 뒤 --ink-2 와 같은 농도로). 마우스를 올려도 색을 바꾸지 않는다. */
.clients__list li { display: flex; justify-content: center; align-items: center; min-height: 40px; }
.clients__list img { display: block; height: calc(var(--lh, 28) * 1px); width: auto; max-width: 100%; object-fit: contain; }   /* 2026-10-22 사장님: 발주처 로고는 흑백 말고 원색(brightness(0)·opacity .68 삭제) */

/* 설계·제작·시공 */
.caps { border-bottom: 1px solid var(--rule); }
.caps__row {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: var(--sp-lg); align-items: start;
  padding-block: clamp(32px, 3.6vw, 56px); border-top: 1px solid var(--rule);
}
.caps__no { grid-column: 1; justify-self: start; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid var(--rule-strong); font-size: var(--fs-xs); color: var(--ink-2); }
.caps__title { grid-column: 2 / span 3; font-family: var(--sans); font-weight: 600; font-size: var(--fs-lg); line-height: 1.2; letter-spacing: -0.03em; padding-top: 0.1em; }
.caps__text { grid-column: 5 / span 3; display: grid; gap: var(--sp-lg); min-width: 0; }
.caps__cap { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.65; }
.caps__fig { grid-column: 8 / -1; min-width: 0; }
.caps__frame { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-2); }
.caps__img { width: 100%; height: 100%; object-fit: cover; filter: var(--grade); }
.caps__img--dwg { filter: none; background: #fff; }
.caps__fig--dwg .caps__frame { overflow: visible; }
.caps__inset {
  position: absolute; right: 0; bottom: -14px; width: 55%; height: auto; aspect-ratio: 1040 / 628; object-fit: cover;
  background: var(--mat); border: 1px solid var(--rule-strong);
}
.caps__spec { display: grid; border-top: 1px solid var(--rule); font-size: var(--fs-sm); }
.caps__spec > div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: var(--sp-md); padding-block: 10px; border-bottom: 1px solid var(--rule); }
.caps__spec dt { font-weight: 600; color: var(--ink); }
.caps__spec dd { color: var(--ink-2); line-height: 1.55; }

/* 큰 숫자 머리(최근 실적·실적 화면) */
.tally { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: var(--sp-lg); }
.tally__label { grid-column: 1 / -1; padding-bottom: var(--sp-sm); border-bottom: 1px solid var(--rule-strong); font-family: var(--sans); font-size: var(--fs-sm); font-weight: 500; line-height: 1.4; letter-spacing: 0; }
.tally__num { grid-column: 1 / span 7; display: flex; align-items: baseline; min-width: 0; font-family: var(--sans); font-weight: 300; font-size: clamp(6rem, 2rem + 13vw, 16rem); line-height: 0.86; letter-spacing: -0.03em; white-space: nowrap; }
.tally__unit { font-family: var(--sans); font-size: var(--fs-md); font-weight: 400; letter-spacing: 0; margin-left: 0.35em; color: var(--ink-3); }
.tally__side { grid-column: 9 / -1; display: grid; gap: var(--sp-md); justify-items: start; align-content: start; padding-top: var(--sp-sm); max-width: 30em; font-size: var(--fs-sm); color: var(--ink-2); }
.phead__inner > .tally { grid-column: 1 / -1; }
.ftable { width: 100%; margin-top: clamp(56px, 6vw, 112px); border-collapse: collapse; }
.ftable thead th { text-align: left; font-size: var(--fs-xs); font-weight: 400; color: var(--ink-3); padding: 0 var(--col-gap) 10px 0; border-bottom: 1px solid var(--rule-strong); white-space: nowrap; }
.ftable td, .ftable tbody th { text-align: left; vertical-align: baseline; padding: 20px var(--col-gap) 20px 0; border-bottom: 1px solid var(--rule); font-size: var(--fs-sm); font-weight: 400; line-height: 1.5; color: var(--ink-2); }
.ftable .r { text-align: right; padding-right: 0; }
.ftable td.ftable__year { width: 11%; font-size: var(--fs-md); font-weight: 300; letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; }
.ftable__year small { font-size: 0.55em; color: var(--ink-3); letter-spacing: 0; margin-left: 2px; }
.ftable td.ftable__client { width: 18%; }
.ftable tbody th.ftable__title { font-family: var(--sans); font-weight: 600; font-size: var(--fs-md); letter-spacing: -0.02em; line-height: 1.4; color: var(--ink); }
.ftable__scope { display: block; margin-top: 6px; font-family: var(--sans); font-size: var(--fs-xs); letter-spacing: 0; color: var(--ink-3); }
.ftable td.ftable__field { width: 14%; }
.ftable td.ftable__cap { width: 13%; white-space: nowrap; }
.ftable__cap .num { font-size: var(--fs-base); color: var(--ink); }
.ftable__cap .unit { font-size: var(--fs-xs); color: var(--ink-3); }

/* 인증 띠 + ESG·ISO */
.frames { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--col-gap); }
.frames a .frame__cap { text-wrap: balance; }
.irows { margin-top: clamp(56px, 6vw, 112px); border-bottom: 1px solid var(--rule-strong); }
.irow {
  display: grid; grid-template-columns: minmax(8rem, 2fr) minmax(0, 4fr) minmax(0, 5fr) auto; gap: var(--col-gap); align-items: baseline;
  padding: clamp(24px, 2.6vw, 40px) 0; border-top: 1px solid var(--rule-strong); text-decoration: none; color: inherit;
}
.irow__k { font-size: var(--fs-xs); font-weight: 600; color: var(--ink-3); letter-spacing: 0.04em; }
.irow__t { font-family: var(--sans); font-weight: 600; font-size: var(--fs-lg); letter-spacing: -0.03em; line-height: 1.2; }
.irow__d { font-size: var(--fs-sm); color: var(--ink-2); }
.irow__go { font-size: 1.375rem; transition: transform .4s var(--ease); }
.irow:hover .irow__go { transform: translateX(6px); }
.irow:hover .irow__t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }

/* 문의 유도 */
.cta { background: var(--night); color: var(--on-night); padding-block: var(--sec-y); }
.cta__inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: var(--sp-2xl); align-items: end; }
.cta__title { grid-column: 1 / span 7; font-family: var(--sans); font-weight: 600; font-size: var(--fs-xl); line-height: 1.16; letter-spacing: -0.03em; text-wrap: balance; }
.cta__side { grid-column: 9 / -1; display: grid; gap: var(--sp-xl); }
.cta__text { color: var(--on-night-2); }
.cta__row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-lg) var(--sp-xl); }
.cta__tel { font-size: var(--fs-md); font-weight: 300; text-decoration: none; letter-spacing: -0.01em; }
.cta__tel:hover { text-decoration: underline; }

/* ── 하위 화면 머리 ───────────────────────────────────────────────────── */
.phead { padding-block: clamp(56px, 7vw, 136px) clamp(40px, 4.4vw, 80px); border-bottom: 1px solid var(--rule-strong); }
.phead__inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: var(--sp-xl); align-items: end; }
.crumbs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--fs-xs); color: var(--ink-3); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.phead__title { grid-column: 1 / span 8; font-family: var(--sans); font-weight: 600; font-size: var(--fs-2xl); line-height: 1.15; letter-spacing: -0.03em; text-wrap: balance; }
.phead__lead { grid-column: 9 / -1; color: var(--ink-2); max-width: 30em; padding-bottom: 0.5em; }

/* 실적 */
.mapband { background: var(--paper-2); padding-block: clamp(48px, 5vw, 88px); }
.mapband__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: var(--sp-2xl); align-items: center; }
.mapband .wmap { grid-column: 1 / span 8; }
.clist { grid-column: 9 / -1; }
.clist__title { font-family: var(--sans); font-weight: 600; font-size: var(--fs-lg); letter-spacing: -0.03em; }
.clist__hint { margin-top: var(--sp-xs); font-size: var(--fs-sm); color: var(--ink-2); }
.clist ul { margin-top: var(--sp-lg); columns: 2; column-gap: var(--col-gap); }
.clist li { break-inside: avoid; }
.clist a { display: flex; justify-content: space-between; gap: var(--sp-sm); padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: var(--fs-sm); text-decoration: none; }
.clist a .num { color: var(--ink-3); }
.clist a:hover, .clist a.is-on { font-weight: 600; }
.clist a.is-on span:first-child::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; background: var(--signal); vertical-align: 0.1em; }

.filters { display: grid; gap: var(--sp-md); padding-bottom: var(--sp-xl); }
.ftabs { display: block; border: 0; margin: 0; padding: 0; min-width: 0; }
.ftabs legend { float: left; width: 6.5rem; padding: 7px 0 0; font-size: var(--fs-xs); color: var(--ink-3); }
.ftabs label { display: inline-block; position: relative; margin: 0 22px 4px 0; cursor: pointer; }
.ftabs input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ftabs label span { display: inline-block; padding: 4px 0 6px; font-size: var(--fs-sm); color: var(--ink-3); border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.ftabs label:hover span { color: var(--ink); }
.ftabs input:checked + span { color: var(--ink); font-weight: 600; border-bottom-color: var(--ink); }
.ftabs input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.filters__row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--sp-md) var(--sp-xl); padding-top: var(--sp-md); }
.ffield { display: grid; gap: 4px; }
.ffield label { font-size: var(--fs-xs); color: var(--ink-3); }
.ffield select, .ffield input {
  min-height: 42px; min-width: 11rem; padding: 6px 0; background: transparent; border: 0; border-bottom: 1px solid var(--rule-strong); border-radius: 0;
  font-size: var(--fs-sm);
}
.ffield select { padding-right: 24px; appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2315171A'/%3E%3C/svg%3E") no-repeat right 4px center; }
.ffield select:focus, .ffield input:focus { outline: none; border-bottom-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.ffield--q { flex: 1 1 16rem; }
.ffield--q input { width: 100%; }
.filters__actions { display: flex; align-items: center; gap: var(--sp-lg); }
.listbar { display: flex; justify-content: space-between; align-items: baseline; gap: var(--sp-md); padding: var(--sp-xl) 0 var(--sp-md); border-top: 1px solid var(--ink); }
.listbar__count { font-size: var(--fs-sm); color: var(--ink-2); }
.listbar__count strong { font-size: var(--fs-lg); font-weight: 300; color: var(--ink); letter-spacing: -0.03em; margin-right: 2px; }
.viewtoggle { display: flex; gap: var(--sp-lg); }
.viewtoggle a { font-size: var(--fs-sm); color: var(--ink-3); text-decoration: none; padding-bottom: 4px; border-bottom: 1px solid transparent; }
.viewtoggle a[aria-current="true"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--ink); }

/* 사업분야 목록 */
.page--flush { padding-top: 0; }
.frow { border-bottom: 1px solid var(--rule-strong); }
.frow a { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: var(--sp-lg); padding-block: clamp(32px, 4vw, 64px); text-decoration: none; color: inherit; }
.frow__fig { grid-column: 1 / span 7; aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-2); }
.frow__img { width: 100%; height: 100%; object-fit: cover; filter: var(--grade); transition: transform 1.2s var(--ease), filter .6s; }
.frow a:hover .frow__img { transform: scale(1.03); filter: var(--grade-hover); }
.frow__body { grid-column: 9 / -1; display: flex; flex-direction: column; gap: var(--sp-sm); }
.frow:nth-child(even) .frow__fig { grid-column: 6 / -1; grid-row: 1; }
.frow:nth-child(even) .frow__body { grid-column: 1 / span 4; grid-row: 1; }
.frow__no { font-size: var(--fs-xs); color: var(--ink-3); }
.frow__name { font-family: var(--sans); font-weight: 600; font-size: var(--fs-xl); line-height: 1.12; letter-spacing: -0.03em; }
.frow__en { font-size: var(--fs-xs); color: var(--ink-3); letter-spacing: 0.08em; text-transform: uppercase; }
.frow__sum { margin-top: var(--sp-sm); color: var(--ink-2); max-width: 26em; }
.frow__foot { margin-top: auto; padding-top: var(--sp-xl); display: flex; justify-content: space-between; align-items: baseline; gap: var(--sp-md); font-size: var(--fs-sm); color: var(--ink-2); border-top: 1px solid var(--rule); }
.frow__foot .arrow-link { color: var(--ink); }

/* 사업분야 상세(매거진식) */
.bhead { padding-block: clamp(40px, 4vw, 72px) 0; }
.bhead__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: var(--sp-2xl); align-items: end; }
.bhead__text { grid-column: 1 / span 5; display: grid; gap: var(--sp-md); padding-bottom: clamp(8px, 1vw, 16px); }
.bhead__text .crumbs { margin-bottom: clamp(24px, 4vw, 72px); }
.bhead__no { font-size: var(--fs-sm); }
.bhead__no span { color: var(--ink-3); }
.bhead__title { font-family: var(--sans); font-weight: 600; font-size: var(--fs-2xl); line-height: 1.15; letter-spacing: -0.03em; }
.bhead__en { font-size: var(--fs-xs); color: var(--ink-3); letter-spacing: 0.08em; text-transform: uppercase; }
.bhead__lead { margin-top: var(--sp-md); font-size: var(--fs-md); line-height: 1.55; color: var(--ink-2); max-width: 22em; }
.bhead__fig { grid-column: 6 / -1; aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-2); }
.bhead__img { width: 100%; height: 100%; object-fit: cover; filter: var(--grade); }
.bbody { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: var(--sp-2xl); padding-top: clamp(24px, 3vw, 48px); }
.bbody__aside { grid-column: 1 / span 3; align-self: start; position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: var(--sp-lg); }
/* 공정 구성: 왼쪽 제목·번호 범례, 오른쪽 그림(1440 에서 폭 640~680, 키가 큰 그림은 높이 620 기준) */
.bproc { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: var(--sp-lg); padding: clamp(24px, 3vw, 48px) 0; border-bottom: 1px solid var(--rule); }
.bproc__head { grid-column: 1 / span 3; align-self: start; display: grid; gap: var(--sp-lg); }
.bproc__fig { grid-column: 5 / -1; margin: 0; }
.bproc__fig .drawing { display: block; width: min(100%, 680px, calc(620px * var(--ar, 1.3))); height: auto; }
/* 공정 계통 두 층: 위 = 공정 흐름도(기호가 곧 선택 버튼), 아래 = 선택한 단계 설비 등각 그림 */
.bproc--train { display: block; }
.bproc--train > .eyebrow { margin-bottom: clamp(16px, 2vw, 28px); }
.pfd__scroll { overflow-x: auto; scrollbar-width: none; }
.pfd__scroll::-webkit-scrollbar { display: none; }
.pfd { display: block; width: 100%; min-width: 720px; height: auto; color: var(--ink); overflow: visible; }
.pfd * { vector-effect: non-scaling-stroke; }
.pfd .pf { fill: var(--paper); }
.pfd__step { cursor: pointer; outline: none; }
.pfd__hit { fill: transparent; stroke: none; }
.pfd__step:hover .pfd__hit { fill: var(--paper-2); }
.pfd__step:focus-visible .pfd__hit { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 3 3; }
.pfd__no { fill: var(--paper); stroke: var(--ink); stroke-width: 1; }
.pfd__num { font-size: 11px; font-weight: 600; fill: var(--ink); font-variant-numeric: tabular-nums; }
.pfd__name { font-size: 12.5px; fill: var(--ink-2); }
.pfd__ptr { fill: var(--signal); opacity: 0; }
.pfd__step[aria-pressed="true"] .pf { fill: color-mix(in srgb, var(--signal) 16%, var(--paper)); }
.pfd__step[aria-pressed="true"] .pfd__sym { stroke-width: 1.75; }
.pfd__step[aria-pressed="true"] .pfd__no { fill: var(--signal); stroke: var(--signal); }
.pfd__step[aria-pressed="true"] .pfd__name { fill: var(--ink); font-weight: 700; }
.pfd__step[aria-pressed="true"] .pfd__ptr { opacity: 1; }
.ptrain__figs { margin-top: 8px; padding-top: clamp(16px, 2vw, 32px); border-top: 1px solid var(--rule); }
.ptrain__fig { margin: 0; display: grid; grid-template-columns: minmax(0, 680px) minmax(0, 1fr); gap: var(--col-gap); align-items: center; }
.ptrain__draw .drawing { display: block; width: min(100%, 680px, calc(540px * var(--ar, 1.3))); height: auto; margin-inline: auto; }
.ptrain__cap { display: grid; gap: 18px; align-content: center; }
.ptrain__title { display: grid; gap: 4px; margin: 0; }
.ptrain__desc { margin: 0; max-width: 34em; font-size: var(--fs-base); line-height: 1.7; color: var(--ink); }
.ptrain__parts { max-width: 34em; padding-top: 12px; border-top: 1px solid var(--rule); }
.ptrain__ph { margin: 0 0 4px; font-size: var(--fs-xs); color: var(--ink-3); }
.ptrain__parts ul { margin: 0; padding: 0; list-style: none; font-size: var(--fs-sm); color: var(--ink-2); }
.ptrain__parts li { padding: 6px 0; border-bottom: 1px solid var(--rule); }
.ptrain__no { font-size: var(--fs-sm); color: var(--ink-3); }
.ptrain__cap strong { font-size: 1.375rem; font-weight: 700; line-height: 1.3; }
.ptrain__en { font-size: var(--fs-sm); color: var(--ink-3); }
@keyframes ptrain-in { from { opacity: 0; } }
@media (prefers-reduced-motion: no-preference) { .ptrain__fig:not([hidden]) { animation: ptrain-in 200ms ease-out; } }
@media (max-width: 760px) { .ptrain__fig { grid-template-columns: minmax(0, 1fr); } .ptrain__draw .drawing { width: 100%; } }
.bbody__aside .kv > div { grid-template-columns: 1fr auto; }
.bbody__aside .kv dd { font-size: var(--fs-md); font-weight: 300; text-align: right; }
.bbody__main { grid-column: 1 / -1; }   /* 왼쪽 실적 칸 삭제(2026-10-20) 뒤 전체 폭 */
.bsec__title { font-family: var(--sans); font-weight: 600; font-size: var(--fs-lg); letter-spacing: -0.03em; line-height: 1.2; margin-bottom: var(--sp-xl); }
.bsec__title .num { font-family: var(--sans); font-size: 0.6em; font-weight: 300; color: var(--ink-3); margin-left: 6px; }
.bgallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 3vw, 56px) var(--col-gap); }
.bgallery .is-wide { grid-column: 1 / -1; }
.bgallery__frame { aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-2); }
.bgallery__frame img { width: 100%; height: 100%; object-fit: cover; filter: var(--grade); }
.bgallery figcaption { display: grid; grid-template-columns: 2.25rem 1fr; gap: 4px; padding-top: var(--sp-sm); font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.55; }
.bgallery figcaption .num { font-size: var(--fs-xs); color: var(--ink-3); padding-top: 0.15em; }
.bbody .prose { margin-top: var(--sp-2xl); }
.related { margin-top: var(--sec-y); }
.related__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--sp-md); flex-wrap: wrap; }
.related__head .bsec__title { margin-bottom: var(--sp-lg); }
.otherfields { margin-top: var(--sec-y); padding-top: var(--sp-xl); border-top: 1px solid var(--ink); display: grid; gap: var(--sp-xl); }
.otherfields ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--col-gap); }
.otherfields a { display: grid; gap: var(--sp-sm); text-decoration: none; font-weight: 600; font-size: var(--fs-sm); }
.otherfields__fig { aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-2); }
.otherfields__fig img { width: 100%; height: 100%; object-fit: cover; filter: var(--grade); transition: transform 1s var(--ease); }
.otherfields a:hover img { transform: scale(1.04); }
.otherfields a:hover .otherfields__name { text-decoration: underline; }

/* 인증·특허 */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: clamp(40px, 4vw, 64px) var(--col-gap); }
.gcard__meta { display: grid; gap: 4px; margin-top: var(--sp-md); justify-items: start; }
.gcard__kind { font-size: var(--fs-xs); color: var(--ink-3); }
.gcard__title { font-size: var(--fs-sm); font-weight: 600; line-height: 1.45; }
.gcard__no { font-size: var(--fs-xs); color: var(--ink-2); }
.gcard__meta .arrow-link { margin-top: 6px; font-size: var(--fs-xs); }

/* ESG */
.docbar { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--sp-md) var(--sp-xl); padding-bottom: var(--sp-xl); margin-bottom: clamp(48px, 5vw, 96px); border-bottom: 1px solid var(--rule); }
.docbar ul { display: flex; flex-wrap: wrap; gap: var(--sp-sm) var(--sp-xl); }
.esg-intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: var(--sp-xl); }
.esg-intro__title { grid-column: 1 / span 5; font-family: var(--sans); font-weight: 600; font-size: var(--fs-xl); line-height: 1.16; letter-spacing: -0.03em; text-wrap: balance; }
.esg-intro .prose { grid-column: 7 / -1; }
.esg-intro__side { grid-column: 1 / span 5; display: grid; gap: var(--sp-xl); align-content: start; }
.esg-intro__side .esg-intro__title { grid-column: auto; }
/* ESG 운영 체계도(2026-10-20): 칸은 먹선 1px, 칸 사이 세로선, 아래 T/F 줄은 가로선에서 내려온다 */
.esg-org { display: grid; justify-items: center; gap: 22px; margin: 0; padding: 22px 0 4px; border-top: 1px solid var(--rule); }
.esg-org figcaption { justify-self: start; }
.esg-org__box { position: relative; margin: 0; padding: 10px 14px; border: 1px solid var(--ink); background: var(--paper); font-size: var(--fs-sm); font-weight: 500; line-height: 1.35; text-align: center; word-break: keep-all; }
.esg-org__box--top { background: var(--ink); color: var(--paper); min-width: 12em; }
.esg-org__box--mid { min-width: 14em; font-weight: 600; }
.esg-org__box--top::after, .esg-org__box--mid::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 22px; background: var(--ink); }
.esg-org__tfs { position: relative; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 8px; width: 100%; margin: 0; padding: 14px 0 0; list-style: none; }
.esg-org__tfs::before { content: ""; position: absolute; top: 0; left: calc(100% / var(--n, 4) / 2); right: calc(100% / var(--n, 4) / 2); height: 1px; background: var(--ink); }
.esg-org__tfs .esg-org__box { padding: 9px 6px; font-size: var(--fs-xs); }
.esg-org__tfs .esg-org__box::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 1px; height: 15px; background: var(--ink); }
.pillar__side { grid-column: 1 / span 4; display: grid; gap: var(--sp-xl); align-content: start; }
.pillar__side .pillar__letter { grid-column: auto; }
.pillar__art { position: sticky; top: calc(var(--header-h, 72px) + 32px); }
.pillar__art .esgart { display: block; width: 100%; max-width: 380px; height: auto; }
/* ISO PDCA 순환도 띠 + 카드 인증 주기 막대 */
.pdca-band { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: center; padding-bottom: clamp(32px, 4vw, 64px); margin-bottom: clamp(32px, 4vw, 64px); border-bottom: 1px solid var(--rule-strong); }
.pdca-band__text { grid-column: 1 / span 4; display: grid; gap: var(--sp-md); }
.pdca-band__text h2 { font-family: var(--sans); font-weight: 600; font-size: var(--fs-xl); line-height: 1.16; letter-spacing: -0.03em; }
.pdca-band__text p { color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.7; word-break: keep-all; }
.pdca-band__art { grid-column: 6 / -1; }
.pdca { display: block; width: 100%; max-width: 680px; height: auto; font-family: inherit; }
.isocycle { display: grid; gap: 14px; }
.isocycle__bar { position: relative; height: 6px; margin: 30px 0 30px; background: color-mix(in srgb, var(--ink) 12%, transparent); }
.isocycle__fill { position: absolute; inset: 0 auto 0 0; width: var(--now); background: var(--ink); }
.isocycle__tick { position: absolute; top: -6px; width: 1px; height: 18px; background: var(--ink); }
.isocycle__tick b, .isocycle__tick i { position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; font-style: normal; font-size: var(--fs-xs); }
.isocycle__tick b { bottom: calc(100% + 4px); font-weight: 500; color: var(--ink-2); }
.isocycle__tick i { top: calc(100% + 4px); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.isocycle__tick--end b, .isocycle__tick--end i { left: auto; right: 0; transform: none; }
.isocycle__now { position: absolute; left: var(--now); top: 50%; width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 3px var(--paper); }
.isocycle__now b { position: absolute; left: 50%; top: calc(100% + 8px); transform: translateX(-50%); white-space: nowrap; font-size: var(--fs-xs); font-weight: 600; color: var(--signal); }
.isocycle__dates { display: flex; justify-content: space-between; font-size: var(--fs-xs); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.esg-intro .prose p > em:only-child, .pillar .prose p > em:only-child { font-style: normal; font-size: var(--fs-sm); color: var(--ink-3); }   /* 출처 줄 */
.pillars { margin-top: var(--sec-y); border-bottom: 1px solid var(--rule-strong); }
.pillar { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: var(--sp-lg); padding-block: clamp(40px, 4vw, 72px); border-top: 1px solid var(--rule-strong); }
.pillar__letter { grid-column: 1 / span 3; font-family: var(--sans); font-weight: 300; font-size: clamp(5rem, 3rem + 7vw, 11rem); line-height: 0.8; letter-spacing: -0.03em; }
.pillar__body { grid-column: 5 / -1; display: grid; gap: var(--sp-md); align-content: start; }
.pillar__body h2 { font-family: var(--sans); font-weight: 600; font-size: var(--fs-lg); letter-spacing: -0.03em; line-height: 1.25; }

/* ISO */
.isocard { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: var(--sp-2xl); padding-block: clamp(32px, 4vw, 64px); border-top: 1px solid var(--rule-strong); }
.isocard:first-child { border-top: 0; padding-top: 0; }
.isocard__code { grid-column: 1 / span 4; display: grid; gap: var(--sp-xl); align-content: start; justify-items: start; }
.isocard__code p { display: flex; align-items: baseline; gap: 12px; }
.isocard__code span { font-size: var(--fs-sm); font-weight: 600; color: var(--ink-3); }
.isocard__code strong { font-size: var(--fs-num); font-weight: 300; line-height: 0.9; letter-spacing: -0.05em; }
.isocard__frame { width: min(240px, 100%); }
.isocard__body { grid-column: 6 / -1; display: grid; gap: var(--sp-xl); align-content: start; }
.isocard__body h2 { font-family: var(--sans); font-weight: 600; font-size: var(--fs-xl); line-height: 1.16; letter-spacing: -0.03em; }
.isocard__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-lg); }
.policy { padding-top: var(--sp-xl); border-top: 1px solid var(--ink); }
.policy h3 { font-family: var(--sans); font-weight: 600; font-size: var(--fs-md); letter-spacing: -0.02em; margin-bottom: var(--sp-md); }

/* 소식 */
.newslist { border-bottom: 1px solid var(--rule-strong); }
.newslist a { display: grid; grid-template-columns: 9rem minmax(0, 1fr) auto; gap: var(--col-gap); align-items: baseline; padding: clamp(20px, 2vw, 32px) 0; border-top: 1px solid var(--rule-strong); text-decoration: none; }
.newslist time { font-size: var(--fs-sm); color: var(--ink-3); }
.newslist h2 { font-family: var(--sans); font-weight: 600; font-size: var(--fs-md); letter-spacing: -0.025em; line-height: 1.4; }
.newslist a:hover h2 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.newslist__go { transition: transform .3s var(--ease); }
.newslist a:hover .newslist__go { transform: translateX(4px); }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); font-weight: 600; }
.badge::before { content: ""; width: 7px; height: 7px; background: var(--signal); }
.article { max-width: calc(760px + 2 * var(--gutter)); }
.article__meta { font-size: var(--fs-sm); color: var(--ink-3); margin-bottom: var(--sp-xl); }
.article__cover { margin-bottom: var(--sp-2xl); }
.article__cover img { width: 100%; }
.more { margin-top: var(--sp-3xl); }

/* 회사소개 */
.subnav { position: sticky; top: var(--header-h); z-index: 20; background: color-mix(in srgb, var(--paper) 95%, transparent); border-bottom: 1px solid var(--rule); }
.subnav ul { display: flex; gap: clamp(20px, 2.6vw, 40px); overflow-x: auto; scrollbar-width: none; }
.subnav a { display: block; padding: 16px 0 15px; font-size: var(--fs-sm); color: var(--ink-3); text-decoration: none; white-space: nowrap; border-bottom: 1px solid transparent; margin-bottom: -1px; }
.subnav a:hover { color: var(--ink); }
.subnav a.is-on { color: var(--ink); font-weight: 600; border-bottom-color: var(--ink); }
.asec { padding-block: var(--sec-y); border-top: 1px solid var(--rule); }
.asec:first-of-type { border-top: 0; }
.asec__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: var(--sp-xl); }
.asec__head { grid-column: 1 / span 4; display: grid; gap: var(--sp-sm); align-content: start; }
.asec__head p { font-size: var(--fs-xs); color: var(--ink-3); }
.asec__head h2 { font-family: var(--sans); font-weight: 600; font-size: var(--fs-xl); line-height: 1.12; letter-spacing: -0.03em; }
.asec__body { grid-column: 5 / -1; min-width: 0; }
.asec__sub { margin: var(--sp-3xl) 0 var(--sp-lg); font-size: var(--fs-xs); font-weight: 600; color: var(--ink-3); }
.overview > div { display: grid; grid-template-columns: minmax(6rem, 10rem) 1fr; gap: var(--sp-md); padding: 16px 0; border-top: 1px solid var(--rule); }
.overview > div:last-child { border-bottom: 1px solid var(--rule); }
.overview dt { font-size: var(--fs-xs); color: var(--ink-3); padding-top: 3px; }
/* 핵심가치 도식(겹친 원 4개, 가운데 공통 교집합만 주황). 원·이름·아래 목록이 data-v 로 짝. 마우스나 포커스가 오면 그 원만 굵게 + 연한 파랑, 나머지 0.4 */
.vd { --vd-blue: #007AC3; display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); column-gap: clamp(32px, 4vw, 64px); align-items: center; }
.vd__fig { display: block; width: 100%; max-width: 400px; height: auto; overflow: visible; }
.vd__name, .vd__def, .vd__lead, .vd__pin, .vd__note { display: none; }
.vd__fig * { vector-effect: non-scaling-stroke; }
.vd__v { cursor: default; outline: none; transition: opacity 0.2s var(--ease); }
.vd__c { fill: transparent; stroke: var(--ink); stroke-width: 1; transition: fill 0.2s var(--ease), stroke-width 0.2s var(--ease); }
.vd__tag { font-family: var(--sans); font-weight: 600; font-size: 13px; letter-spacing: 0.16em; fill: var(--vd-blue); }
.vd__name { font-family: var(--sans); font-weight: 600; font-size: 26px; letter-spacing: -0.02em; fill: var(--ink); }
.vd__def { font-family: var(--sans); font-size: 13px; fill: var(--ink-2); }
.vd__lead { fill: none; stroke: var(--ink); stroke-width: 0.75; }
.vd__pin { fill: var(--ink); }
.vd__deco path { fill: none; stroke: var(--ink-3); stroke-width: 0.75; }
.vd__deco circle { fill: var(--ink-3); }
.vd__note text { font-family: var(--sans); font-weight: 600; font-size: 12px; letter-spacing: 0.14em; fill: var(--vd-blue); }
.vd__note path { fill: none; stroke: var(--vd-blue); stroke-width: 1; }
.vd__core { fill: var(--signal); }
.vd__mark { fill: #fff; pointer-events: none; }
.vd__mark .vd__hole { fill: var(--signal); }
.vd__list { display: grid; border-bottom: 1px solid var(--rule); transition: opacity 0.2s var(--ease); }
.vd__list li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); column-gap: var(--sp-md); row-gap: 8px; padding: 28px 0; border-top: 1px solid var(--rule); transition: opacity 0.2s var(--ease); }
.vd__list li:first-child { border-top-color: var(--ink); }
.vd__no { grid-row: 1 / span 2; font-size: var(--fs-sm); color: var(--ink-3); padding-top: 10px; }
.vd__k { font-family: var(--sans); font-weight: 600; font-size: clamp(1.75rem, 1.2rem + 1.2vw, 2.25rem); letter-spacing: -0.02em; line-height: 1.2; }
.vd__t { grid-column: 2; font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); line-height: 1.6; color: var(--ink-2); text-wrap: pretty; word-break: keep-all; }
.vd__v:is(:hover, :focus-visible) .vd__c { stroke-width: 2; fill: rgba(0, 122, 195, 0.07); }
.vd:has([data-v="1"]:hover, [data-v="1"]:focus-visible) :is(.vd__v, .vd__list li):not([data-v="1"]) { opacity: 0.4; }
.vd:has(.vd__list li[data-v="1"]:hover) .vd__v[data-v="1"] .vd__c { stroke-width: 2; fill: rgba(0, 122, 195, 0.07); }
.vd:has([data-v="2"]:hover, [data-v="2"]:focus-visible) :is(.vd__v, .vd__list li):not([data-v="2"]) { opacity: 0.4; }
.vd:has(.vd__list li[data-v="2"]:hover) .vd__v[data-v="2"] .vd__c { stroke-width: 2; fill: rgba(0, 122, 195, 0.07); }
.vd:has([data-v="3"]:hover, [data-v="3"]:focus-visible) :is(.vd__v, .vd__list li):not([data-v="3"]) { opacity: 0.4; }
.vd:has(.vd__list li[data-v="3"]:hover) .vd__v[data-v="3"] .vd__c { stroke-width: 2; fill: rgba(0, 122, 195, 0.07); }
.vd:has([data-v="4"]:hover, [data-v="4"]:focus-visible) :is(.vd__v, .vd__list li):not([data-v="4"]) { opacity: 0.4; }
.vd:has(.vd__list li[data-v="4"]:hover) .vd__v[data-v="4"] .vd__c { stroke-width: 2; fill: rgba(0, 122, 195, 0.07); }
@media (prefers-reduced-motion: reduce) { .vd__v, .vd__c, .vd__list li { transition: none; } }
.greeting__title { font-family: var(--sans); font-weight: 600; font-size: var(--fs-lg); line-height: 1.35; letter-spacing: -0.03em; max-width: 22em; margin-bottom: var(--sp-2xl); text-wrap: balance; }
.timeline li { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: var(--sp-md); padding: 14px 0; border-top: 1px solid var(--rule); }
.timeline li:last-child { border-bottom: 1px solid var(--rule); }
.timeline time { font-size: 1.25rem; font-weight: 300; letter-spacing: -0.02em; line-height: 1.4; }
.timeline small { font-size: 0.6em; color: var(--ink-3); }
.eras { border-bottom: 1px solid var(--rule-strong); }
.eras__ends { display: flex; align-items: center; gap: var(--sp-md); margin-bottom: var(--sp-xl); font-size: var(--fs-md); font-weight: 300; letter-spacing: -0.02em; }
.eras__dash { flex: 1; display: flex; justify-content: center; }
.eras__dash::before { content: ""; width: 3rem; height: 1px; background: var(--ink); }
.era { display: grid; grid-template-columns: minmax(7rem, 2fr) minmax(0, 6fr); column-gap: var(--col-gap); border-top: 1px solid var(--rule-strong); }
.era__range { padding-top: 16px; font-family: var(--sans); font-size: var(--fs-sm); font-weight: 500; letter-spacing: 0; line-height: 1.6; }
.era .timeline li:first-child { border-top: 0; }
.era .timeline li:last-child { border-bottom: 0; }
.sheet { margin-top: var(--sp-xl); }
.sheet summary { cursor: pointer; font-size: var(--fs-sm); font-weight: 600; text-decoration: underline; text-underline-offset: 0.4em; list-style: none; }
.sheet summary::-webkit-details-marker { display: none; }
.sheet summary::after { content: " ↓"; }
.sheet[open] summary::after { content: " ↑"; }
.sheet img, .sheet--open img { margin-top: var(--sp-lg); padding: clamp(12px, 2vw, 28px); background: var(--mat); border: 1px solid var(--rule); width: 100%; }
.sheet--open { margin-top: 0; }
.sheet--open img { margin-top: 0; }
.drow { display: grid; grid-template-columns: minmax(6rem, 1fr) minmax(0, 2fr); column-gap: var(--col-gap); row-gap: 6px; padding: 14px 0 clamp(28px, 3vw, 44px); border-top: 1px solid var(--rule-strong); }
.drow__k { font-family: var(--sans); font-size: var(--fs-xs); font-weight: 600; line-height: 1.7; letter-spacing: 0.02em; color: var(--ink); }
.drow__v { display: grid; gap: 2px; align-content: start; font-size: var(--fs-sm); line-height: 1.65; color: var(--ink-2); }
.drow__addr { color: var(--ink); }
.drow a { text-underline-offset: 0.3em; }
.drow__links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: var(--sp-sm); }
.note { margin-top: var(--sp-xl); font-size: var(--fs-xs); color: var(--ink-3); }

/* 문의 */
.contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: var(--sp-3xl); }
.contact__title, .form__title { font-family: var(--sans); font-weight: 600; font-size: var(--fs-lg); letter-spacing: -0.03em; line-height: 1.2; }
.form { grid-column: 1 / span 6; display: grid; gap: var(--sp-xl); }
.contact__map { grid-column: 8 / -1; display: grid; gap: var(--sp-sm); align-content: start; position: sticky; top: calc(var(--header-h) + 24px); }
.contact__map iframe { width: 100%; aspect-ratio: 4 / 5; border: 0; display: block; background: var(--paper-2); }
.contact__map-cap { font-size: var(--fs-xs); color: var(--ink-2); display: grid; gap: 2px; }
.contact__map-cap span { font-weight: 600; color: var(--ink); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-xl) var(--col-gap); }
.field { display: grid; gap: 6px; }
.field label { font-size: var(--fs-xs); font-weight: 600; }
.req { font-weight: 400; color: var(--ink-3); margin-left: 4px; }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 0; background: transparent; border: 0; border-bottom: 1px solid var(--rule-strong); border-radius: 0;
  font-size: var(--fs-base); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 180px; resize: vertical; line-height: 1.6; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.has-err input, .has-err textarea { border-bottom-color: var(--error); }
.err { font-size: var(--fs-xs); color: var(--error); font-weight: 600; }
.alert { padding: 14px 18px; border: 1px solid var(--signal); background: #F7E5DB; font-size: var(--fs-sm); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.agree { display: grid; gap: 8px; padding-top: var(--sp-md); border-top: 1px solid var(--rule); }
.agree label { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-weight: 600; font-size: var(--fs-sm); }
.agree input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--ink); flex: none; }
.agree > p { font-size: var(--fs-xs); color: var(--ink-2); padding-left: 30px; }
.agree > p a { text-underline-offset: 0.3em; }
.agree .err { padding-left: 30px; }
.form__foot { display: flex; justify-content: flex-start; }

.thanks { padding-block: clamp(96px, 14vw, 200px); }
.thanks .wrap { display: grid; gap: var(--sp-xl); justify-items: start; }
.thanks__title { font-family: var(--sans); font-weight: 600; font-size: var(--fs-2xl); line-height: 1.15; letter-spacing: -0.03em; max-width: 14em; text-wrap: balance; }
.thanks__text { color: var(--ink-2); max-width: 32em; }

/* 크게 보기 */
.lightbox { padding: 0; border: 0; background: var(--paper); color: var(--ink); width: min(960px, calc(100vw - 32px)); max-height: calc(100vh - 32px); }
.lightbox::backdrop { background: rgba(15, 16, 18, 0.86); }
.lightbox__inner { display: grid; grid-template-rows: auto 1fr auto; max-height: calc(100vh - 32px); }
.lightbox__bar, .lightbox__nav { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-md); padding: 14px 20px; }
.lightbox__bar { border-bottom: 1px solid var(--rule); }
.lightbox__nav { border-top: 1px solid var(--rule); }
.lightbox__title { font-size: var(--fs-sm); font-weight: 600; }
.lightbox button { background: none; border: 0; cursor: pointer; font-size: var(--fs-sm); font-weight: 600; padding: 8px 0; }
.lightbox button:hover { text-decoration: underline; }
.lightbox__fig { min-height: 0; overflow: auto; padding: 20px; background: var(--mat); display: grid; place-items: center; }
.lightbox__fig img { max-height: calc(100vh - 180px); width: auto; }

/* 선화 */
.drawing { overflow: visible; }

/* ── 반응형 ───────────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .gnav { display: none; }
  .menu-btn { display: block; }
  .site-header__tools { margin-left: auto; }
  .shead__title { grid-column: 1 / -1; }
  .shead__side { grid-column: 1 / span 8; }
  .frames { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .clients__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flines__rows, .flines__media { grid-column: 1 / -1; }
  .flines__media { position: relative; top: 0; grid-row: 1; aspect-ratio: 3 / 2; margin-bottom: var(--sp-xl); }
  .caps__row { grid-template-columns: 3.25rem minmax(0, 1fr); }
  .caps__no { grid-column: 1; }
  .caps__title { grid-column: 2; }
  .caps__text, .caps__fig { grid-column: 1 / -1; }
  .tally__num { grid-column: 1 / -1; }
  .tally__side { grid-column: 1 / -1; padding-top: 0; }
  .split { grid-template-columns: 1fr; min-height: 0; }
  .split__media { aspect-ratio: 3 / 2; }
  .split__body { padding: clamp(48px, 8vw, 72px) var(--gutter); }
  .phead__title, .phead__lead { grid-column: 1 / -1; }
  .cta__title, .cta__side { grid-column: 1 / -1; }
  .mapband .wmap, .clist { grid-column: 1 / -1; }
  .frow a .frow__fig, .frow:nth-child(even) a .frow__fig { grid-column: 1 / -1; grid-row: 1; }
  .frow a .frow__body, .frow:nth-child(even) a .frow__body { grid-column: 1 / -1; grid-row: 2; }
  .bhead__text, .bhead__fig { grid-column: 1 / -1; }
  .bhead__text { padding-bottom: 0; }
  .bhead__text .crumbs { margin-bottom: var(--sp-lg); }
  .bbody__aside { grid-column: 1 / -1; position: static; }
  .bproc__head, .bproc__fig { grid-column: 1 / -1; }
  .bbody__main { grid-column: 1 / -1; }
  .otherfields ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .esg-intro__title, .esg-intro .prose, .pillar__letter, .pillar__body, .esg-intro__side, .pillar__side { grid-column: 1 / -1; }
  .pillar__side { grid-template-columns: auto 1fr; align-items: end; gap: var(--sp-lg); }
  .pillar__art { position: static; }
  .pillar__art .esgart { max-width: 260px; margin-left: auto; }
  .pdca-band__text, .pdca-band__art { grid-column: 1 / -1; }
  .pdca-band__art { margin-top: var(--sp-lg); }
  .pdca__node text:nth-of-type(2) { font-size: 26px; }
  .pdca__node text:nth-of-type(3) { display: none; }
  .esg-org__tfs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .esg-org__tfs::before { left: 25%; right: 25%; }
  .isocard__code, .isocard__body { grid-column: 1 / -1; }
  .asec__head, .asec__body { grid-column: 1 / -1; }
  .form, .contact__map { grid-column: 1 / -1; }
  .contact__map { position: static; }
  .contact__map iframe { aspect-ratio: 4 / 3; }
  .site-footer__lead { grid-column: 1 / -1; }
  .site-footer__addr { grid-column: span 4; }
  .site-footer__nav { grid-column: 1 / -1; }
  .site-footer__nav ul { grid-template-columns: repeat(4, auto); justify-content: start; gap: 6px 24px; }
  .prow { grid-template-columns: 5rem minmax(0, 1fr); row-gap: 10px; }
  .prow__side { grid-column: 2; justify-items: start; text-align: left; }
  .pmeta { justify-content: flex-start; }
  .prow--big { grid-template-columns: 1fr; }
  .prow--big .prow__side { grid-column: 1; }
  .irow { grid-template-columns: 1fr auto; row-gap: 6px; }
  .irow__k { grid-column: 1 / -1; }
  .irow__d { grid-column: 1; }
  .irow__go { grid-column: 2; grid-row: 2; }
}
@media (max-width: 760px) {
  .site-header__tools .lang { display: none; }
  .vd { grid-template-columns: minmax(0, 1fr); }
  .vd__list { display: grid; margin-top: var(--sp-md); }
  .vd__def, .vd__note { display: none; }
  .vd__name { font-size: 44px; }
  .vd__tag { font-size: 17px; letter-spacing: 0.06em; }
  .fline a { grid-template-columns: 2rem minmax(0, 1fr) 1.25rem; row-gap: 6px; }
  .fline__desc { grid-column: 2; grid-row: 2; }
  .fline__go { grid-column: 3; grid-row: 1; }
  .ftable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ftable, .ftable tbody { display: block; }
  .ftable tbody tr { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); column-gap: var(--sp-md); row-gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
  .ftable tbody tr:first-child { border-top: 1px solid var(--rule-strong); }
  .ftable td, .ftable tbody th, .ftable td.ftable__client, .ftable td.ftable__field, .ftable td.ftable__cap { display: block; grid-column: 2; width: auto; padding: 0; border: 0; text-align: left; }
  .ftable td.ftable__year { grid-column: 1; grid-row: 1 / span 4; width: auto; padding: 0; border: 0; }
}
@media (max-width: 640px) {
  .clients__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 16px; }
  .clients__list img { height: calc(var(--lh, 28) * 0.8px); }
  .figures { gap: 32px var(--sp-lg); }
  .era { grid-template-columns: 1fr; }
  .era__range { padding-bottom: 4px; }
  .drow { grid-template-columns: 1fr; }
  :root { --header-h: 64px; }
  .hcta { display: none; }
  .brand__logo { height: 28px; }
  .hero__inner { padding-top: calc(var(--header-h) + 14vh); }
  .hero__foot { flex-wrap: wrap; }
  .hero__fields { display: none; }
  .frames { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clist ul { columns: 1; }
  .ftabs legend { float: none; width: auto; padding: 0 0 6px; }
  .bgallery { grid-template-columns: 1fr; }
  .bbody__aside { grid-template-columns: 1fr; }
  .otherfields ul { grid-template-columns: 1fr 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .caps__spec > div { grid-template-columns: 5.5rem minmax(0, 1fr); }
  .newslist a { grid-template-columns: 1fr auto; row-gap: 4px; }
  .newslist time { grid-column: 1 / -1; }
  .site-footer__addr { grid-column: 1 / -1; }
  .site-footer__nav ul { grid-template-columns: repeat(2, auto); }
  .overview > div, .kv > div, .timeline li { grid-template-columns: 5.5rem 1fr; }
  .listbar { flex-wrap: wrap; }
}

/* ── 움직임 ───────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  html:not(.no-js) .reveal { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity 1s var(--ease), transform 1s var(--ease); }
  html:not(.no-js) .reveal.is-in { opacity: 1; transform: none; }
  .hero__title .ln, .hero__lead, .hero__cta { animation: rise 1.3s var(--ease) both; }
  .hero__title .ln:nth-child(2) { animation-delay: .12s; }
  .hero__lead { animation-delay: .3s; }
  .hero__cta { animation-delay: .42s; }
  .hero__poster { animation: settle 2.4s var(--ease) both; }
  .mnav.is-open .mnav__list li { animation: rise .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms); }
}
@keyframes rise { from { opacity: 0; transform: translate3d(0, 32px, 0); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; scale: 1.06; } to { opacity: 1; scale: 1; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .hero__video { display: none; }
  .hero__poster, .split__img, .statement__img { transform: none; }
}

/* ── 언어 전환 글자 "Korean / English"(현재 언어 굵게, 다른 쪽은 링크) ── */
.lang { display: inline-flex; align-items: center; gap: 6px; opacity: 1; }
.lang__opt { color: var(--ink-3); }
.lang__opt a { color: inherit; text-decoration: none; }
.lang__opt a:hover { color: inherit; text-decoration: underline; text-underline-offset: 0.3em; }
.lang__opt.is-on { color: inherit; font-weight: 600; }
.lang__sep { color: var(--ink-3); }
.site-header.is-over:not(.is-scrolled) .lang__opt, .site-header.is-over:not(.is-scrolled) .lang__sep { color: rgba(255, 255, 255, 0.7); }
.site-header.is-over:not(.is-scrolled) .lang__opt.is-on { color: var(--on-night); }

/* 첫 화면 히어로만: 사진이 파랑 단색 합성 그래픽(hero-worker-duo.jpg, scripts/make_hero_composite.py). 색 보정 필터·덮개를 겹치면 색이 탁해지므로 히어로에서만 끈다.
   흰 글자 자리는 이미지 처리 단계에서 남색 단계로 눌러 두었다. 다른 구역은 원래 사진 + 기존 보정·덮개. */
.p-home .hero__media::after { content: none; }
/* 메뉴 글자가 그림의 밝은 부분에 가리지 않도록 위쪽에 남색 띠(히어로 남색 #071B3D) */
.p-home .hero__media::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 200px; z-index: 1; opacity: 1; mix-blend-mode: normal; background: linear-gradient(180deg, rgba(7, 27, 61, .78) 0%, rgba(7, 27, 61, .45) 55%, rgba(7, 27, 61, 0) 100%); pointer-events: none; }
@media (max-width: 760px) {
  .p-home .hero__poster { object-position: 74% 50%; }
  .p-home .hero__media::after { content: ""; background: linear-gradient(0deg, rgba(7, 27, 61, 0.92) 0%, rgba(7, 27, 61, 0.55) 40%, rgba(7, 27, 61, 0) 70%); }
}
.p-home .hero__foot { color: var(--on-night); }   /* 남색 위 회색 글자 대비 확보 */

/* ── 첫 화면 히어로 B: 해수담수화 플랜트 줌인 모션(_hero_motion.html, site.js heroMotion). A·B 는 같은 자리에서 0.6초 페이드로 교대 ── */
.hm { position: absolute; inset: 0; z-index: 2; background: var(--paper); color: var(--ink); opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility 0s linear .6s; }
.hero.is-b .hm { opacity: 1; visibility: visible; transition: opacity .6s var(--ease), visibility 0s; }
/* B·C 사이(2026-10-20 사장님 "B→C 때 첫 화면 잔상"): 두 장면이 함께 반투명해지면 뒤의 A 가 비친다. 나가는 장면은 들어오는 장면이 다 덮을 때까지 불투명하게 둔다 */
.hero.is-c .hm { transition: opacity 0s linear .8s, visibility 0s linear .8s; }
.hero > .hero__inner, .hero > .hero__foot { transition: opacity .6s var(--ease), visibility 0s; }
.hero.is-c > .hero__inner, .hero.is-c > .hero__foot,
.hero.is-b > .hero__inner, .hero.is-b > .hero__foot { opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility 0s linear .6s; }
.hm__svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: hidden; }
/* 층(2026-10-26 성능): 층마다 합성 레이어. 설비 층은 물결·흐름·사람이 움직여도 다시 그리지 않는다. 카메라 이동 중에는 JS 가 설비 층 viewBox 를 얼리고 transform 으로 옮긴다 */
.hm__layer { position: absolute; inset: 0; display: block; width: 100%; height: 100%; transform-origin: 0 0; will-change: transform, opacity; }
.hm__l-ground, .hm__l-eq, .hm__l-focus, .hm__l-pole { overflow: visible; }   /* 설비 층은 viewBox 밖도 그려 둔다: 이동 중 얼린 층을 transform 으로 줄이거나 옮겨도 가장자리가 비지 않게(잘림은 .hm__svg) */
.hm__svg { backface-visibility: hidden; }   /* will-change 는 이동 중에만 JS 가 켠다(정지 화면 선명도) */
/* 초점 흐림(뒤 화면을 흐리고 마스크로 선명한 곳만 비운다). 줌인 = 대상 설비 둘레 타원, 전체 조망 = 위아래 띠(미니어처 느낌). 불투명도·위치는 JS */
.hm__dof { position: absolute; inset: 0; opacity: 0; pointer-events: none; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  -webkit-mask-image: linear-gradient(180deg, #000 0, transparent 14%, transparent 94%, #000 100%); mask-image: linear-gradient(180deg, #000 0, transparent 14%, transparent 94%, #000 100%); }   /* 2026-10-21 조망 흐림 띠를 가장자리로만(위 34%·아래 30% 띠가 지나가는 사람을 뭉갰다) */
.hm[data-mode="zoom"] .hm__dof { -webkit-mask-image: radial-gradient(var(--rx, 300px) var(--ry, 300px) at var(--fx, 70%) var(--fy, 50%), transparent 55%, #000 100%); mask-image: radial-gradient(var(--rx, 300px) var(--ry, 300px) at var(--fx, 70%) var(--fy, 50%), transparent 55%, #000 100%); }
.hm--lite .hm__dof { display: none; }
@media (prefers-reduced-motion: reduce) { .hm__dof { display: none; } }
.hm::after { content: ""; position: absolute; inset: 0 0 auto; height: calc(var(--header-h) + 48px); background: linear-gradient(180deg, color-mix(in srgb, var(--paper) 94%, transparent) 0%, color-mix(in srgb, var(--paper) 70%, transparent) 55%, transparent 100%); pointer-events: none; }
/* 줌인 장면에서 문구 상자 쪽(왼쪽, 모바일은 아래) 이웃 설비를 종이색으로 덮는 막. 불투명도는 JS 가 카메라 이동에 맞춘다 */
.hm { --cap-l: clamp(16px, 5vw, 96px); --cap-w: min(600px, 33vw); }
.hm__veil { position: absolute; inset: 0; opacity: 0; pointer-events: none; background: linear-gradient(90deg, color-mix(in srgb, var(--paper) 86%, transparent) 0, color-mix(in srgb, var(--paper) 80%, transparent) calc(var(--cap-l) + var(--cap-w) - 24px), transparent calc(var(--cap-l) + var(--cap-w) + 96px)); }
.hm__tag { opacity: 0; }
.hm__eqs path[stroke-dasharray="3 3"] { display: none; }   /* 설비마다의 점선 바닥 윤곽은 첫 화면에서 숨긴다(점선이 너무 많았다, 2026-10-20) */
.hm__zone { font-family: var(--sans); transition: opacity .5s var(--ease); }
.hm[data-mode="zoom"] .hm__zone { opacity: 0; }   /* 구역 이름은 조망에서만(줌인 때는 크게 번져 문구 뒤를 가린다) */
/* 사람(2026-10-22): Blender 스프라이트로 바꾼 뒤 줌인에서도 보인다(확대해도 완성도가 유지된다) */
.hm__person { transition: opacity .6s var(--ease); }
.hm[data-mode="all"] .hm__tag:not(.is-hover) { display: none; }   /* 조망은 태그를 숨기고 마우스를 올린 설비 하나만(2026-10-26) */
.hm[data-mode="all"] .hm__tag.is-hover { animation: hm-tag-in .2s var(--ease); }
@keyframes hm-tag-in { from { opacity: 0; } }
/* 계절 나무(2026-10-21 사장님): 12~2 겨울 · 3~5 봄 · 6~8 여름 · 9~11 가을. 여름은 그림 속성 색 그대로.
   site.js 가 방문자 달로 .hm[data-season] 을 정한다(주소 ?season=spring 등으로 미리 보기). 침엽수는 늘 푸르고 겨울엔 눈.
   .ldN · .cd 는 그늘 면(몸통 RGB × 0.76, 설비 그림 3톤 규칙) */
.hm[data-season="spring"] .lv0 { fill: #94BE7E; } .hm[data-season="spring"] .lh0 { fill: #C3DDAE; }
.hm[data-season="spring"] .lv1 { fill: #A3C98C; } .hm[data-season="spring"] .lh1 { fill: #CFE5BC; }
.hm[data-season="spring"] .lv2 { fill: #E3A9B8; } .hm[data-season="spring"] .lh2 { fill: #F3CFD9; }
.hm[data-season="spring"] .lv3 { fill: #8BB775; } .hm[data-season="spring"] .lh3 { fill: #BCD9A5; }
.hm[data-season="spring"] .lv4 { fill: #D99AAD; } .hm[data-season="spring"] .lh4 { fill: #EEC3D0; }
.hm[data-season="spring"] .cv { fill: #5F8656; } .hm[data-season="spring"] .ch { fill: #8FB27E; }
.hm[data-season="spring"] .ld0 { fill: #709060; } .hm[data-season="spring"] .ld1 { fill: #7C996A; } .hm[data-season="spring"] .ld2 { fill: #AD808C; }
.hm[data-season="spring"] .ld3 { fill: #6A8B59; } .hm[data-season="spring"] .ld4 { fill: #A57583; } .hm[data-season="spring"] .cd { fill: #486641; }
.hm[data-season="autumn"] .lv0 { fill: #D08A3E; } .hm[data-season="autumn"] .lh0 { fill: #EDB975; }
.hm[data-season="autumn"] .lv1 { fill: #B8602F; } .hm[data-season="autumn"] .lh1 { fill: #DC9763; }
.hm[data-season="autumn"] .lv2 { fill: #C9A23A; } .hm[data-season="autumn"] .lh2 { fill: #E8CB72; }
.hm[data-season="autumn"] .lv3 { fill: #9E4A32; } .hm[data-season="autumn"] .lh3 { fill: #CF8467; }
.hm[data-season="autumn"] .lv4 { fill: #8C9A5A; } .hm[data-season="autumn"] .lh4 { fill: #B7C08A; }
.hm[data-season="autumn"] .cv { fill: #566F4B; } .hm[data-season="autumn"] .ch { fill: #7E9668; }
.hm[data-season="autumn"] .ld0 { fill: #9E692F; } .hm[data-season="autumn"] .ld1 { fill: #8C4924; } .hm[data-season="autumn"] .ld2 { fill: #997B2C; }
.hm[data-season="autumn"] .ld3 { fill: #783826; } .hm[data-season="autumn"] .ld4 { fill: #6A7544; } .hm[data-season="autumn"] .cd { fill: #415439; }
.hm[data-season="winter"] .lv0 { fill: #B9AFA3; } .hm[data-season="winter"] .lh0 { fill: #F4F2EE; }
.hm[data-season="winter"] .lv1 { fill: #AFA79C; } .hm[data-season="winter"] .lh1 { fill: #FFFFFF; }
.hm[data-season="winter"] .lv2 { fill: #C2BAAF; } .hm[data-season="winter"] .lh2 { fill: #F7F5F2; }
.hm[data-season="winter"] .lv3 { fill: #A69C90; } .hm[data-season="winter"] .lh3 { fill: #FFFFFF; }
.hm[data-season="winter"] .lv4 { fill: #BDB5AA; } .hm[data-season="winter"] .lh4 { fill: #F2EFEA; }
.hm[data-season="winter"] .cv { fill: #4F6E4A; } .hm[data-season="winter"] .ch { fill: #FFFFFF; }
.hm[data-season="winter"] .ld0 { fill: #8D857C; } .hm[data-season="winter"] .ld1 { fill: #857F77; } .hm[data-season="winter"] .ld2 { fill: #938D85; }
.hm[data-season="winter"] .ld3 { fill: #7E776D; } .hm[data-season="winter"] .ld4 { fill: #908A81; } .hm[data-season="winter"] .cd { fill: #3C5438; }   /* 전체 조망에는 번호·설비명을 두지 않는다(2026-10-20 사장님). 줌인 때만 대상 번호 */
/* 슬로건 묶음(2026-10-20 장면 A 보관): 머리글 · 슬로건 · 국문 한 줄 · 문의 버튼.
   사장님 "최초 화면에는 말고 줌인부터": 조망(설비가 화면을 채움)에서는 숨기고, 줌인 동안 왼쪽 문구 칸(설비 설명과 같은 왼쪽 선 · 같은 폭, 흐린 막 위) 위쪽에 둔다 */
.hm__head { position: absolute; z-index: 2; left: var(--cap-l); top: clamp(96px, 14vh, 150px); width: var(--cap-w); display: grid; gap: 12px; justify-items: start; pointer-events: none; opacity: 0; transform: translateY(8px); visibility: hidden; transition: opacity .5s var(--ease), transform .5s var(--ease), visibility 0s linear .5s; }
.hm[data-mode="zoom"] .hm__head { opacity: 1; transform: none; visibility: visible; transition-delay: .3s, .3s, 0s; }
/* 전체 조망(처음 · 마지막)에도 왼쪽 위에 슬로건(2026-10-21 사장님). 조망에서는 크게, 뒤에 옅은 종이색 번짐을 깔아 설비 그림 위에서도 읽히게 */
.hm[data-mode="all"] .hm__head { opacity: 1; transform: none; visibility: visible; transition-delay: .2s, .2s, 0s; }
.hm__head::before { content: ""; position: absolute; z-index: -1; inset: -48px -96px -56px -72px; background: radial-gradient(closest-side, color-mix(in srgb, var(--paper) 92%, transparent) 55%, transparent); pointer-events: none; }
.hm[data-mode="all"] .hm__title { font-size: clamp(34px, 1rem + 3vw, 66px); }
/* 구도 A(2026-10-26 3차, scripts/hero_layout.py PLAN = "A"): 조망에서는 글귀를 왼쪽 아래(바다 · 빈 땅 위)로. 줌인 때는 위 그대로 */
@media (min-width: 761px) { .hm[data-copy="bl"][data-mode="all"] .hm__head { top: auto; bottom: clamp(56px, 10vh, 120px); } }
.hm__title { transition: font-size .5s var(--ease); }
.hm__eyebrow { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.hm__title { margin: 0; font-size: clamp(28px, 1rem + 2vw, 52px); font-weight: 600; line-height: 1.05; letter-spacing: -0.03em; color: var(--ink); text-wrap: balance; }
.hm__sub { margin: 0; font-size: clamp(15px, .8rem + .4vw, 18px); color: var(--ink-2); }
.hm__cta { margin: 8px 0 0; pointer-events: auto; }
.hm__no { fill: var(--paper); stroke: var(--ink); stroke-width: 1; }
.hm__num { font-size: 13px; font-weight: 600; fill: var(--ink); font-variant-numeric: tabular-nums; }
.hm__name { font-size: 17px; font-weight: 500; fill: var(--ink-2); paint-order: stroke; stroke: var(--paper); stroke-width: 4px; stroke-linejoin: round; }
.hm__lead { stroke: var(--ink); stroke-width: 1; display: none; }
.hm[data-mode="zoom"] .hm__name { display: none; }
.hm[data-mode="zoom"] .hm__lead { display: inline; }
.hm[data-mode="zoom"] .hm__no { fill: var(--signal); stroke: var(--signal); }
.hm__caps { position: absolute; z-index: 1; left: var(--cap-l); bottom: clamp(72px, 9vh, 96px); width: var(--cap-w); margin: 0; padding: 0; list-style: none; pointer-events: none; }
.hm__cap { position: absolute; left: 0; bottom: 0; width: 100%; opacity: 0; padding: 18px 0 0; border-top: 1px solid var(--ink); }
/* 설비 이름(제목)이 아래 설명보다 커야 한다(2026-10-20 사장님): 제목 32 → 설명 22 → 영문 16 */
.hm__step { display: flex; align-items: center; gap: 12px; position: relative; margin: 0 0 12px; font-size: 32px; font-weight: 700; line-height: 1.25; letter-spacing: -0.02em; color: var(--ink); }
.hm__capno { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--signal); color: var(--on-signal); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.hm__bars { display: flex; gap: 3px; margin-left: auto; }
.hm__bars i { width: 12px; height: 3px; background: color-mix(in srgb, var(--ink) 16%, transparent); }
.hm__bars i.on { background: var(--ink); }
.hm__bars i.on:last-of-type, .hm__bars i.on:not(:has(+ i.on)) { background: var(--signal); }
.hm__ko { margin: 0; font-size: 22px; font-weight: 500; line-height: 1.4; letter-spacing: -0.02em; word-break: keep-all; color: var(--ink); }
.hm__en { margin: 8px 0 0; font-size: 16px; font-weight: 400; line-height: 1.5; color: var(--ink-2); }
.hm__en--only { margin-top: 0; font-size: 20px; font-weight: 400; line-height: 1.4; color: var(--ink); }
.hero__dots { position: absolute; z-index: 3; right: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))); bottom: clamp(84px, 11vh, 112px); display: flex; gap: 4px; }
.hero__dot { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; background: none; color: var(--on-night); cursor: pointer; }
.hero__dot::before { content: ""; width: 9px; height: 9px; border: 1px solid currentColor; border-radius: 50%; transition: background-color .3s var(--ease); }
.hero__dot[aria-pressed="true"]::before { background: currentColor; }
.hero.is-b .hero__dot, .hero.is-b .hero__arrow { color: var(--ink); }
.hero.is-b .hero__dots { background: color-mix(in srgb, var(--paper) 90%, transparent); border-radius: 36px; }
/* 큰 화살표(2026-10-20): 지름 56px 원, 선 2px. 점 3개를 사이에 둔다 */
.hero__dots { align-items: center; padding: 4px; }
.hero__arrow { position: absolute; z-index: 3; top: 50%; display: grid; place-items: center; width: 60px; height: 60px; margin-top: -30px; padding: 0; border: 1.5px solid currentColor; border-radius: 50%; background: color-mix(in srgb, var(--night) 18%, transparent); color: var(--on-night); cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease); }
.hero__arrow--prev { left: clamp(12px, 2vw, 32px); }
.hero__pause { display: grid; place-items: center; width: 36px; height: 36px; margin-right: 4px; padding: 0; border: 1.5px solid currentColor; border-radius: 50%; background: none; color: var(--on-night); cursor: pointer; }
.hero__pause svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hero__pause .i-play { display: none; fill: currentColor; stroke-width: 1.5; }
.hero__pause[aria-pressed="true"] .i-play { display: block; }
.hero__pause[aria-pressed="true"] .i-pause { display: none; }
.hero.is-b .hero__pause { color: var(--ink); }
.hero__eq { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--ink); cursor: pointer; }
.hero__eq[hidden] { display: none; }
.hero__eq svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hero__eq:hover { background: color-mix(in srgb, currentColor 12%, transparent); }
.hero__pause:hover { background: color-mix(in srgb, currentColor 16%, transparent); }
.hero__arrow--next { right: clamp(12px, 2vw, 32px); }
.hero.is-b .hero__arrow { background: color-mix(in srgb, var(--paper) 80%, transparent); }
.hero__arrow svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero__arrow:hover { background: var(--on-night); color: var(--night); }
.hero.is-b .hero__arrow:hover { background: var(--ink); color: var(--paper); }
/* ── 수동 둘러보기(2026-10-26 사장님): 첫 화면은 조망 정지. 설비에 마우스를 올리면 카드, 누르면 줌인, 화살표 = 이전·다음 설비, "전체 보기"·ESC = 조망 ── */
.hm__svg { pointer-events: none; }   /* 나무·사람·번호 등은 마우스를 받지 않고 설비 그룹만 받는다(SVG pointer-events 는 상속, 자식이 다시 켠다) */
.hm__eq { pointer-events: visiblePainted; cursor: pointer; outline: none; }
.hm__deco { pointer-events: none; }   /* 트레인 반복 설비(장식): 클릭 · 마우스 올림 없음, 뒤 설비 클릭 판을 가리지 않게(2026-10-26 2차) */
.hm__eq--still { cursor: default; }   /* 줌인 장면이 없는 설비(처리수 저장조)는 카드만 */
.hm__hit { pointer-events: all; }   /* 설비 클릭 판(그림 실제 bbox 를 등각 모서리만큼 깎은 팔각형, 아래의 작은 설비 자리는 구멍): 그림 사이 빈틈에서도 잡힌다 */
.hm__eq:focus-visible .hm__hit { stroke: var(--signal); stroke-width: 2px; stroke-dasharray: 6 4; }
/* 조망 hover 강조(2026-10-26 사장님 "다른 설비가 흐려지는 게 이상하다" → 흐림 대신): 설비를 화면 3px 들어 올리고(--pb = 화면 1px 의 세계 길이) 바닥 그림자(g.d .12)는 제자리, 밑에 바닥 하이라이트 */
.hm__eq { translate: 0 0; transition: translate .2s var(--ease); }
.hm__eq.is-hover { translate: 0 calc(var(--pb) * -3); }
.hm__eq g.d[opacity="0.12"] { translate: 0 0; transition: translate .2s var(--ease); }
.hm__eq.is-hover g.d[opacity="0.12"] { translate: 0 calc(var(--pb) * 3 / var(--hs, 1)); }
/* 작은 요소 숨김(LOD, 2026-10-27): data-lod 1(.75) 은 볼트 점 · 계기 눈금(.lod1), 2(.5, 모바일 전체 보기)는 압력계 · 명판 · 바닥 점 무늬(.lod)까지. JS heroMotion 이 단계 바뀔 때만 쓴다 */
.hm__svg:is([data-lod="1"], [data-lod="2"]) .lod1, .hm__svg[data-lod="2"] .lod { display: none; }
/* 배관 몸체 · 흐름 표시 선(.hm__pipes)은 계수 하한 .75(사장님 2026-10-27 확정): --lw .5 단계에서도 배관만 .75 */
.hm__svg[data-lod="2"] .hm__pipes { --lw: .75; }
.hm__hl { fill: var(--paper); fill-opacity: .85; stroke: #E8571C; stroke-width: calc(.8px * var(--lw, 1)); opacity: 0; transition: opacity .2s var(--ease); }
.hm__hl.is-on { opacity: 1; }
.hm[data-mode="zoom"] .hm__hl { display: none; }
.hm--still .hm__eq { transition: opacity .25s var(--ease), translate .2s var(--ease); }
.hm[data-mode="zoom"] .hm__eq, .hm[data-mode="zoom"] .hm__eq g.d[opacity="0.12"] { transition: none; }   /* 줌인에서 들어 올림을 거둘 때 전환 없이(이동이 끝나는 프레임에 한 번만 다시 그린다) */   /* 정지 중 줌인 이웃 흐림 전환. 카메라 이동 중에는 JS 가 매 프레임 값을 쓰므로 끈다 */
.hm__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hm__tour { background: color-mix(in srgb, var(--paper) 80%, transparent); color: var(--ink); border-color: var(--ink); font-family: inherit; }
.hm__tour:hover { background: var(--ink); color: var(--paper); }
.hm[data-mode="zoom"] .hm__tour { display: none; }
.hm__card { position: absolute; z-index: 4; left: 0; top: 0; width: min(300px, calc(100% - 24px)); padding: 14px 16px 12px; background: var(--paper); border: 1px solid var(--ink); border-radius: 6px; box-shadow: 0 6px 18px rgb(21 23 26 / .12); font-family: var(--sans); color: var(--ink); pointer-events: none; opacity: 0; transition: opacity .18s var(--ease); }
.hm__card.is-on { opacity: 1; }
.hm__card[hidden] { display: none; }
.hm__card-top { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: 17px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.hm__card-no { flex: none; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--signal); color: var(--on-signal); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.hm__card-no:empty { display: none; }   /* 2026-10-26 카트리지 필터처럼 화면 번호가 없는 설비 */
.hm__card-desc { margin: 0 0 10px; font-size: 14px; line-height: 1.5; color: var(--ink-2); word-break: keep-all; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hm__card-hint { margin: 0; font-size: 12px; color: var(--ink-3); }   /* 누르는 링크가 아닌 안내(카드는 pointer-events: none) */
.hm__card-hint[hidden] { display: none; }
.hero__all { position: absolute; z-index: 3; right: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))); bottom: clamp(84px, 11vh, 112px); min-height: 44px; padding: 0 20px; border: 1.5px solid var(--ink); border-radius: 999px; background: color-mix(in srgb, var(--paper) 90%, transparent); color: var(--ink); font: inherit; font-size: var(--fs-sm); font-weight: 600; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease); }
.hero__all:hover { background: var(--ink); color: var(--paper); }
.hero__all[hidden], .hero__dots[hidden] { display: none; }
.hero[data-hero-ab] .hero__arrow { transition: background-color .25s var(--ease), color .25s var(--ease), opacity .3s var(--ease), visibility 0s; }
.hero[data-hero-ab]:not(.is-tour) .hero__arrow { opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s linear .3s; }   /* 화살표는 줌인 동안만 */
/* ── 첫 화면 히어로 C: 브랜드 이미지 영상(_hero_motion.html .hf). 문구는 줄마다 아래에서 떠오르며 흐림이 걷힌다 ── */
.hf { position: absolute; inset: 0; z-index: 2; overflow: hidden; background: #0E2A33; color: #fff; opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility 0s linear .8s; }
.hero.is-c .hf { opacity: 1; visibility: visible; transition: opacity .8s var(--ease), visibility 0s; }
.hero.is-b .hf { transition: opacity .6s var(--ease) .6s, visibility 0s linear 1.2s; }
.hf__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hf__shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 24, 30, .45) 0%, rgba(8, 24, 30, 0) 22%), linear-gradient(20deg, rgba(8, 24, 30, .62) 0%, rgba(8, 24, 30, .18) 42%, rgba(8, 24, 30, 0) 64%); }
.hf__text { position: absolute; left: 0; right: 0; bottom: clamp(96px, 16vh, 180px); display: grid; gap: 18px; justify-items: start; }
.hf__eyebrow { margin: 0; font-size: var(--fs-sm); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; opacity: 0; transform: translateY(8px); }
.hf__title { margin: 0; display: grid; font-size: clamp(2rem, 1.1rem + 3.4vw, 4.4rem); font-weight: 600; line-height: 1.18; letter-spacing: -0.03em; word-break: keep-all; text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
.hf__line { display: block; overflow: hidden; padding-bottom: .06em; }
.hf__line > span { display: inline-block; transform: translateY(105%); filter: blur(10px); opacity: 0; }
.hf__title { font-size: clamp(2.6rem, 1.2rem + 5vw, 6.4rem); letter-spacing: -0.02em; }
/* 영문 제목은 국문보다 길어 같은 크기면 화면을 덮는다(2026-10-20 사장님 "영문 텍스트가 너무 크다") */
html[lang="en"] .hf__title { font-size: clamp(1.9rem, 1rem + 2.6vw, 3.6rem); letter-spacing: -0.015em; }
.hf__rule { width: 0; height: 2px; background: #fff; opacity: .85; }
.hero.is-c .hf__eyebrow { animation: hf-up .9s var(--ease) .5s forwards; }
.hero.is-c .hf__line > span { animation: hf-line 1.3s cubic-bezier(.2, .7, .1, 1) forwards; animation-delay: calc(.9s + var(--i) * .45s); }
.hero.is-c .hf__rule { animation: hf-rule 1.6s var(--ease) 2s forwards; }
@keyframes hf-up { to { opacity: .9; transform: none; } }
@keyframes hf-line { to { transform: none; filter: none; opacity: 1; } }
@keyframes hf-rule { to { width: min(240px, 40vw); } }
@media (prefers-reduced-motion: reduce) { .hf__eyebrow, .hf__line > span { animation: none !important; opacity: 1; transform: none; filter: none; } .hf__rule { width: 120px; } }
.hero.is-b :focus-visible { outline-color: var(--ink); }
/* B 가 보일 때 머리글은 종이 위 잉크색(로고도 잉크판) */
.p-home.hero-b .site-header.is-over:not(.is-scrolled) { color: var(--ink); }
.p-home.hero-b .site-header.is-over:not(.is-scrolled) .brand__logo--ink { opacity: 1; }
.p-home.hero-b .site-header.is-over:not(.is-scrolled) .brand__logo--paper { opacity: 0; }
.p-home.hero-b .site-header.is-over:not(.is-scrolled) .lang__opt, .p-home.hero-b .site-header.is-over:not(.is-scrolled) .lang__sep { color: var(--ink-3); }
.p-home.hero-b .site-header.is-over:not(.is-scrolled) .lang__opt.is-on { color: var(--ink); }
.p-home.hero-b .site-header.is-over:not(.is-scrolled) .hcta:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.p-home.hero-b .site-header.is-over:not(.is-scrolled) :focus-visible { outline-color: var(--ink); }
@media (max-width: 760px) {
  .hm__caps { left: 16px; right: 16px; width: auto; bottom: 64px; }
  /* 휴대폰: 슬로건 묶음은 머리글 + 슬로건만, 화면 폭에 맞춰 작게(설명 칸이 아래에 있어 위쪽은 짧게) */
  .hm__head { left: 16px; right: 16px; width: auto; top: 76px; gap: 6px; }
  .hm__eyebrow { font-size: 10px; letter-spacing: .12em; }
  .hm__title { font-size: 26px; }
  .hm__sub, .hm__cta { display: none; }
  .hm__veil { background: linear-gradient(0deg, var(--paper) 0%, color-mix(in srgb, var(--paper) 86%, transparent) 30%, transparent 44%); }
  .hm[data-mode="all"] .hm__tag:not(.is-hover) .hm__name { display: none; }
  .hm__bars i { width: 7px; }
  .hm__cap { padding: 14px 0 0; }
  .hm__step { font-size: 22px; }
  .hm__ko { font-size: 16px; }
  .hm__en { font-size: 13px; }
  .hm__en--only { font-size: 15px; }
  .hero__dots { right: 8px; bottom: 12px; }
  .hero__all { right: 12px; bottom: 12px; min-height: 40px; padding: 0 16px; }
  .hero__arrow { width: 44px; height: 44px; margin-top: -22px; }
  .hero__arrow svg { width: 20px; height: 20px; }
}
/* ── 첫 화면 공정 조망 야간 모드(2026-10-26 docs/hero-night-brief.md). html.hero-night 는 home.html 머리 스크립트가 첫 그리기 전에, 전환은 site.js.
   색은 .hm 안에서 종이 · 잉크 변수를 남색 · 흰 글자로 바꾼다(글귀 · 버튼 · 카드 · 줌인 문구 · 번호가 그대로 따라온다. 대비 AA: 잉크 15:1 · 보조 11:1 · 작은 표시 7:1).
   그림: 바닥은 site_night() 의 남색 판 + 빛(정지 층), 설비 층은 층 전체 필터 한 번, 초점(줌인 대상) 층은 조금 밝게, 투광등 빛 층(.hm__l-lamp).
   2026-10-26 2차(사장님 "과하다" → "조명이 있으면 훨씬 밝아야"): 부지 밖은 어둡게, 부지 안 슬래브 · 설비는 조명받아 밝게(대비). 값 이유는 scripts/hero_layout.py 야간 상수 ── */
.hm__night, .hm__l-lamp { display: none; }
html.hero-night .hm__night { display: inline; }
html.hero-night .hm__l-lamp { display: block; }
html.hero-night .hm { --paper: #182534; --ink: #F2F0EB; --ink-2: #C7CDD6; --ink-3: #A3ACB8; background: #233142; }   /* 배경 #233142 위 남색 판 → 부지 밖 약 #182534(1차 #0C1824 거의 검정). 대비(측정) 잉크 13:1 · 작은 표시 #A3ACB8 6.5:1 */
html.hero-night .hm__l-eq { filter: brightness(.88) sepia(.08); }   /* 설비: 조명받은 면(1차 .45 · 채도 .8 은 재질 3톤이 묻혔다). sepia .08 = 따뜻한 백색 빛을 받은 아주 약한 색조 */
html.hero-night .hm__l-focus { filter: brightness(.98) sepia(.06); }
html.hero-night .hm__person, html.hero-night .hm__chair { filter: brightness(.88) sepia(.08); }   /* 2026-10-26: 사람 스프라이트 · 조정실 의자 덮개도 설비 층과 같은 밝기 */
html.hero-night .hm__pipes path[stroke="#FFFFFF"] { stroke: #101C2A; stroke-opacity: .45; }   /* 배관 연결선: 흰 테 대신 어두운 테, 유체 색은 그대로 */
html.hero-night .hm__pipes path:not([stroke="#FFFFFF"]):not(.hm__flow) { stroke-width: calc(2.6px * var(--lw, 1)); }
html.hero-night .hm__flow[stroke="#FFFFFF"] { stroke-opacity: .7; }   /* 흐름 빛줄기 흰 심: 은은하게(1차 굵기 2.2 는 과했다) */
html.hero-night .hm__hl { fill: #FFF1C4; fill-opacity: .16; }
html.hero-night .hm__waves { stroke-opacity: .35; }
/* 앞 나무(설비보다 앞 층, 남색 판 밖): 계절 색 대신 밤 색 */
html.hero-night .hm__front [class^="lv"], html.hero-night .hm__front .cv { fill: #2F3F37; }
html.hero-night .hm__front [class^="lh"], html.hero-night .hm__front .ch { fill: #43564B; }
html.hero-night .hm__front [class^="ld"], html.hero-night .hm__front .cd { fill: #223029; }
html.hero-night .hm__front [fill="#6B5B4A"], html.hero-night .hm__front [fill="#4F4234"] { fill: #2C2620; }
/* 머리글 · 화살표 · 전체 보기(.hm 밖) */
html.hero-night .p-home.hero-b .site-header.is-over:not(.is-scrolled) { color: var(--on-night); }
html.hero-night .p-home.hero-b .site-header.is-over:not(.is-scrolled) .brand__logo--ink { opacity: 0; }
html.hero-night .p-home.hero-b .site-header.is-over:not(.is-scrolled) .brand__logo--paper { opacity: 1; }
html.hero-night .p-home.hero-b .site-header.is-over:not(.is-scrolled) .lang__opt, html.hero-night .p-home.hero-b .site-header.is-over:not(.is-scrolled) .lang__sep { color: #A3ACB8; }
html.hero-night .p-home.hero-b .site-header.is-over:not(.is-scrolled) .lang__opt.is-on { color: var(--on-night); }
html.hero-night .p-home.hero-b .site-header.is-over:not(.is-scrolled) .hcta:hover { background: var(--on-night); color: var(--night); border-color: var(--on-night); }
html.hero-night .p-home.hero-b .site-header.is-over:not(.is-scrolled) :focus-visible, html.hero-night .hero.is-b :focus-visible { outline-color: var(--on-night); }
html.hero-night .hero.is-b .hero__arrow, html.hero-night .hero__all { background: color-mix(in srgb, #182534 82%, transparent); color: #F2F0EB; border-color: #F2F0EB; }
html.hero-night .hero.is-b .hero__arrow:hover, html.hero-night .hero__all:hover { background: #F2F0EB; color: #182534; }
/* 낮 / 밤 버튼: 히어로 오른쪽 위(머리글 아래). aria-pressed = 야간 */
.hm__night-btn { position: absolute; z-index: 3; top: calc(var(--header-h) + 12px); right: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))); display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1.5px solid var(--ink); border-radius: 50%; background: color-mix(in srgb, var(--paper) 86%, transparent); color: var(--ink); cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease); }
.hm__night-btn:hover { background: var(--ink); color: var(--paper); }
.hm__night-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hm__night-btn .i-moon { display: none; }
html.hero-night .hm__night-btn .i-sun { display: none; }
html.hero-night .hm__night-btn .i-moon { display: inline; fill: currentColor; stroke: none; }
@media (max-width: 760px) { .hm__night-btn { top: auto; bottom: 12px; left: 12px; right: auto; width: 40px; height: 40px; } }

/* ── 첫 화면 조정실 화면 움직임(2026-10-26, _plant.html ctrl_fx · .hm__scr). opacity · transform 만, 요소마다 다른 지연(인라인 style).
   .hm--run(장면 B · 화면 안 · 탭 보임, site.js)일 때만 돌고 나머지는 멈춘다. 동작 줄이기 · 저사양(hm--lite)은 정지 */
.hm__scr .a { animation: 4s linear infinite paused; }
.hm__scr .s { opacity: 0; animation-name: hm-scr-scan; animation-duration: 4.2s; }
.hm__scr .c { opacity: .25; animation-name: hm-scr-cell; animation-timing-function: ease-in-out; }
.hm__scr .b { animation-name: hm-scr-blink; animation-duration: 2.2s; animation-timing-function: steps(1, end); }
.hm--run .hm__scr .a { animation-play-state: running; }
@keyframes hm-scr-scan { 0% { opacity: 0; transform: translateY(0); } 8% { opacity: .32; } 62% { opacity: .32; transform: translateY(15px); } 68%, 100% { opacity: 0; transform: translateY(15px); } }
@keyframes hm-scr-cell { 0%, 100% { opacity: .2; } 45%, 60% { opacity: .9; } }
@keyframes hm-scr-blink { 0% { opacity: 1; } 55% { opacity: .2; } 70% { opacity: 1; } 85% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .hm__scr .a { animation: none; } }
.hm--lite .hm__scr .a { animation: none; }
/* HERO-LW:START 자동 생성: python -m scripts.hero_lw (손으로 고치지 않는다). 히어로 선 굵기 계수, docs/plant-style.md */
:where(.hm__svg [stroke-width="0"]:not(.g)){stroke-width:calc(0px*var(--lw,1))}
:where(.hm__svg [stroke-width="0.2"]:not(.g)){stroke-width:calc(0.2px*var(--lw,1))}
:where(.hm__svg [stroke-width="0.3"]:not(.g)){stroke-width:calc(0.3px*var(--lw,1))}
:where(.hm__svg [stroke-width="0.4"]:not(.g)){stroke-width:calc(0.4px*var(--lw,1))}
:where(.hm__svg [stroke-width="0.5"]:not(.g)){stroke-width:calc(0.5px*var(--lw,1))}
:where(.hm__svg [stroke-width=".6"]:not(.g)){stroke-width:calc(.6px*var(--lw,1))}
:where(.hm__svg [stroke-width="0.6"]:not(.g)){stroke-width:calc(0.6px*var(--lw,1))}
:where(.hm__svg [stroke-width=".8"]:not(.g)){stroke-width:calc(.8px*var(--lw,1))}
:where(.hm__svg [stroke-width="0.8"]:not(.g)){stroke-width:calc(0.8px*var(--lw,1))}
:where(.hm__svg [stroke-width="0.81"]:not(.g)){stroke-width:calc(0.81px*var(--lw,1))}
:where(.hm__svg [stroke-width=".9"]:not(.g)){stroke-width:calc(.9px*var(--lw,1))}
:where(.hm__svg [stroke-width="0.9"]:not(.g)){stroke-width:calc(0.9px*var(--lw,1))}
:where(.hm__svg [stroke-width="1"]:not(.g)){stroke-width:calc(1px*var(--lw,1))}
:where(.hm__svg [stroke-width="1.0"]:not(.g)){stroke-width:calc(1.0px*var(--lw,1))}
:where(.hm__svg [stroke-width="1.2"]:not(.g)){stroke-width:calc(1.2px*var(--lw,1))}
:where(.hm__svg [stroke-width="1.4"]:not(.g)){stroke-width:calc(1.4px*var(--lw,1))}
:where(.hm__svg [stroke-width="1.4400000000000002"]:not(.g)){stroke-width:calc(1.4400000000000002px*var(--lw,1))}
:where(.hm__svg [stroke-width="1.56"]:not(.g)){stroke-width:calc(1.56px*var(--lw,1))}
:where(.hm__svg [stroke-width="1.6"]:not(.g)){stroke-width:calc(1.6px*var(--lw,1))}
:where(.hm__svg [stroke-width="1.8"]:not(.g)){stroke-width:calc(1.8px*var(--lw,1))}
:where(.hm__svg [stroke-width="2"]:not(.g)){stroke-width:calc(2px*var(--lw,1))}
:where(.hm__svg [stroke-width="2.19"]:not(.g)){stroke-width:calc(2.19px*var(--lw,1))}
:where(.hm__svg [stroke-width="2.2"]:not(.g)){stroke-width:calc(2.2px*var(--lw,1))}
:where(.hm__svg [stroke-width="2.4"]:not(.g)){stroke-width:calc(2.4px*var(--lw,1))}
:where(.hm__svg [stroke-width="2.55"]:not(.g)){stroke-width:calc(2.55px*var(--lw,1))}
:where(.hm__svg [stroke-width="2.6"]:not(.g)){stroke-width:calc(2.6px*var(--lw,1))}
:where(.hm__svg [stroke-width="3"]:not(.g)){stroke-width:calc(3px*var(--lw,1))}
:where(.hm__svg [stroke-width="3.2"]:not(.g)){stroke-width:calc(3.2px*var(--lw,1))}
:where(.hm__svg [stroke-width="4"]:not(.g)){stroke-width:calc(4px*var(--lw,1))}
:where(.hm__svg [stroke-width="4.2"]:not(.g)){stroke-width:calc(4.2px*var(--lw,1))}
:where(.hm__svg [stroke-width="4.5"]:not(.g)){stroke-width:calc(4.5px*var(--lw,1))}
:where(.hm__svg [stroke-width="5"]:not(.g)){stroke-width:calc(5px*var(--lw,1))}
:where(.hm__svg [stroke-width="6"]:not(.g)){stroke-width:calc(6px*var(--lw,1))}
:where(.hm__svg [stroke-width="10"]:not(.g)){stroke-width:calc(10px*var(--lw,1))}
/* HERO-LW:END */
