/* 본문용 — 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] { scroll-margin-top: calc(var(--header-h) + 16px); }

.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: 24px; color: var(--brand); margin-top: 4px; }

/* ---------- Hero (main) ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; 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; } }

/* ---------- 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--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::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); }

/* ---------- 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; }

/* ---------- 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__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); }

/* ---------- 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(28px, 3.6vw, 40px); font-weight: 800;
  color: #fff; letter-spacing: -0.03em;
}

/* ---------- 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__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; }
}

/* ---------- 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); }
  .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; }
}

@media (max-width: 620px) {
  :root { --pad: 20px; }
  .cards, .cards--3, .cards--2, .values, .swatches { grid-template-columns: 1fr; }
  .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; }
}
