/* =====================================================================
   si.xerost.ai — AI 전문팀 구독

   # 왜 xerost.css / soulie.css 를 쓰지 않나

   호스트마다 브랜드가 다르고 파일은 한 페이지에 하나만 로드된다. si 는
   옛 si 사이트와 2026-09 소개서가 쓰던 검정 + 파랑(#00A8FF)이다 — 소개서와
   사이트가 같은 얼굴이어야 한다.

   # 구조는 soulie.css 와 같다

   site.js / contact.js 가 기대하는 상태 클래스(.header.is-stuck,
   .nav__link.is-active, .burger.is-open, .mobile-nav.is-open,
   [data-reveal].is-in, .form__msg.is-*, .spinner)를 그대로 쓴다.

   # 이 저장소에서 겪은 함정을 반영한 규칙

   - `[hidden]` 을 컴포넌트 display 가 이긴다 → !important 로 눌러둔다
   - 장식용 절대배치가 문서 폭을 넓힌다 → .section/.hero 에 overflow: clip
   - 한글은 word-break: keep-all 이 없으면 단어 중간에서 잘린다
   - 미디어쿼리를 먼저 쓰고 같은 선택자를 뒤에 또 쓰면 뒤가 이긴다
   - 100vw 는 부모 여백을 모른다 → 폭은 100% 로
   ===================================================================== */

:root {
  --bg:          #ffffff;
  --bg-soft:     #f4f7fa;
  --bg-ink:      #0b0f14;
  --bg-ink-2:    #141b24;
  --surface:     #ffffff;

  --line:        #e4e7ea;
  --line-soft:   #eef1f4;
  --line-ink:    rgba(255, 255, 255, 0.12);

  --text:        #111212;
  --text-dim:    #5b6166;
  --text-faint:  #9aa1a8;
  --text-on-ink:      #ffffff;
  --text-on-ink-dim:  #9aa6b0;

  --blue:        #00a8ff;
  --blue-deep:   #0077b6;
  --blue-ink:    #04202e;   /* 파랑 위의 글자 */
  --blue-tint:   #eef7fd;
  --blue-tint-2: #dcf0fc;

  --font-sans: "Pretendard Variable", Pretendard,
               -apple-system, BlinkMacSystemFont, system-ui,
               "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;

  --gutter:    clamp(20px, 5vw, 40px);
  --container: 1180px;
  --section-y: clamp(72px, 10vw, 136px);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(11, 15, 20, .04), 0 6px 20px rgba(11, 15, 20, .06);
  --shadow-md: 0 2px 6px rgba(11, 15, 20, .06), 0 18px 44px rgba(11, 15, 20, .10);
  --shadow-blue: 0 10px 30px rgba(0, 168, 255, .28);

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ── 기본 ────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 700; }
p  { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }

[hidden] { display: none !important; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px;
  padding: 10px 16px; border-radius: var(--r-sm);
  background: var(--blue); color: var(--blue-ink); font-weight: 700;
  z-index: 100; transition: top .2s;
}
.skip-link:focus { top: 12px; }

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

/* ── 타이포 ──────────────────────────────────────────────────────── */

.eyebrow {
  display: inline-block;
  font-size: .8125rem; font-weight: 700; letter-spacing: .12em;
  color: var(--blue-deep); text-transform: uppercase; margin-bottom: 14px;
}
.eyebrow--on-ink { color: var(--blue); }

.h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); letter-spacing: -.01em; }
.h3 { font-size: clamp(1.375rem, 2.6vw, 1.75rem); }
.h4 { font-size: 1.0625rem; margin-bottom: 12px; color: var(--text-dim); font-weight: 600;
      letter-spacing: .04em; }

.lead { font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); color: var(--text-dim); margin-top: 16px; }
.lead--on-ink { color: var(--text-on-ink-dim); }
.body-dim { color: var(--text-dim); font-weight: 400; }
.accent { color: var(--blue); }

.note { margin-top: 24px; font-size: .875rem; color: var(--text-faint); }
.section--ink .note { color: var(--text-on-ink-dim); }

/* ── 버튼 · 칩 ───────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: var(--r-pill);
  border: 1.5px solid transparent; font-weight: 700; font-size: .9375rem;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, color .2s, box-shadow .2s;
}
.btn svg { width: 16px; height: 16px; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: default; transform: none; }
.btn--sm { padding: 9px 14px; font-size: .875rem; }
.btn--lg { padding: 15px 26px; font-size: 1.0625rem; }
.btn--primary { background: var(--blue); color: var(--blue-ink); box-shadow: var(--shadow-blue); }
.btn--primary:hover { background: #33b9ff; }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); }
.btn--on-ink { background: transparent; border-color: rgba(255,255,255,.35); color: var(--text-on-ink); }
.btn--on-ink:hover { background: rgba(255,255,255,.08); border-color: var(--text-on-ink); }

.chip {
  display: inline-flex; align-items: center;
  padding: 6px 12px; border-radius: var(--r-pill);
  background: var(--blue-tint); color: var(--blue-deep);
  font-size: .8125rem; font-weight: 600;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip--price { margin-top: 18px; background: rgba(0,168,255,.14); color: var(--blue); font-size: .875rem; }

/* ── 헤더 ────────────────────────────────────────────────────────── */

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 15, 20, .72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-ink);
  color: var(--text-on-ink);
}
.header.is-stuck { background: rgba(11, 15, 20, .92); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 66px; }
.header__logo { display: inline-flex; align-items: center; }
.header__logo img { width: 120px; height: auto; }
.header__actions { display: flex; align-items: center; gap: 10px; }

.nav { display: none; gap: 4px; }
.nav__link {
  padding: 8px 12px; border-radius: var(--r-pill);
  font-size: .9375rem; font-weight: 600; text-decoration: none;
  color: var(--text-on-ink-dim); transition: color .2s, background .2s;
}
.nav__link:hover, .nav__link.is-active { color: var(--text-on-ink); background: rgba(255,255,255,.08); }

/* 기본은 숨김, 좁을 때만 켠다 — 뒤에 같은 선택자를 또 쓰지 않는다(실측 함정) */
.burger { display: none; width: 40px; height: 40px; padding: 8px; border: 0; background: transparent;
          border-radius: var(--r-sm); cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; }
.burger span { display: block; height: 2px; background: var(--text-on-ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none; position: fixed; inset: 66px 0 auto 0; z-index: 49;
  padding: 12px var(--gutter) 20px; background: var(--bg-ink); border-bottom: 1px solid var(--line-ink);
}
.mobile-nav.is-open { display: block; }
.mobile-nav a { display: block; padding: 12px 4px; color: var(--text-on-ink); font-weight: 600; text-decoration: none;
                border-bottom: 1px solid var(--line-ink); }

@media (min-width: 900px) {
  .nav { display: flex; }
  .header__actions .btn { display: inline-flex; }
}
@media (max-width: 899px) {
  .burger { display: flex; }
  .header__actions .btn { display: none; }
}

/* ── 절 ──────────────────────────────────────────────────────────── */

.section { position: relative; padding: var(--section-y) 0; overflow: clip; }
.section--soft { background: var(--bg-soft); }
.section--ink { background: var(--bg-ink); color: var(--text-on-ink); }
.section--ink .h2, .section--ink .h3 { color: var(--text-on-ink); }
.section--ink .lead { color: var(--text-on-ink-dim); }
.section__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section__head--tight { margin-top: clamp(48px, 7vw, 80px); margin-bottom: 28px; }

/* ── 히어로 ──────────────────────────────────────────────────────── */

.hero {
  position: relative; overflow: clip;
  background: var(--bg-ink); color: var(--text-on-ink);
  padding: clamp(72px, 12vw, 150px) 0 clamp(56px, 8vw, 96px);
}
.hero__aura { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.hero__aura--1 { width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
                 right: -20vw; top: -30vw; background: rgba(0, 168, 255, .32); }
.hero__aura--2 { width: 40vw; height: 40vw; max-width: 480px; max-height: 480px;
                 left: -15vw; bottom: -20vw; background: rgba(0, 119, 182, .22); }
.hero__inner { position: relative; max-width: 880px; }
.hero__title { font-size: clamp(2rem, 6vw, 4rem); letter-spacing: -.02em; line-height: 1.16; margin-top: 8px; }
.hero__lead { margin-top: 22px; font-size: clamp(1.0625rem, 1.8vw, 1.3125rem); color: var(--text-on-ink-dim); max-width: 640px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__stats { display: grid; grid-template-columns: repeat(3, auto); gap: 32px; margin-top: 48px;
               padding-top: 28px; border-top: 1px solid var(--line-ink); width: fit-content; }
.hero__stats dd { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: var(--blue); line-height: 1.1; }
.hero__stats dt { margin-top: 6px; font-size: .8125rem; color: var(--text-on-ink-dim); }
@media (max-width: 600px) {
  .hero__stats { grid-template-columns: 1fr 1fr; gap: 20px; width: 100%; }
  .hero__cta .btn { width: 100%; justify-content: center; }
}

/* ── 계산기 ──────────────────────────────────────────────────────── */

.calc {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  padding: clamp(24px, 4vw, 40px); border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-md);
}
.calc__inputs { display: grid; gap: 18px; align-content: start; }
.calc__input { position: relative; }
.calc__input .input { padding-right: 96px; font-size: 1.125rem; font-weight: 700; }
.calc__unit { position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
              font-size: .875rem; color: var(--text-faint); pointer-events: none; }
.calc__formula { margin-top: 6px; font-size: .875rem; color: var(--text-dim); }
.calc__formula .body-dim { display: block; font-size: .8125rem; color: var(--text-faint); }

.calc__out { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--r-md);
             background: var(--bg-ink); color: var(--text-on-ink); }
.calc__label { font-size: .875rem; color: var(--text-on-ink-dim); }
.calc__result { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -.02em; color: var(--blue); line-height: 1.05; }
.calc__compare { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; margin-top: 10px;
                 padding-top: 14px; border-top: 1px solid var(--line-ink); }
.calc__compare div { display: contents; }
.calc__compare dt { color: var(--text-on-ink-dim); font-size: .875rem; }
.calc__compare dd { text-align: right; font-weight: 700; }
.calc__diff { color: #7ee2a8; }
.calc__diff.is-negative { color: #ff8a8a; }
.calc__out .note { margin-top: 6px; color: var(--text-on-ink-dim); }
.calc__out .btn { align-self: flex-start; margin-top: 8px; }
@media (max-width: 800px) { .calc { grid-template-columns: 1fr; } }

/* ── 전문팀 ──────────────────────────────────────────────────────── */

.roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.role { padding: 22px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line);
        transition: transform .3s var(--ease), box-shadow .3s; }
.role:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.role__no { display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .1em; color: var(--blue); }
.role__name { margin-top: 10px; font-size: 1.125rem; }
.role__does { margin-top: 8px; font-size: .9375rem; color: var(--text-dim); }
/* 역할이 16개라 4×4 로 꽉 찬다. '없는 업무도 괜찮다' 카드는 다섯째 줄에 혼자
 * 남지 않게 한 줄을 통째로 쓴다(실측: 혼자 남으면 고아처럼 보였다). */
.role--more { grid-column: 1 / -1; display: flex; flex-direction: row; align-items: center;
              justify-content: space-between; gap: 16px;
              background: var(--bg-ink); color: var(--text-on-ink); border-color: var(--bg-ink); }
.role--more p { font-size: 1rem; font-weight: 600; }
.role--more .btn { flex: 0 0 auto; border-color: rgba(255,255,255,.35); color: var(--text-on-ink); }
@media (max-width: 600px) { .role--more { flex-direction: column; align-items: flex-start; } }
@media (max-width: 1000px) { .roles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .roles { grid-template-columns: repeat(2, 1fr); gap: 12px; } .role { padding: 16px; } }
@media (max-width: 420px)  { .roles { grid-template-columns: 1fr; } }

/* ── 요금 ────────────────────────────────────────────────────────── */

/* 할인·환불 배너 — 담당자 지시(2026-09-17) "이거 좀 크게". 한 줄 칩이 아니라
   두 줄 배너로, 헤드라인은 요금 숫자와 같은 급으로 키운다. */
.promo {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
  margin-bottom: 32px; padding: 26px 24px; border-radius: var(--r-lg);
  background: rgba(0, 168, 255, .12); border: 1px solid rgba(0, 168, 255, .35);
}
.promo__headline { color: var(--blue); font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800;
                   line-height: 1.2; letter-spacing: -.02em; }
.promo__refund { color: var(--text-on-ink); font-size: clamp(1.125rem, 2vw, 1.5rem); font-weight: 700; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 28px;
        border-radius: var(--r-lg); background: var(--bg-ink-2); border: 1px solid var(--line-ink); }
.plan--best { background: var(--blue); color: var(--blue-ink); border-color: var(--blue); }
.plan__badge { position: absolute; top: 18px; right: 18px; padding: 4px 10px; border-radius: var(--r-pill);
               background: var(--bg-ink); color: var(--text-on-ink); font-size: .75rem; font-weight: 700; }
.plan__name { font-size: .9375rem; font-weight: 700; color: var(--text-on-ink-dim); }
.plan--best .plan__name { color: var(--blue-ink); }
.plan__price { font-size: clamp(1.875rem, 3.2vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.plan__sub { font-size: .8125rem; color: var(--text-on-ink-dim); }
.plan__tagline { margin-top: 12px; font-size: 1rem; font-weight: 700; color: var(--blue); }
.plan--best .plan__tagline { color: var(--blue-ink); }
.plan--best .plan__sub { color: var(--blue-ink); opacity: .8; }
.plan__what { margin-top: 10px; font-weight: 700; }
.plan__items { margin-top: 8px; display: grid; gap: 6px; color: var(--text-on-ink-dim); font-size: .9375rem; }
.plan--best .plan__items { color: var(--blue-ink); }
.plan__items li { position: relative; padding-left: 16px; }
.plan__items li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .6; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan--best .btn--primary { background: var(--bg-ink); color: var(--text-on-ink); box-shadow: none; }
.plans__notes { margin-top: 22px; display: grid; gap: 6px; font-size: .8125rem; color: var(--text-on-ink-dim); }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } .plan .btn { margin-top: 12px; } }

/* ── 무료 미팅 · 진행 ────────────────────────────────────────────── */

.meeting { max-width: 760px; }
.meeting .btn { margin-top: 28px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step { padding: 22px; border-radius: var(--r-md); background: var(--bg-soft); border: 1px solid var(--line-soft); }
.step__no { display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .1em; color: var(--blue); }
.step__name { margin-top: 10px; font-size: 1.125rem; }
.step__body { margin-top: 8px; font-size: .9375rem; color: var(--text-dim); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* ── 필요시 · 협의 ───────────────────────────────────────────────── */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); }
.list { margin-top: 20px; display: grid; gap: 12px; }
.list__item { padding: 16px 18px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.list__name { font-size: 1.0625rem; }
.list__body { margin-top: 4px; font-size: .9375rem; color: var(--text-dim); }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }

/* ── 실적 ────────────────────────────────────────────────────────── */

.record__head { max-width: 760px; margin-bottom: 28px; }
.record__head .accent { font-size: 1.25em; }
.wall { display: flex; flex-wrap: wrap; gap: 8px; }
.wall li { padding: 8px 14px; border-radius: var(--r-pill); border: 1px solid var(--line);
           background: var(--surface); font-size: .875rem; font-weight: 600; color: var(--text-dim); }

/* 로고 줄. 로고가 없는 곳은 글자 마크 — 파일을 받으면 img 로 바뀐다. */
.logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 20px; }
.logos__item { display: flex; align-items: center; justify-content: center; min-height: 76px; padding: 12px 16px;
               border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.logos__item img { max-height: 48px; width: auto; max-width: 100%; object-fit: contain;
                   filter: grayscale(1) contrast(1.05); opacity: .85; transition: filter .3s, opacity .3s; }
.logos__item:hover img { filter: none; opacity: 1; }
.logos__item--text span { font-weight: 800; font-size: 1.0625rem; letter-spacing: -.01em; color: var(--text); }
@media (max-width: 1000px) { .logos { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px)  { .logos { grid-template-columns: repeat(3, 1fr); gap: 8px; } .logos__item { min-height: 60px; padding: 8px; } }

/* 나머지 이름 벽 — 아래로 갈수록 흐려져 '더 있다' 로 읽힌다 */
.wall-fade { position: relative; max-height: 168px; overflow: hidden; }
.wall-fade::after { content: ""; position: absolute; inset: auto 0 0 0; height: 110px; pointer-events: none;
                    background: linear-gradient(to bottom, rgba(255,255,255,0), var(--bg) 85%); }
.wall-fade__more { position: absolute; left: 0; bottom: 4px; z-index: 1; font-size: .875rem; font-weight: 700; color: var(--text-dim); }

/* ── 대표 ────────────────────────────────────────────────────────── */

.founder { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.founder__name { margin-top: 20px; font-size: 1.25rem; font-weight: 800; }
.founder__name .body-dim { font-size: .9375rem; margin-left: 8px; }
.founder__stats { display: grid; grid-template-columns: repeat(4, auto); gap: 24px; margin-top: 28px; width: fit-content; }
.founder__stats dd { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: var(--blue); line-height: 1.1; white-space: nowrap; }
.founder__stats dt { margin-top: 4px; font-size: .8125rem; color: var(--text-dim); }
.founder__record { padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
/* 제휴·강연 사진 — 격자가 아니라 flex 다. lg(삼성·KT)는 절반, sm 은 1/3 에서
   시작해 남는 자리를 나눠 채우므로 사진 수가 바뀌어도 빈 칸이 안 생긴다. */
.partners { display: flex; flex-wrap: wrap; gap: 12px; }
.partner { min-width: 0; }
.partner--lg { flex: 1 1 calc(50% - 6px); }
.partner--sm { flex: 1 1 calc(25% - 9px); max-width: calc(50% - 6px); }
.partner img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-sm); }
.partner--sm img { object-position: 50% 30%; }  /* 강연 사진은 현수막·화면이 위에 있다 */
.partner__name { display: block; margin-top: 8px; font-size: .9375rem; }
.partner__name .body-dim { font-size: .8125rem; margin-left: 4px; }
.founder__stats { grid-template-columns: repeat(4, auto); }
@media (max-width: 600px) { .partners { gap: 8px; } .partner--lg { flex-basis: calc(50% - 4px); }
                            .partner--sm { flex-basis: calc(50% - 4px); max-width: calc(50% - 4px); } .partner__name { font-size: .8125rem; } }
@media (max-width: 800px) { .founder { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .founder__stats { grid-template-columns: 1fr 1fr; width: 100%; } }

/* ── 문의 ────────────────────────────────────────────────────────── */

.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 72px); }
.contact-dl { display: grid; gap: 16px; margin-top: 28px; }
.contact-dl dt { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-on-ink-dim); }
.contact-dl dd { margin-top: 2px; font-weight: 700; }
.contact-dl a { text-decoration: none; }
.contact-dl__addr { font-weight: 400 !important; font-size: .9375rem; color: var(--text-on-ink-dim); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.form { padding: clamp(20px, 3vw, 32px); border-radius: var(--r-lg); background: var(--surface); color: var(--text);
        border: 1px solid var(--line); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .875rem; font-weight: 700; }
.req { color: var(--blue-deep); margin-left: 3px; }
.input, .textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--r-sm);
  border: 1.5px solid var(--line); background: var(--bg); color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.input:focus, .textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,168,255,.18); }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: #e5484d; }
.textarea { min-height: 128px; resize: vertical; }
.file-row { display: flex; gap: 8px; align-items: center; }
.file-row .input { flex: 1; }
.file-hint { font-size: .8125rem; color: var(--text-faint); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .875rem; color: var(--text-dim); cursor: pointer; }
.consent input { margin-top: 4px; accent-color: var(--blue); }
.consent a { color: var(--blue-deep); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; }
.form__msg { font-size: .9375rem; min-height: 1.5em; }
.form__msg.is-error { color: #e5484d; }
.form__msg.is-success { color: #1a9a5a; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent;
           animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 600px) { .form__grid { grid-template-columns: 1fr; } .form__foot .btn { width: 100%; justify-content: center; } }

/* ── 푸터 ────────────────────────────────────────────────────────── */

.footer { background: var(--bg-ink); color: var(--text-on-ink-dim); padding: 56px 0 28px; border-top: 1px solid var(--line-ink); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer__brand img { width: 120px; }
.footer__tagline { margin-top: 14px; font-size: .9375rem; }
.footer h3 { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-on-ink); margin-bottom: 12px; }
.footer ul { display: grid; gap: 8px; font-size: .9375rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--text-on-ink); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 20px;
                  border-top: 1px solid var(--line-ink); font-size: .8125rem; }
@media (max-width: 700px) { .footer__top { grid-template-columns: 1fr; } }

/* ── 스크롤 리빌 ─────────────────────────────────────────────────── */

.js [data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s var(--ease) var(--d, 0s), transform .7s var(--ease) var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ── 외부 사례 (히어로 아래, 계산기 위) ─────────────────────────────
   남의 발표라 카드마다 출처가 붙는다. 숫자를 크게, 출처를 작게. */
.cases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.case { display: flex; flex-direction: column; gap: 8px; padding: 22px 20px; border-radius: var(--r-lg);
        background: var(--surface); border: 1px solid var(--line); }
.case__num { font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 800; color: var(--blue); line-height: 1.1; letter-spacing: -.02em; }
.case__what { font-weight: 600; line-height: 1.45; }
.case__detail { font-size: .875rem; color: var(--text-dim); line-height: 1.5; }
.case__src { margin-top: auto; padding-top: 8px; font-size: .8125rem; color: var(--text-dim); text-decoration: underline; text-underline-offset: 3px; }
.case__src:hover { color: var(--text); }
.cases__note { margin-top: 14px; font-size: .8125rem; color: var(--text-dim); }
@media (max-width: 1000px) { .cases { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px)  { .cases { grid-template-columns: 1fr; } }

/* 채용 중단 · AI 대체 발표 — 뉴스 스크랩처럼(담당자 지시). 매체·날짜 줄이
   신문 제호 자리, 헤드라인이 크고, 기사 캡처(image)가 있으면 위에 붙는다. */
.hiring { margin-top: 32px; }
.hiring__title { font-size: clamp(1.125rem, 1.8vw, 1.375rem); font-weight: 800; margin-bottom: 16px; letter-spacing: -.01em; }
.clips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.clip__link { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 18px 18px 16px; text-decoration: none;
              background: #fbfbf9; border: 1px solid var(--line); border-top: 3px solid var(--text); border-radius: 6px;
              box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s; }
.clip__link:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.clip__img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; margin: -6px 0 4px; }
.clip__head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
              padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.clip__outlet { font-weight: 800; color: var(--text); }
.clip__date { color: var(--text-faint); }
.clip__tag { font-size: .75rem; font-weight: 700; color: var(--blue-deep); }
.clip__headline { font-size: 1.0625rem; line-height: 1.35; letter-spacing: -.01em; color: var(--text); }
.clip__body { font-size: .8125rem; line-height: 1.5; color: var(--text-dim); }
.clip__more { margin-top: auto; padding-top: 8px; font-size: .8125rem; font-weight: 700; color: var(--blue-deep); }
@media (max-width: 1000px) { .clips { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px)  { .clips { grid-template-columns: 1fr; } }
