/* MORE AND HOW — site.css
   CI 색: Navy #0B2545 · Blue #3B82F6 · Light Blue #E6F2FF · Gray #B7C1CC (2026-11-26 확정본).
   글꼴: 한글·본문 Pretendard(OFL, 각 쪽 <head>에서 판 1.3.9 고정), 영문 표어·가치 이름 Montserrat(OFL, 판 5.3.0 고정 —
   v2에서 영문 표어 띠를 뺀 뒤로 화면에 쓰는 곳은 없고 정의만 둔다. 쓰는 곳이 없으면 내려받지 않는다).
   틀(v2, 2026-11-26 상균): 쪽마다 머리·본문·바닥이 PC(1440×900·1920×1080) 한 화면에 들어가고, 메뉴를 누르면 다음 쪽으로 넘어간다.
   본문을 세로로 쌓으면 다시 스크롤이 생긴다 — 내용은 가로로 놓는다(휴대폰만 세로로 쌓고 조금 내려간다). */

@font-face {
  font-family: "MH Montserrat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/npm/@fontsource/montserrat@5.3.0/files/montserrat-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "MH Montserrat";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/npm/@fontsource/montserrat@5.3.0/files/montserrat-latin-500-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #0B2545;
  --blue: #3B82F6;
  --light: #E6F2FF;
  --gray: #B7C1CC;
  --navy-deep: #081C36;
  --blue-strong: #2563EB;   /* 흰 글자를 얹는 파랑(대비 5.2:1) */
  --mark-tone: #193F6E;     /* 남색 위 큰 심볼의 막대 */
  --ink: #0B2545;
  --ink-2: #3E5068;
  --ink-3: #5C6B80;
  --rule: #DCE3EC;
  --rule-light: #C9DBF0;
  --tint: #F4F8FD;
  --on-navy-2: #C3CEDB;
  --rule-navy: rgba(230, 242, 255, .16);
  --header-h: 64px;
  --gutter: clamp(16px, 4.4vw, 56px);
  --maxw: 1280px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --font-en: "MH Montserrat", var(--font);
  color-scheme: light;
}
@media (min-width: 768px) { :root { --header-h: 76px; } }

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
  scrollbar-color: #A3B3C6 #F1F4F8;
}
/* 한 화면 틀: 머리 · 본문(남은 높이를 다 채움) · 바닥. 내용이 화면보다 길면(휴대폰) 그냥 내려간다 — 넘침을 숨기지 않는다 */
body {
  display: flex; flex-direction: column;
  min-height: 100vh; min-height: 100svh;
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: #fff;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 768px) { body { font-size: 17px; } }
main { flex: 1 0 auto; display: flex; flex-direction: column; }
main > * { flex: 1 0 auto; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: .28em; text-decoration-thickness: 1px; }
img { display: block; max-width: 100%; height: auto; }
::selection { background: #CFE3FF; color: var(--navy); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.on-navy :focus-visible { outline-color: #8CC2FF; }

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 50;
  padding: 10px 16px; background: var(--navy); color: #fff; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* 아이콘(Lucide 선 아이콘, assets/icons.svg) */
.ico, .ico-sm {
  flex: none; fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.ico-sm { width: 18px; height: 18px; stroke-width: 2; transition: transform .35s var(--ease-out); }

/* ---------- 머리 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: #fff;
  border-bottom: 1px solid var(--rule);
}
/* 가로로 눕힌 휴대폰처럼 화면 높이가 낮으면 머리를 따라오지 않게 — 본문 자리를 지킨다 */
@media (max-height: 480px) { .site-header { position: relative; } }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: var(--header-h);
}
.brand { display: block; flex: none; }
.brand img { height: 30px; width: auto; }
@media (min-width: 640px) { .brand img { height: 34px; } }
@media (min-width: 1024px) { .brand img { height: 40px; } }
.nav ul { display: flex; gap: clamp(4px, 2.4vw, 32px); }
.nav a {
  --pad: 8px;
  position: relative; display: block;
  padding: 10px var(--pad);
  font-size: 16px; font-weight: 600; line-height: 24px;
  text-decoration: none; white-space: nowrap;
}
.nav a::after {
  content: ""; position: absolute; left: var(--pad); right: var(--pad); bottom: 3px; height: 2px;
  background: var(--blue);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
/* 메뉴 4개(마케팅·CS·운영·문의하기)가 가장 좁은 휴대폰(320)에서도 한 줄에 들어가게 */
@media (max-width: 400px) {
  .nav ul { gap: 2px; }
  .nav a { --pad: 5px; font-size: 15px; }
}

/* ---------- 단추 ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border: 1px solid transparent; border-radius: 2px;
  font: inherit; font-size: 16px; font-weight: 600; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  transition: background-color .25s, color .25s, border-color .25s;
}
.btn:hover .ico-sm, .areas a:hover .ico-sm { transform: translateX(3px); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--light); }
.btn-line { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-line:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

/* ---------- 큰 심볼(로고 사선) ---------- */
.mark { position: absolute; display: block; max-width: none; height: auto; aspect-ratio: 911.6 / 402.7; pointer-events: none; }
.mark .m-b1, .mark .m-b2, .mark .m-h { fill: var(--mark-tone); }
/* 파란 막대의 그라데이션은 HTML의 fill 속성(url(#mh-grad))으로 칠한다. 여기 css에 url(#…)을 쓰면
   이 css 파일 기준 주소로 풀려 막대가 사라진다(2026-11-26 화면 시험에서 확인). */
/* 첫 화면 한 번: 막대가 사선을 따라 아래에서 올라온다(파란 막대가 마지막) */
@keyframes mh-rise { from { transform: translate(-70px, 100px); opacity: 0; } }
.mark-anim path { animation: mh-rise 1.1s var(--ease-out) both; }
.mark-anim .m-b2 { animation-delay: .07s; }
.mark-anim .m-h { animation-delay: .14s; }
.mark-anim .m-bl { animation-delay: .3s; animation-duration: 1.3s; }
@media (prefers-reduced-motion: reduce) {
  .mark-anim path { animation: none; }
  * { transition-duration: 0s !important; }
}

/* ---------- 첫 화면(하는 일): 슬로건·한 줄 설명·심볼 + 세 영역 바로가기 한 줄 ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  background: var(--navy); color: #fff;
}
/* 사진·배경 영상 자리 — 비어 있으면 남색 바탕과 심볼만 보인다 */
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media > img, .hero-media > video { width: 100%; height: 100%; object-fit: cover; }
/* 휴대폰: 글 아래에 심볼 자리를 비워 둔다 */
.hero-inner {
  position: relative; flex: 1 0 auto;
  padding-top: clamp(40px, 9vw, 64px);
  padding-bottom: calc(min(84vw, 560px) / 2.264 + 32px);
}
.hero-copy { position: relative; z-index: 1; max-width: 40rem; }
/* vh 값들: 화면 높이가 낮은 PC(브라우저 막대를 뺀 1440×900 ≈ 780, 125% 배율 노트북 ≈ 740)에서도 한 화면에 들어가게
   글자·여백을 줄인다. 높이 700px까지 스크롤 없음(2026-11-26 측정) — 고정 px로 되돌리면 낮은 화면에서 다시 내려간다 */
.hero h1 {
  font-size: clamp(2rem, min(1.1rem + 3.6vw, 6.2vh), 3.5rem);
  line-height: 1.24; font-weight: 700; letter-spacing: -0.03em;
}
.hero h1 span { display: block; text-wrap: balance; }
.hero-lead {
  margin-top: clamp(16px, 2.6vh, 24px); max-width: 32em;
  color: var(--on-navy-2);
  font-size: clamp(1rem, .95rem + .3vw, 1.1875rem);
  text-wrap: pretty;
}
.hero-mark { width: min(84vw, 560px); right: -6%; bottom: 0; }
/* 태블릿·PC: 글은 왼쪽, 심볼은 오른쪽 — 아래 바로가기 줄 위에 선다 */
@media (min-width: 768px) {
  .hero-inner { display: flex; align-items: center; padding-block: clamp(24px, 4.4vh, 72px); }
  .hero-copy { max-width: min(40rem, 58%); }
  .hero-mark { width: min(44%, 640px); right: var(--gutter); }
}

/* 세 영역 바로가기 — 휴대폰은 한 줄에 하나, 600px부터 세 칸 한 줄 */
.areas { border-top: 1px solid var(--rule-navy); }
.areas ul { display: grid; }
.areas li + li { border-top: 1px solid var(--rule-navy); }
.areas a { display: block; height: 100%; padding-block: 18px; text-decoration: none; }
.area-name {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 1.25rem; font-weight: 700; line-height: 1.4; letter-spacing: -0.02em;
}
.area-sub { display: block; margin-top: 2px; color: var(--on-navy-2); font-size: .9375rem; }
.areas a:hover .area-name { text-decoration: underline; }
@media (min-width: 600px) {
  .areas ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .areas li + li { border-top: 0; border-left: 1px solid var(--rule-navy); }
  .areas a { padding: clamp(20px, 3.4vh, 32px) clamp(16px, 2.4vw, 32px); }
  .areas li:first-child a { padding-left: 0; }
  .areas li:last-child a { padding-right: 0; }
}

/* ---------- 바닥 ---------- */
.site-footer { background: var(--navy-deep); color: var(--on-navy-2); padding-block: 48px 36px; font-size: .9375rem; }
.foot-top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px;
  padding-bottom: 28px; border-bottom: 1px solid var(--rule-navy);
}
.foot-brand { display: block; }
.foot-brand img { height: 30px; width: auto; }
.foot-nav ul { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.foot-nav a { display: block; padding-block: 8px; color: #fff; font-weight: 600; text-decoration: none; }
.foot-nav a:hover { text-decoration: underline; }
.foot-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 24px; }
.foot-info { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.site-footer .pending { border-color: rgba(183, 193, 204, .55); color: var(--gray); }
.copy { color: #93A3B8; }

/* ---------- 쪽 제목 글자(영역·문의·404 같이 씀) ---------- */
.page-head h1, .split-head h1 {
  position: relative; z-index: 1;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); line-height: 1.25; font-weight: 700; letter-spacing: -0.03em;
  text-wrap: balance;
}
.page-head .lead, .split-head .lead {
  position: relative; z-index: 1;
  max-width: 34em; margin-top: 18px;
  color: var(--on-navy-2); font-size: clamp(1rem, .95rem + .3vw, 1.1875rem); text-wrap: pretty;
}

/* ---------- 영역(마케팅·CS·운영)·문의 쪽: 왼쪽 남색 제목 칸 | 오른쪽 내용 칸 ---------- */
.split { display: grid; grid-template-rows: auto 1fr; }
.split-head {
  display: flex; flex-direction: column; gap: 32px;
  padding-block: 40px;
  background: var(--navy); color: #fff;
  /* 남색을 화면 끝까지 넓힌다: 그림자로 칠하고 clip-path로 자른다(휴대폰은 양옆, 넓은 화면은 왼쪽만) */
  box-shadow: 0 0 0 100vmax var(--navy);
  clip-path: inset(0 -100vmax);
}
.split-mark { position: static; align-self: flex-end; width: min(72%, 400px); margin-top: auto; }
.split-body { display: flex; flex-direction: column; justify-content: center; padding-block: 32px 56px; }
.split-body .placeholder { flex: 1 0 auto; display: grid; place-items: center; min-height: 200px; text-align: center; }
@media (min-width: 768px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: none; }
  .split-head { padding-block: clamp(32px, 5.6vh, 88px); padding-right: clamp(24px, 4vw, 56px); clip-path: inset(0 0 0 -100vmax); }
  .split-mark { width: min(100%, 400px, 44vh); }
  .split-body { padding-block: clamp(32px, 5.6vh, 88px); padding-left: clamp(32px, 5vw, 80px); }
}

/* ---------- 404: 남색 한 칸 ---------- */
.page-head { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: #fff; }
.page-head .wrap { position: relative; padding-block: clamp(48px, 7vw, 96px) clamp(56px, 7vw, 104px); }
.page-mark { width: min(70vw, 400px); right: -16%; bottom: 0; }
@media (min-width: 768px) { .page-mark { width: auto; height: 74%; right: -5%; } }
@media (min-width: 768px) { .page-head .lead { max-width: 58%; } }
.page-head-full { display: flex; align-items: center; }
.page-head-full .wrap { padding-bottom: calc(min(70vw, 400px) / 2.264 + 56px); }
@media (min-width: 768px) { .page-head-full .wrap { padding-bottom: clamp(56px, 7vw, 104px); } }

/* 아직 글이 없는 칸 */
.pending {
  display: inline-flex; align-items: center;
  padding: 2px 10px;
  border: 1px dashed #93A3B8; border-radius: 2px;
  color: var(--ink-3); font-size: .875rem; font-weight: 600; line-height: 1.6;
  white-space: nowrap;
}
.placeholder {
  padding: clamp(20px, 3vw, 28px);
  border: 1px dashed #A7B5C6;
  background: var(--tint);
  color: var(--ink-3); font-weight: 600;
}

/* 문의 */
.contact-list { border-top: 1px solid var(--rule); }
.contact-item { display: grid; gap: 6px; padding-block: 28px; border-bottom: 1px solid var(--rule); }
@media (min-width: 768px) { .contact-item { grid-template-columns: 220px minmax(0, 1fr); align-items: center; } }
.contact-item dt { display: flex; align-items: center; gap: 12px; font-size: 1.125rem; font-weight: 700; }
.contact-item dt .ico { width: 24px; height: 24px; color: var(--blue); }
.contact-item dd .pending { font-size: 1rem; padding: 4px 14px; }
.note { margin-top: 24px; color: var(--ink-3); }
