/* ══════════════════════════════════════════════════════════════
   길 모빌리티 — 스타일시트
   색상은 아래 :root 변수만 바꾸면 사이트 전체가 함께 바뀝니다.
   현재: 밝은 테마 (배경 #f8f9f9 / 강조 로고 네이비)
   ══════════════════════════════════════════════════════════════ */
/* ── 라이트 모드(기본) ─────────────────────────────────────
   테마는 <html data-theme="light|dark">로 전환합니다.
   초기값은 index.html의 인라인 스크립트가 정합니다. */
:root {
  color-scheme: light;

  --bg:        #f8f9f9;
  --bg-alt:    #eef1f4;
  --surface:   #ffffff;
  --line:      #e2e6ea;
  --header-bg: rgba(248, 249, 249, .85);
  --card-fade: rgba(255, 255, 255, .92);

  --text:      #12161b;
  --text-dim:  #515b68;
  --text-mute: #7b8593;

  --accent:        #1e2185;
  --accent-hover:  #2a2ea8;
  --accent-soft:   rgba(30, 33, 133, .07);
  --accent-line:   rgba(30, 33, 133, .28);
  --accent-shadow: rgba(30, 33, 133, .30);
  --on-accent:     #ffffff;

  --overlay:        rgba(18, 22, 27, .035);
  --overlay-strong: rgba(18, 22, 27, .07);

  --warn: #b45309;

  /* 히어로는 사진 위 흰 글씨라 두 모드 모두 어두운 밴드를 유지합니다 */
  --hero-bg: #0a0d12;
  --hero-em: #7dd3fc;

  --brand-navy:  #1e2185;
  --brand-cream: #ededea;

  /* 수화기 아이콘 (data URI — 외부 요청 없음) */
  --icon-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.2.4 2.4.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.4 0 .8-.2 1l-2.3 2.2z'/%3E%3C/svg%3E");

  --wrap: 1180px;
  --radius: 14px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ── 다크 모드 ─────────────────────────────────────────────
   강조색은 로고 네이비를 어두운 배경에서 읽히도록 밝게 조정한 값입니다. */
:root[data-theme="dark"] {
  color-scheme: dark;

  --bg:        #0a0d12;
  --bg-alt:    #0f141b;
  --surface:   #151b24;
  --line:      #232c39;
  --header-bg: rgba(10, 13, 18, .82);
  --card-fade: rgba(21, 27, 36, .92);

  --text:      #e8edf4;
  --text-dim:  #93a1b5;
  --text-mute: #7c8899;

  --accent:        #8e93ee;
  --accent-hover:  #a7abf6;
  --accent-soft:   rgba(142, 147, 238, .12);
  --accent-line:   rgba(142, 147, 238, .38);
  --accent-shadow: rgba(142, 147, 238, .35);
  --on-accent:     #0a0d12;

  --overlay:        rgba(255, 255, 255, .035);
  --overlay-strong: rgba(255, 255, 255, .075);

  --warn: #fbbf24;
}


/* ── 기본 ─────────────────────────────────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Pretendard Variable', Pretendard, -apple-system,
               BlinkMacSystemFont, system-ui, 'Apple SD Gothic Neo', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* 한글이 단어 중간에서 끊기지 않도록 (예: "통미로59 / 번길") */
  word-break: keep-all;
  overflow-wrap: break-word;
}

img, svg, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

::selection { background: var(--accent); color: var(--on-accent); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

.skip-link {
  position: absolute; left: -9999px;
  background: var(--accent); color: var(--on-accent);
  padding: 12px 20px; z-index: 999; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; top: 0; }

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

/* 미입력 표시 — 실제 내용 채운 뒤 class="todo"만 지우면 됩니다 */
.todo {
  color: var(--warn);
  border-bottom: 1px dashed currentColor;
}

/* ── 헤더 ─────────────────────────────────────────────────── */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  z-index: 100;
  transition: background .35s var(--ease), backdrop-filter .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: var(--header-bg);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom-color: var(--line);
}

/* 스크롤 전 헤더는 어두운 히어로 위에 있으므로 글자를 밝게 */
.site-header:not(.scrolled) .logo-text { color: #fff; }
.site-header:not(.scrolled) .logo-text small { color: rgba(255,255,255,.6); }
.site-header:not(.scrolled) .nav a:not(.nav-cta) { color: rgba(255,255,255,.78); }
.site-header:not(.scrolled) .nav a:not(.nav-cta):hover,
.site-header:not(.scrolled) .nav a:not(.nav-cta).active { color: #fff; }
.site-header:not(.scrolled) .nav a:not(.nav-cta)::after { background: var(--hero-em); }
.site-header:not(.scrolled) .hamburger span { background: #fff; }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
}

.logo { display: flex; align-items: center; gap: 11px; }

/* 로고 이미지 배경이 크림색이라, 어두운 헤더 위에서는 둥근 타일로 보여줍니다.
   배경이 투명한 로고 파일이 생기면 background/border-radius 줄만 지우면 됩니다. */
.logo-mark {
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 10px;
  background: var(--brand-cream);
  object-fit: contain;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.logo:hover .logo-mark {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px -6px var(--accent-shadow);
}
.logo-text {
  display: flex; flex-direction: column;
  font-size: 1.06rem; font-weight: 700; line-height: 1.15;
}
.logo-text small {
  font-size: .58rem; font-weight: 500; letter-spacing: .18em;
  color: var(--text-mute);
}

.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  font-size: .93rem; font-weight: 500; color: var(--text-dim);
  transition: color .2s; position: relative;
}
.nav a:hover, .nav a.active { color: var(--text); }
.nav a:not(.nav-cta)::after {
  content: ''; position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:not(.nav-cta):hover::after,
.nav a:not(.nav-cta).active::after { transform: scaleX(1); }

.nav-cta {
  padding: 9px 20px; border-radius: 100px;
  background: var(--accent); color: var(--on-accent) !important;
  font-weight: 700;
}
.nav-cta:hover { background: var(--accent-hover); }

/* ── 라이트/다크 전환 버튼 ────────────────────────────────── */
.theme-toggle {
  display: grid; place-items: center;
  width: 38px; height: 38px; flex-shrink: 0;
  margin-left: 20px;
  border-radius: 50%; cursor: pointer;
  color: var(--text-dim);
  background: var(--overlay);
  border: 1px solid var(--line);
  transition: color .25s, border-color .25s, background .25s, transform .25s var(--ease);
}
.theme-toggle:hover { color: var(--accent); border-color: var(--accent-line); transform: translateY(-1px); }
.theme-toggle svg { width: 18px; height: 18px; }

/* 스크롤 전(어두운 히어로 위)에는 밝게 */
.site-header:not(.scrolled) .theme-toggle {
  color: rgba(255,255,255,.8);
  border-color: rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
}
.site-header:not(.scrolled) .theme-toggle:hover { color: #fff; border-color: #fff; }

/* 현재 모드에 맞는 아이콘만 표시 */
.icon-moon { display: block; }
.icon-sun  { display: none; }
:root[data-theme="dark"] .icon-moon { display: none; }
:root[data-theme="dark"] .icon-sun  { display: block; }

.hamburger {
  display: none;
  width: 42px; height: 42px;
  background: none; border: 0; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 6px;
  padding: 0 8px;
}
.hamburger span {
  display: block; height: 2px; width: 100%;
  background: var(--text); border-radius: 2px;
  transition: transform .32s var(--ease), opacity .2s;
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── 히어로 ───────────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--hero-bg);
  min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }

/* 배경 사진 — 드론 촬영 영상으로 바꾸려면 <video>로 교체하고 같은 클래스를 주면 됩니다 */
.hero-img,
.hero-video {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 42%;
  opacity: .5;
  animation: heroZoom 22s var(--ease) forwards;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }

.hero-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(62% 52% at 50% 6%, rgba(125,211,252,.14), transparent 70%),
    linear-gradient(to bottom, rgba(10,13,18,.58) 0%, rgba(10,13,18,.76) 62%, rgba(10,13,18,.92) 100%),
    linear-gradient(to right, rgba(10,13,18,.72) 0%, transparent 65%);
}

.hero-content { position: relative; z-index: 1; padding-block: 120px 90px; }

.hero-eyebrow {
  font-size: .76rem; font-weight: 600; letter-spacing: .34em;
  color: var(--hero-em); margin-bottom: 24px;
}

.hero-title {
  color: #fff;
  font-size: clamp(2.1rem, 6.2vw, 4.15rem);
  font-weight: 800; line-height: 1.22;
  letter-spacing: -0.035em;
  margin-bottom: 26px;
  text-wrap: balance;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--hero-em), #a5f3fc 60%, #fff);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.hero-desc {
  font-size: clamp(1rem, 1.7vw, 1.17rem);
  color: rgba(255,255,255,.82);
  margin-bottom: 40px;
}

/* 히어로 안의 보조 버튼은 어두운 배경 위라 밝은색으로 */
.hero .btn-ghost {
  color: #fff; border-color: rgba(255,255,255,.35);
  background: rgba(255,255,255,.06);
}
.hero .btn-ghost:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.14); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }

/* 히어로 요소 순차 등장 */
.hero-eyebrow, .hero-title, .hero-desc, .hero-actions {
  opacity: 0; transform: translateY(22px);
  animation: rise .95s var(--ease) forwards;
}
.hero-title   { animation-delay: .12s; }
.hero-desc    { animation-delay: .24s; }
.hero-actions { animation-delay: .36s; }

@keyframes rise { to { opacity: 1; transform: none; } }

.scroll-hint {
  position: absolute; left: 50%; bottom: 34px;
  transform: translateX(-50%);
  width: 24px; height: 40px;
  border: 2px solid rgba(232,237,244,.35);
  border-radius: 14px; z-index: 1;
}
.scroll-hint span {
  position: absolute; left: 50%; top: 8px;
  width: 3px; height: 7px; margin-left: -1.5px;
  background: var(--hero-em); border-radius: 2px;
  animation: wheel 1.7s var(--ease) infinite;
}
@keyframes wheel {
  0%   { opacity: 0; transform: translateY(0); }
  30%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(15px); }
}

/* ── 버튼 ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 32px; border-radius: 100px;
  font-size: .96rem; font-weight: 700;
  transition: transform .22s var(--ease), background .22s, border-color .22s, box-shadow .22s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 11px 22px; font-size: .88rem; }

.btn-primary {
  background: var(--accent); color: var(--on-accent);
  box-shadow: 0 8px 22px -10px var(--accent-shadow);
}
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 14px 30px -10px var(--accent-shadow); }

.btn-ghost {
  border: 1px solid var(--line); color: var(--text);
  background: var(--overlay);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ── 섹션 공통 ────────────────────────────────────────────── */
.section { padding-block: clamp(80px, 11vw, 140px); }
.section-alt { background: var(--bg-alt); }

.section-head { max-width: 620px; margin-bottom: 62px; }

.eyebrow {
  font-size: .74rem; font-weight: 600; letter-spacing: .3em;
  color: var(--accent); margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.7rem);
  font-weight: 800; line-height: 1.3; letter-spacing: -0.03em;
  text-wrap: balance;
}
.section-title em { font-style: normal; color: var(--accent); }

.section-desc { margin-top: 18px; color: var(--text-dim); font-size: 1.03rem; }

/* ── 회사소개 ─────────────────────────────────────────────── */
.about-grid {
  display: grid; grid-template-columns: 1.55fr 1fr;
  gap: clamp(36px, 6vw, 78px); align-items: start;
}

.about-text .lead {
  font-size: 1.24rem; font-weight: 700; color: var(--text);
  margin-bottom: 22px; letter-spacing: -0.02em;
}
.about-text p + p { margin-top: 16px; }
.about-text p { color: var(--text-dim); }

.stats {
  display: grid; gap: 2px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.stats li { background: var(--surface); padding: 26px 28px; }
.stats strong {
  display: block;
  font-size: 2.2rem; font-weight: 800; letter-spacing: -0.04em;
  color: var(--accent); line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.stats span { font-size: .89rem; color: var(--text-mute); }

.feature-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px; margin-top: 60px;
}
.feature {
  padding: 28px 26px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface);
  transition: border-color .3s, transform .3s var(--ease);
}
.feature:hover { border-color: var(--accent-line); transform: translateY(-3px); }
.feature h3 { font-size: 1.05rem; margin-bottom: 10px; letter-spacing: -0.02em; }
.feature p { font-size: .93rem; color: var(--text-dim); }

/* ── 사업분야 카드 ────────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 24px;
}

.card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .35s var(--ease), border-color .35s;
}
.card::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 2px; z-index: 2;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.card:hover { transform: translateY(-5px); border-color: var(--accent-line); }
.card:hover::before { transform: scaleX(1); }

.card-media {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 9; background: #0b1016;
}
.card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease), filter .5s;
  filter: saturate(.88) contrast(1.03);
}
.card-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 55%, var(--card-fade));
}
.card:hover .card-media img { transform: scale(1.05); filter: saturate(1) contrast(1.03); }

.card-body { padding: 26px 30px 30px; }

.card-num {
  display: block;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em;
  color: var(--accent); margin-bottom: 10px;
}
.card h3 { font-size: 1.3rem; margin-bottom: 12px; letter-spacing: -0.025em; }
.card p { font-size: .94rem; color: var(--text-dim); margin-bottom: 20px; }

.tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tags li {
  font-size: .76rem; padding: 5px 12px; border-radius: 100px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent);
}

/* ── 연혁 타임라인 ────────────────────────────────────────── */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: ''; position: absolute; left: 5px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--line) 55%, transparent);
}

/* 화면 전폭을 쓰는 레코드형 행: 연도 | 발주처·내용 | 구분 */
.tl-item {
  position: relative;
  display: grid; grid-template-columns: 108px 1fr auto;
  gap: 26px; align-items: center;
  padding: 18px 20px 18px 0;
  border-bottom: 1px solid var(--line);
  transition: background .25s;
}
.tl-item:last-child,
.tl-item.is-last { border-bottom: 0; }
.tl-item:hover { background: var(--accent-soft); }

.tl-item::before {
  content: ''; position: absolute; left: -28px; top: 50%;
  width: 12px; height: 12px; margin-top: -6px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--accent);
  box-shadow: 0 0 0 4px var(--bg);
  transition: background .4s, box-shadow .4s;
}
.tl-item:hover::before { background: var(--accent); box-shadow: 0 0 0 4px var(--bg), 0 0 14px var(--accent); }

.tl-date {
  font-size: 1.32rem; font-weight: 800; color: var(--accent);
  letter-spacing: -0.03em; font-variant-numeric: tabular-nums;
}
.tl-body h3 { font-size: 1.06rem; margin-bottom: 4px; letter-spacing: -0.02em; }
.tl-body p { font-size: .94rem; color: var(--text-dim); }

.tl-tag {
  justify-self: end; white-space: nowrap;
  font-size: .78rem; font-weight: 600; color: var(--text-dim);
  padding: 6px 14px; border-radius: 100px;
  border: 1px solid var(--line); background: var(--overlay);
}
.tl-founding .tl-tag {
  color: var(--accent);
  border-color: var(--accent-line); background: var(--accent-soft);
}

/* ── 오시는길 ─────────────────────────────────────────────── */
.location-grid {
  display: grid; grid-template-columns: 1.5fr 1fr;
  gap: 32px; align-items: stretch;
}

.map-frame {
  position: relative; min-height: 400px;
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: var(--surface);
}
.map-frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: 0;
  /* 반전 필터는 구글 로고까지 뒤집혀 오히려 지저분해져서 쓰지 않습니다.
     채도만 살짝 낮춰 페이지 톤과 어울리게 합니다. */
  filter: saturate(.85) brightness(.94);
}

.location-info {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 26px; padding: 34px 30px;
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.location-info dl { width: 100%; }
.location-info dl > div { padding-block: 15px; border-bottom: 1px solid var(--line); }
.location-info dl > div:first-child { padding-top: 0; }
.location-info dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.location-info dt {
  font-size: .76rem; font-weight: 600; letter-spacing: .12em;
  color: var(--text-mute); margin-bottom: 5px;
}
.location-info dd { font-size: 1rem; font-weight: 500; }
.location-info dd small { color: var(--text-mute); font-size: .82rem; }
.location-info a:not(.btn):hover { color: var(--accent); }

/* ── 문의 ─────────────────────────────────────────────────── */
.contact {
  position: relative; overflow: hidden;
  text-align: center;
  background:
    radial-gradient(52% 100% at 50% 100%, var(--accent-soft), transparent 70%),
    var(--bg);
  border-top: 1px solid var(--line);
}
.contact-inner { max-width: 700px; margin-inline: auto; }
.contact .section-desc { margin-bottom: 38px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; }

/* ── 푸터 ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding-top: 56px;
  font-size: .89rem;
}
.footer-inner {
  display: grid; grid-template-columns: 1.2fr 1fr auto;
  gap: 34px; align-items: start;
  padding-bottom: 38px;
}
.footer-brand p { color: var(--text-mute); margin-top: 12px; }

/* CI 가이드 슬로건 */
.footer-brand .slogan {
  color: var(--text-dim); font-weight: 600;
  letter-spacing: -0.02em; margin-top: 16px;
}
.footer-brand .slogan small {
  display: block; margin-top: 4px;
  font-size: .78rem; font-weight: 500; letter-spacing: .01em;
  color: var(--text-mute);
}
.footer-meta p { color: var(--text-mute); }
.footer-meta p + p { margin-top: 5px; }
.footer-meta a:hover { color: var(--accent); }

.footer-social a {
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--text-dim);
  transition: color .25s, border-color .25s, transform .25s var(--ease);
}
.footer-social a:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }

.copyright {
  border-top: 1px solid var(--line);
  padding-block: 22px;
  color: var(--text-mute); font-size: .82rem;
}

/* ── 스크롤 등장 애니메이션 ───────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* ── 회사 개요 / 공통 블록 제목 ───────────────────────────── */
.profile-title {
  font-size: 1.35rem; font-weight: 800; letter-spacing: -0.025em;
  margin-bottom: 20px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
}

/* 회사 기본 정보 — 표가 아니라 본문에 딸린 간결한 정보 줄 */
.meta-row {
  display: flex; flex-wrap: wrap; gap: 0 34px;
  margin-top: 30px; padding-top: 22px;
  border-top: 1px solid var(--line);
}
.meta-row > div { display: flex; flex-direction: column; gap: 2px; }
.meta-row dt {
  font-size: .74rem; font-weight: 600; letter-spacing: .1em;
  color: var(--text-mute);
}
.meta-row dd { font-size: .97rem; font-weight: 700; letter-spacing: -0.02em; }

.profile-title {
  font-size: 1.35rem; font-weight: 800; letter-spacing: -0.025em;
  margin-bottom: 20px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
}

/* ── 기술 역량 ────────────────────────────────────────────── */
.capability { display: grid; gap: 20px; }
.cap {
  display: grid; grid-template-columns: 72px 1fr; gap: 8px;
  padding: 30px 32px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface);
  transition: border-color .3s;
}
.cap:hover { border-color: var(--accent-line); }
.cap-num {
  font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em;
  color: var(--accent); opacity: .55; line-height: 1.2;
}
.cap h3 { font-size: 1.14rem; margin-bottom: 10px; letter-spacing: -0.025em; }
.cap p { font-size: .95rem; color: var(--text-dim); max-width: 74ch; }

/* ── 보유 장비 표 ─────────────────────────────────────────── */
.equip { margin-top: 68px; }
.equip-desc { color: var(--text-dim); font-size: .96rem; margin-bottom: 24px; }

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line); border-radius: var(--radius);
  -webkit-overflow-scrolling: touch;
}
.table {
  width: 100%; border-collapse: collapse;
  font-size: .92rem; min-width: 660px;
}
.table th, .table td {
  padding: 14px 18px; text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.table thead th {
  background: var(--overlay);
  font-size: .78rem; font-weight: 700; letter-spacing: .1em;
  color: var(--text-mute);
  white-space: nowrap;
}
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: var(--accent-soft); }
.table td { color: var(--text-dim); }
/* 장비명 칸 — rowspan 때문에 nth-child로는 행마다 어긋나므로 클래스로 지정 */
.table .eq { color: var(--text); font-weight: 600; white-space: nowrap; }
.table .group {
  color: var(--accent); font-weight: 700;
  border-right: 1px solid var(--line);
  white-space: nowrap; background: var(--overlay);
}
.table .group small { display: block; font-weight: 500; color: var(--text-mute); font-size: .78rem; }

.equip-note {
  margin-top: 20px; padding: 18px 22px;
  font-size: .92rem; color: var(--text-dim);
  border-left: 2px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 8px 8px 0;
}
.equip-note strong { color: var(--text); }
.equip-note em { font-style: normal; color: var(--accent); font-weight: 600; }

/* ── 태그 필터 ────────────────────────────────────────────── */
.filter {
  display: flex; flex-wrap: wrap; gap: 9px;
  margin-bottom: 14px;
}
.chip-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 100px;
  font-family: inherit; font-size: .89rem; font-weight: 600;
  color: var(--text-dim); cursor: pointer;
  background: var(--surface); border: 1px solid var(--line);
  transition: color .22s, border-color .22s, background .22s, transform .22s var(--ease);
}
.chip-btn:hover { color: var(--text); border-color: var(--accent-line); transform: translateY(-1px); }
.chip-btn.is-on {
  color: var(--on-accent); background: var(--accent); border-color: var(--accent);
}
.chip-count {
  font-size: .76rem; font-weight: 700;
  padding: 1px 7px; border-radius: 100px;
  background: var(--overlay-strong); color: var(--text-mute);
}
.chip-btn.is-on .chip-count { background: rgba(255,255,255,.24); color: var(--on-accent); }

/* 2차 필터 — 한 단계 안쪽이라는 게 보이도록 들여쓰고 작게 */
.filter-sub {
  align-items: center;
  margin: 0 0 14px 14px;
  padding-left: 18px;
  border-left: 2px solid var(--line);
}
.filter-sub[hidden] { display: none; }
.filter-sub .chip-btn { padding: 7px 14px; font-size: .84rem; }
.filter-sub-label {
  font-size: .78rem; font-weight: 600; letter-spacing: .08em;
  color: var(--text-mute); margin-right: 4px;
}

.filter-status {
  min-height: 1.5em; margin-bottom: 18px;
  font-size: .86rem; color: var(--text-mute);
}

/* 전화하기 링크 — 번호를 노출하지 않고 동작만 제공 */
.tel-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; color: var(--accent);
}
.tel-link::before {
  content: ''; width: 14px; height: 14px; flex-shrink: 0;
  background: currentColor;
  -webkit-mask: var(--icon-phone) center / contain no-repeat;
  mask: var(--icon-phone) center / contain no-repeat;
}
.tel-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* 발주처 유형 배지 */
.rec-org {
  display: inline-block; margin: 0 0 10px 6px;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  color: var(--text-dim);
  padding: 4px 10px; border-radius: 100px;
  background: var(--overlay); border: 1px solid var(--line);
}

/* 필터로 감춰진 항목 */
.tl-item[hidden],
.rec-item[hidden] { display: none; }

/* 대표자 이력 카드 그리드 */
.rec-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
}
.rec-item {
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .25s, transform .25s var(--ease);
}
.rec-item:hover { border-color: var(--accent-line); transform: translateY(-2px); }

.rec-tag {
  display: inline-block; margin-bottom: 10px;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  color: var(--accent);
  padding: 4px 10px; border-radius: 100px;
  background: var(--accent-soft); border: 1px solid var(--accent-line);
}
.rec-item h4 {
  font-size: .99rem; font-weight: 700; letter-spacing: -0.02em;
  line-height: 1.45; margin-bottom: 5px;
}
.rec-item p { font-size: .86rem; color: var(--text-mute); }
.rec-item p em {
  font-style: normal; font-weight: 700; color: var(--text-dim);
  font-variant-numeric: tabular-nums;
}

/* 사업분야 카드 → 해당 실적으로 이동 */
.card-link {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 20px;
  font-size: .88rem; font-weight: 600; color: var(--accent);
  transition: gap .25s var(--ease);
}
.card-link:hover { gap: 12px; text-decoration: underline; text-underline-offset: 4px; }

/* ── 대표자 이력 ──────────────────────────────────────────── */
.ceo { margin-top: 72px; }
.ceo-desc { color: var(--text-dim); font-size: .96rem; margin-bottom: 28px; }
/* ── 협력 네트워크 ────────────────────────────────────────── */
.partners { margin-top: 72px; }
.partner-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.partner-grid > div {
  padding: 26px 26px 24px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface);
}
.partner-grid h4 {
  font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  color: var(--text-mute); margin-bottom: 14px;
}
.partner-grid p { font-size: 1rem; font-weight: 600; }
.partner-grid p + p { margin-top: 8px; }
.partner-grid .role {
  display: inline-block; margin-left: 6px;
  font-size: .74rem; font-weight: 600; color: var(--accent);
  padding: 2px 9px; border-radius: 100px;
  background: var(--accent-soft); border: 1px solid var(--accent-line);
}
.partner-note { margin-top: 18px; font-size: .9rem; color: var(--text-mute); }

/* ── 반응형 ───────────────────────────────────────────────── */
@media (max-width: 900px) {
  .about-grid,
  .location-grid,
  .cards { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 48px; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stats strong { font-size: 1.7rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 26px; }
  .equip, .ceo, .partners { margin-top: 52px; }
  .meta-row { gap: 0 24px; }
}

@media (max-width: 720px) {
  .br-pc { display: none; }

  .hamburger { display: flex; }

  .nav {
    position: fixed; inset: 74px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--header-bg);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 10px 24px 26px;
    transform: translateY(-12px);
    opacity: 0; pointer-events: none;
    transition: opacity .28s var(--ease), transform .28s var(--ease);
  }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  /* 열린 메뉴 패널은 밝은 배경 → 글자를 다시 어둡게 */
  .site-header:not(.scrolled) .nav.open a:not(.nav-cta) { color: var(--text-dim); }
  .site-header:not(.scrolled) .nav.open a:not(.nav-cta):hover { color: var(--text); }
  .nav a { padding: 15px 0; font-size: 1.02rem; border-bottom: 1px solid var(--line); }
  .nav a:not(.nav-cta)::after { display: none; }
  .nav-cta {
    margin-top: 18px; border-bottom: 0 !important;
    text-align: center; padding: 15px 20px;
  }

  .stats { grid-template-columns: 1fr; }
  .tl-item {
    grid-template-columns: 1fr; gap: 8px;
    align-items: start; padding: 18px 0;
  }
  .tl-item::before { top: 26px; margin-top: 0; }
  .tl-tag { justify-self: start; }
  .cards { grid-template-columns: 1fr; }
  .card-body { padding: 22px 22px 26px; }
  .cap { grid-template-columns: 1fr; gap: 6px; padding: 24px 22px; }
  .cap-num { font-size: 1.25rem; }
  .feature-row { grid-template-columns: 1fr; }
  .hero-img, .hero-video { object-position: center 45%; }
  .scroll-hint { display: none; }
}

/* ── 접근성: 모션 최소화 설정 존중 ────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
