/* 본문용 — Pretendard */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");
/* 제목용 — SUIT (기하학적 그로테스크, 기업 헤드라인) */
@import url("https://cdn.jsdelivr.net/gh/sun-typeface/SUIT/fonts/static/woff2/SUIT.css");

/* ============================================================
   삼일이엔테크(주) — Design System
   ============================================================ */

:root {
  /* Brand — sampled from the official CI artwork */
  --brand: #f26c23;          /* SAMIL Orange */
  --brand-600: #db5a14;
  --brand-700: #b8480a;
  --brand-50: #fff4ec;
  --brand-100: #ffe6d5;
  --ci-black: #262425;       /* SAMIL Black — "SAM" */
  --ci-gray: #818183;        /* SAMIL Gray — "IL" */

  /* Neutral / Corporate */
  --navy: #0c2136;
  --navy-700: #123252;
  --navy-500: #24506f;
  --ink: #14181d;
  --body: #4a5568;
  --muted: #8a94a0;
  --line: #e5e8ec;
  --line-soft: #f0f2f5;
  --bg: #ffffff;
  --bg-soft: #f7f8fa;

  /* Layout */
  --max: 1240px;
  --pad: 24px;
  --header-h: 84px;

  /* Type — 본문 Pretendard / 제목 SUIT */
  --font: "Pretendard", "Pretendard Variable", -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Malgun Gothic", "맑은 고딕", system-ui, sans-serif;
  --font-head: "SUIT", "Pretendard", -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Malgun Gothic", "맑은 고딕", system-ui, sans-serif;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
}

h1, h2, h3, h4, h5 {
  margin: 0;
  font-family: var(--font-head);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

/* 숫자·라벨 등 디스플레이 요소도 제목 서체 사용 */
.stat__num,
.eyebrow,
.vision-core strong,
.tl__era-head .yr,
.cta-band__tel,
.hero__tag,
.btn { font-family: var(--font-head); }

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
table { border-collapse: collapse; width: 100%; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

/* ---------- Utilities ---------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 12px 20px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
}
.skip:focus { left: 0; }

/* 앵커로 이동할 때 고정 헤더에 가리지 않도록 */
section[id],
article[id],
[id].post { scroll-margin-top: calc(var(--header-h) + 24px); }

.section { padding: 110px 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 80px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--brand);
}

.sec-title {
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.035em;
}
.sec-desc {
  margin-top: 18px;
  font-size: 17px;
  color: var(--body);
  max-width: 720px;
}
.sec-head { margin-bottom: 56px; }
.sec-head--center { text-align: center; }
.sec-head--center .sec-desc { margin-left: auto; margin-right: auto; }
.sec-head--center .eyebrow::before { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 2px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: all 0.25s var(--ease);
  border: 1px solid transparent;
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-600); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--line { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--line:hover { border-color: var(--ink); }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), height 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo { display: flex; align-items: center; flex: none; }
.logo img { width: 182px; height: auto; }
.logo .logo-on-dark { display: none; }

.gnb { display: flex; gap: 6px; }
.gnb__item { position: relative; }
.gnb__link {
  display: block;
  padding: 0 22px;
  line-height: var(--header-h);
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: color 0.2s;
}
.gnb__link::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.gnb__item:hover .gnb__link::after,
.gnb__item.is-active .gnb__link::after { transform: scaleX(1); }
.gnb__item.is-active .gnb__link { color: var(--brand); }

.gnb__sub {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 190px;
  padding: 14px 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: 0 18px 40px rgba(12, 33, 54, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s var(--ease);
}
.gnb__item:hover .gnb__sub {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.gnb__sub a {
  display: block;
  padding: 9px 24px;
  font-size: 15px;
  color: var(--body);
  transition: all 0.2s;
}
.gnb__sub a:hover { color: var(--brand); background: var(--brand-50); }

.header__cta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.header__cta svg { width: 17px; height: 17px; color: var(--brand); }
.header__cta strong { color: var(--brand); letter-spacing: -0.01em; }

/* Transparent header over hero */
.header--transparent {
  background: transparent;
  border-bottom-color: rgba(255, 255, 255, 0.16);
}
.header--transparent .gnb__link,
.header--transparent .header__cta { color: #fff; }
.header--transparent .header__cta strong { color: #fff; }
.header--transparent .logo .logo-on-light { display: none; }
.header--transparent .logo .logo-on-dark { display: block; }
.header--transparent .burger span { background: #fff; }

/* Scrolled / solid */
.header.is-solid {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom-color: var(--line);
  box-shadow: 0 2px 20px rgba(12, 33, 54, 0.06);
}
.header.is-solid .gnb__link,
.header.is-solid .header__cta { color: var(--ink); }
.header.is-solid .header__cta strong { color: var(--brand); }
.header.is-solid .logo .logo-on-light { display: block; }
.header.is-solid .logo .logo-on-dark { display: none; }
.header.is-solid .burger span { background: var(--ink); }
.header.is-solid .gnb__item.is-active .gnb__link { color: var(--brand); }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: all 0.3s var(--ease);
}
.burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 99;
  background: #fff;
  padding: 24px var(--pad) 60px;
  overflow-y: auto;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease);
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; }
.drawer__group { border-bottom: 1px solid var(--line); padding: 22px 0; }
.drawer__group > strong {
  display: block;
  font-size: 19px;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.drawer__group a {
  display: block;
  padding: 8px 0;
  font-size: 15.5px;
  color: var(--body);
}
.drawer__foot { padding-top: 28px; font-size: 15px; }
.drawer__foot strong { display: block; font-size: 26px; color: var(--brand); margin-top: 4px; letter-spacing: -0.02em; }
.drawer__sub { display: block; margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.drawer__sub a { color: inherit; }

/* ---------- Hero (main) ---------- */
.hero {
  position: relative;
  /* svh = 주소창이 접혀도 값이 변하지 않는 높이.
     스크롤 중 히어로 높이(=배경 크기)가 튀는 것을 막는다. */
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
  isolation: isolate;
}
/* 배경 레이어 높이를 고정한다.
   모바일에서 스크롤로 주소창이 접히면 뷰포트 높이가 커지는데,
   배경이 뷰포트 높이를 따라가면 background-size:cover 가 다시 계산돼
   사진이 확대돼 보인다. --hero-bg-h 는 main.js 가 픽셀로 고정하며
   화면 회전 등 '가로 폭'이 바뀔 때만 갱신된다. */
.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  height: var(--hero-bg-h, 100lvh);
  min-height: 100%;
  z-index: -2;
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.2s var(--ease), transform 7s linear;
}
.hero__slide.is-on { opacity: 1; transform: scale(1); }

/* 실사 배경 + 가독성 확보용 네이비 오버레이 */
.hero__slide {
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero__slide--1 {
  background-image:
    linear-gradient(100deg, rgba(8, 24, 40, 0.94) 0%, rgba(12, 33, 54, 0.8) 42%, rgba(12, 33, 54, 0.5) 100%),
    radial-gradient(1000px 560px at 82% 16%, rgba(242, 108, 35, 0.3), transparent 62%),
    url("../img/photo/hero-survey.jpg");
}
.hero__slide--2 {
  background-image:
    linear-gradient(100deg, rgba(8, 24, 40, 0.94) 0%, rgba(12, 33, 54, 0.78) 44%, rgba(12, 33, 54, 0.48) 100%),
    radial-gradient(880px 520px at 22% 76%, rgba(242, 108, 35, 0.28), transparent 60%),
    url("../img/photo/hero-aerial.jpg");
}
.hero__slide--3 {
  background-image:
    linear-gradient(100deg, rgba(8, 24, 40, 0.94) 0%, rgba(12, 33, 54, 0.8) 44%, rgba(12, 33, 54, 0.5) 100%),
    radial-gradient(940px 540px at 60% 8%, rgba(56, 132, 190, 0.34), transparent 60%),
    url("../img/photo/hero-solar.jpg");
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 45%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 45%, #000 30%, transparent 100%);
}

.hero__inner { position: relative; padding: calc(var(--header-h) + 40px) 0 140px; width: 100%; }

/* Stacked rotating copy — grid overlay auto-sizes to the tallest slide */
.hero__copies { display: grid; }
.hero__copy {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease), visibility .8s;
}
.hero__copy.is-on { opacity: 1; visibility: visible; transform: none; }

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 30px;
}
.hero__tag i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(238, 108, 33, 0.25);
}
.hero h1 {
  color: #fff;
  font-size: clamp(38px, 6.4vw, 76px);
  line-height: 1.16;
  letter-spacing: -0.045em;
  font-weight: 800;
}
.hero h1 em { font-style: normal; color: var(--brand); }
.hero__lead {
  margin-top: 28px;
  max-width: 610px;
  font-size: clamp(16px, 1.7vw, 18.5px);
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.76);
}
.hero__actions { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 12px; }

.hero__nav {
  position: absolute;
  left: 0; right: 0; bottom: 46px;
  z-index: 2;
}
.hero__nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.hero__dots { display: flex; gap: 12px; }
.hero__dots button {
  width: 40px; height: 3px;
  background: rgba(255, 255, 255, 0.28);
  transition: background 0.3s;
}
.hero__dots button.is-on { background: var(--brand); }
.hero__scroll {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.6);
}
.hero__scroll i {
  width: 1px; height: 34px;
  background: linear-gradient(rgba(255,255,255,0.5), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine { 0%,100% { opacity: .3; } 50% { opacity: 1; } }

/* ---------- 히어로 유관기관 바로가기 ----------
   PC : 우측 하단 배너(.hero__links > .hlinks) — 아이콘 + 기관명 2열
   모바일 : 버튼 아래 패널(.hero__orgs) — 아이콘 + 기관명 3열
   둘은 서로를 대체하므로 항상 하나만 보인다. */

/* 공통 — 주황 채움 아이콘 박스 */
.hlinks__ico,
.horgs__ico {
  display: grid; place-items: center;
  flex: none;
  background: var(--brand);
  color: #fff;
  border-radius: 3px;
  box-shadow: 0 4px 10px rgba(242, 108, 35, 0.3);
  transition: background .22s var(--ease), box-shadow .22s var(--ease);
}

/* ===== PC 배너 ===== */
.hero__links {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 104px;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max);
  padding: 0 var(--pad);
  display: flex;
  justify-content: flex-end;
  pointer-events: none; /* 배경 영역은 클릭을 가로채지 않는다 */
}
.hlinks {
  pointer-events: auto;
  width: 396px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 3px solid var(--brand);
  border-radius: 3px;
  box-shadow: 0 20px 50px rgba(6, 18, 30, 0.4);
}
.hlinks__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-bottom: 12px; padding: 0 2px;
}
.hlinks__head > span {
  font-family: var(--font-head);
  font-size: 14.5px; font-weight: 800; letter-spacing: -0.03em;
  color: var(--ink);
}
.hlinks__head > span::before {
  content: ""; display: inline-block;
  width: 5px; height: 5px; margin-right: 7px; vertical-align: 2px;
  background: var(--brand); border-radius: 50%;
}
.hlinks__head a {
  display: inline-flex; align-items: center; gap: 1px;
  font-size: 11.5px; font-weight: 700; color: var(--brand);
  transition: color .2s;
}
.hlinks__head a svg { width: 11px; height: 11px; }

.hlinks__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; }
.hlinks__grid a {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
  transition: border-color .22s, background .22s, transform .22s;
}
.hlinks__ico { width: 32px; height: 32px; }
.hlinks__ico svg { width: 17px; height: 17px; }
.hlinks__txt { min-width: 0; }
.hlinks__txt b {
  display: block;
  font-family: var(--font-head);
  font-size: 12.5px; font-weight: 700; letter-spacing: -0.04em;
  color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hlinks__txt > span {
  display: block; margin-top: 1px;
  font-size: 10.5px; color: var(--muted); letter-spacing: -0.02em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ===== 모바일 패널 ===== */
.hero__orgs {
  display: none;
  margin-top: 26px;
  max-width: 420px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.96);
  border-top: 3px solid var(--brand);
  border-radius: 3px;
  box-shadow: 0 16px 38px rgba(6, 18, 30, 0.34);
}
.horgs__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-bottom: 11px;
}
.horgs__head > span {
  font-family: var(--font-head);
  font-size: 14px; font-weight: 800; letter-spacing: -0.03em;
  color: var(--ink);
}
.horgs__head > span::before {
  content: ""; display: inline-block;
  width: 5px; height: 5px; margin-right: 7px; vertical-align: 2px;
  background: var(--brand); border-radius: 50%;
}
.horgs__head a {
  display: inline-flex; align-items: center; gap: 1px;
  font-size: 11.5px; font-weight: 700; color: var(--brand);
}
.horgs__head a svg { width: 11px; height: 11px; }

.horgs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.horgs__grid a {
  /* 타일 상하 폭 축소 (81.8px -> 65.8px, 약 20%) */
  display: grid; justify-items: center; gap: 4px;
  padding: 6px 4px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
}
.horgs__ico { width: 30px; height: 30px; }
.horgs__ico svg { width: 16px; height: 16px; }
.horgs__grid b {
  font-family: var(--font-head);
  font-size: 11.5px; font-weight: 700; letter-spacing: -0.045em;
  color: var(--ink);
  text-align: center; white-space: nowrap;
}

/* ===== 전환 ===== */
@media (max-width: 1100px) {
  .hero__links { display: none; }
  .hero__orgs { display: block; }
}
@media (max-width: 380px) {
  .horgs__grid b { font-size: 10.5px; }
}

@media (hover: hover) and (pointer: fine) {
  .hlinks__head a:hover,
  .horgs__head a:hover { color: var(--brand-700); }
  .hlinks__grid a:hover,
  .horgs__grid a:hover { border-color: var(--brand); background: var(--brand-50); }
  .hlinks__grid a:hover { transform: translateY(-2px); }
  .hlinks__grid a:hover .hlinks__ico,
  .horgs__grid a:hover .horgs__ico {
    background: var(--brand-600);
    box-shadow: 0 6px 16px rgba(242, 108, 35, 0.42);
  }
  .hlinks__grid a:hover b,
  .horgs__grid a:hover b { color: var(--brand-700); }
}

/* ---------- Page hero (sub pages) ---------- */
.phero {
  position: relative;
  padding: calc(var(--header-h) + 92px) 0 84px;
  background-color: var(--navy);
  background-image:
    radial-gradient(900px 420px at 82% 20%, rgba(242, 108, 35, 0.26), transparent 62%),
    linear-gradient(135deg, #0a1c2e 0%, #123252 60%, #0c2136 100%);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* 페이지별 실사 배경 — 텍스처로 읽히도록 오버레이를 강하게 */
.phero--company,
.phero--business,
.phero--pr {
  background-image:
    linear-gradient(105deg, rgba(8, 24, 40, 0.95) 0%, rgba(12, 33, 54, 0.86) 48%, rgba(12, 33, 54, 0.66) 100%),
    radial-gradient(900px 420px at 82% 20%, rgba(242, 108, 35, 0.22), transparent 62%),
    var(--phero-photo);
}
.phero--notice { background-image:
    linear-gradient(105deg, rgba(8, 24, 40, 0.95) 0%, rgba(12, 33, 54, 0.86) 48%, rgba(12, 33, 54, 0.66) 100%),
    radial-gradient(900px 420px at 82% 20%, rgba(242, 108, 35, 0.22), transparent 62%),
    var(--phero-photo); }
.phero--company { --phero-photo: url("../img/photo/hero-aerial.jpg"); }
.phero--business { --phero-photo: url("../img/photo/hero-survey.jpg"); }
.phero--pr { --phero-photo: url("../img/photo/hero-solar.jpg"); }
.phero--notice { --phero-photo: url("../img/photo/survey-plan.jpg"); }
.phero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 100% at 60% 40%, #000 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 100% at 60% 40%, #000 20%, transparent 100%);
}
.phero .wrap { position: relative; }
.phero__crumb {
  display: flex; align-items: center; gap: 9px;
  font-size: 13.5px; color: rgba(255, 255, 255, 0.55);
  margin-bottom: 20px;
}
.phero__crumb span:last-child { color: var(--brand); font-weight: 600; }
.phero h1 {
  color: #fff;
  font-size: clamp(32px, 4.6vw, 52px);
  letter-spacing: -0.04em;
  font-weight: 800;
}
.phero p {
  margin-top: 18px;
  max-width: 660px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.8;
}

/* Local tab nav under page hero */
.lnb { border-bottom: 1px solid var(--line); background: #fff; }
.lnb .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.lnb .wrap::-webkit-scrollbar { display: none; }
.lnb a {
  position: relative;
  flex: none;
  padding: 22px 26px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.2s;
}
.lnb a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px; background: var(--brand);
  transform: scaleX(0); transition: transform 0.3s var(--ease);
}
.lnb a:hover { color: var(--ink); }
.lnb a[aria-current="page"] { color: var(--brand); }
.lnb a[aria-current="page"]::after { transform: scaleX(1); }

/* ---------- Stat band ---------- */
.stats { background: #fff; border-bottom: 1px solid var(--line); }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 56px 30px;
  border-left: 1px solid var(--line);
  text-align: center;
}
.stat:first-child { border-left: 0; }
.stat__num {
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--ink);
  line-height: 1.1;
}
.stat__num i { font-style: normal; color: var(--brand); }
.stat__label { margin-top: 10px; font-size: 14.5px; color: var(--muted); font-weight: 500; }

/* ---------- Cards / business ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }

.bcard {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 40px 32px 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  transition: all 0.35s var(--ease);
}
.bcard::before {
  content: "";
  position: absolute; left: 0; top: 0; right: 0;
  height: 3px; background: var(--brand);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.bcard:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(12, 33, 54, 0.11);
  border-color: transparent;
}
.bcard:hover::before { transform: scaleX(1); }
.bcard__no {
  font-size: 12.5px; font-weight: 800; letter-spacing: 0.14em;
  color: var(--brand); margin-bottom: 22px;
}
.bcard__icon {
  width: 52px; height: 52px; margin-bottom: 22px;
  color: var(--brand);
}
.bcard__icon svg { width: 100%; height: 100%; stroke-width: 1.3; }
.bcard h3 { font-size: 21px; letter-spacing: -0.03em; }
.bcard p { margin-top: 12px; font-size: 15px; line-height: 1.75; color: var(--body); flex: 1; }
.bcard__tags {
  margin-top: 24px; padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; gap: 7px;
}
.bcard__tags span {
  padding: 5px 11px;
  background: var(--bg-soft);
  font-size: 12.5px; color: var(--body);
  border-radius: 2px;
}

/* ---------- Split feature ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split--wide { grid-template-columns: 1.05fr 1fr; }
.split__body h2 { font-size: clamp(26px, 3.2vw, 38px); letter-spacing: -0.035em; }
.split__body p { margin-top: 20px; font-size: 16.5px; line-height: 1.85; }

.klist { margin-top: 34px; display: grid; gap: 18px; }
.klist li { display: flex; gap: 16px; align-items: flex-start; }
.klist i {
  flex: none; width: 26px; height: 26px; margin-top: 2px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--brand-50); color: var(--brand);
  font-style: normal; font-size: 12px; font-weight: 800;
}
.klist strong { display: block; color: var(--ink); font-size: 16.5px; letter-spacing: -0.02em; }
.klist span { font-size: 15px; color: var(--body); }

/* Image placeholder (swap with real photography) */
.ph {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  border-radius: 2px;
  overflow: hidden;
  background:
    radial-gradient(600px 300px at 30% 20%, rgba(238, 108, 33, 0.18), transparent 60%),
    linear-gradient(135deg, #123252 0%, #0c2136 100%);
  color: rgba(255, 255, 255, 0.42);
}
.ph::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 40px 40px;
}
.ph__in { position: relative; text-align: center; padding: 24px; }
.ph__in svg { width: 44px; height: 44px; margin: 0 auto 12px; stroke-width: 1.1; }
.ph__in span { font-size: 13px; letter-spacing: 0.02em; }
.ph--wide { aspect-ratio: 16 / 9; }
.ph--tall { aspect-ratio: 3 / 4; }
.ph--sq { aspect-ratio: 1 / 1; }

/* ---------- Photo block (실사 이미지) ---------- */
.pic {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 2px;
  background: var(--bg-soft);
  aspect-ratio: 4 / 3;
}
.pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease);
}
.pic--tall { aspect-ratio: 3 / 4; }
.pic--wide { aspect-ratio: 16 / 9; }
.pic--news { aspect-ratio: 16 / 10; border-radius: 0; }
.bcard:hover .pic img,
.ncard:hover .pic img { transform: scale(1.05); }

/* ---------- Promise (brand story) ---------- */
.promise {
  position: relative;
  padding: 120px 0;
  background:
    radial-gradient(800px 400px at 15% 30%, rgba(238, 108, 33, 0.2), transparent 60%),
    linear-gradient(135deg, #0a1c2e 0%, #123252 65%, #0c2136 100%);
  color: rgba(255, 255, 255, 0.78);
  overflow: hidden;
}
.promise::before {
  content: "3";
  position: absolute;
  right: -3vw; top: 50%; transform: translateY(-50%);
  font-size: 42vw; font-weight: 800; line-height: 1;
  color: rgba(255, 255, 255, 0.035);
  pointer-events: none;
}
.promise .wrap { position: relative; }
.promise h2 { color: #fff; font-size: clamp(28px, 3.8vw, 44px); letter-spacing: -0.04em; }
.promise h2 em { font-style: normal; color: var(--brand); }
.promise p { margin-top: 24px; max-width: 640px; font-size: 17px; line-height: 1.9; }
.promise__grid {
  margin-top: 62px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.13);
}
.promise__cell { background: rgba(10, 28, 46, 0.55); padding: 38px 32px; }
.promise__cell strong {
  display: block; color: var(--brand);
  font-size: 13px; font-weight: 800; letter-spacing: 0.16em; margin-bottom: 14px;
}
.promise__cell b { display: block; color: #fff; font-size: 20px; letter-spacing: -0.03em; margin-bottom: 10px; }
.promise__cell span { font-size: 15px; line-height: 1.75; }

/* ---------- News ---------- */
.news-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.ncard {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  transition: all 0.35s var(--ease);
}
.ncard:hover { transform: translateY(-5px); box-shadow: 0 22px 46px rgba(12,33,54,.1); border-color: transparent; }
.ncard__thumb { position: relative; }
.ncard__thumb .ph { aspect-ratio: 16 / 10; border-radius: 0; }
.ncard__cat {
  position: absolute; left: 14px; top: 14px; z-index: 2;
  padding: 5px 12px; background: var(--brand); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: -0.01em;
}
.ncard__body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.ncard__date { font-size: 13px; color: var(--muted); letter-spacing: 0.02em; }
.ncard h3 {
  margin-top: 10px; font-size: 18.5px; letter-spacing: -0.03em; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ncard p {
  margin-top: 12px; font-size: 14.8px; color: var(--body); flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.ncard__more {
  margin-top: 22px; font-size: 13.5px; font-weight: 700; color: var(--brand);
  display: inline-flex; align-items: center; gap: 7px;
}
.ncard__more svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.ncard:hover .ncard__more svg { transform: translateX(4px); }

/* ---------- Tabs (알림마당) ---------- */
.tabs {
  display: flex; gap: 6px; flex-wrap: wrap;
  border-bottom: 1px solid var(--line); margin-bottom: 40px;
}
.tabs button {
  position: relative;
  padding: 14px 24px;
  font-family: var(--font-head);
  font-size: 16px; font-weight: 600; color: var(--muted);
  transition: color 0.2s;
}
.tabs button::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px; background: var(--brand);
  transform: scaleX(0); transition: transform 0.3s var(--ease);
}
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { color: var(--brand); }
.tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.tab-panel[hidden] { display: none; }

/* 공지 목록 */
.nlist { border-top: 2px solid var(--ink); }
.nitem {
  display: grid; grid-template-columns: 96px 1fr 110px; gap: 20px;
  align-items: start; padding: 22px 8px;
  border-bottom: 1px solid var(--line);
}
.nitem__tag {
  padding: 4px 10px; background: var(--brand-50); color: var(--brand-700);
  font-size: 12px; font-weight: 700; text-align: center; border-radius: 2px;
}
.nitem h4 { font-size: 17px; letter-spacing: -0.03em; }
.nitem p { margin-top: 8px; font-size: 15px; line-height: 1.75; }
.nitem__date { font-size: 13.5px; color: var(--muted); text-align: right; }

/* FAQ 아코디언 */
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 22px 8px; cursor: pointer; list-style: none;
  font-size: 17px; font-weight: 600; color: var(--ink); letter-spacing: -0.03em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "Q"; flex: none;
  width: 26px; height: 26px; margin-top: 1px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--brand); color: #fff;
  font-family: var(--font-head); font-size: 13px; font-weight: 800;
}
.faq summary::after {
  content: ""; flex: none; margin-left: auto; align-self: center;
  width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translateY(-3px); transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq__a { padding: 0 8px 24px 48px; }
.faq__a p { font-size: 15.5px; line-height: 1.85; }
.faq__a p + p { margin-top: 10px; }
.faq__a ul { margin-top: 10px; display: grid; gap: 6px; }
.faq__a li { position: relative; padding-left: 14px; font-size: 15px; line-height: 1.75; }
.faq__a li::before { content: ""; position: absolute; left: 0; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }

/* ---------- 유관기관 바로가기 (분류형 그리드) ---------- */
.linkgroup + .linkgroup { margin-top: 46px; }
.linkgroup__head {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  margin-bottom: 18px; padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
}
.linkgroup__head h3 { font-size: 19px; letter-spacing: -0.035em; }
.linkgroup__head span { font-size: 13.5px; color: var(--muted); }
.linkgroup__head em {
  margin-left: auto; font-style: normal;
  font-family: var(--font-head); font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.08em; color: var(--brand);
}

.linkgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

.lcard {
  /* 아이콘이 글자 블록의 세로 중앙에 오도록 */
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; min-height: 92px;
  background: #fff; border: 1px solid var(--line); border-radius: 2px;
  transition: all 0.25s var(--ease);
}
/* 아이콘은 채움형으로 — 흰 카드 위에서 확실히 눈에 띄게 */
.lcard__ico {
  flex: none; width: 44px; height: 44px;
  display: grid; place-items: center; border-radius: 3px;
  background: var(--brand); color: #fff;
  box-shadow: 0 4px 10px rgba(242, 108, 35, 0.28);
  transition: all 0.25s var(--ease);
}
.lcard__ico svg { width: 22px; height: 22px; stroke-width: 1.9; }
.lcard__txt { min-width: 0; }
.lcard b {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-size: 15px; font-weight: 700;
  color: var(--ink); letter-spacing: -0.03em; line-height: 1.35;
}
.lcard b svg { width: 12px; height: 12px; flex: none; color: var(--muted); transition: color 0.25s; }
/* 설명 문구에만 적용한다.
   `.lcard span` 으로 두면 아이콘 박스(.lcard__ico)까지 덮어써
   색이 회색으로, display 가 grid -> block 으로 바뀐다. */
.lcard__txt > span { display: block; margin-top: 5px; font-size: 12.8px; color: var(--muted); line-height: 1.55; }

@media (hover: hover) and (pointer: fine) {
  .lcard:hover {
    border-color: var(--brand);
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(12, 33, 54, 0.1);
  }
  .lcard:hover .lcard__ico {
    background: var(--brand-600);
    box-shadow: 0 6px 16px rgba(242, 108, 35, 0.4);
  }
  .lcard:hover b { color: var(--brand); }
  .lcard:hover b svg { color: var(--brand); }
}

@media (max-width: 1100px) { .linkgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px)  { .linkgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  {
  .linkgrid { grid-template-columns: 1fr; gap: 10px; }
  .lcard { min-height: 0; padding: 15px 16px; }
}

@media (max-width: 620px) {
  .nitem { grid-template-columns: 1fr; gap: 8px; }
  .nitem__date { text-align: left; }
  .tabs button { padding: 12px 16px; font-size: 15px; }
  .faq__a { padding-left: 8px; }
}

/* ---------- Posts (회사 소식 — 본문 포함 목록) ---------- */
.posts { border-top: 2px solid var(--ink); }
.post {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 44px;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.post .pic { aspect-ratio: 16 / 10; }
.post__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.post__cat {
  padding: 5px 12px; background: var(--brand); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: -0.01em; border-radius: 2px;
}
.post__date { font-size: 13.5px; color: var(--muted); letter-spacing: 0.02em; }
.post h3 { font-size: clamp(19px, 2.2vw, 23px); letter-spacing: -0.035em; line-height: 1.4; }
.post__body { margin-top: 16px; }
.post__body p { font-size: 15.5px; line-height: 1.85; color: var(--body); }
.post__body p + p { margin-top: 12px; }
.post__note {
  margin-top: 16px; padding: 12px 16px;
  background: var(--bg-soft); border-left: 2px solid var(--brand);
  font-size: 14px; color: var(--body);
}

@media (max-width: 860px) {
  .post { grid-template-columns: 1fr; gap: 22px; padding: 34px 0; }
}

/* ---------- Tables ---------- */
.dtable { border-top: 2px solid var(--ink); }
.dtable th, .dtable td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
  text-align: left;
  vertical-align: top;
}
.dtable th {
  width: 210px;
  background: var(--bg-soft);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.dtable td { color: var(--body); }
.dtable td strong { color: var(--ink); }

.ltable { border-top: 2px solid var(--ink); }
.ltable thead th {
  padding: 17px 18px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  font-size: 14.5px; font-weight: 700; color: var(--ink);
  text-align: left; white-space: nowrap;
}
.ltable tbody td {
  padding: 17px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 15px; color: var(--body);
}
.ltable tbody tr:hover td { background: var(--brand-50); }
.ltable tbody td:first-child { color: var(--ink); font-weight: 600; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll table { min-width: 720px; }

/* ---------- Video (설계 시뮬레이션) ---------- */
.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vcard2 {
  background: #fff; border: 1px solid var(--line); border-radius: 2px; overflow: hidden;
}
.vcard2 video {
  width: 100%; aspect-ratio: 16 / 9; display: block;
  background: var(--navy); object-fit: cover;
}
.vcard2__body { padding: 18px 20px 22px; }
.vcard2__no {
  font-family: var(--font-head); font-size: 12.5px; font-weight: 800;
  letter-spacing: 0.12em; color: var(--brand);
}
.vcard2 h4 { margin-top: 6px; font-size: 16.5px; letter-spacing: -0.03em; }
.vcard2 p { margin-top: 8px; font-size: 14.5px; line-height: 1.7; }

@media (max-width: 980px) { .vgrid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* ---------- Works (주요 실적 갤러리) ---------- */
.works {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.wcard {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  transition: all 0.35s var(--ease);
}
.wcard .pic { aspect-ratio: 4 / 3; background: var(--bg-soft); border-radius: 0; }
.wcard__body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.wcard__yr {
  font-size: 12.5px; font-weight: 800; letter-spacing: 0.1em;
  color: var(--brand); font-family: var(--font-head);
}
.wcard h4 {
  margin-top: 6px; font-size: 15.5px; line-height: 1.45; letter-spacing: -0.025em;
  flex: 1;
}
.wcard__cat {
  align-self: flex-start; margin-top: 14px;
  padding: 4px 10px; background: var(--bg-soft);
  font-size: 11.5px; color: var(--body); border-radius: 2px;
}

@media (hover: hover) and (pointer: fine) {
  .wcard:hover { transform: translateY(-5px); box-shadow: 0 20px 42px rgba(12, 33, 54, 0.1); border-color: transparent; }
}

/* ---------- Timeline (history) ---------- */
.tl { position: relative; display: grid; gap: 76px; }
.tl__era { display: grid; grid-template-columns: 260px 1fr; gap: 56px; }
.tl__era-head { position: relative; }
.tl__era-head .yr {
  font-size: clamp(38px, 4.6vw, 58px);
  font-weight: 800; letter-spacing: -0.05em; color: var(--ink); line-height: 1;
}
.tl__era-head .yr i { font-style: normal; color: var(--brand); }
.tl__era-head p { margin-top: 14px; font-size: 15.5px; color: var(--muted); }
.tl__items { position: relative; padding-left: 34px; border-left: 1px solid var(--line); }
.tl__item { position: relative; padding: 0 0 26px; }
.tl__item:last-child { padding-bottom: 0; }
.tl__item::before {
  content: "";
  position: absolute; left: -39px; top: 9px;
  width: 9px; height: 9px; border-radius: 50%;
  background: #fff; border: 2px solid var(--brand);
}
.tl__item time {
  display: inline-block; min-width: 92px;
  font-size: 15px; font-weight: 800; color: var(--brand); letter-spacing: -0.01em;
}
/* 진행 중 표시 */
.tl__now {
  display: inline-block; margin-left: 8px; padding: 2px 9px;
  background: var(--brand-50); color: var(--brand-700);
  border: 1px solid var(--brand-100); border-radius: 999px;
  font-style: normal; font-size: 12.5px; font-weight: 700; letter-spacing: -0.01em;
  vertical-align: 1px;
}
.tl__item span { font-size: 16px; color: var(--body); }
@media (min-width: 861px) {
  .tl__item { display: flex; gap: 18px; align-items: baseline; }
}

/* ---------- Vision ---------- */
.vision-core {
  position: relative;
  padding: 66px 40px;
  text-align: center;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--brand-50), #fff);
  border-radius: 2px;
}
.vision-core small {
  display: block; font-size: 13px; font-weight: 800; letter-spacing: 0.18em;
  color: var(--brand); margin-bottom: 18px;
}
.vision-core strong {
  display: block;
  font-size: clamp(26px, 3.6vw, 42px);
  font-weight: 800; letter-spacing: -0.045em; color: var(--ink); line-height: 1.32;
}
.vision-core p { margin-top: 20px; font-size: 16.5px; max-width: 640px; margin-inline: auto; }

.vcard {
  padding: 38px 32px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
  transition: all .35s var(--ease);
}
.vcard:hover { border-color: var(--brand); transform: translateY(-4px); }
.vcard__ico {
  width: 46px; height: 46px; color: var(--brand); margin-bottom: 20px;
}
.vcard__ico svg { width: 100%; height: 100%; stroke-width: 1.3; }
.vcard h3 { font-size: 20px; letter-spacing: -0.03em; }
.vcard p { margin-top: 12px; font-size: 15px; line-height: 1.75; }

/* Value grid (philosophy) */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.value { background: #fff; padding: 44px 30px; transition: background .3s; }
.value:hover { background: var(--brand-50); }
.value__k {
  font-size: 13px; font-weight: 800; letter-spacing: 0.16em; color: var(--brand);
  margin-bottom: 18px;
}
.value h3 { font-size: 22px; letter-spacing: -0.03em; }
.value h3 span { display: block; font-size: 13.5px; font-weight: 600; color: var(--muted); letter-spacing: 0.06em; margin-top: 6px; }
.value p { margin-top: 16px; font-size: 15px; line-height: 1.75; }

/* ---------- CEO message ---------- */
.ceo { display: grid; grid-template-columns: 380px 1fr; gap: 66px; align-items: start; }
.ceo__quote {
  font-size: clamp(22px, 2.7vw, 30px);
  font-weight: 700; color: var(--ink); letter-spacing: -0.035em; line-height: 1.5;
  margin-bottom: 30px;
}
.ceo__body p + p { margin-top: 18px; }
.ceo__body p { font-size: 16.3px; line-height: 1.9; }
.ceo__sign { margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line); }
.ceo__sign span { font-size: 14.5px; color: var(--muted); }
.ceo__sign strong { display: block; margin-top: 6px; font-size: 21px; color: var(--ink); letter-spacing: -0.03em; }

/* ---------- CI page ---------- */
.ci-stage {
  display: grid; place-items: center;
  padding: 90px 40px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  border-radius: 2px;
}
.ci-stage img { width: min(420px, 80%); }
.ci-stage--dark { background: var(--navy); border-color: var(--navy); }

.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.swatch { border: 1px solid var(--line); border-radius: 2px; overflow: hidden; }
.swatch__chip { height: 132px; }
.swatch__meta { padding: 20px; }
.swatch__meta strong { display: block; font-size: 16px; color: var(--ink); letter-spacing: -0.02em; }
.swatch__meta ul { margin-top: 12px; display: grid; gap: 5px; }
.swatch__meta li { font-size: 13.5px; color: var(--body); display: flex; gap: 8px; }
.swatch__meta li b { color: var(--muted); font-weight: 600; min-width: 46px; }

.rule-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rule {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 2px;
}
.rule__box {
  display: grid; place-items: center;
  height: 130px; margin-bottom: 22px;
  background: var(--bg-soft);
  position: relative;
}
.rule__box img { width: 62%; }
.rule__box--no { background: #fff5f5; }
.rule__box--no::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top right, transparent calc(50% - 1px), #e53e3e, transparent calc(50% + 1px));
  opacity: .5;
}
.rule h4 { font-size: 16.5px; letter-spacing: -0.02em; }
.rule p { margin-top: 8px; font-size: 14.5px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.info-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.info-item {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 26px 4px;
  border-bottom: 1px solid var(--line);
}
.info-item__ico {
  flex: none; width: 42px; height: 42px;
  display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand); border-radius: 2px;
}
.info-item__ico svg { width: 19px; height: 19px; }
.info-item dt { font-size: 13.5px; font-weight: 700; color: var(--muted); letter-spacing: 0.04em; }
.info-item dd { margin: 5px 0 0; font-size: 17px; color: var(--ink); font-weight: 600; letter-spacing: -0.02em; }
.info-item dd small { display: block; margin-top: 4px; font-size: 14px; color: var(--body); font-weight: 400; letter-spacing: 0; }
.info-item dd a:hover { color: var(--brand); }

.map-frame {
  width: 100%; height: 420px;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  background: var(--bg-soft);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-links { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.map-links a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border: 1px solid var(--line); border-radius: 2px;
  font-size: 14px; font-weight: 600; color: var(--ink);
  transition: all .25s var(--ease);
}
.map-links a:hover { border-color: var(--brand); color: var(--brand); }
.map-links a svg { width: 15px; height: 15px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 9px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.field label em { font-style: normal; color: var(--brand); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: inherit; font-size: 15.5px; color: var(--ink);
  background: #fff;
  transition: border-color .2s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--brand);
}
.agree {
  grid-column: 1 / -1;
  display: flex; gap: 10px; align-items: flex-start;
  padding: 18px; background: var(--bg-soft); border-radius: 2px;
  font-size: 14px;
}
.agree input { margin-top: 3px; accent-color: var(--brand); }

/* 문의 전송 결과 안내 — 성공 · 주의 · 실패 */
.form-status {
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: 2px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  font-size: 15px; line-height: 1.65; color: var(--ink);
  text-align: left;
}
.form-status b { font-weight: 700; }
.form-status.is-ok   { border-color: #b9dfc6; background: #f2fbf5; color: #16663a; }
.form-status.is-warn { border-color: #f3d3b4; background: var(--brand-50); color: var(--brand-700); }
.form-status.is-err  { border-color: #f0c2c2; background: #fdf4f4; color: #9d2626; }

/* 전송 중에는 버튼을 잠근다 */
.form-grid button[type="submit"][disabled] { opacity: .55; cursor: progress; }


/* ---------- CTA band ---------- */
.cta-band {
  padding: 96px 0;
  background:
    radial-gradient(700px 340px at 80% 30%, rgba(238,108,33,.28), transparent 62%),
    linear-gradient(120deg, #0c2136, #123252);
  color: rgba(255,255,255,.75);
  text-align: center;
}
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -0.04em; }
.cta-band p { margin-top: 18px; font-size: 17px; }
.cta-band__actions { margin-top: 38px; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.cta-band__tel {
  margin-top: 34px; font-size: clamp(30px, 4vw, 46px); font-weight: 800;
  color: #fff; letter-spacing: -0.03em;
}
.cta-band__sub { margin-top: 10px; font-size: 14.5px; color: rgba(255, 255, 255, 0.6); }
.cta-band__sub a { color: inherit; }

/* 연락처 항목의 대표번호 강조 */
.tel-lg {
  font-size: 1.35em; font-weight: 800; letter-spacing: -0.03em;
  color: var(--brand); font-family: var(--font-head);
}

/* ---------- Footer ---------- */
.footer { background: #0a1622; color: rgba(255, 255, 255, 0.56); padding: 72px 0 40px; }
.footer__top {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 48px;
  padding-bottom: 46px; border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer__logo img { width: 196px; margin-bottom: 22px; }
.footer__logo p { font-size: 14.5px; line-height: 1.85; max-width: 380px; }
.footer__col h4 {
  color: #fff; font-size: 15px; letter-spacing: 0.02em; margin-bottom: 18px; font-weight: 700;
}
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { font-size: 14.5px; transition: color .2s; }
.footer__col a:hover { color: var(--brand); }
.footer__contact li { font-size: 14.5px; line-height: 1.7; }
.footer__contact li strong { color: #fff; font-weight: 600; }
/* 대표번호(휴대)는 크게, 유선·팩스는 보조로 */
.footer__contact li.is-primary { margin-top: 4px; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.footer__contact li.is-primary strong {
  display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  color: var(--brand); margin-bottom: 2px;
}
.footer__contact li.is-primary a { color: #fff; }
.footer__contact li.is-sub { margin-top: 6px; font-size: 13.5px; color: rgba(255, 255, 255, 0.45); }
.footer__contact li.is-sub strong { color: rgba(255, 255, 255, 0.6); font-size: 13px; }
.footer__bottom {
  padding-top: 30px;
  display: flex; flex-wrap: wrap; gap: 16px 28px;
  justify-content: space-between; align-items: center;
  font-size: 13.3px;
}
.footer__bottom .biz { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer__bottom .copy { color: rgba(255, 255, 255, 0.36); }

/* ---------- Reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .09s; }
[data-reveal][data-delay="2"] { transition-delay: .18s; }
[data-reveal][data-delay="3"] { transition-delay: .27s; }
[data-reveal][data-delay="4"] { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 터치 기기: 크기가 변하는 효과 차단 ----------
   터치 기기는 탭·스크롤 후 :hover 가 남아있어(sticky hover)
   스크롤 중 카드 이미지가 확대되는 것처럼 보인다.
   히어로의 Ken Burns 줌도 같은 이유로 정지시킨다. */
@media (hover: none), (pointer: coarse) {
  .bcard:hover,
  .ncard:hover,
  .vcard:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--line);
  }
  .bcard:hover::before { transform: scaleX(0); }
  .bcard:hover .pic img,
  .ncard:hover .pic img { transform: none; }
  .ncard:hover .ncard__more svg,
  .btn:hover svg { transform: none; }

  /* 히어로 배경 확대/축소 정지 — 페이드만 유지 */
  .hero__slide,
  .hero__slide.is-on {
    transform: none;
    transition: opacity 1.2s var(--ease);
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
  .swatches { grid-template-columns: repeat(2, 1fr); }
  .works { grid-template-columns: repeat(3, 1fr); }
  .split { gap: 48px; }
  .ceo { grid-template-columns: 300px 1fr; gap: 44px; }
}

@media (max-width: 980px) {
  :root { --header-h: 68px; }
  .gnb, .header__cta { display: none; }
  .burger { display: flex; }
  .section { padding: 76px 0; }
  .section--tight { padding: 60px 0; }
  .sec-head { margin-bottom: 40px; }
  .split, .contact-grid, .ceo { grid-template-columns: 1fr; gap: 40px; }
  .ceo__portrait { max-width: 340px; }
  /* 1단으로 접힐 때 세로 이미지가 화면을 과점하지 않도록 제한 */
  .pic--tall, .ph--tall { max-width: 420px; margin-inline: auto; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: 0; border-top: 1px solid var(--line); padding: 38px 20px; }
  .stat:nth-child(1), .stat:nth-child(2) { border-top: 0; }
  .stat:nth-child(even) { border-left: 1px solid var(--line); }
  .news-list, .rule-grid, .promise__grid { grid-template-columns: 1fr; }
  .promise__grid { gap: 1px; }
  .tl__era { grid-template-columns: 1fr; gap: 24px; }
  .footer__top { grid-template-columns: 1fr; gap: 36px; }
  .phero { padding: calc(var(--header-h) + 60px) 0 56px; }
  .lnb a { padding: 18px 18px; font-size: 14.5px; }

  /* 작은 화면에서는 배경 확대(Ken Burns)를 쓰지 않는다.
     pointer 감지가 어긋나는 기기까지 확실히 막기 위해 폭 기준으로도 차단. */
  .hero__slide,
  .hero__slide.is-on {
    transform: none;
    transition: opacity 1.2s var(--ease);
  }
}

@media (max-width: 620px) {
  :root { --pad: 20px; }
  .cards, .cards--3, .cards--2, .values, .swatches { grid-template-columns: 1fr; }
  .works { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .wcard__body { padding: 12px 13px 16px; }
  .wcard h4 { font-size: 14px; }
  .stats__grid { grid-template-columns: 1fr; }
  .stat { border-left: 0 !important; border-top: 1px solid var(--line); }
  .stat:nth-child(1) { border-top: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .dtable th { width: 120px; padding: 16px 14px; font-size: 14px; }
  .dtable td { padding: 16px 14px; font-size: 14.5px; }
  .hero__inner { padding-bottom: 120px; }
  .hero__nav { bottom: 30px; }
  .hero__scroll { display: none; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}
