/* GSM ZODIAC v06 — 밤바다 첫 화면, 흰 종이 본문 */

@font-face { font-family: "Wanted Sans"; src: url("fonts/WantedSans-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Wanted Sans"; src: url("fonts/WantedSans-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Wanted Sans"; src: url("fonts/WantedSans-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Wanted Sans"; src: url("fonts/WantedSans-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("fonts/Archivo-Variable-latin.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }

:root {
  /* 색: 흰 종이 + 남색 잉크 + 선체 빨강 하나 */
  --paper: #ffffff;
  --mist: #f3f5f8;
  --line: #dde2e9;
  --line-2: #c4ccd6;
  --ink: #0b1f44;
  --ink-2: #3c4a63;
  --ink-3: #5d6a80;
  --navy: #063b84;
  --red: #c23a2c;
  --night: #070c14;
  --on-dark: #ffffff;
  --on-dark-2: rgba(255, 255, 255, .78);
  --on-dark-line: rgba(255, 255, 255, .28);

  /* 글자 */
  --kr: "Wanted Sans", system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;
  --en: "Archivo", "Wanted Sans", system-ui, sans-serif;
  --fs-hero: clamp(44px, 6.7vw, 100px);
  --fs-h2: clamp(28px, 3.2vw, 44px);
  --fs-lead: clamp(20px, 2.1vw, 30px);
  --fs-body: 17px;
  --fs-sm: 15px;
  --fs-xs: 13px;

  /* 간격 */
  --gut: clamp(20px, 5.5vw, 80px);
  --sec: clamp(80px, 10vw, 152px);
  --hdr-h: 76px;
  --max: 1440px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--kr); font-size: var(--fs-body); line-height: 1.65; word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.num { font-family: var(--en); font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 16px; }
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.arr { display: inline-block; margin-left: 8px; font-family: var(--en); transition: transform .2s ease; }
a:hover .arr { transform: translateX(4px); }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 1px solid var(--ink); font-size: var(--fs-sm); font-weight: 600; letter-spacing: -.01em; transition: background .2s, color .2s, border-color .2s; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--navy); border-color: var(--navy); }
.btn--line { background: #fff; color: var(--ink); }
.btn--line:hover { border-color: var(--navy); color: var(--navy); }

/* 헤더: 첫 화면 위에서는 투명·흰 글자, 내려가면 흰 바탕 */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr-h); color: var(--ink); background: var(--paper); border-bottom: 1px solid var(--line); transition: background .3s, color .3s, border-color .3s; }
.hdr .wrap { height: 100%; display: flex; align-items: center; gap: 32px; }
.logo { display: inline-flex; align-items: center; min-height: 48px; }
.logo img { width: auto; height: 30px; transition: filter .3s; }
.nav { margin-left: auto; display: flex; gap: 36px; font-size: var(--fs-sm); font-weight: 500; }
.nav a { position: relative; padding: 8px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.lang { display: flex; align-items: center; gap: 8px; font-family: var(--en); font-size: var(--fs-xs); letter-spacing: .06em; }
.lang a { color: inherit; text-decoration: none; opacity: .55; padding: 12px 0; transition: opacity .2s; }
.lang a:hover, .lang a:focus-visible { opacity: 1; }
html[lang="en"] body { word-break: normal; }
.btn--hdr { min-height: 44px; padding: 0 18px; border-color: currentColor; color: inherit; background: transparent; }
.btn--hdr:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.burger { display: none; margin-left: auto; width: 48px; height: 48px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; position: relative; }
.burger i { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform .25s, top .25s; }
.burger i:first-child { top: 19px; }
.burger i:last-child { top: 28px; }
.burger[aria-expanded="true"] i:first-child { top: 23.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { top: 23.5px; transform: rotate(-45deg); }

.has-hero .hdr:not(.is-solid) { background: transparent; border-color: transparent; color: var(--on-dark); }
.has-hero .hdr:not(.is-solid) .logo img { filter: brightness(0) invert(1); }
.has-hero .hdr:not(.is-solid) .btn--hdr:hover { background: #fff; border-color: #fff; color: var(--ink); }
.menu-open .hdr { background: var(--paper) !important; color: var(--ink) !important; border-color: var(--line) !important; }
.menu-open .hdr .logo img { filter: none !important; }

/* 모바일 메뉴 */
.menu { position: fixed; inset: var(--hdr-h) 0 0; z-index: 49; background: var(--paper); padding: 24px var(--gut) 40px; overflow-y: auto; display: none; }
.menu.open { display: block; }
.menu-nav a { display: flex; align-items: center; min-height: 64px; border-bottom: 1px solid var(--line); font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.menu-nav a[aria-current="page"] { color: var(--navy); }
.menu-nav a.menu-lang { min-height: 56px; border-bottom: 0; font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--ink-3); }
.menu-desks { margin-top: 32px; display: grid; gap: 4px; }
.menu-desks a { display: flex; flex-direction: column; justify-content: center; min-height: 56px; font-size: var(--fs-sm); }
.menu-desks b { font-weight: 600; }
.menu-desks .num { color: var(--ink-3); font-size: var(--fs-sm); }

/* 첫 화면 */
.hero { position: relative; min-height: 100vh; min-height: 100svh; max-height: 1080px; display: flex; color: var(--on-dark); background: var(--night); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-video { width: 100%; height: 100%; object-fit: cover; object-position: 38% 55%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(7, 12, 20, .55) 0%, rgba(7, 12, 20, 0) 22%),
  linear-gradient(0deg, rgba(7, 12, 20, .86) 0%, rgba(7, 12, 20, .5) 36%, rgba(7, 12, 20, .18) 56%, rgba(7, 12, 20, 0) 74%); }
.hero-body { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; align-content: end; column-gap: 48px; padding-top: calc(var(--hdr-h) + 40px); padding-bottom: 0; }
.hero h1 { grid-column: 1 / -1; font-size: var(--fs-hero); font-weight: 500; line-height: 1.08; letter-spacing: -.035em; }
.hero-sub { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-top: clamp(20px, 2.4vw, 32px); }
.hero-sub p { color: var(--on-dark-2); font-size: clamp(16px, 1.4vw, 19px); letter-spacing: -.01em; }
.hero-link { display: inline-block; line-height: 48px; min-height: 48px; font-size: var(--fs-sm); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 8px; text-decoration-color: var(--on-dark-line); transition: text-decoration-color .2s; }
.hero-link:hover { text-decoration-color: #fff; }
.hero-figs { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(32px, 4.5vw, 64px); border-top: 1px solid var(--on-dark-line); }
.hero-figs div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 2px; padding: 20px 24px 28px 0; }
.hero-figs div + div { padding-left: 24px; border-left: 1px solid var(--on-dark-line); }
.hero-figs dt { color: var(--on-dark-2); font-size: var(--fs-xs); letter-spacing: .01em; }
.hero-figs dd { font-family: var(--en); font-size: clamp(30px, 3.2vw, 46px); font-weight: 400; line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hero-figs small { margin-left: 4px; font-family: var(--kr); font-size: max(13px, .42em); font-weight: 500; letter-spacing: 0; }
.hero-figs sup { margin-left: 2px; font-size: .55em; vertical-align: .55em; color: #ff8f80; }

/* 구역 공통 */
.sec { padding: var(--sec) 0; }
.sec--line > .wrap { padding-top: var(--sec); background: linear-gradient(var(--line), var(--line)) no-repeat var(--gut) 0 / calc(100% - 2 * var(--gut)) 1px; }
.sec--line { padding-top: 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head h2, .desk-main h2 { font-size: var(--fs-h2); font-weight: 600; line-height: 1.22; letter-spacing: -.03em; }
.sec-head p, .desk-main p { color: var(--ink-2); max-width: 34em; }
.more { display: inline-block; line-height: 48px; min-height: 48px; font-size: var(--fs-sm); font-weight: 600; color: var(--navy); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 7px; }
.lbl { font-family: var(--en); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.lbl span { display: block; margin-top: 6px; color: var(--ink-3); font-weight: 400; }

/* 회사 한 문단 */
.intro-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 48px; }
.intro-text { font-size: var(--fs-lead); font-weight: 500; line-height: 1.55; letter-spacing: -.025em; max-width: 30em; margin-bottom: 32px; }
.intro { padding-bottom: 0; }

/* 서비스 4칸 */
.svcs { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.svc { display: flex; flex-direction: column; padding: 28px 28px 32px 0; transition: background .2s; }
.svc + .svc { padding-left: 28px; border-left: 1px solid var(--line); }
.svc-en { font-family: var(--en); font-size: var(--fs-xs); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.svc-kr { margin-top: 12px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.svc-d { margin-top: 12px; color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.6; }
.svc-n { margin-top: auto; padding-top: 40px; font-family: var(--en); font-size: 48px; font-weight: 300; line-height: 1; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.svc-n small { margin-left: 6px; font-family: var(--kr); font-size: var(--fs-sm); font-weight: 600; letter-spacing: 0; color: var(--red); }
.svc:hover .svc-kr { color: var(--navy); }
.after { margin-top: 32px; color: var(--ink-2); font-size: var(--fs-sm); }
.after b { color: var(--ink); font-weight: 600; }
.after .more { margin-left: 12px; }

/* 사진 띠 */
.band img { width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; object-position: 50% 50%; }

/* 실적 */
.rec { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.rec-big h2 { display: flex; flex-direction: column; }
.big { font-family: var(--en); font-size: clamp(120px, 15vw, 220px); font-weight: 200; font-stretch: 90%; line-height: .82; letter-spacing: -.05em; color: var(--ink); font-variant-numeric: tabular-nums; }
.rec-t { margin-top: 24px; font-size: var(--fs-h2); font-weight: 600; line-height: 1.22; letter-spacing: -.03em; }
.rec-big p { margin: 20px 0 28px; color: var(--ink-2); max-width: 26em; }
.rec-tbl h3 { font-size: var(--fs-sm); font-weight: 600; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.tbl { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.tbl th { padding: 14px 12px 10px 0; text-align: left; font-family: var(--en); font-size: var(--fs-xs); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); border-bottom: 1px solid var(--line); }
.tbl td { padding: 18px 12px 18px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl .v { font-family: var(--en); font-weight: 600; font-stretch: 110%; letter-spacing: .02em; }
#snp-table td.v, #snp-table td.t, #tc-table td.v, #tc-table td.t { overflow-wrap: anywhere; } /* 관리자 데이터(live.js)의 긴 이름도 칸 안에서 줄바꿈 */
.tbl .t { color: var(--ink-2); }
.tbl .r { text-align: right; font-family: var(--en); font-variant-numeric: tabular-nums; }
.tbl .b { width: 28%; padding-left: 16px; padding-right: 0; }
.bar { display: block; height: 4px; background: var(--mist); }
.bar i { display: block; height: 100%; background: var(--navy); }
.tbl tr:first-child .bar i { background: var(--red); }
.tbl td.empty { color: var(--ink-3); font-size: var(--fs-sm); padding-block: 24px; } /* 관리자가 목록을 비웠을 때(live.js) */
.tbl-note { margin-top: 16px; color: var(--ink-3); font-size: var(--fs-xs); }

/* 거래처 */
.cls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.cl { padding: 24px 28px 8px 0; }
.cl + .cl { padding-left: 28px; border-left: 1px solid var(--line); }
.cl:last-child { padding-right: 0; }
.cl h3 { display: flex; align-items: baseline; justify-content: space-between; font-size: 18px; font-weight: 600; margin-bottom: 16px; }
.cl h3 span { font-family: var(--en); font-size: var(--fs-xs); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.cl li { padding: 10px 0; border-bottom: 1px solid var(--line); font-family: var(--en); font-size: var(--fs-sm); letter-spacing: .01em; }
.cl li:last-child { border-bottom: 0; }

/* 데스크 */
.desk { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); }
.desk-main p { margin-top: 20px; }
.desk-rows { border-top: 1px solid var(--ink); }
.desk-row { display: grid; grid-template-columns: 1fr auto 24px; align-items: center; gap: 24px; min-height: 84px; border-bottom: 1px solid var(--line); transition: color .2s; }
.desk-row:hover { color: var(--navy); }
.dr-k b { display: block; font-size: 18px; font-weight: 600; }
.dr-k span { font-family: var(--en); font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.desk-row .num { font-size: var(--fs-body); }
.desk-tel { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; padding-top: 28px; }
.desk-tel > span:first-child { font-family: var(--en); font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.desk-tel a { font-size: clamp(28px, 3vw, 40px); font-weight: 300; letter-spacing: -.02em; }
.desk-tel .fax { color: var(--ink-3); font-size: var(--fs-sm); }

/* 푸터: 흰 바탕 */
.ftr { border-top: 1px solid var(--line); padding: 64px 0 40px; font-size: var(--fs-sm); color: var(--ink-2); }
.ftr-grid { display: grid; grid-template-columns: 1.3fr 1.6fr 1fr 1fr; gap: 40px; }
.ftr-brand img { height: 28px; width: auto; margin-bottom: 18px; }
.ftr-col { display: flex; flex-direction: column; align-items: flex-start; }
.ftr-col b { color: var(--ink); font-weight: 600; margin-bottom: 8px; }
.ftr-col b.gap { margin-top: 16px; }
.ftr-col a, .ftr-col span { display: inline-flex; align-items: center; min-height: 36px; }
.ftr-col a:hover { color: var(--navy); }
.ftr-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: var(--fs-xs); color: var(--ink-3); }

.dock { display: none; }

/* ── 하위 쪽 공통: 짧은 어두운 머리 ── */
.hero--page { min-height: 0; height: clamp(440px, 62vh, 620px); max-height: none; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero--page .hero-body { padding-bottom: clamp(40px, 5vw, 72px); }
.hero-en { grid-column: 1 / -1; margin-bottom: 16px; font-family: var(--en); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); }
.hero--page h1 { font-size: clamp(40px, 5.2vw, 76px); }
.hero--page .hero-sub p { max-width: 36em; }
.h-en { display: block; margin-top: 10px; font-family: var(--en); font-size: var(--fs-xs); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }

mark.todo { background: #fff2a0; color: #4a3a00; padding: 2px 6px; font-family: var(--kr); font-size: 13px; font-weight: 500; line-height: 1.7; letter-spacing: 0; text-transform: none; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* 회사 */
.vision-t { font-size: var(--fs-h2); font-weight: 600; line-height: 1.22; letter-spacing: -.03em; }
.vision-en { margin-top: 10px; font-family: var(--en); font-size: var(--fs-sm); color: var(--ink-3); }
.vision-body { margin-top: 32px; display: grid; gap: 14px; color: var(--ink-2); max-width: 40em; }
.facts { border-top: 1px solid var(--ink); }
.facts div { display: grid; grid-template-columns: minmax(120px, 3fr) 9fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--ink-3); font-size: var(--fs-sm); font-weight: 500; }
.facts dd { font-weight: 500; }
.facts small { display: block; margin-top: 2px; font-family: var(--en); font-size: var(--fs-sm); font-weight: 400; color: var(--ink-3); }
.letter h2 { font-size: var(--fs-h2); font-weight: 600; letter-spacing: -.03em; margin-bottom: 20px; }
.letter .intro-text { margin-bottom: 24px; }
.letter-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; color: var(--ink-2); }
.sign { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.sign q { font-family: var(--en); font-size: 22px; font-weight: 400; letter-spacing: -.01em; quotes: none; }
.sign b { font-family: var(--en); font-size: var(--fs-sm); font-weight: 600; }
.lines { border-top: 1px solid var(--ink); }
.line { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.line-h b { display: block; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.line-h span { display: block; margin-top: 6px; font-family: var(--en); font-size: var(--fs-xs); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.line-b { color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font: inherit; font-size: var(--fs-sm); font-weight: 500; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.chip .num { color: var(--red); font-weight: 600; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip[aria-pressed="true"] .num { color: #ff9d90; }
.line--hist { grid-template-columns: 160px 1fr; }
.line--hist .when { color: var(--ink-3); font-size: var(--fs-sm); padding-top: 2px; }
.line--hist b { display: block; font-weight: 600; }
.line--hist p { color: var(--ink-2); }

/* 임원진 */
.grp + .grp { margin-top: clamp(64px, 8vw, 112px); }
.grp h2 { display: flex; align-items: baseline; gap: 16px; font-size: var(--fs-h2); font-weight: 600; letter-spacing: -.03em; margin-bottom: 32px; }
.grp h2 span, .office h3 span { font-family: var(--en); font-size: var(--fs-xs); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.ppls { border-top: 1px solid var(--ink); }
.ppl { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); gap: 32px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.p-name b { display: flex; align-items: baseline; gap: 10px; font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.p-name small { font-size: var(--fs-sm); font-weight: 500; color: var(--red); }
.p-name span { display: block; margin-top: 6px; font-family: var(--en); font-size: var(--fs-sm); color: var(--ink-3); }
.p-cv li { display: grid; grid-template-columns: 28px 1fr; padding: 3px 0; color: var(--ink-2); font-size: var(--fs-sm); }
.p-cv i { font-style: normal; color: var(--ink-3); }
html[lang="en"] .p-cv li { grid-template-columns: 40px 1fr; }
.p-ct { display: flex; flex-direction: column; align-items: flex-start; font-size: var(--fs-sm); }
.p-ct a { display: inline-flex; align-items: center; min-height: 32px; color: var(--ink); }
.p-ct a:hover { color: var(--navy); }
.todo-box { margin-top: 40px; display: grid; gap: 8px; justify-items: start; color: var(--ink-3); font-size: var(--fs-sm); }

/* 실적 */
.idx { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.idx a { display: flex; flex-direction: column; gap: 6px; padding: 32px 24px 28px 0; transition: color .2s; }
.idx a + a { padding-left: 24px; border-left: 1px solid var(--line); }
.idx a:hover { color: var(--navy); }
.idx-n { font-family: var(--en); font-size: clamp(36px, 4vw, 56px); font-weight: 300; line-height: 1; letter-spacing: -.03em; }
.idx-n small { margin-left: 6px; font-family: var(--kr); font-size: var(--fs-sm); font-weight: 600; letter-spacing: 0; color: var(--red); }
.idx-l b { font-weight: 600; }
.idx-l span { margin-left: 8px; font-family: var(--en); font-size: var(--fs-xs); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 24px; }
.filter-out { margin-left: auto; color: var(--ink-3); font-size: var(--fs-sm); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.split-h { font-size: 26px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 20px; }
.tbl--nb td:last-child { color: var(--ink-2); }

/* 문의 */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; max-width: 960px; }
.form .full { grid-column: 1 / -1; }
.form fieldset { margin: 0; padding: 0; border: 0; }
.form legend, .form label { display: block; margin-bottom: 8px; font-size: var(--fs-sm); font-weight: 600; }
.form input[type="text"], .form input[type="tel"], .form input[type="email"], .form textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 0; background: #fff; color: var(--ink); font: inherit; }
.form textarea { min-height: 180px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--navy); outline-offset: 0; border-color: var(--navy); }
.pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pick label { position: relative; display: grid; gap: 2px; margin: 0; padding: 16px 16px 16px 46px; border: 1px solid var(--line-2); cursor: pointer; font-weight: 400; }
.pick input { position: absolute; left: 16px; top: 19px; width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.pick b { font-weight: 600; }
.pick span { color: var(--ink-3); font-size: var(--fs-sm); }
.pick label:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.form-foot { display: flex; align-items: center; justify-content: flex-end; gap: 24px; }
.form-msg { margin: 0 auto 0 0; color: var(--ink-2); font-size: var(--fs-sm); }
.form-msg[data-state="ok"] { color: var(--navy); font-weight: 600; }
.form-msg[data-state="err"] { color: var(--red); }
.form-msg a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.form .btn[aria-busy="true"] { opacity: .6; pointer-events: none; }
.form label .lim { margin-left: 6px; font-size: inherit; font-weight: 400; color: var(--ink-3); }
.consent label { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; margin: 0; padding-top: 10px; font-weight: 400; color: var(--ink-2); cursor: pointer; }
.consent input { flex: none; width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--ink); }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 64px); }
.office h3 { display: flex; align-items: baseline; gap: 12px; font-size: 22px; font-weight: 600; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.office address { margin: 16px 0 20px; font-style: normal; color: var(--ink-2); }
.map { display: grid; place-items: center; aspect-ratio: 16 / 10; background: var(--mist); text-align: center; color: var(--ink-3); font-size: var(--fs-sm); }
.map b { display: block; color: var(--ink-2); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

@media (max-width: 1100px) {
  .ppl { grid-template-columns: 1fr 1fr; }
  .p-ct { grid-column: 2; }
}
@media (max-width: 900px) {
  .hero--page { height: auto; min-height: 420px; }
  .hero--page .hero-body { padding-top: calc(var(--hdr-h) + 120px); }
  .letter-cols, .split, .offices, .line { grid-template-columns: 1fr; gap: 16px; }
  .line--hist { grid-template-columns: 1fr; gap: 4px; }
  .ppl { grid-template-columns: 1fr; gap: 14px; }
  .p-ct { grid-column: auto; }
  .p-ct a { min-height: 44px; }
  .idx { grid-template-columns: 1fr 1fr; }
  .idx a { padding: 20px 16px 20px 0; }
  .idx a + a { padding-left: 16px; }
  .idx a:nth-child(3) { padding-left: 0; border-left: 0; }
  .idx a:nth-child(n+3) { border-top: 1px solid var(--line); }
  .idx-l span { display: block; margin: 2px 0 0; }
  .filter-out { margin-left: 0; width: 100%; }
  .pick { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
}
@media (max-width: 600px) {
  .form { grid-template-columns: 1fr; }
  .form-foot { flex-direction: column-reverse; align-items: stretch; gap: 12px; }
  .form-foot .btn { width: 100%; }
  .tbl--nb td:last-child { font-size: var(--fs-xs); }
}

/* 움직임 줄이기: 영상 대신 포스터 정지 화면 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .hero-video { display: none; }
  .hero-media { background: url("img/hero-poster.jpg") 38% 55% / cover no-repeat; }
}

@media (max-width: 1100px) {
  .nav { gap: 24px; }
  .lang { display: none; }
  .svcs { grid-template-columns: repeat(2, 1fr); }
  .svc:nth-child(3) { padding-left: 0; border-left: 0; }
  .svc:nth-child(n+3) { border-top: 1px solid var(--line); }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --hdr-h: 64px; --fs-body: 16px; }
  .nav, .btn--hdr { display: none; }
  .burger { display: block; }
  .logo img { height: 26px; }
  .hero { max-height: none; }
  .hero-video { object-position: 64% 50%; }
  .hero-sub { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero-figs { grid-template-columns: repeat(2, 1fr); }
  .hero-figs div { padding: 14px 16px 16px 0; }
  .hero-figs div + div { padding-left: 16px; }
  .hero-figs div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-figs div:nth-child(n+3) { border-top: 1px solid var(--on-dark-line); }
  .sec-head, .intro-grid, .rec, .desk { grid-template-columns: 1fr; gap: 24px; }
  .cls { grid-template-columns: 1fr; }
  .cl + .cl { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .cl { padding-right: 0; }
  .cl ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .band img { aspect-ratio: 4 / 3; }
  .rec-tbl { margin-top: 16px; }
  .dock { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; inset: auto 0 0; z-index: 40; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .3s; }
  .dock.is-on { transform: none; }
  .ftr { padding-bottom: 112px; }
  .ftr-col a, .ftr-col span { min-height: 44px; }
}

@media (max-width: 600px) {
  .svcs { grid-template-columns: 1fr; }
  .svc, .svc + .svc { padding: 24px 0 28px; border-left: 0; }
  .svc + .svc { border-top: 1px solid var(--line); }
  .svc-n { padding-top: 24px; font-size: 40px; }
  .tbl .t { display: none; }
  .tbl .b { width: 30%; }
  .desk-row { grid-template-columns: 1fr 20px; gap: 4px 12px; padding: 16px 0; }
  .desk-row .num { grid-column: 1; grid-row: 2; font-size: var(--fs-sm); color: var(--ink-2); }
  .desk-row .arr { grid-column: 2; grid-row: 1 / 3; }
  .ftr-grid { grid-template-columns: 1fr; gap: 28px; }
  .after .more { margin-left: 0; }
}
