/* ============================================================
   SOOZOO Design Studio — 디자인 페이지 & 포트폴리오 전용 스타일
   (style-b.css 토큰/헤더/푸터/버튼 재사용 위에 얹는 레이어)
   접두사: ds- (디자인 스튜디오 랜딩) / nt- (한국열연 포트폴리오)
   ============================================================ */

/* 이 페이지들은 라이트 문서형 — body 배경 화이트로 override */
body.ds-doc, body.nt-doc { background: #fff; }
.nt-doc .site-header { background: rgba(255,255,255,.82); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(28,42,57,.06); }
.nt-doc .site-header.over-hero { background: transparent; border-bottom-color: transparent; }
.nt-doc .site-header.over-hero .brand-logo { filter: brightness(0) invert(1); }
.nt-doc .site-header.over-hero .nav-links a { color: #fff; }
.nt-doc .site-header.over-hero .nav-links { background: rgba(255,255,255,.14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: none; }

/* 헤더 .wrap(1240)과 동일 규격 — 로고/우측 버튼과 좌우 정렬 일치 */
.ds-wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.ds-label { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--mint); margin: 0 0 18px; }
.ds-eyebrow { display: inline-block; width: 34px; height: 2px; background: var(--ink-faint); margin: 0 0 20px; vertical-align: middle; }

/* ===================== 디자인 스튜디오 랜딩 ===================== */

/* 인트로 */
.ds-intro { padding: 210px 0 156px; position: relative; overflow: hidden; }
.ds-intro .ds-wrap { position: relative; z-index: 1; }
/* WebGL Blob — BG 최하단 레이어에 센터 정렬 (텍스트가 위) */
/* 스크롤 이동형 블롭 — fixed 기반, transform은 blob-travel.js가 제어 (base 720px)
   위치 확정 전(첫 apply 전) 노출 방지: opacity 0 → JS가 .ready 부여 시 표시 */
.ds-blob { position: fixed; top: 0; left: 0; width: 720px; height: 720px; transform-origin: center center; z-index: 0; pointer-events: none; will-change: transform; opacity: 0; transition: opacity .4s ease; }
.ds-blob.ready { opacity: 1; }
.ds-blob canvas { width: 100%; height: 100%; display: block; }
.ds-intro h1 { font-family: "Pretendard", sans-serif; font-size: clamp(52px, 11vw, 132px); font-weight: 800; line-height: .96; letter-spacing: -0.04em; color: var(--ink); margin: 0; }
.ds-intro h1 .l2 { display: block; }
.ds-intro .ds-sub { font-family: "Pretendard", sans-serif; font-size: clamp(20px, 3vw, 30px); font-weight: 400; color: var(--ink-soft); margin: 18px 0 0; letter-spacing: -0.02em; }
.ds-intro .ds-sub b { color: var(--mint); font-weight: 700; }
.ds-intro .ds-kline { margin: 54px 0 0; max-width: 720px; }
.ds-intro .ds-kline .k-small { font-size: 15.5px; color: var(--ink-faint); margin: 0 0 10px; }
.ds-intro .ds-kline .k-big { font-size: clamp(20px, 2.6vw, 27px); font-weight: 800; letter-spacing: -0.03em; color: var(--ink); line-height: 1.45; margin: 0; }
.ds-intro .ds-kline .k-big b { color: var(--mint); }

/* Solution */
.ds-solution { padding: 40px 0 70px; }
.ds-solution h2 { font-size: clamp(21px, 2.6vw, 27px); font-weight: 800; letter-spacing: -0.03em; color: var(--ink); margin: 0 0 22px; line-height: 1.4; }
.ds-solution p { font-size: 16px; line-height: 1.85; color: var(--ink-soft); margin: 0 0 12px; max-width: 760px; }

/* Key feature */
.ds-key { padding: 60px 0; }
.ds-key-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr) clamp(230px, 22vw, 300px); gap: 52px; align-items: center; }
.ds-key-logo { display: grid; place-items: center; }
.ds-key-logo img { width: 180px; height: 180px; object-fit: contain; }
.ds-key h3 { font-size: clamp(22px, 2.8vw, 30px); font-weight: 800; letter-spacing: -0.03em; color: var(--ink); line-height: 1.35; margin: 0 0 24px; }
.ds-key p { font-size: 16px; line-height: 1.85; color: var(--ink-soft); margin: 0 0 14px; }
.ds-key p b { color: var(--mint); font-weight: 700; }

/* we makes 갤러리 */
.ds-makes { padding: 70px 0 40px; }
.ds-makes-head { display: flex; align-items: baseline; gap: 16px; margin: 0 0 34px; }
.ds-makes-head h2 { font-family: "Pretendard", sans-serif; font-size: clamp(30px, 4vw, 46px); font-weight: 700; letter-spacing: -0.02em; color: var(--ink); margin: 0; }
.ds-makes-head .bar { flex: 1; height: 1px; background: var(--line-2); }
.ds-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.ds-card { display: block; border-radius: 16px; overflow: hidden; text-decoration: none; color: inherit; border: 1px solid var(--line); background: #fff; transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease; }
.ds-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -34px rgba(28,42,57,.5); }
.ds-cover { position: relative; aspect-ratio: 3 / 4; overflow: hidden; }
.ds-cover img { width: 100%; height: 100%; object-fit: cover; }
.ds-cover.gray { background: linear-gradient(155deg, #2b323d 0%, #14181f 100%); display: grid; place-items: center; }
.ds-cover.gray .gc-mark { width: 62px; opacity: .9; }
.ds-cover.gray .gc-kicker { position: absolute; left: 20px; bottom: 18px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.ds-cover.feat { background: linear-gradient(160deg, #2ed89a 0%, #0f9e6c 100%); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; color: #05271a; }
.ds-cover.feat .f-kicker { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.ds-cover.feat .f-title { font-family: "Pretendard", sans-serif; font-size: 30px; font-weight: 800; letter-spacing: -0.02em; margin: 8px 0 4px; }
.ds-cover.feat .f-ko { font-size: 15px; font-weight: 700; }
.ds-cover.feat .f-go { position: absolute; right: 18px; bottom: 16px; width: 40px; height: 40px; border-radius: 50%; background: rgba(5,39,26,.16); display: grid; place-items: center; }
.ds-card:hover .ds-cover.feat .f-go { background: rgba(5,39,26,.28); }
.ds-cap { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 15px 18px 17px; }
.ds-cap .ko { font-size: 15px; font-weight: 800; color: var(--ink); }
.ds-cap .en { font-size: 12.5px; color: var(--ink-faint); font-weight: 600; }

/* 대형 디스플레이 텍스트 + 3D 배경 */
.ds-display { position: relative; padding: 90px 0 70px; overflow: hidden; }
.ds-display h2 { position: relative; font-family: "Pretendard", sans-serif; font-size: clamp(40px, 8.5vw, 118px); font-weight: 800; line-height: .98; letter-spacing: -0.03em; color: var(--ink); margin: 0; }
.ds-display h2 b { color: var(--ink); font-weight: 800; }

/* Our Service */
.ds-service { padding: 40px 0 30px; }
.ds-service h2 { font-size: clamp(24px, 3.4vw, 38px); font-weight: 800; letter-spacing: -0.03em; color: var(--ink); line-height: 1.3; margin: 0 0 18px; }
.ds-service h2 b { color: var(--mint); }
.ds-service p { font-size: 16px; color: var(--ink-soft); margin: 0; }

/* Process */
.ds-process { padding: 40px 0 20px; }
.ds-step { display: grid; grid-template-columns: 92px 1fr; gap: 20px; padding: 40px 0; border-top: 1px solid var(--line); }
.ds-step:first-child { border-top: 0; }
.ds-step .st-no { font-family: "Pretendard", sans-serif; font-size: 30px; font-weight: 800; color: var(--mint); letter-spacing: -0.02em; }
.ds-step h3 { font-size: clamp(21px, 2.6vw, 27px); font-weight: 800; letter-spacing: -0.03em; color: var(--ink); margin: 0 0 12px; }
.ds-step h3 b { color: var(--mint); }
.ds-step p { font-size: 15.5px; line-height: 1.8; color: var(--ink-soft); margin: 0 0 16px; max-width: 640px; }
.ds-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ds-tag { font-size: 12.5px; font-weight: 700; color: var(--ink-soft); background: #f1f4f8; border: 1px solid var(--line); padding: 6px 13px; border-radius: 999px; }
.ds-tag.k { color: var(--mint-ink); background: rgba(18,179,126,.1); border-color: transparent; }

/* 마무리 CTA */
.ds-outro { text-align: center; padding: 30px 0 100px; }
.ds-outro .arrow { color: var(--ink-faint); font-size: 22px; margin-bottom: 20px; }
.ds-outro p { font-size: clamp(16px, 2vw, 19px); font-weight: 700; color: var(--ink); line-height: 1.7; margin: 0 0 6px; }
.ds-outro p.mute { font-weight: 500; color: var(--ink-faint); font-size: 15px; margin-bottom: 28px; }
.ds-btn-dark { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; font-size: 16px; font-weight: 700; padding: 16px 34px; border-radius: 999px; transition: transform .16s ease, background .2s; }
.ds-btn-dark:hover { background: #0f1826; transform: translateY(-2px); }

/* ===================== 한국열연 포트폴리오 ===================== */

/* 히어로 */
.nt-hero { position: relative; min-height: 78vh; background: #0c0d10; color: #fff; overflow: hidden; display: flex; align-items: center; }
.nt-hero .nt-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.nt-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0c0d10 22%, rgba(12,13,16,.4) 60%, rgba(12,13,16,.1) 100%); }
.nt-hero .nt-hero-inner { position: relative; z-index: 2; }
.nt-hero .nt-tag { font-size: 13px; font-weight: 700; letter-spacing: .16em; color: rgba(255,255,255,.5); margin: 0 0 20px; }
.nt-hero h1 { font-family: "Pretendard", sans-serif; font-size: clamp(44px, 8vw, 96px); font-weight: 800; line-height: .96; letter-spacing: -0.02em; margin: 0; text-transform: uppercase; }
.nt-hero h1 .fine { color: #FF3300; }
.nt-hero h1 .l2 { display: block; font-weight: 300; }
.nt-hero .nt-hero-sub { font-size: clamp(15px, 2vw, 19px); color: rgba(255,255,255,.7); margin: 22px 0 0; font-style: italic; letter-spacing: .01em; }
.nt-hero .nt-copyr { position: absolute; left: 32px; bottom: 22px; z-index: 2; font-size: 11.5px; color: rgba(255,255,255,.4); letter-spacing: .02em; }

/* 공통 섹션 */
.nt-sec { padding: 90px 0; }
.nt-wrap { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.nt-label { font-size: 13px; font-weight: 700; letter-spacing: .05em; color: var(--ink); margin: 0 0 22px; position: relative; padding-left: 26px; }
.nt-label::before { content: ""; position: absolute; left: 0; top: 9px; width: 16px; height: 2px; background: #FF3300; }

/* overview */
.nt-over p { font-size: 16px; line-height: 1.9; color: var(--ink-soft); margin: 0; max-width: 820px; }
.nt-over .nt-big { font-size: clamp(26px, 4vw, 42px); font-weight: 800; letter-spacing: -0.03em; color: var(--ink); margin: 40px 0 0; line-height: 1.3; }
.nt-over .nt-big b { color: #FF3300; }

/* 이미지 밴드 */
.nt-band { width: 100%; }
.nt-band img { width: 100%; display: block; }
.nt-band.pad { padding: 0; }
.nt-band.orange { background: #FF3300; }

/* typeface / color */
.nt-type-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.nt-type-block .tf-name { font-family: "Pretendard", sans-serif; font-size: 54px; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); margin: 0 0 14px; }
.nt-type-block .tf-sub { font-size: 15px; color: var(--ink-soft); margin: 4px 0; font-weight: 600; }
.nt-type-block .tf-title { font-family: "Pretendard", sans-serif; font-size: 30px; font-weight: 800; color: var(--ink); margin: 0 0 18px; }
.nt-type-row { margin-bottom: 16px; }
.nt-type-row .tr-k { font-size: 13px; font-weight: 700; color: var(--ink-faint); margin: 0 0 5px; }
.nt-type-row .tr-v { font-size: 19px; color: var(--ink); letter-spacing: .01em; }
.nt-type-row .tr-v.bold { font-weight: 800; }
.nt-colors { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 30px; }
.nt-sw { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.nt-sw .sw-c { height: 92px; }
.nt-sw .sw-meta { padding: 10px 12px; }
.nt-sw .sw-name { font-size: 13px; font-weight: 700; color: var(--ink); }
.nt-sw .sw-hex { font-size: 12px; color: var(--ink-faint); font-family: "Pretendard", monospace; }

/* Technology Innovation (dark) */
.nt-innov { background: #4a4f5a; color: #fff; padding: 90px 0; }
.nt-innov .nt-innov-head { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: center; margin-bottom: 46px; }
.nt-innov h2 { font-family: "Pretendard", sans-serif; font-size: clamp(34px, 5vw, 58px); font-weight: 800; line-height: 1.02; letter-spacing: -0.02em; margin: 0; text-transform: uppercase; }
.nt-innov p { font-size: 15px; line-height: 1.8; color: rgba(255,255,255,.72); margin: 0; }
.nt-innov .nt-grid img { width: 100%; border-radius: 8px; display: block; }
.nt-innov .nt-grid { display: grid; gap: 18px; }
.nt-innov .nt-go { text-align: center; margin-top: 40px; }
.nt-btn-line { display: inline-flex; align-items: center; gap: 10px; border: 1.5px solid rgba(255,255,255,.4); color: #fff; font-size: 15px; font-weight: 700; padding: 13px 32px; border-radius: 999px; transition: background .2s, border-color .2s; }
.nt-btn-line:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* 크레딧 + 대형 로고 */
.nt-credit { padding: 70px 0 30px; }
.nt-credit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; font-size: 14px; }
.nt-credit .cc-k { color: var(--ink-faint); font-weight: 700; margin: 0 0 6px; font-size: 13px; }
.nt-credit .cc-v { color: var(--ink); font-weight: 600; }
.nt-credit .cc-v small { color: var(--ink-faint); font-weight: 500; margin-left: 6px; }
.nt-bigred { font-family: "Pretendard", sans-serif; font-size: clamp(44px, 12vw, 168px); font-weight: 800; color: #FF3300; letter-spacing: -0.02em; line-height: 1; text-transform: uppercase; padding: 30px 0 10px; }
.nt-bigred sup { font-size: .28em; vertical-align: super; }

/* 배포 제한 안내 */
.nt-notice { padding: 30px 0 90px; color: #8b95a4; }
.nt-notice h4 { font-size: 16px; font-weight: 800; color: #4a5563; margin: 0 0 14px; }
.nt-notice p { font-size: 13px; line-height: 1.7; margin: 0 0 8px; }

/* ===================== 반응형 ===================== */
@media (max-width: 900px) {
  .ds-key-grid { grid-template-columns: 1fr; gap: 30px; text-align: left; }
  .ds-key-logo img { width: 130px; height: 130px; }
  .ds-key p { text-align: left; }
  .ds-gallery { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .nt-type-grid { grid-template-columns: 1fr; gap: 40px; }
  .nt-colors { grid-template-columns: repeat(3, 1fr); }
  .nt-innov .nt-innov-head { grid-template-columns: 1fr; }
  .nt-credit-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ds-intro { padding: 120px 0 60px; }
  .ds-step { grid-template-columns: 1fr; gap: 8px; }
  .nt-colors { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   INNOIZ 레퍼런스 — 에디토리얼/미니멀 구성 레이어
   (모노톤 규율 · 대형 타이포 · 여백 확대 · 스크롤 모션 · 마퀴)
   ============================================================ */

/* 스크롤 리빌 */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .85s cubic-bezier(.2,.7,.2,1), transform .85s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* 섹션 상단 영문 오버라인 (에디토리얼) — 라벨을 크고 넓게 */
.ds-label { font-size: 13px; letter-spacing: .22em; }

/* 여백 확대 — 섹션 리듬 (시원한 상하 간격) */
.ds-solution { padding: clamp(80px, 11vw, 150px) 0; }
.ds-key { padding: clamp(80px, 11vw, 150px) 0; }
.ds-makes { padding: clamp(80px, 11vw, 150px) 0; }
.ds-display { padding: clamp(90px, 12vw, 160px) 0; }
/* Our Service → Process(01~04) → 문의하기 : 한 흐름으로 이어지게 (내부 간격 축소) */
.ds-service { padding: clamp(80px, 11vw, 150px) 0 clamp(24px, 3vw, 40px); }
.ds-process { padding: clamp(18px, 2.4vw, 30px) 0 clamp(18px, 2.4vw, 30px); }
.ds-outro { padding: clamp(24px, 3vw, 44px) 0 clamp(100px, 12vw, 160px); }

/* 인트로: 서브 문구 확대 */
.ds-intro .ds-sub { font-size: clamp(22px, 3.4vw, 34px); }

/* 마퀴 (INNOIZ식 대형 흐르는 텍스트) */
.ds-marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 22px 0; margin: 20px 0 0; }
.ds-marquee .mq-track { display: inline-flex; white-space: nowrap; will-change: transform; animation: dsMarquee 26s linear infinite; }
/* 호버해도 멈추지 않고 계속 롤링 */
.ds-marquee:hover .mq-track { animation-play-state: running; }
.ds-marquee .mq-item { font-family: "Pretendard", sans-serif; font-size: clamp(30px, 5vw, 62px); font-weight: 500; letter-spacing: -0.02em; text-transform: uppercase; color: var(--line-2); opacity: .7; padding: 0 28px; display: inline-flex; align-items: center; gap: 28px; }
.ds-marquee .mq-item::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--line); display: inline-block; }
@keyframes dsMarquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ds-marquee .mq-track { animation: none; } }

/* 프로세스: 초대형 아웃라인 넘버 (INNOIZ식) */
.ds-process .ds-step { grid-template-columns: 160px 1fr; gap: 40px; padding: 54px 0; align-items: start; }
.ds-process .ds-step .st-no { font-size: clamp(64px, 9vw, 120px); font-weight: 800; line-height: .8; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1.5px var(--line-2); }
.ds-process .ds-step:hover .st-no { -webkit-text-stroke-color: var(--mint); color: transparent; }
@media (max-width: 700px) {
  .ds-process .ds-step { grid-template-columns: 1fr; gap: 6px; padding: 40px 0; }
  .ds-process .ds-step .st-no { -webkit-text-stroke-width: 1px; }
}

/* Our Service / we makes 헤딩 확대 */
.ds-makes-head h2 { font-size: clamp(34px, 5vw, 60px); }
.ds-service h2 { font-size: clamp(28px, 4.2vw, 48px); }

/* ============================================================
   타이포 정돈 — Display / Title / Body / Label 로 통일 (가독성·간지)
   ============================================================ */
/* Section Title : 모든 섹션 제목을 동일 스타일로 */
.ds-solution h2,
.ds-key h3,
.ds-service h2,
.ds-step h3 {
  font-family: "Pretendard", sans-serif;
  font-size: clamp(23px, 2.9vw, 32px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.4;
  color: var(--ink);
  margin: 0 0 18px;
}
/* Body : 모든 본문 문단 동일 */
.ds-solution p,
.ds-key p,
.ds-service p,
.ds-step p,
.ds-outro p:not(.mute) {
  font-size: 18px;              /* PC 18 (모바일 15 — 하단 미디어쿼리) */
  line-height: 1.45;
  color: var(--ink-soft);
  margin: 0 0 14px;
  max-width: 720px;
  font-weight: 400;
}
.ds-outro p:not(.mute) { max-width: none; }
/* Label(이브로우) : 동일 */
.ds-label,
.ds-intro .ds-kline .k-small {
  font-family: "Pretendard", sans-serif;
  font-size: 12.5px; font-weight: 800; letter-spacing: .2em;
  text-transform: uppercase; color: var(--mint); margin: 0 0 18px;
}
/* 두 줄(리드+본문) 모두 본문 스타일로 은은하게 통일 */
.ds-intro .ds-kline .k-small,
.ds-intro .ds-kline .k-big {
  font-family: "Pretendard", sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.45;
  text-transform: none;
  color: var(--ink-soft);
  margin: 0 0 4px;
}
.ds-intro .ds-kline .k-big b { color: var(--ink); font-weight: 600; }
/* Display(대형) : Pretendard 통일 */
.ds-makes-head h2, .ds-display h2 { font-family: "Pretendard", sans-serif; letter-spacing: -0.03em; }
/* 강조는 그린 하나로만 */
.ds-solution b, .ds-key p b, .ds-service h2 b, .ds-step h3 b, .k-big b { color: var(--mint); font-weight: 800; }

/* ============================================================
   스크롤/로드 마이크로 애니메이션 (텍스트 + 오브젝트)
   ============================================================ */
/* 히어로 로드 인 */
.ds-intro h1 { animation: dsRise 1s cubic-bezier(.2,.75,.2,1) both; }
.ds-intro .ds-sub { animation: dsRise 1s cubic-bezier(.2,.75,.2,1) .12s both; }
.ds-intro .ds-kline { /* reveal 로 처리됨 */ }
@keyframes dsRise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

/* (블롭 등장 애니메이션 제거 — 스크롤 이동형 transform과 충돌하므로
    표시는 .ds-blob.ready 의 opacity 트랜지션으로 처리) */

/* 스크롤 리빌(전 섹션) — 더 다이나믹하게: 상승 + 스케일 + 블러 클리어, 오버슈트 이징 */
.reveal { opacity: 0; transform: translateY(60px) scale(.955); filter: blur(7px);
  transition: opacity .8s ease, transform 1.05s cubic-bezier(.16,.84,.29,1.02), filter .7s ease; }
.reveal.in { opacity: 1; transform: none; filter: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

/* Solution / Key feature: 블록 대신 요소별 순차 등장(캐스케이드)
   — 등장 요소(.reveal)는 각각 .ds-wrap(Solution) / .ds-key-grid(Key)에 있음 */
.ds-solution .ds-wrap.reveal, .ds-key .ds-key-grid.reveal { opacity: 1; transform: none; filter: none; }
.ds-sol-text > *, .ds-key-text > * {
  opacity: 0; transform: translateY(38px) scale(.97); filter: blur(5px);
  transition: opacity .75s ease, transform .95s cubic-bezier(.16,.84,.29,1.02), filter .6s ease;
}
.reveal.in .ds-sol-text > *, .reveal.in .ds-key-text > * { opacity: 1; transform: none; filter: none; }
.reveal.in .ds-sol-text > *:nth-child(1), .reveal.in .ds-key-text > *:nth-child(1) { transition-delay: .04s; }
.reveal.in .ds-sol-text > *:nth-child(2), .reveal.in .ds-key-text > *:nth-child(2) { transition-delay: .13s; }
.reveal.in .ds-sol-text > *:nth-child(3), .reveal.in .ds-key-text > *:nth-child(3) { transition-delay: .22s; }
.reveal.in .ds-sol-text > *:nth-child(4), .reveal.in .ds-key-text > *:nth-child(4) { transition-delay: .31s; }
.reveal.in .ds-sol-text > *:nth-child(5), .reveal.in .ds-key-text > *:nth-child(5) { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
  .ds-intro h1, .ds-intro .ds-sub { animation: none; }
  .reveal, .ds-sol-text > *, .ds-key-text > * { opacity: 1; transform: none; filter: none; transition: none; }
}

/* 폰트 통일: 단독 페이지 전체 Pretendard */
body.ds-doc, body.nt-doc, body.ins-doc, body.insight-doc,
body.ds-doc .site-header, body.nt-doc .site-header, body.ins-doc .site-header, body.insight-doc .site-header {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, "Malgun Gothic", sans-serif;
}

/* our design insight — 인사이트 '디자인' 그리드 + 더보기 */
.ds-insight .ins-grid { margin-top: 8px; }
.ds-insight-more { margin-top: clamp(28px, 4vw, 48px); text-align: center; }

/* ============================================================
   Key feature — 좌측 아이콘 마이크로 인터랙션 (X 심볼 + 대각 확장 화살표)
   ============================================================ */
.ds-key-logo { display: grid; place-items: center; }
.ds-icon { position: relative; width: 210px; height: 210px; display: grid; place-items: center; }
.ds-icon-x { position: relative; z-index: 1; width: 150px; height: 150px; object-fit: contain;
  animation: dsIconFloat 4.2s ease-in-out infinite;
  transition: transform .5s cubic-bezier(.2,.7,.2,1), filter .5s ease; }
.ds-icon-arrow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; overflow: visible; opacity: .5; transition: opacity .5s ease; }
.ds-arrow-line { stroke-dasharray: 232; stroke-dashoffset: 232; animation: dsArrowDraw 3.6s ease-in-out infinite; }
.ds-arrow-head { stroke-dasharray: 46; stroke-dashoffset: 46; animation: dsArrowHead 3.6s ease-in-out infinite; }
.ds-arrow-head.h1 { animation-delay: .55s; }
.ds-arrow-head.h2 { animation-delay: .15s; }

/* hover: X 확대 + 민트 글로우, 화살표 선명하게 */
.ds-icon:hover .ds-icon-x { transform: scale(1.07) rotate(3deg); filter: drop-shadow(0 12px 26px rgba(18,179,126,.34)); }
.ds-icon:hover .ds-icon-arrow { opacity: 1; }

@keyframes dsIconFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-8px) scale(1.02); }
}
@keyframes dsArrowDraw {
  0%   { stroke-dashoffset: 232; opacity: 0; }
  22%  { opacity: 1; }
  55%  { stroke-dashoffset: 0; opacity: 1; }
  78%  { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
@keyframes dsArrowHead {
  0%, 40% { stroke-dashoffset: 46; opacity: 0; }
  60%     { stroke-dashoffset: 0; opacity: 1; }
  82%     { stroke-dashoffset: 0; opacity: 1; }
  100%    { stroke-dashoffset: 0; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ds-icon-x { animation: none; }
  .ds-arrow-line, .ds-arrow-head { animation: none; stroke-dashoffset: 0; }
  .ds-icon-arrow { opacity: .8; }
}

/* 본문 폰트 — 모바일 15px (PC 18px) */
@media (max-width: 768px) {
  .ds-solution p, .ds-key p, .ds-service p, .ds-step p, .ds-outro p:not(.mute),
  .ds-intro .ds-kline .k-small, .ds-intro .ds-kline .k-big { font-size: 15px; }
}

/* ============================================================
   Solution / Key feature — 영문 라벨 주조컬러 + 인터랙티브 라인 버스트
   (innoiz식 · 콘텐츠 영역 내 좌/우 그리드 컬럼 · 마우스 반응)
   ============================================================ */
/* 영문 라벨 포인트(주조) 컬러로 승격 (.ds-solution p 규칙보다 높은 specificity) */
.ds-solution .ds-label, .ds-key .ds-label, .ds-key-text .ds-label { color: var(--mint); }

/* Solution: 텍스트(좌) + 블롭 슬롯(우) */
.ds-sol-grid { display: grid; grid-template-columns: minmax(0, 1fr) clamp(240px, 24vw, 340px); gap: clamp(28px, 4vw, 64px); align-items: center; }
/* Key feature: 블롭 슬롯(좌) + 텍스트(우) */
.ds-key-grid { grid-template-columns: clamp(240px, 24vw, 320px) minmax(0, 1fr); }

/* 블롭 착지 슬롯 — 그리드 컬럼 자리만 확보(비표시). 실제 블롭은 fixed로 이 위에 안착 */
.blob-slot { width: 100%; aspect-ratio: 1 / 1; pointer-events: none; }

/* 콘텐츠는 이동형 블롭(z-index:0) 위에 — 블롭은 빈 슬롯/텍스트 뒤로만 보임 */
.ds-doc .ds-wrap, .ds-doc .ds-marquee { position: relative; z-index: 1; }

/* 모바일: 슬롯 접기(콘텐츠 우선) */
@media (max-width: 900px) {
  .ds-sol-grid { grid-template-columns: 1fr; }
  .ds-key-grid { grid-template-columns: 1fr; }
  .blob-slot { display: none; }
}

/* ============================================================
   SOOZOO DESIGN STUDIO — 온스크롤 타이포 (글자별 정렬 애니메이션)
   Codrops "On-Scroll Typography Animations" index2 참조
   각 글자: 흩어진(회전+오프셋) 상태 → 스크롤 진행도(--p 0→1)로 제자리 정렬
   ============================================================ */
/* 3줄 센터 정렬 */
.ds-display { text-align: center; }
.ds-display h2 { position: relative; z-index: 1; }
.ds-typo { display: inline-block; }
.ds-typo .ds-line { display: block; }
.ds-typo .ds-ch {
  display: inline-block;
  transform: rotate(calc(var(--r, 0deg) * (1 - var(--p, 1))))
             translate(calc(var(--x, 0px) * (1 - var(--p, 1))), calc(var(--y, 0px) * (1 - var(--p, 1))));
  opacity: calc(0.12 + 0.88 * var(--p, 1));
  will-change: transform, opacity;
}
.ds-typo .ds-sp { display: inline-block; width: 0.28em; }
.ds-typo .ds-ch.b { color: var(--ink); }
@media (prefers-reduced-motion: reduce) {
  .ds-typo .ds-ch { transform: none; opacity: 1; }
}

/* our design insight 카드 — 뷰포트 진입 전 숨김 (스태거 등장 대기) */
.ds-insight .ins-card.pre { opacity: 0; }

/* ============================================================
   Contact us — 유기적 그라데이션(주조컬러) 배경 섹션
   ============================================================ */
.ds-outro { position: relative; overflow: hidden; padding: clamp(96px, 12vw, 168px) 0 clamp(104px, 13vw, 172px); }
.ds-outro-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: block;
  filter: blur(46px); transform: scale(1.28); transform-origin: center; }
.ds-outro .ds-wrap { position: relative; z-index: 1; }
.ds-outro-title { font-family: "Pretendard", sans-serif; font-size: clamp(46px, 8.4vw, 108px); font-weight: 800; letter-spacing: -0.035em; line-height: 1; color: #fff; margin: 0 0 26px; text-shadow: 0 8px 40px rgba(0,0,0,.22); }
/* 그라데이션 위 텍스트 — 화이트 계열 */
.ds-outro .arrow { color: rgba(255,255,255,.78); }
.ds-outro p:not(.mute) { color: #fff; }
.ds-outro p.mute { color: rgba(255,255,255,.72); }
/* CTA — 그라데이션 위에서 대비되도록 화이트 버튼 */
.ds-outro .ds-btn-dark { background: #fff; color: var(--ink); box-shadow: 0 18px 44px -18px rgba(0,0,0,.5); }
.ds-outro .ds-btn-dark:hover { background: #eef4f1; transform: translateY(-2px); }

/* ============================================================
   디자인 페이지 오픈 기념 이벤트 팝업 (무료 디자인 1p 신청)
   ============================================================ */
.ev-pop { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 20px;
  background: rgba(16, 20, 30, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.ev-pop.open { display: flex; animation: evFade .28s ease both; }
@keyframes evFade { from { opacity: 0 } to { opacity: 1 } }
.ev-card { width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto; background: #fff; border-radius: 22px;
  box-shadow: 0 40px 90px -30px rgba(16,20,30,.6); position: relative; animation: evRise .4s cubic-bezier(.16,.84,.29,1.02) both; }
@keyframes evRise { from { opacity: 0; transform: translateY(26px) scale(.98) } to { opacity: 1; transform: none } }
.ev-close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; border: 0;
  background: rgba(16,20,30,.06); color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; z-index: 2; transition: background .2s; }
.ev-close:hover { background: rgba(16,20,30,.12); }
.ev-head { text-align: center; padding: 26px 26px 14px; background: linear-gradient(180deg, #f3eefb 0%, #ffffff 100%); border-radius: 22px 22px 0 0; }
.ev-badge { font-family: "Pretendard", sans-serif; font-size: clamp(19px, 4vw, 25px); font-weight: 800; letter-spacing: -0.02em; color: #6a34a8; margin: 0 0 8px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.ev-spark { width: 20px; height: 20px; flex: none; fill: #8a4fd0; filter: drop-shadow(0 2px 6px rgba(122,63,192,.35)); transform-origin: center; animation: evTwinkle 2.6s ease-in-out infinite; }
.ev-spark--sm { width: 13px; height: 13px; fill: #b98fe6; animation-delay: 1.1s; align-self: flex-start; margin-top: 2px; }
@keyframes evTwinkle { 0%, 100% { transform: scale(1) rotate(0deg); opacity: 1 } 50% { transform: scale(1.22) rotate(18deg); opacity: .8 } }
@media (prefers-reduced-motion: reduce) { .ev-spark { animation: none; } }
.ev-title { font-size: clamp(15px, 2.5vw, 18px); font-weight: 800; letter-spacing: -0.03em; color: var(--ink); margin: 0 0 10px; line-height: 1.3; }
.ev-desc { font-size: 14px; line-height: 1.6; color: var(--ink-soft); font-weight: 400; margin: 0; }
.ev-desc b { font-weight: 400; color: inherit; }
/* 2컬럼 그리드 폼 (세로 높이 축소) */
.ev-body { padding: 14px 26px 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.ev-body > .evf-full, .ev-body > #evMsg, .ev-body > #evSubmit { grid-column: 1 / -1; }
.ev-field { margin: 0; }
.ev-field label { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink); margin: 0 0 5px; }
.ev-field label .req { color: #e5322e; margin-left: 3px; }
.ev-field input, .ev-field textarea { width: 100%; box-sizing: border-box; font-family: inherit; font-size: 14.5px; color: var(--ink);
  padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 10px; background: #fbfcfe; transition: border-color .18s, box-shadow .18s; }
.ev-field input:focus, .ev-field textarea:focus { outline: 0; border-color: var(--mint); box-shadow: 0 0 0 3px rgba(15,158,108,.14); background: #fff; }
.ev-field textarea { resize: vertical; min-height: 62px; }
.ev-field .ev-file-note { font-size: 11.5px; color: var(--ink-faint); margin: 5px 0 0; }
.ev-file input[type=file] { padding: 8px 10px; background: #fff; font-size: 13px; }
.ev-submit { width: 100%; margin-top: 2px; padding: 13px; border: 0; border-radius: 999px; cursor: pointer;
  font-family: "Pretendard", sans-serif; font-size: 15.5px; font-weight: 800; letter-spacing: -0.01em; color: #fff;
  background: linear-gradient(90deg, #7a3fc0 0%, #0f9e6c 100%); box-shadow: 0 14px 30px -12px rgba(106,52,168,.5); transition: transform .16s ease, filter .2s; }
.ev-submit:hover { transform: translateY(-2px); filter: brightness(1.05); }
.ev-submit:disabled { opacity: .6; cursor: default; transform: none; }
.ev-foot { text-align: center; padding: 0 26px 16px; }
.ev-dismiss { font-size: 12.5px; color: var(--ink-faint); background: 0; border: 0; cursor: pointer; text-decoration: underline; }
.ev-msg { font-size: 12.5px; text-align: center; margin: 2px 0 0; min-height: 0; }
.ev-msg:empty { display: none; }
.ev-msg.err { color: #e5322e; }
.ev-msg.ok { color: var(--mint); }
/* 성공 상태 — 세련된 체크 아이콘 + 마이크로 인터랙션 */
.ev-done { text-align: center; padding: 44px 28px 40px; }
.ev-succ { display: inline-block; width: 74px; height: 74px; margin: 0 0 18px; }
.ev-succ svg { width: 100%; height: 100%; overflow: visible; display: block; }
.ev-succ-disc { fill: var(--mint); transform-box: fill-box; transform-origin: center; transform: scale(0);
  animation: evPop .5s cubic-bezier(.18,.89,.32,1.4) .05s both; }
.ev-succ-ring { fill: none; stroke: var(--mint); stroke-width: 2; transform-box: fill-box; transform-origin: center; opacity: 0;
  animation: evRing 1s ease-out .34s both; }
.ev-succ-check { stroke-dasharray: 62; stroke-dashoffset: 62;
  animation: evCheck .42s cubic-bezier(.65,0,.35,1) .4s both; }
@keyframes evPop { 0% { transform: scale(0) } 68% { transform: scale(1.1) } 100% { transform: scale(1) } }
@keyframes evRing { 0% { opacity: .5; transform: scale(.7) } 100% { opacity: 0; transform: scale(1.55) } }
@keyframes evCheck { to { stroke-dashoffset: 0 } }
.ev-done h3 { font-size: 19px; font-weight: 800; color: var(--ink); margin: 0 0 8px; opacity: 0; animation: evUp .5s ease .5s both; }
.ev-done p { font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); margin: 0; opacity: 0; animation: evUp .5s ease .6s both; }
.ev-done p b { color: var(--ink); }
@keyframes evUp { from { opacity: 0; transform: translateY(8px) } to { opacity: 1; transform: none } }
@media (prefers-reduced-motion: reduce) {
  .ev-succ-disc { transform: none; animation: none; }
  .ev-succ-ring { display: none; }
  .ev-succ-check { stroke-dashoffset: 0; animation: none; }
  .ev-done h3, .ev-done p { opacity: 1; animation: none; }
}
/* 모바일: 세로 공간 더 절약 + 전체 보이도록 */
@media (max-width: 560px) {
  .ev-pop { padding: 12px; align-items: flex-start; }
  .ev-card { max-height: 94vh; margin-top: 2vh; }
  .ev-head { padding: 20px 18px 12px; }
  .ev-badge { margin-bottom: 6px; }
  .ev-title { margin-bottom: 8px; }
  /* 모바일: 설명 강제 줄바꿈 제거 → 자연스럽게 흐르게(줄 수·높이 최소화) */
  .ev-desc { font-size: 13px; line-height: 1.5; }
  .ev-desc br { display: none; }
  .ev-body { padding: 12px 18px 16px; gap: 8px 10px; }
  .ev-foot { padding: 0 18px 12px; }
  .ev-done { padding: 36px 20px 30px; }
  .ev-succ { width: 64px; height: 64px; margin-bottom: 14px; }
  .ev-done h3 { font-size: 18px; }
}
@media (max-width: 330px) {
  .ev-body { grid-template-columns: 1fr; }
}
