@charset "utf-8";

/* ============================================================
   SL Solution — main.css  (editorial concept)
   레퍼런스 컨셉: 풀블리드 히어로 + 초대형 여백 + 우측 블리드 계단 이미지
   브랜드: 무채색 지면 + 바이올렛 #7950F2 (CTA·활성 상태 전용)
   서체: Pretendard 서브셋 (build/prepare-assets.py 산출물)
   ============================================================ */

@font-face {
  font-family: "Pretendard";
  src: url("../fonts/pretendard-subset.woff2") format("woff2-variations");
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink:        #111114;
  --ink-2:      #3B3B42;
  --muted:      #74747E;
  --line:       #DFDFDC;
  --line-2:     #C9C9C5;
  --paper:      #FFFFFF;
  --grey:       #F1F1EF;   /* 레퍼런스의 살짝 따뜻한 회색 */
  --grey-2:     #E7E7E4;
  --deep:       #0B0D12;   /* 히어로·풋터 딥 그라운드 */
  --deep-2:     #14171F;
  --accent:     #7950F2;
  --accent-ink: #5B36D6;

  --shell: 1440px;
  --pad: 80px;
  --header-h: 84px;

  --ease: cubic-bezier(.22,.61,.36,1);
}
@media (max-width: 1100px) { :root { --pad: 48px; } }
@media (max-width: 700px)  { :root { --pad: 22px; --header-h: 64px; } }

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Pretendard", -apple-system, "Segoe UI", "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

/* 기본 마진 제거 — 간격은 전부 아래에서 명시적으로 준다.
   (없으면 큰 글씨의 p가 1em 마진을 그대로 물고 와 간격이 벌어진다) */
p, h1, h2, h3, h4, h5, h6, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 300; background: var(--ink); color: #fff; padding: 14px 22px; }
.skip:focus { left: 0; }

.num { font-variant-numeric: tabular-nums; }

/* ---------- shell ---------- */
.shell { max-width: var(--shell); margin-inline: auto; padding-inline: var(--pad); }
/* 우측으로 흘러나가는 블록은 좌측 패딩만 갖는다 */
.shell--bleed { max-width: var(--shell); margin-inline: auto; padding-left: var(--pad); }

/* ---------- 섹션 머리: 좌측 라벨 + 우측 카운터 ---------- */
.sechead {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.sechead__label { font-size: 15px; font-weight: 650; letter-spacing: -0.01em; }
.sechead__count { font-size: 13px; color: var(--muted); letter-spacing: .04em; }

/* ---------- type ---------- */
.display {
  font-size: clamp(34px, 5.1vw, 76px);
  font-weight: 300;               /* 레퍼런스의 핵심: 디스플레이는 얇게 */
  line-height: 1.14;
  letter-spacing: -0.035em;
  margin: 0;
}
.display strong { font-weight: 650; }

.kicker {
  font-size: clamp(13px, 1.15vw, 15px);
  font-weight: 650;
  letter-spacing: -0.005em;
  margin: 0 0 22px;
}

.h2 {
  font-size: clamp(26px, 3.1vw, 44px);
  font-weight: 350;
  line-height: 1.24;
  letter-spacing: -0.035em;
  margin: 0;
  max-inline-size: 22em;
  text-wrap: balance;
}
.h2 strong { font-weight: 700; }

.h3 { font-size: clamp(19px, 1.6vw, 23px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.35; margin: 0; }

.lead { font-size: clamp(15px, 1.25vw, 18px); line-height: 1.9; color: var(--ink-2); max-width: 46em; margin: 0; }
.body { font-size: 15.5px; line-height: 1.85; color: var(--ink-2); margin: 0; }
.small { font-size: 13.5px; line-height: 1.7; color: var(--muted); margin: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 54px; padding-inline: 30px;
  font-size: 15px; font-weight: 650; letter-spacing: -0.01em;
  border: 1px solid transparent; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn--solid { background: var(--accent); color: #fff; }
.btn--solid:hover { background: var(--accent-ink); }
.btn--line { border-color: var(--line-2); color: var(--ink); }
.btn--line:hover { border-color: var(--ink); }
.btn--onDeep { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--onDeep:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn__arrow { width: 16px; height: 16px; flex: none; }

/* ---------- header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  height: var(--header-h);
  display: flex; align-items: center;
  color: #fff;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.hdr__in { display: flex; align-items: center; gap: 40px; width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--pad); }
.hdr__mark { font-size: 17px; font-weight: 800; letter-spacing: -0.05em; display: inline-flex; align-items: center; min-height: 44px; }
.hdr__mark i { font-style: normal; color: var(--accent); }
.hdr nav { display: flex; gap: 30px; }
.hdr nav a { font-size: 14.5px; font-weight: 550; opacity: .82; padding-block: 10px; }
.hdr nav a:hover { opacity: 1; }
.hdr__sp { flex: 1; }
.hdr__cta { font-size: 14px; font-weight: 650; border: 1px solid currentColor; padding: 11px 20px; }
.hdr__cta--accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.hdr__cta--accent:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.hdr.is-solid .hdr__cta--accent { color: #fff; }
.hdr.is-solid { background: rgba(255,255,255,.94); backdrop-filter: blur(14px); color: var(--ink); border-bottom-color: var(--line); }
.hdr__burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }
.hdr__burger svg { width: 22px; height: 22px; }
@media (max-width: 1000px) { .hdr nav, .hdr__cta { display: none; } .hdr__burger { display: inline-flex; } }

.mnav { position: fixed; inset: var(--header-h) 0 auto 0; z-index: 190; background: var(--paper); border-bottom: 1px solid var(--line); display: none; }
.mnav[data-open="true"] { display: block; }
.mnav a { display: block; padding: 17px var(--pad); border-top: 1px solid var(--line); font-size: 16px; font-weight: 600; color: var(--ink); }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; background: var(--deep); overflow: hidden; color: #fff; display: flex; flex-direction: column; }
.hero__media { position: absolute; inset: 0; display: block; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* 좌측 3분의 1이 글자 자리라 비어 있어야 한다 — 넓은 화면에서는 오른쪽으로 밀어 담는다 */
  object-position: 62% center;
}
@media (max-width: 760px) { .hero__media img { object-position: 50% 62%; } }

.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,13,18,.78) 0%, rgba(11,13,18,.30) 30%, rgba(11,13,18,.52) 62%, rgba(11,13,18,.94) 100%),
    /* 글자가 앉는 왼쪽을 한 겹 더 눌러 대비를 확보한다 */
    linear-gradient(90deg, rgba(11,13,18,.62) 0%, rgba(11,13,18,.18) 46%, rgba(11,13,18,0) 72%);
}
/* flex 자식은 콘텐츠 폭으로 줄어든다. width를 주지 않으면
   .shell 의 margin-inline:auto 가 걸려 좌측 정렬이 무너진다. */
.hero__top, .hero__bottom { width: 100%; }
.hero__top { position: relative; padding-top: calc(var(--header-h) + 26px); }
.hero__wordmark {
  font-size: clamp(52px, 11.5vw, 168px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: .92;
  margin: 0;
  color: #fff;
}
.hero__wordmark i { font-style: normal; font-weight: 300; opacity: .55; }
.hero__bottom { position: relative; margin-top: auto; padding-bottom: clamp(48px, 7vh, 92px); }
.hero__kicker { font-size: clamp(12.5px, 1.05vw, 15px); font-weight: 650; opacity: .9; margin: 0 0 18px; }
.hero__title { font-size: clamp(30px, 4.4vw, 66px); font-weight: 300; line-height: 1.16; letter-spacing: -0.035em; margin: 0; max-inline-size: 16em; }
.hero__title strong { font-weight: 600; }
.hero__acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
@media (max-width: 560px) { .hero__acts { flex-direction: column; align-items: stretch; } .hero__acts .btn { justify-content: center; } }
.hero__cue { position: relative; display: flex; align-items: center; gap: 12px; font-size: 12px; opacity: .7; margin-top: 40px; }
.hero__cue span { display: block; width: 44px; height: 1px; background: currentColor; transform-origin: left; }
@media (prefers-reduced-motion: no-preference) {
  .hero__cue span { animation: cue 2.4s var(--ease) infinite; }
  @keyframes cue { 0%,100% { transform: scaleX(.3); opacity: .4; } 50% { transform: scaleX(1); opacity: 1; } }
}

/* ---------- ABOUT ---------- */
.about { background: var(--grey); padding-block: clamp(80px, 11vw, 168px); }
.about__stats { display: grid; gap: 44px; margin-top: clamp(56px, 7vw, 104px); }
@media (min-width: 800px) { .about__stats { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 32px; } }
.stat__v { font-size: clamp(48px, 7.4vw, 108px); font-weight: 750; letter-spacing: -0.055em; line-height: .95; }
.stat__v small { font-size: .38em; font-weight: 650; letter-spacing: -0.03em; }
.stat__k { font-size: 22px; font-weight: 600; margin-top: 14px; }
.stat__d { font-size: 20px; color: var(--muted); margin-top: 4px; }

.about__text { margin-top: clamp(56px, 7vw, 104px); }

/* 우측으로 흘러나가는 계단식 특징 블록 */
.feats { margin-top: clamp(48px, 6vw, 88px); display: grid; gap: clamp(40px, 6vw, 96px); }
.feat { display: grid; gap: 26px; align-items: center; }
@media (min-width: 900px) {
  .feat { grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 56px; }
  .feat:nth-child(2) { margin-left: 9%; }
  .feat:nth-child(3) { margin-left: 18%; }
}
.feat__no { font-size: 12.5px; color: var(--muted); letter-spacing: .06em; }
.feat__t { margin: 10px 0 12px; }
.feat__fig { position: relative; background: var(--deep); overflow: hidden; aspect-ratio: 16 / 10; }
.feat__fig svg,
.feat__fig img { display: block; width: 100%; height: 100%; object-fit: cover; }
.feat__cap {
  position: absolute; left: 0; bottom: 0; right: 0;
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; color: #fff;
  font-size: 12.5px; letter-spacing: .02em;
  background: linear-gradient(180deg, rgba(11,13,18,0), rgba(11,13,18,.8));
}
.feat__cap b { font-weight: 650; }

/* ---------- TECH ---------- */
.tech { padding-block: clamp(80px, 11vw, 168px); }
.tech__head { display: grid; gap: 26px; margin-top: clamp(48px, 6vw, 84px); }
@media (min-width: 940px) { .tech__head { grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: 72px; align-items: start; } }
.tech__grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: clamp(48px, 6vw, 84px); }
@media (min-width: 860px) { .tech__grid { grid-template-columns: 1fr 1fr; } }
.tcard { background: var(--paper); padding: clamp(28px, 3vw, 48px); display: flex; flex-direction: column; gap: 20px; }
.tcard__top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.tcard__en { font-size: 11.5px; letter-spacing: .18em; color: var(--accent-ink); }
.tcard ul { margin: 0; padding: 0; list-style: none; }
.tcard li { padding-block: 11px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }
.tcard__fig { margin-top: auto; background: var(--deep); aspect-ratio: 16/9; overflow: hidden; }
.tcard__fig svg,
.tcard__fig canvas { display: block; width: 100%; height: 100%; }

/* ---------- SOLUTION ---------- */
.sol { background: var(--grey); padding-block: clamp(80px, 11vw, 168px); }
.sol__grid { display: grid; gap: clamp(44px, 5vw, 80px); margin-top: clamp(48px, 6vw, 84px); }
@media (min-width: 900px) { .sol__grid { grid-template-columns: 1fr 1fr; } }
.solcard { display: flex; flex-direction: column; }
.solcard__no { font-size: 12.5px; color: var(--muted); letter-spacing: .06em; padding-bottom: 16px; border-bottom: 1px solid var(--line-2); }
.solcard h3 { margin: 26px 0 14px; }
.solcard dl { margin: 30px 0 0; }
.solcard dt { font-size: 14px; font-weight: 650; padding-top: 15px; border-top: 1px solid var(--line-2); }
.solcard dd { margin: 3px 0 15px; font-size: 14.5px; color: var(--muted); }
.solcard .btn { margin-top: 20px; align-self: flex-start; }

/* ---------- SI & OPERATION ---------- */
.si { padding-block: clamp(80px, 11vw, 168px); }

/* 서비스 범위 — 4단계 */
.scope { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: clamp(48px, 6vw, 84px); }
@media (min-width: 1000px) { .scope { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 620px) and (max-width: 999px) { .scope { grid-template-columns: repeat(2, 1fr); } }
.scope__step { background: var(--paper); padding: clamp(24px, 2.4vw, 34px); }
.scope__no { font-size: 12px; color: var(--accent-ink); letter-spacing: .08em; }
.scope__step h3 { margin: 12px 0 14px; font-size: 17px; font-weight: 700; letter-spacing: -.03em; }
.scope__step li { padding-block: 9px; border-top: 1px solid var(--line); font-size: 13.5px; line-height: 1.6; color: var(--muted); }

/* 대표 구축 사례 — 넓은 행 */
.sicases { margin-top: clamp(56px, 7vw, 100px); border-top: 1px solid var(--ink); }
.sicase { display: grid; gap: 20px 48px; padding-block: clamp(34px, 4vw, 52px); border-bottom: 1px solid var(--line); }
@media (min-width: 940px) { .sicase { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); } }
.sicase__no { font-size: 12px; color: var(--muted); letter-spacing: .08em; margin-bottom: 12px; }
.sicase__t { font-size: clamp(20px, 2.1vw, 27px); font-weight: 700; letter-spacing: -.035em; line-height: 1.3; }
.sicase__meta { margin-top: 14px; font-size: 13.5px; color: var(--muted); line-height: 1.75; }
.sicase__meta b { display: block; color: var(--ink); font-weight: 650; }
.sicase__meta .yr { color: var(--accent-ink); font-weight: 650; }
.sicase__list { columns: 2; column-gap: 44px; }
@media (max-width: 780px) { .sicase__list { columns: 1; } }
.sicase__list li {
  break-inside: avoid; padding: 0 0 12px 15px; position: relative;
  font-size: 14.5px; line-height: 1.7; color: var(--ink-2);
}
.sicase__list li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 5px; height: 1px; background: var(--line-2);
}

/* 운영 방식 */
.ops { display: grid; gap: 34px; margin-top: clamp(56px, 7vw, 100px); }
@media (min-width: 940px) { .ops { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 72px; } }
.ops__cycle { border-top: 1px solid var(--ink); }
.ops__row { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 20px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.ops__row dt { font-size: 13.5px; font-weight: 650; }
.ops__row dd { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ---------- LIVE 대시보드 (iframe 임베드) ---------- */
.live { padding-block: clamp(80px, 11vw, 168px); background: var(--grey); }
@keyframes livepulse { 0%,100% { box-shadow: 0 0 0 3px rgba(34,197,94,.18); } 50% { box-shadow: 0 0 0 6px rgba(34,197,94,.06); } }

/* 브라우저 크롬 바 — 실제 제품 화면임을 알린다 */
/* 데스크톱: 관제 대시보드 상단 요약이 다 담기도록 세로를 넉넉히 */
/* 모바일: 세로 재배치 대응 — 카드가 2열로 접히며 길어진다 */

/* ---------- RECORD ---------- */
.rec { padding-block: clamp(80px, 11vw, 168px); }
.logos { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-top: clamp(40px, 5vw, 72px); }
@media (max-width: 1000px) { .logos { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px)  { .logos { grid-template-columns: repeat(3, 1fr); } }
.logos > div { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); aspect-ratio: 12/5; display: flex; align-items: center; justify-content: center; padding: 16px; }
.logos img { max-height: 100%; width: auto; filter: grayscale(1); opacity: .58; transition: filter .25s var(--ease), opacity .25s var(--ease); }
.logos > div:hover img, .logos > div:focus-within img { filter: none; opacity: 1; }
.rec__note { min-height: 1.8em; margin-top: 18px; font-size: 14px; color: var(--ink-2); }
.rec__note b { font-weight: 650; color: var(--ink); }

.works { margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--ink); }
.work { display: grid; gap: 4px 28px; padding-block: 22px; border-bottom: 1px solid var(--line); }
@media (min-width: 860px) { .work { grid-template-columns: 128px minmax(0,1fr) 240px; align-items: baseline; } }
.work__y { font-size: 13.5px; color: var(--muted); }
.work__n { font-size: clamp(16px, 1.5vw, 19px); font-weight: 600; letter-spacing: -0.025em; }
.work__c { font-size: 13.5px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { background: var(--grey); padding-block: clamp(80px, 11vw, 168px); }
.faq__list { margin-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--line-2); }
.faq__q {
  width: 100%; display: flex; align-items: center; gap: 24px;
  padding-block: 26px; text-align: left; cursor: pointer;
}
.faq__q .qno { font-size: 12.5px; color: var(--muted); flex: none; width: 34px; }
.faq__q .qt { flex: 1; font-size: clamp(16px, 1.5vw, 20px); font-weight: 600; letter-spacing: -0.025em; }
.faq__q .qi { flex: none; width: 20px; height: 20px; position: relative; }
.faq__q .qi::before, .faq__q .qi::after { content: ""; position: absolute; background: var(--ink); transition: transform .3s var(--ease); }
.faq__q .qi::before { left: 0; right: 0; top: 9.5px; height: 1px; }
.faq__q .qi::after  { top: 0; bottom: 0; left: 9.5px; width: 1px; }
.faq__q[aria-expanded="true"] .qi::after { transform: scaleY(0); }
.faq__a { display: none; padding: 0 0 30px 58px; }
.faq__a[data-open="true"] { display: block; }
@media (max-width: 620px) { .faq__a { padding-left: 0; } }

/* ---------- CONTACT / FOOTER ---------- */
.contact { background: var(--deep); color: #fff; padding-block: clamp(80px, 11vw, 150px); }
.contact .sechead { border-bottom-color: rgba(255,255,255,.16); }
.contact .sechead__count { color: rgba(255,255,255,.5); }
.contact__title { margin-top: clamp(44px, 5vw, 72px); font-size: clamp(30px, 4.4vw, 62px); font-weight: 300; letter-spacing: -0.04em; line-height: 1.16; }
.contact__title strong { font-weight: 650; }
.contact__grid { display: grid; gap: 34px; margin-top: clamp(44px, 5vw, 72px); padding-top: 40px; border-top: 1px solid rgba(255,255,255,.16); }
@media (min-width: 860px) { .contact__grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.contact__col h3 { margin-bottom: 12px; }
.contact__col p { color: rgba(255,255,255,.62); font-size: 15px; margin: 0 0 26px; }
.btn--onDark { background: #fff; color: var(--ink); }
.btn--onDark:hover { background: var(--accent); color: #fff; }
.btn--ghostDark { border-color: rgba(255,255,255,.42); color: #fff; cursor: pointer; }
.btn--ghostDark:hover { background: #fff; border-color: #fff; color: var(--ink); }

.contact-dialog {
  width: min(724px, calc(100% - 44px));
  max-height: calc(100% - 44px);
  padding: clamp(34px, 5vw, 56px) clamp(30px, 7vw, 54px);
  border: 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 24px 80px rgba(0,0,0,.28);
}
.contact-dialog::backdrop { background: rgba(11,13,18,.72); backdrop-filter: blur(4px); }
.contact-dialog__head { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.contact-dialog__head .eyebrow { color: var(--accent); margin: 0; }
.contact-dialog__head h2 { margin-top: 15px; font-size: clamp(34px, 5vw, 46px); font-weight: 750; line-height: 1.1; letter-spacing: -.055em; }
.contact-dialog__close { width: 40px; height: 40px; margin: 5px -10px 0 0; font-size: 34px; font-weight: 300; line-height: 1; cursor: pointer; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 18px; margin-top: 37px; }
.contact-form label { display: grid; gap: 9px; font-size: 14px; font-weight: 700; line-height: 1.3; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid #D5D5D5; border-radius: 0; padding: 0 14px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; }
.contact-form input, .contact-form select { height: 62px; }
.contact-form select { appearance: auto; color: var(--ink-2); }
.contact-form textarea { min-height: 216px; padding-block: 14px; resize: vertical; line-height: 1.65; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #8B8B8B; opacity: 1; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.contact-form__message, .contact-form > .btn { grid-column: 1 / -1; }
.contact-form > .btn { width: 100%; min-height: 64px; justify-content: center; margin-top: -2px; font-size: 16px; }
@media (max-width: 560px) {
  .contact-dialog { width: min(100% - 28px, 500px); max-height: calc(100% - 28px); padding: 30px 22px; }
  .contact-dialog__head { padding-bottom: 22px; }
  .contact-dialog__head h2 { font-size: 34px; }
  .contact-form { grid-template-columns: 1fr; gap: 20px; margin-top: 28px; }
  .contact-form label, .contact-form__message, .contact-form > .btn { grid-column: auto; }
  .contact-form textarea { min-height: 160px; }
}

.foot { background: var(--deep); color: rgba(255,255,255,.45); padding-block: 40px 56px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; }
.foot__row { display: flex; flex-wrap: wrap; gap: 10px 34px; }
.foot__cp { margin-top: 22px; font-size: 12px; color: rgba(255,255,255,.32); }

/* ============================================================
   이미지 중심 레이아웃
   ============================================================ */

/* 이미지가 아직 없는 자리 — 비어 보이지 않게, 무엇이 빠졌는지 드러나게 */
.slot {
  position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(135deg, #12151C 0 14px, #0E1117 14px 28px);
  display: flex; align-items: center; justify-content: center;
}
.slot::after {
  content: attr(data-slot);
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: #4A5163;
  border: 1px solid #262C39; padding: 8px 14px;
}

/* --- 큰 교차 행: 이미지 55% / 텍스트 45%, 좌우 번갈아 --- */
.bigrow { display: grid; gap: 30px; align-items: center; }
@media (min-width: 980px) {
  .bigrow { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(48px, 5vw, 88px); }
  .bigrow:nth-child(even) > .bigrow__fig { order: 2; }
}
.bigrow + .bigrow { margin-top: clamp(64px, 8vw, 132px); }
/* 액자 비율을 이미지 원본 비율(--ar)에 맞춘다 — 비율을 건드리지 않으므로
   잘리지도 않고 남는 여백도 생기지 않는다. --figbg 는 반올림으로 1px 틈이
   생길 때를 대비한 안전색(각 이미지의 가장자리 색). */
.bigrow__fig { position: relative; overflow: hidden; aspect-ratio: var(--ar, 16 / 9); background: var(--figbg, var(--deep)); }
.bigrow__fig > img, .bigrow__fig > svg { width: 100%; height: 100%; object-fit: contain; display: block; }
.bigrow__tag {
  position: absolute; left: 0; bottom: 0;
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; color: #fff; font-size: 12px; letter-spacing: .04em;
  background: linear-gradient(180deg, rgba(11,13,18,0), rgba(11,13,18,.82));
  width: 100%;
}
.bigrow__tag b { font-weight: 650; }
.bigrow__no { font-size: 12px; color: var(--muted); letter-spacing: .08em; }
.bigrow h3 { margin: 14px 0 16px; font-size: clamp(23px, 2.6vw, 34px); font-weight: 700; letter-spacing: -.04em; line-height: 1.25; }
.bigrow ul { margin-top: 22px; }
.bigrow li { padding-block: 12px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }

/* --- 전면 분할: 두 갈래를 화면 절반씩 사진으로 --- */
.duo { display: grid; gap: 2px; margin-top: clamp(48px, 6vw, 84px); }
@media (min-width: 900px) { .duo { grid-template-columns: 1fr 1fr; } }
.duo__half { position: relative; min-height: clamp(460px, 52vw, 640px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; color: #fff; }
.duo__bg { position: absolute; inset: 0; }
.duo__bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* 밝은 UI 스크린샷이 묻히지 않도록 위쪽은 거의 투명, 텍스트가 앉는
   아래쪽만 강하게 눌러 대비를 만든다. */
.duo__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,13,18,.06) 0%, rgba(11,13,18,.10) 38%, rgba(11,13,18,.72) 72%, rgba(11,13,18,.95) 100%);
}
.duo__body { position: relative; padding: clamp(28px, 3vw, 48px); }
.duo__no { font-size: 12px; letter-spacing: .08em; opacity: .75; }
.duo__half h3 { margin: 14px 0 12px; font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; letter-spacing: -.04em; }
.duo__half p { font-size: 15px; line-height: 1.8; color: rgba(255,255,255,.72); max-width: 40em; }
.duo__list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.duo__list span { border: 1px solid rgba(255,255,255,.3); font-size: 12.5px; padding: 6px 12px; }
.duo__half .btn { margin-top: 26px; align-self: flex-start; }

/* --- 브리지: 전면 이미지/영상 위 한 문장 --- */
.bridge { position: relative; min-height: clamp(420px, 62vh, 660px); display: flex; align-items: center; overflow: hidden; color: #fff; background: var(--deep); }
.bridge__bg { position: absolute; inset: 0; }
.bridge__bg img,
.bridge__bg video { width: 100%; height: 100%; object-fit: cover; display: block; }
.bridge__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,13,18,.86) 0%, rgba(11,13,18,.55) 52%, rgba(11,13,18,.30) 100%); }
.bridge__body { position: relative; width: 100%; }
.bridge__say {
  font-size: clamp(26px, 3.9vw, 58px); font-weight: 300;
  /* 줄바꿈은 <br> 로 직접 지정한다 — balance 가 그걸 다시 흐트러뜨리지 않도록 끈다 */
  letter-spacing: -.04em; line-height: 1.24; max-inline-size: 22em; text-wrap: pretty;
}
.bridge__say strong { font-weight: 650; }
.bridge__note { margin-top: 24px; font-size: 14.5px; color: rgba(255,255,255,.62); max-width: 44em; line-height: 1.8; }

/* ============================================================
   모션 — 콘텐츠는 JS 없이도 전부 보인다 (.js 안에서만 숨김)
   ============================================================ */
/* ============================================================
   챕터 구조 — 두 기둥(SEECARGO / SI·운영)이 같은 무게를 갖는다
   ============================================================ */

/* 챕터 리드 — 실사 풀블리드 배너 */
.chlead { position: relative; min-height: clamp(480px, 74vh, 760px); display: flex; align-items: flex-end; overflow: hidden; color: #fff; background: var(--deep); }
.chlead__bg { position: absolute; inset: 0; }
.chlead__bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.chlead__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,13,18,.30) 0%, rgba(11,13,18,.24) 40%, rgba(11,13,18,.88) 100%),
    linear-gradient(90deg, rgba(11,13,18,.45) 0%, rgba(11,13,18,.05) 60%);
}
.chlead__body { position: relative; width: 100%; padding-block: clamp(40px, 6vw, 84px); }
.chlead__no { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); font-weight: 650; }
.chlead__t { margin: 14px 0 18px; font-size: clamp(40px, 7vw, 104px); font-weight: 800; letter-spacing: -.05em; line-height: 1.02; }
.chlead__d { font-size: clamp(15px, 1.6vw, 19px); line-height: 1.75; color: rgba(255,255,255,.78); max-width: 40em; }

/* 챕터 본문 */
.ch { padding-block: clamp(72px, 9vw, 140px); }
.ch__intro { display: grid; gap: 34px; }
/* 오른쪽 문단이 지정한 <br> 대로 3줄에 떨어지도록 열 폭을 잡는다
   (실측: 가장 긴 줄 644px 필요 -> 736px 확보) */
@media (min-width: 940px) { .ch__intro { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.45fr); gap: 72px; align-items: start; } }
/* 폭이 모자라면 하드코딩된 줄바꿈이 오히려 어색해진다 — 자동 흐름에 맡긴다 */
@media (max-width: 1240px) { .ch__intro .lead br { display: none; } }
/* 기능 4가지 — 전체 폭 4열 (좁아지면 2열 -> 1열) */
.ch__feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 52px); margin-top: clamp(40px, 4.5vw, 66px); }
@media (max-width: 900px) { .ch__feats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; } }
@media (max-width: 520px) { .ch__feats { grid-template-columns: 1fr; } }
.ch__feats > div { padding-block: 18px 20px; border-top: 1px solid var(--ink); }
.ch__feats dt { font-size: 14.5px; font-weight: 700; }
.ch__feats dd { font-size: 14px; color: var(--muted); margin-top: 3px; }

.h-sub-lg { font-size: clamp(22px, 2.6vw, 32px); font-weight: 750; letter-spacing: -.04em; line-height: 1.3; margin: 0; }
.h-sub { font-size: clamp(19px, 2vw, 24px); font-weight: 750; letter-spacing: -.035em; margin: 0; }
.h-section { font-size: clamp(27px, 3.4vw, 44px); font-weight: 800; letter-spacing: -.045em; line-height: 1.22; margin: 0; }
.eyebrow { margin: 0 0 16px; font-size: 13px; font-weight: 600; color: var(--accent-ink); }
.eyebrow--lat { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; }

/* POINT — 실제 화면이 들어오는 유일한 자리 */
.point { margin-top: clamp(72px, 9vw, 128px); }
.point__badge { display: inline-flex; align-items: center; gap: 9px; font-size: 12.5px; letter-spacing: .05em; color: var(--accent-ink); font-weight: 650; margin-bottom: 14px; }
.point__badge i { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 3px rgba(34,197,94,.18); flex: none; }
@media (prefers-reduced-motion: no-preference) { .point__badge i { animation: livepulse 2s ease-in-out infinite; } }
@keyframes livepulse { 0%,100% { box-shadow: 0 0 0 3px rgba(34,197,94,.18); } 50% { box-shadow: 0 0 0 6px rgba(34,197,94,.06); } }
.point__head .h-sub-lg { margin-bottom: 12px; }

/* 대시보드 액자 — 1600px 데스크톱 레이아웃을 그대로 렌더한 뒤 축소 */
/* 데스크톱: JS가 --lvs(스케일)와 높이를 계산한다 */
@media (min-width: 861px) {
}
/* 모바일: 대시보드 자체 반응형에 맡긴다 */
@media (max-width: 860px) {
}

/* 폰 액자 — 앱 화면 전용 */
.phones { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 28px); margin-top: 34px; }
@media (max-width: 760px) {
  .phones { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
  .phones .phone { flex: 0 0 58%; scroll-snap-align: center; }
}
.phone { margin: 0; }
.phone img {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--line-2);
  border-radius: 26px;
  padding: 10px;
  background: var(--deep);
  box-shadow: 0 30px 60px -30px rgba(15,23,42,.4);
}
.phone figcaption { margin-top: 14px; text-align: center; font-size: 13.5px; color: var(--ink-2); font-weight: 600; }

/* 도입 성과 스트립 */
.ch__proof { display: grid; gap: 28px; margin-top: clamp(72px, 9vw, 128px); padding-top: 34px; border-top: 1px solid var(--ink); }
/* 지표 3개는 '균등 분할'이 아니라 각자 글줄 길이만큼 차지하게 한다.
   (균등이면 설명이 긴 두 번째 칸만 두 줄로 접힌다)
   남는 가로 공간은 마지막 1fr 열이 흡수하고 CTA 는 오른쪽에 붙는다. */
@media (min-width: 860px) {
  .ch__proof {
    grid-template-columns: repeat(3, minmax(0, max-content)) 1fr;
    column-gap: clamp(22px, 2.6vw, 44px);
    align-items: center;
  }
}
.pv { font-size: clamp(34px, 4vw, 52px); font-weight: 800; letter-spacing: -.05em; line-height: 1; margin: 0; }
.pv small { font-size: .42em; font-weight: 650; color: var(--accent-ink); margin-left: 2px; }
.pk { font-size: clamp(15.5px, 1.3vw, 18px); color: var(--muted); margin: 10px 0 0; }
.ch__proofcta { justify-self: end; }
/* 860~1100px: CTA 가 가로를 차지해 지표 설명이 접힌다 -> CTA 를 아랫줄로 내려
   지표 3개가 한 줄을 온전히 쓰게 한다. (위 규칙보다 뒤에 와야 이긴다) */
@media (min-width: 860px) and (max-width: 1100px) {
  .ch__proof { grid-template-columns: repeat(3, minmax(0, max-content)); }
  .ch__proofcta { grid-column: 1 / -1; justify-self: start; margin-top: 10px; }
}
@media (max-width: 859px) { .ch__proofcta { justify-self: start; } }

/* 갤러리 스트립 — 실제 구축 화면. 가로 스크롤, 미니 브라우저 액자 */
.gallery { margin-top: clamp(56px, 7vw, 96px); }
.gallery__head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.gallery__head .h-sub-lg { margin: 0; }

/* SI 지표 미니 스트립 */
.si__stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.si__stats .pv { font-size: clamp(28px, 3vw, 40px); }

/* ---------- reveal ---------- */
.js .rv { opacity: 0; transform: translateY(22px); }
.js .rv.in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }

/* 이미지는 아래에서 위로 걷히며 드러난다 */
.js .rv-mask { clip-path: inset(100% 0 0 0); transform: scale(1.06); }
.js .rv-mask.in {
  clip-path: inset(0 0 0 0); transform: none;
  transition: clip-path 1.1s var(--ease), transform 1.4s var(--ease);
}

/* 헤드라인은 줄 단위로 올라온다 */
.js .rv-line { display: block; overflow: hidden; }
.js .rv-line > span { display: block; transform: translateY(105%); }
.js .rv-line.in > span { transform: none; transition: transform .95s var(--ease); }
.js .rv-line.d1 > span { transition-delay: .08s; }
.js .rv-line.d2 > span { transition-delay: .16s; }

/* 전면 이미지는 스크롤에 따라 아주 조금 밀린다 */
.parallax { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv, .js .rv.in,
  .js .rv-mask, .js .rv-mask.in,
  .js .rv-line > span, .js .rv-line.in > span {
    opacity: 1; transform: none; clip-path: none; transition: none;
  }
  .parallax { transform: none !important; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media (pointer: coarse) {
  .faq__q { padding-block: 22px; min-height: 64px; }
}

/* ============================================================
   캐러셀 — 실제 제품 화면 슬라이드 (배차 · 관제 · 개발실적)
   · 자동 재생 + 좌우 꺽쇠 + 하단 점 인디케이터
   · 슬라이드는 트랙을 가로로 밀어서 전환한다(translateX).
   · 슬라이드 이미지는 모두 같은 비율로 미리 정규화되어 있다.
   · JS 없이도 첫 장은 보이고, prefers-reduced-motion 이면 자동재생 정지.
   ============================================================ */
.crsl { margin-top: 30px; }
.crsl__frame {
  position: relative;
  border: 1px solid var(--line-2); background: var(--paper);
  box-shadow: 0 40px 80px -40px rgba(15,23,42,.35);
  overflow: hidden;
}

.crsl__stage { position: relative; aspect-ratio: var(--crsl-ar, 1280 / 626); overflow: hidden; background: var(--paper); }
/* 트랙을 통째로 밀어 전환한다 — 슬라이드는 가로로 나란히 붙어 있다 */
.crsl__track {
  display: flex; height: 100%;
  /* --crsl-w = 슬라이드 한 장의 폭(스테이지 대비 %). 한 장씩 보이면 100%,
     여러 장을 보이려면 33.3333% 처럼 준다. 이동 단위도 항상 한 장이다. */
  transform: translate3d(calc(var(--crsl-i, 0) * -1 * var(--crsl-w, 100%)), 0, 0);
  transition: transform .55s var(--ease);
  will-change: transform;
}
.crsl__slide { flex: 0 0 var(--crsl-w, 100%); min-width: 0; height: 100%; margin: 0; }
.crsl__slide img { width: 100%; height: 100%; object-fit: contain; display: block; }
@media (prefers-reduced-motion: reduce) { .crsl__track { transition: none; } }

/* 좌우 꺽쇠 */
.crsl__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  /* 밝은 지도 화면 위에서도 묻히지 않도록 그림자로 띄운다 */
  box-shadow: 0 3px 14px rgba(15,23,42,.22);
  color: var(--ink); cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
  z-index: 2;
}
.crsl__nav:hover { background: #fff; border-color: var(--ink); box-shadow: 0 5px 20px rgba(15,23,42,.3); }
.crsl__nav:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.crsl__nav svg { width: 19px; height: 19px; }
.crsl__nav--prev { left: 14px; }
.crsl__nav--next { right: 14px; }
@media (max-width: 700px) { .crsl__nav { width: 38px; height: 38px; } .crsl__nav--prev { left: 8px; } .crsl__nav--next { right: 8px; } }

/* 하단 점 */
.crsl__dots { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 18px; }
.crsl__dot {
  width: 9px; height: 9px; padding: 0; border-radius: 50%;
  border: 1px solid var(--line-2); background: transparent;
  cursor: pointer; transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.crsl__dot:hover { border-color: var(--ink); }
.crsl__dot:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.crsl__dot[aria-selected="true"] { background: var(--accent); border-color: var(--accent); transform: scale(1.25); }

/* 슬라이드 설명 */
.crsl__cap { margin-top: 14px; text-align: center; font-size: 13.5px; color: var(--ink-2); min-height: 1.6em; }
.crsl__cap b { font-weight: 700; color: var(--ink); }

/* 주요 개발 실적 — 원본 해상도가 낮아 한 장을 키우지 않는다.
   대신 가로폭에 맞춰 여러 장을 늘어놓고 한 장씩 민다. */
/* --crsl-per = 한 화면에 보이는 장수. 슬라이드 폭과 스테이지 높이를 함께 결정한다.
   (--crsl-ar 은 '한 장'의 비율이므로 스테이지 비율은 그것의 per 배) */
.crsl--multi { --crsl-per: 3; --crsl-w: calc(100% / var(--crsl-per)); }
@media (max-width: 1100px) { .crsl--multi { --crsl-per: 2; } }
@media (max-width: 700px)  { .crsl--multi { --crsl-per: 1; } }
.crsl--multi .crsl__stage { aspect-ratio: calc(16 / 9 * var(--crsl-per)); }
.crsl--multi .crsl__frame { border: 0; background: none; box-shadow: none; overflow: visible; }
.crsl--multi .crsl__stage { overflow: hidden; background: none; }
/* 장과 장 사이 간격 — 안쪽 여백으로 만들어 폭 계산(%)을 흐트러뜨리지 않는다 */
.crsl--multi .crsl__slide { padding-inline: 9px; }
.crsl--multi .crsl__slide img {
  border: 1px solid var(--line-2); background: var(--paper);
  box-shadow: 0 18px 38px -22px rgba(15,23,42,.3);
}
.crsl--multi .crsl__nav--prev { left: -6px; }
.crsl--multi .crsl__nav--next { right: -6px; }
