@import url("../fonts/pretendard.css");

/* ============================================================
   티투인 주식회사 — 공통 스타일
   CI: Innovation Yellow #FFC20C / Innovation Gray #9F9F95
   ============================================================ */

:root {
  --yellow: #ffc20c;
  --yellow-dim: #e0a800;
  --gray: #9f9f95;
  --ink: #17171a;
  --ink-2: #232327;
  --ink-3: #34343a;
  --paper: #ffffff;
  --paper-2: #f6f6f3;
  --line: #e3e3de;
  --line-dark: #3a3a40;
  --text: #26262a;
  --text-2: #5c5c58;
  --text-3: #8b8b85;

  --wrap: 1200px;
  --gutter: 24px;
  --head-h: 76px;

  --r-s: 4px;
  --r-m: 10px;
  --r-l: 18px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head-h) + 60px);
  /* 스크롤바 자리를 항상 비워둔다.
     이게 없으면 내용이 짧아 스크롤이 없는 페이지(메인)와 긴 페이지(서브)의
     화면 폭이 스크롤바 두께만큼 달라져, 가운데 정렬된 헤더 로고와 메뉴가
     페이지를 옮길 때마다 좌우로 흔들립니다. */
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Malgun Gothic", "맑은 고딕", system-ui, sans-serif;
  color: var(--text);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 { margin: 0; line-height: 1.28; letter-spacing: -0.025em; font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

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

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--r-m) 0;
}
.skip:focus { left: 0; }

/* ---------- 체크 모티프 (CI 심볼과 동일한 형상) ---------- */
.chk {
  width: 15px; height: 12px; flex: 0 0 15px;
  margin-top: 7px;
  background: var(--yellow);
  -webkit-mask: url("../img/check.svg") no-repeat center / contain;
  mask: url("../img/check.svg") no-repeat center / contain;
}
.chk--gray { background: var(--gray); }
.chk--lg { width: 23px; height: 18.5px; flex-basis: 23px; margin-top: 4px; }

/* ============================================================
   헤더 / GNB
   ============================================================ */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--head-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.header.is-stuck { border-bottom-color: var(--line); }
.header .wrap { height: 100%; display: flex; align-items: center; gap: 20px; }

.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 43px; width: auto; }
.brand span { position: absolute; left: -9999px; }

.gnb { margin-left: auto; }
.gnb > ul { display: flex; gap: 6px; }
.gnb > ul > li { position: relative; }
.gnb > ul > li > a {
  display: block; padding: 0 20px; line-height: var(--head-h);
  font-weight: 600; font-size: 16.5px; color: var(--text);
}
.gnb > ul > li > a[aria-current="page"] { color: var(--ink); }
.gnb > ul > li > a[aria-current="page"]::after {
  content: ""; display: block; height: 3px; width: 22px;
  background: var(--yellow); margin: -18px auto 0;
}
.gnb .sub {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 6px);
  min-width: 176px; padding: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-m);
  box-shadow: 0 18px 36px -18px rgba(0, 0, 0, 0.28);
  opacity: 0; visibility: hidden; transition: 0.2s var(--ease);
}
.gnb > ul > li:hover .sub,
.gnb > ul > li:focus-within .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.gnb .sub a {
  display: block; padding: 9px 14px; font-size: 15px; color: var(--text-2);
  border-radius: var(--r-s);
}
.gnb .sub a:hover, .gnb .sub a:focus-visible { background: var(--paper-2); color: var(--ink); }

.portal {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 14.5px; font-weight: 600;
  transition: background 0.2s var(--ease);
}
.portal:hover { background: var(--ink-3); }
.portal .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); }

.burger {
  display: none; width: 44px; height: 44px; margin-left: auto;
  background: none; border: 0; padding: 0; position: relative;
}
.burger i {
  position: absolute; left: 11px; width: 22px; height: 2px; background: var(--ink);
  transition: 0.25s var(--ease);
}
.burger i:nth-child(1) { top: 15px; }
.burger i:nth-child(2) { top: 21px; }
.burger i:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] i:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: var(--head-h) 0 0 0; z-index: 99;
  background: #fff; padding: 12px var(--gutter) 40px;
  overflow-y: auto; display: none;
}
.mobile-nav.is-open { display: block; }
.mobile-nav > ul > li { border-bottom: 1px solid var(--line); padding: 6px 0 14px; }
.mobile-nav > ul > li > span { display: block; font-weight: 700; font-size: 17px; padding: 10px 0 4px; }
.mobile-nav .sub { display: flex; flex-wrap: wrap; gap: 8px; }
.mobile-nav .sub a {
  padding: 8px 14px; background: var(--paper-2); border-radius: 999px;
  font-size: 14.5px; color: var(--text-2);
}
.mobile-nav .portal { display: inline-flex; margin-top: 22px; width: 100%; justify-content: center; height: 50px; }

/* ============================================================
   메인 — 히어로
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: #fff;
  padding: calc(var(--head-h) + 88px) 0 84px;
}
.hero__glow {
  position: absolute; right: calc(50% - 760px); top: -40px; width: 560px; height: 560px; z-index: 0;
  background: radial-gradient(circle, rgba(255, 194, 12, 0.2), transparent 62%);
  pointer-events: none;
}
/* 그래픽은 잘리지 않게 높이에 맞춰 넣고(meet), 초광폭에서도 본문 곁에 머물도록
   컨테이너 폭보다 조금 넓은 범위 안에서 가운데 정렬합니다 */
.hero__art {
  position: absolute; top: 0;
  left: 50%; transform: translateX(-50%);
  width: min(100%, 1560px);
  /* SVG 는 대체 요소라 height:auto 면 viewBox 비율로 길어집니다. 반드시 고정 */
  height: 100%;
  z-index: 1; pointer-events: none;
}
.hero__lab { font-size: 11px; font-weight: 600; fill: var(--yellow); opacity: 0.72; }
.hero .wrap { position: relative; z-index: 5; }

@keyframes twinkle { 0%, 100% { opacity: 0.22; } 50% { opacity: 0.95; } }
.tw { animation: twinkle 3s ease-in-out infinite; }
.tw.t2 { animation-delay: 0.8s; }
.tw.t3 { animation-delay: 1.6s; }
.tw.t4 { animation-delay: 2.3s; }
@keyframes orbit { to { transform: rotate(360deg); } }
.hero__orbit { transform-origin: 994px 59px; animation: orbit 24s linear infinite; }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; color: var(--yellow); margin-bottom: 22px;
}
.hero__eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--yellow); }

.hero__slogan {
  font-size: clamp(34px, 5.6vw, 68px);
  font-weight: 800; line-height: 1.14; letter-spacing: -0.035em;
  max-width: 20ch;
}
.hero__slogan em { font-style: normal; color: var(--yellow); }

.hero__copy {
  margin: 26px 0 36px; max-width: 620px;
  font-size: 16.5px; line-height: 1.78; color: #c9c9c2;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__actions .btn { min-width: 186px; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 52px; padding: 0 28px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15.5px; transition: 0.2s var(--ease);
}
.btn--primary { background: var(--yellow); color: var(--ink); }
.btn--primary:hover { background: #ffcf3d; }
.btn--ghost { border-color: rgba(255, 255, 255, 0.28); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-3); }

/* ============================================================
   섹션 공통
   ============================================================ */
/* ============================================================
   서브 페이지
   ============================================================ */
.phead {
  background: var(--ink); color: #fff;
  padding: calc(var(--head-h) + 62px) 0 54px;
  position: relative; overflow: hidden;
}
.phead__art {
  position: absolute;
  /* 초광폭에서 화면 끝으로 달아나지 않도록 본문 컨테이너 오른쪽 끝에 맞춥니다 */
  right: max(40px, calc(50% - var(--wrap) / 2));
  /* 상단 패딩에 고정 헤더 높이가 더해져 있으므로, 그 차이만큼 내려 글자 블록과 중심을 맞춥니다 */
  top: calc(50% + (var(--head-h) + 8px) / 2);
  transform: translateY(-50%);
  width: 300px; height: 150px; z-index: 1; opacity: 0.55; pointer-events: none;
}
.phead .wrap { position: relative; z-index: 3; }
.phead .crumb { font-size: 13.5px; color: var(--gray); margin-bottom: 14px; }
.phead h1 { font-size: clamp(30px, 4.4vw, 46px); }
.phead .lead { margin-top: 16px; color: #c4c4bd; font-size: 17px; max-width: 56ch; }

.subnav { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: var(--head-h); z-index: 60; }
.subnav ul { display: flex; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  display: block; padding: 20px 22px; white-space: nowrap;
  font-weight: 600; font-size: 15.5px; color: var(--text-3);
  border-bottom: 3px solid transparent; margin-bottom: -1px;
}
.subnav a:hover { color: var(--text); }
.subnav a.is-on { color: var(--ink); border-bottom-color: var(--yellow); }

.block { padding: 84px 0; border-bottom: 1px solid var(--line); }
.block:last-child { border-bottom: 0; }
.block__title { font-size: clamp(23px, 2.8vw, 32px); margin-bottom: 12px; }
.block__desc { color: var(--text-2); font-size: 16.5px; margin-bottom: 40px; max-width: 60ch; }
.block__title--solo { margin-bottom: 40px; }

/* ---------- 비전 ---------- */
.vision { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: start; }
.vision__slogan { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; line-height: 1.2; letter-spacing: -0.035em; }
.vision__slogan em { font-style: normal; color: var(--yellow); }
.vision__tag { margin-top: 26px; font-size: 18px; font-style: italic; color: var(--text-2); line-height: 1.6; }
.vision__close { margin-top: 22px; color: var(--text-2); font-size: 15.5px; }
.vision__item { padding-bottom: 30px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.vision__item:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.vision__item h3 { font-size: 19px; margin-bottom: 10px; display: flex; gap: 12px; align-items: flex-start; }
.vision__item p { color: var(--text-2); font-size: 15.5px; }

/* ---------- 연혁 타임라인 ---------- */
.tl { position: relative; padding-left: 26px; }
.tl::before { content: ""; position: absolute; left: 4px; top: 12px; bottom: 12px; width: 2px; background: var(--line); }
.tl__era { position: relative; margin-bottom: 46px; }
.tl__era:last-child { margin-bottom: 0; }
.tl__year {
  position: relative; font-size: 26px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 6px;
}
.tl__year::before {
  content: ""; position: absolute; left: -26px; top: 12px;
  width: 10px; height: 10px; border-radius: 50%; background: var(--yellow);
  box-shadow: 0 0 0 4px #fff;
}
.tl__cap { font-size: 14.5px; color: var(--text-3); margin-bottom: 18px; }
.tl__list li { display: flex; gap: 12px; padding: 9px 0; font-size: 15.5px; color: var(--text-2); }

/* ---------- CI ---------- */
/* 심볼 크기는 로고 타입 3종을 합친 높이(224px)와 같게 맞춥니다 */
.ci-grid { display: grid; grid-template-columns: 224px 1fr; gap: 40px; align-items: start; margin-bottom: 44px; }
.ci-symbol { border-radius: var(--r-m); overflow: hidden; width: 224px; height: 224px; }
.ci-symbol img { width: 100%; height: 100%; object-fit: cover; }
.ci-logos { display: grid; gap: 26px; }
/* 로고 폭이 제각각이므로 첫 칸을 고정해 설명 시작 지점을 맞추고,
   설명은 로고 아랫변에 맞춰 정렬합니다 */
.ci-logo {
  display: grid; grid-template-columns: 176px 1fr; gap: 0 28px;
  align-items: end;
  padding-bottom: 22px; border-bottom: 1px solid var(--line);
}
.ci-logo:last-child { border-bottom: 0; padding-bottom: 0; }
.ci-logo picture { display: block; }
.ci-logo img { height: 42px; width: auto; display: block; }
.ci-logo span { font-size: 14px; color: var(--text-3); line-height: 1.1; }

.swatches { display: flex; flex-wrap: wrap; gap: 18px 48px; }
.swatch {
  display: grid; grid-template-columns: 54px 1fr; gap: 3px 14px; align-items: start;
}
.swatch__chip {
  grid-row: 1 / span 2; width: 54px; height: 54px;
  border-radius: 8px; border: 1px solid rgba(0, 0, 0, 0.06);
}
.swatch h4 { grid-column: 2; margin: 0; font-size: 13.5px; }
.swatch dl {
  grid-column: 2; display: grid; grid-template-columns: auto 1fr;
  gap: 1px 10px; font-size: 11.5px; color: var(--text-2);
}
.swatch dt { color: var(--text-3); }
.swatch dd { margin: 0; }

/* ---------- 오시는 길 ---------- */
.map-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: stretch; }
.map-col { display: flex; flex-direction: column; gap: 16px; }
.map-frame {
  flex: 1; min-height: 430px;
  border-radius: var(--r-m); overflow: hidden; border: 1px solid var(--line); background: var(--paper-2);
}
.map-frame iframe { width: 100%; height: 100%; min-height: 430px; border: 0; display: block; }
.map-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.map-actions .btn { flex: 1; min-width: 150px; height: 50px; }
.map-nav[hidden] { display: none; }

.map-btn {
  flex: 1; min-width: 150px; height: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 1px solid transparent; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: -0.02em;
  transition: filter 0.2s var(--ease);
}
.map-btn:hover { filter: brightness(0.94); }
.map-btn__mark {
  width: 22px; height: 22px; border-radius: 6px;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 800; line-height: 1;
}
.map-btn--kakao { background: #fee500; color: #191600; }
.map-btn--kakao .map-btn__mark { background: #191600; color: #fee500; }
.map-btn--naver { background: #03c75a; color: #fff; }
.map-btn--naver .map-btn__mark { background: #fff; color: #03c75a; }

/* 내비 앱 버튼 */
.nav-btn {
  flex: 1; min-width: 150px; height: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  font-weight: 600; font-size: 14.5px; color: var(--text);
  transition: border-color 0.2s var(--ease);
}
.nav-btn:hover { border-color: var(--ink); }
.nav-btn img { width: 26px; height: 26px; border-radius: 7px; display: block; }

/* 전화걸기 */
/* 전화번호는 일반 텍스트 흐름을 유지해야 다른 줄과 밑선이 맞습니다 */
.tel-row { display: block; }
.tel-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; margin-left: 10px;
  vertical-align: middle; position: relative; top: -1px;
  border-radius: 50%; background: var(--ink); color: #fff;
  transition: background 0.2s var(--ease);
}
.tel-btn:hover { background: var(--yellow); color: var(--ink); text-decoration: none; }
.tel-btn__ico {
  width: 13px; height: 13px; background: currentColor;
  -webkit-mask: url("../img/phone.svg") no-repeat center / contain;
  mask: url("../img/phone.svg") no-repeat center / contain;
}

.info-card {
  padding: 30px 28px; border: 1px solid var(--line); border-radius: var(--r-m); background: #fff;
}
.info-card--tint {
  background: var(--paper-2); border-color: transparent; flex: 1;
  display: flex; flex-direction: column; justify-content: center;
}
.info-card h3 { font-size: 19px; }
.info-card__en { font-size: 13px; color: var(--text-3); margin-top: 2px; }

.info-list { display: grid; grid-template-columns: 84px 1fr; gap: 0 16px; margin-top: 22px; }
/* 라벨과 내용의 글자 크기·줄높이를 같게 맞춰야 구분선 위치가 어긋나지 않습니다 */
.info-list dt,
.info-list dd {
  font-size: 14.5px; line-height: 1.6;
  padding: 12px 0; border-top: 1px solid var(--line);
  margin: 0;
}
.info-list dt { font-weight: 700; color: var(--text-3); }
.info-list dd { color: var(--text); }
.info-list dt:first-of-type, .info-list dd:first-of-type { border-top: 0; padding-top: 0; }
.info-list a:hover { text-decoration: underline; }

.access { margin-top: 20px; }
.access dt {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  background: var(--yellow); color: var(--ink);
  font-size: 12.5px; font-weight: 700; margin-bottom: 9px;
}
.access dd { margin: 0 0 22px; font-size: 15px; color: var(--text-2); line-height: 1.65; }
.access dd:last-child { margin-bottom: 0; }

/* ---------- 서비스 카드 ---------- */
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc__card { padding: 32px 28px; border: 1px solid var(--line); border-radius: var(--r-l); background: #fff; }
.svc__badge {
  display: inline-block; padding: 6px 16px; border-radius: 999px;
  background: var(--yellow); font-weight: 700; font-size: 14px; margin-bottom: 16px;
}
.svc__card .en { font-size: 12.5px; color: var(--text-3); font-weight: 600; }
.svc__card h3 { font-size: 19px; margin: 6px 0 18px; }
.svc__card li { display: flex; gap: 11px; padding: 7px 0; font-size: 15px; color: var(--text-2); }

/* ---------- 제조(Print) ---------- */
.mfg { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.mfg__panel {
  display: flex; flex-direction: column;
  padding: 40px 36px; border-radius: var(--r-l);
  background: var(--paper-2); border: 1px solid transparent;
}
.mfg__panel--light { background: #fff; border-color: var(--line); }
.mfg__panel .brand-mark { width: 208px; margin-bottom: 26px; }
.mfg__panel h3 { font-size: 24px; }
.mfg__en { color: var(--text-3); font-size: 14px; margin-bottom: 18px; }
.mfg__lead { color: var(--text-2); font-size: 15.5px; }
.mfg__foot {
  margin-top: auto; padding-top: 30px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
}
.patent {
  display: inline-block; padding: 11px 20px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  font-weight: 700; font-size: 14px; white-space: nowrap;
}
.mfg__panel--light .patent { background: var(--paper-2); }
.mfg__shot { width: 92px; border-radius: var(--r-s); flex: 0 0 92px; }

.mfg__title { font-size: 20px; display: flex; gap: 13px; align-items: flex-start; margin-bottom: 26px; }
.mfg__spec { display: flex; flex-direction: column; flex: 1; justify-content: center; gap: 2px; }
.mfg__spec li {
  display: grid; grid-template-columns: 96px 1fr; gap: 18px;
  padding: 17px 0; border-top: 1px solid var(--line);
}
.mfg__spec li:first-child { border-top: 0; padding-top: 0; }
.mfg__spec li:last-child { padding-bottom: 0; }
.mfg__spec b { font-size: 14px; color: var(--ink); }
.mfg__spec span { font-size: 15px; color: var(--text-2); }

/* ---------- 파트너 로고 표출 ---------- */
.logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.logo-card {
  position: relative; display: grid; place-items: center;
  min-height: 128px; padding: 22px 20px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-m);
  text-align: center; overflow: hidden;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.logo-card__name,
.logo-card__pic {
  grid-area: 1 / 1;
  display: grid; place-items: center;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}
.logo-card__name {
  font-weight: 700; font-size: 16px; color: var(--text-2); letter-spacing: -0.02em;
  opacity: 0; transform: scale(0.94);
}
.logo-card__img {
  max-height: 58px; max-width: 80%; width: auto; object-fit: contain;
}
.logo-card__img.is-lg { max-height: 82px; max-width: 90%; }
.logo-card__img.is-md { max-height: 68px; max-width: 84%; }
.logo-card__img.is-sm { max-height: 42px; max-width: 66%; }

.logo-card:hover, .logo-card:focus-visible { border-color: var(--ink); }
.logo-card:hover .logo-card__pic,
.logo-card:focus-visible .logo-card__pic { opacity: 0; transform: scale(0.94); }
.logo-card:hover .logo-card__name,
.logo-card:focus-visible .logo-card__name { opacity: 1; transform: none; }

/* 터치 기기: 호버가 없으므로 로고를 그대로 유지 */
@media (hover: none) {
  .logo-card__name { opacity: 0; }
  .logo-card__pic { opacity: 1; transform: none; }
}

/* ---------- 채용 ---------- */
.talent li { display: flex; gap: 13px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 16.5px; }
.talent li:last-child { border-bottom: 0; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.step { padding: 22px 18px; background: var(--paper-2); border-radius: var(--r-m); text-align: center; }
.step:last-child { background: var(--yellow); }
.step b { display: block; font-size: 13px; color: var(--text-3); margin-bottom: 6px; }
.step:last-child b { color: rgba(0, 0, 0, 0.5); }
.step span { font-weight: 700; font-size: 15.5px; }

.jobs-empty {
  padding: 46px 30px; text-align: center; background: var(--paper-2); border-radius: var(--r-m);
}
.jobs-empty p { color: var(--text-2); font-size: 15.5px; }
.jobs-empty .btn { margin-top: 18px; }

/* ---------- 문의 폼 ---------- */
.form-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; }
.form-grid--single { grid-template-columns: minmax(0, 720px); }
.field { margin-bottom: 22px; }
.field label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 8px; }
.field .req { color: var(--yellow-dim); margin-left: 4px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"],
.field select, .field textarea {
  width: 100%; padding: 13px 15px; font: inherit; font-size: 15.5px;
  border: 1px solid var(--line); border-radius: var(--r-s); background: #fff; color: var(--text);
  transition: border-color 0.18s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: none; }
.field textarea { min-height: 172px; resize: vertical; }
.field input[type="file"] { font-size: 14px; }
.field .err { font-size: 13px; color: #c0392b; margin-top: 6px; display: none; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #c0392b; }
.field.is-invalid .err { display: block; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.captcha { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.captcha__q {
  padding: 12px 18px; background: var(--ink); color: #fff; border-radius: var(--r-s);
  font-weight: 700; font-size: 16px; letter-spacing: 0.04em;
}
.captcha input { max-width: 140px; }

.sent {
  display: none; padding: 34px 30px; border-radius: var(--r-m);
  background: #fffbef; border: 1px solid var(--yellow); margin-bottom: 26px;
}
.sent.is-on { display: block; }

.send-failed {
  display: none; padding: 26px 24px; border-radius: var(--r-m);
  background: #fdf2f0; border: 1px solid #e3b4ab; margin-bottom: 26px;
}
.send-failed.is-on { display: block; }
.send-failed h3 { font-size: 18px; margin-bottom: 8px; color: #9c3524; }
.send-failed p { font-size: 14.5px; color: var(--text-2); }
.send-failed__msg { font-weight: 600; margin-bottom: 8px; }
.send-failed a { text-decoration: underline; }

/* 봇 차단용 히든 필드 — 화면과 스크린리더 모두에서 감춘다 */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn[disabled] { opacity: 0.55; cursor: default; }
.sent h3 { font-size: 19px; margin-bottom: 8px; }
.sent p { font-size: 15px; color: var(--text-2); }

/* ============================================================
   푸터
   ============================================================ */
.footer { background: var(--ink); color: #9a9a94; padding: 62px 0 46px; font-size: 14px; }
.footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 34px; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.footer__links a { color: #d6d6d0; font-weight: 600; }
.portal--foot {
  height: 36px; padding: 0 16px; font-size: 13.5px;
  background: var(--ink-3); color: #fff; margin-left: 6px;
}
.portal--foot:hover { background: #45454c; }
.footer img { height: 26px; width: auto; filter: brightness(0) invert(1); opacity: 0.85; }
.footer__info { display: flex; flex-wrap: wrap; gap: 6px 20px; line-height: 1.9; }
.footer__copy { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: 13px; color: #6f6f6a; }

/* ============================================================
   반응형 — 1280 / 1024 / 768 / 375
   ============================================================ */
@media (max-width: 1280px) {
  .hero__art { opacity: 0.45; }
  .phead__art { width: 230px; height: 115px; right: max(20px, calc(50% - var(--wrap) / 2)); opacity: 0.4; }
}

@media (max-width: 1024px) {
  .gnb { display: none; }
  .burger { display: block; }
  .svc { grid-template-columns: 1fr 1fr; }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .vision, .map-grid, .mfg, .form-grid { grid-template-columns: 1fr; gap: 24px; }
  .ci-grid { grid-template-columns: 1fr; }
  .ci-symbol { width: 180px; height: 180px; }
  .ci-logo { grid-template-columns: 150px 1fr; gap: 0 20px; }
  .block { padding: 64px 0; }
}

@media (max-width: 768px) {
  :root { --head-h: 64px; --gutter: 20px; }
  .hero { padding: calc(var(--head-h) + 56px) 0 60px; }
  .hero__art, .phead__art { display: none; }
  .hero__copy { font-size: 15px; }
  .hero__copy br { display: none; }
  .svc { grid-template-columns: 1fr; }
  .ci-logo { grid-template-columns: 1fr; gap: 10px 0; align-items: start; }
  .logos { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .row2 { grid-template-columns: 1fr; gap: 0; }
  .block { padding: 52px 0; }
  .phead { padding: calc(var(--head-h) + 44px) 0 40px; }
  .subnav a { padding: 16px 16px; font-size: 14.5px; }
  .mfg__panel { padding: 32px 26px; }
  .mfg__foot { flex-direction: column; align-items: flex-start; gap: 18px; }
  .mfg__spec li { grid-template-columns: 1fr; gap: 4px; }
  .map-actions .btn { min-width: 0; }
}

@media (max-width: 420px) {
  .steps { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .hero__actions { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tw, .hero__orbit { animation: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
