/* JUNTO — 단일 강조색(보라) + 밝은/어두운 섹션 교차 */
:root {
  --acc: #6c3bff;          /* 메인 컬러: 보라 */
  --acc-soft: #a98bff;     /* 어두운 배경 위 보라 */
  --ink: #0e0f12;
  --ink-2: #474b53;
  --gray: #8a909b;
  --line: #e3e5ea;
  --paper: #f3f2f7;
  --bg: #ffffff;
  --dark: #0e0d14;
  --r: 16px;
  --hd-h: 72px;
  --pad: clamp(16px, 4vw, 40px);
  --font: "Albert Sans", "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.5; word-break: keep-all; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--pad); }
.acc { color: var(--acc); }
section[id], footer[id] { scroll-margin-top: var(--hd-h); }

/* ---------- 상단바 ---------- */
.hd {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hd-h);
  display: flex; align-items: center; gap: 40px; padding: 0 var(--pad);
  color: #fff; transition: background .3s, color .3s, box-shadow .3s;
}
.hd.solid { background: rgba(255,255,255,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.logo { font-size: 26px; font-weight: 800; letter-spacing: -0.04em; display: inline-flex; align-items: flex-end; gap: 3px; }
.logo .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); margin-bottom: 7px; }
.gnb { display: flex; gap: 32px; margin-left: auto; }
.gnb a { font-size: 15px; font-weight: 500; opacity: .85; position: relative; padding: 6px 0; }
.gnb a:hover, .gnb a.on { opacity: 1; }
.gnb a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--acc); transform: scaleX(0); transition: transform .25s; }
.gnb a:hover::after, .gnb a.on::after { transform: scaleX(1); }
.hd-util { display: flex; align-items: center; gap: 16px; }
.lang { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; opacity: .85; }

/* ---------- 공통 타이포 ---------- */
.eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; color: var(--acc); }
.eyebrow.gray { color: var(--gray); }
.eyebrow.light { color: rgba(255,255,255,.7); }
.kicker { font-size: 14px; font-weight: 600; color: var(--acc); margin-bottom: 14px; }
.h-lg { font-size: clamp(28px, 3.9vw, 48px); font-weight: 600; line-height: 1.22; letter-spacing: -0.045em; }
.h-xl { font-size: clamp(34px, 5.6vw, 72px); font-weight: 600; line-height: 1.15; letter-spacing: -0.05em; }

/* ---------- HERO ---------- */
.cover { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; background: var(--dark); overflow: hidden; }
.cover-bg { position: absolute; inset: -10% -10%; display: grid; align-content: center; gap: 16px; transform: rotate(-6deg); opacity: .5; }
.stream { display: flex; gap: 16px; width: max-content; animation: flow 90s linear infinite; }
.stream[data-dir="-1"] { animation-direction: reverse; animation-duration: 110s; }
.stream img { width: clamp(220px, 22vw, 340px); aspect-ratio: 16/9; object-fit: cover; border-radius: 12px; filter: saturate(.7); }
@keyframes flow { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.cover::after { content: ""; position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(180deg, rgba(14,13,20,.75) 0%, rgba(14,13,20,.35) 40%, rgba(14,13,20,.92) 100%),
  radial-gradient(70% 60% at 20% 85%, rgba(108,59,255,.45), transparent 70%); }
.cover-in { z-index: 1; }
.cover-in { position: relative; width: 100%; padding-top: 140px; padding-bottom: 40px; }
.cover-title { font-size: clamp(38px, 6.6vw, 92px); font-weight: 600; line-height: 1.1; letter-spacing: -0.05em; }
.cover-title .acc { color: var(--acc-soft); }
.cover-foot { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.25); display: grid; grid-template-columns: 1fr auto auto; align-items: end; gap: 40px; }
.cover-cap { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.78); border-left: 1px solid rgba(255,255,255,.35); padding-left: 18px; }
.stats { display: flex; gap: 48px; position: relative; padding-bottom: 22px; }
.stat dt { font-size: 13px; color: rgba(255,255,255,.7); margin-bottom: 4px; }
.stat dd { display: flex; align-items: baseline; gap: 6px; }
.stat b { font-size: clamp(36px, 4vw, 56px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat small { font-size: 16px; color: rgba(255,255,255,.8); }
.stat-note { position: absolute; left: 0; bottom: 0; font-size: 11px; color: rgba(255,255,255,.45); white-space: nowrap; }
.scroll { font-size: 11.5px; letter-spacing: .12em; color: rgba(255,255,255,.75); border-left: 1px solid rgba(255,255,255,.5); padding: 14px 0 0 12px; }

/* ---------- THE QUESTION ---------- */
.ask { background: var(--paper); padding: 140px 0 160px; }
.ask-in { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.ask-text { position: sticky; top: 140px; }
.ask-text .eyebrow { margin-bottom: 18px; }
.ask-img { border-radius: var(--r); overflow: hidden; box-shadow: 0 20px 50px rgba(30,20,60,.12); aspect-ratio: 4/3; }
.ask-img img { width: 100%; height: 100%; object-fit: cover; }
.ask-img.a1 { grid-column: 2; }
.ask-img.a2 { grid-column: 1; width: 78%; margin-top: -40px; }

/* ---------- WHY (이야기) ---------- */
.sec { padding: 140px 0; }
.why { padding: 160px 0; }
.why .eyebrow { margin-bottom: 40px; }
.story { list-style: none; display: grid; gap: 56px; }
.story li { font-size: clamp(26px, 3.4vw, 42px); font-weight: 500; line-height: 1.25; letter-spacing: -0.045em; }
.story li.muted { color: var(--gray); font-weight: 400; }
.story li:nth-child(even):not(.muted) { padding-left: 18%; }
.story .tag { display: block; font-size: 12.5px; letter-spacing: .08em; color: var(--acc); font-weight: 600; margin-bottom: 14px; }

/* ---------- 섹션 머리 ---------- */
.paper { background: var(--paper); }
.sec-hd { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: start; margin-bottom: 64px; }
.num { font-size: clamp(80px, 10vw, 140px); font-weight: 200; line-height: .8; letter-spacing: -0.07em; color: var(--acc); }
.sec-hd .eyebrow, .sec-hd .more { align-self: end; }
.more { font-size: 15px; font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.more::after { content: " →"; }

/* ---------- 카드 ---------- */
.cards { display: grid; gap: 24px; }
.c3 { grid-template-columns: repeat(3, 1fr); }
.c4 { grid-template-columns: repeat(4, 1fr); }
.card figure { border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3; background: #ddd; margin-bottom: 18px; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.card:hover img { transform: scale(1.05); }
.card-lb { font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--acc); margin-bottom: 8px; }
.card h3 { font-size: clamp(18px, 1.6vw, 22px); font-weight: 600; line-height: 1.4; letter-spacing: -0.03em; }
.card-sub { font-size: 14px; color: var(--ink-2); margin-top: 6px; }
.work { row-gap: 48px; }

/* 채널 카드 */
.ch { position: relative; aspect-ratio: 3/4; border-radius: var(--r); padding: 24px; color: #fff; display: flex; flex-direction: column; overflow: hidden;
  background: linear-gradient(160deg, var(--g1), var(--g2)); }
.ch::before { content: ""; position: absolute; inset: auto -30% -30% auto; width: 80%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.12); filter: blur(10px); }
.ch-pf { font-size: 12px; letter-spacing: .06em; opacity: .75; }
.ch h3 { font-size: clamp(24px, 2.2vw, 30px); font-weight: 700; letter-spacing: -0.04em; margin-top: auto; }
.ch-desc { font-size: 15px; opacity: .85; margin-top: 4px; }
.ch-meta { font-size: 12px; margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.25); opacity: .8; }

/* ---------- 03 일하는 방식 ---------- */
.dark { background: var(--dark); color: #fff; }
.dark .num, .dark .kicker, .dark .acc { color: var(--acc-soft); }
.flow { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-top: 40px; }
.flow-line { position: absolute; top: 47px; left: 0; right: 0; height: 2px; background: rgba(255,255,255,.12); overflow: hidden; }
.flow-line span { position: absolute; inset: 0; width: 30%; background: linear-gradient(90deg, transparent, var(--acc-soft), transparent); animation: run 3.2s linear infinite; }
@keyframes run { from { transform: translateX(-100%); } to { transform: translateX(350%); } }
.step { position: relative; }
.step-dot { display: block; width: 16px; height: 16px; border-radius: 50%; background: var(--dark); border: 2px solid var(--acc-soft); margin-bottom: 28px; box-shadow: 0 0 0 6px rgba(169,139,255,.12); }
.step-en { font-size: 12.5px; letter-spacing: .1em; color: rgba(255,255,255,.5); font-weight: 600; }
.step h3 { font-size: clamp(30px, 3vw, 40px); font-weight: 600; letter-spacing: -0.04em; margin: 4px 0 24px; }
.step dl { display: grid; gap: 14px; }
.step dl div { display: grid; grid-template-columns: 44px 1fr; gap: 8px; font-size: 15px; line-height: 1.6; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); }
.step dt { font-weight: 700; color: var(--acc-soft); }
.step dd { color: rgba(255,255,255,.75); }
.flow-foot { margin-top: 72px; font-size: 15px; color: rgba(255,255,255,.55); }

/* ---------- YOUR TURN ---------- */
.end { position: relative; background: var(--dark); color: #fff; padding: 180px 0; overflow: hidden; }
.end-glow { position: absolute; inset: 0; background: radial-gradient(50% 70% at 75% 60%, rgba(108,59,255,.55), transparent 70%), radial-gradient(40% 50% at 10% 10%, rgba(169,139,255,.18), transparent 70%); }
.end-in { position: relative; }
.end .eyebrow { margin-bottom: 24px; }
.end .acc { color: var(--acc-soft); }
.btn { display: inline-flex; align-items: center; gap: 10px; margin-top: 48px; padding: 18px 28px; border-radius: 999px; background: var(--acc); color: #fff; font-size: 16px; font-weight: 600; transition: transform .2s, background .2s; }
.btn:hover { background: #5a2bef; transform: translateY(-2px); }
.btn:focus-visible, .gnb a:focus-visible, .card:focus-visible { outline: 2px solid var(--acc-soft); outline-offset: 4px; }

/* ---------- 푸터 ---------- */
.ft { background: var(--dark); color: rgba(255,255,255,.6); border-top: 1px solid rgba(255,255,255,.08); padding: 48px 0; font-size: 13.5px; }
.ft-in { display: grid; grid-template-columns: auto 1fr auto; gap: 24px 48px; align-items: start; }
.ft-in .ft-nav { grid-column: 2 / -1; justify-self: end; }
.ft .logo { color: #fff; font-size: 22px; }
.ft address { font-style: normal; line-height: 1.7; }
.ft-sns { display: flex; gap: 20px; }
.ft-sns a:hover { color: #fff; }
.copy { grid-column: 1 / -1; font-size: 12px; color: rgba(255,255,255,.35); }

/* ---------- 스크롤 등장 ---------- */
.js .reveal { opacity: 0; transform: translateY(2.4rem); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
/* 이미지: 서서히 나타나며 1.05배에서 천천히 줌아웃 (Open Design Lab .wipe) */
.js .card.reveal figure img, .js .ask-img.reveal img, .js .cd-video .player { transform: scale(1.05); transition: transform 1.8s cubic-bezier(.2,.7,.2,1); }
.js .card.reveal.in figure img, .js .ask-img.reveal.in img { transform: none; }
.js .card.reveal.in:hover figure img { transform: scale(1.05); transition-duration: .6s; }
/* 흐름도: 점이 차례로 톡 켜진다 */
.js .step .step-dot { transform: scale(0); opacity: 0; transition: transform .7s cubic-bezier(.2,.9,.3,1.25), opacity .6s ease; }
.js .step.in .step-dot { transform: none; opacity: 1; }
.js .reveal.in { opacity: 1; transform: none; }
.cards .reveal:nth-child(3n+2), .flow .reveal:nth-of-type(2) { transition-delay: .12s; }
.cards .reveal:nth-child(3n+3), .flow .reveal:nth-of-type(3) { transition-delay: .19s; }
.flow .reveal:nth-of-type(2) .step-dot { transition-delay: .5s; } .flow .reveal:nth-of-type(3) .step-dot { transition-delay: .9s; }
.flow .reveal:nth-of-type(1) .step-dot { transition-delay: .15s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .card.reveal figure img, .js .ask-img.reveal img { transform: none; }
  .js .step .step-dot { transform: none; opacity: 1; }
}


/* 함께한 브랜드 띠 */
.clients-band { padding: 28px 0; border-bottom: 1px solid var(--line); background: #fff; overflow: hidden; }
.band-lb { font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--gray); margin-bottom: 14px; }
.band { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.band-track { display: flex; gap: 48px; width: max-content; animation: flow 60s linear infinite; }
.band-track span { font-size: 15px; color: var(--gray); white-space: nowrap; }
.band-track b { color: var(--ink); font-weight: 700; letter-spacing: .03em; }
.card-credit { font-size: 13px; color: var(--gray); margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.card-credit span { font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--acc); margin-right: 2px; }

/* ================= 하위 페이지 ================= */
.hero-light .hd { color: var(--ink); }
.phead { padding: calc(var(--hd-h) + 120px) 0 96px; background: var(--paper); position: relative; overflow: hidden; }
.phead::after { content: ""; position: absolute; right: -10%; top: -30%; width: 55%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(108,59,255,.16), transparent 65%); pointer-events: none; }
.phead .eyebrow { margin-bottom: 20px; }
.lead { max-width: 640px; margin-top: 28px; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.7; color: var(--ink-2); }
.sec.tight { padding-top: 64px; }

/* 홈 요약용 단계 설명 */
.step-sum { font-size: 15px; line-height: 1.7; color: rgba(255,255,255,.72); max-width: 320px; }

/* 홈: 서비스 두 갈래 */
.svc2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.svc { position: relative; display: block; padding: 40px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: border-color .25s, transform .25s, box-shadow .25s; }
.svc:hover { border-color: var(--acc); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(60,30,140,.08); }
.svc h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; letter-spacing: -0.04em; margin-bottom: 14px; }
.svc p:not(.card-lb) { color: var(--ink-2); line-height: 1.7; }
.svc .arrow { position: absolute; right: 36px; top: 36px; font-size: 24px; color: var(--acc); transition: transform .25s; }
.svc:hover .arrow { transform: translateX(6px); }

/* 일하는 방식: 역할 */
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.role { padding: 36px; border-radius: var(--r); background: var(--paper); }
.role:first-child { background: var(--acc); color: #fff; }
.role:first-child .card-lb { color: rgba(255,255,255,.75); }
.role ul { list-style: none; margin-top: 12px; }
.role li { font-size: clamp(17px, 1.5vw, 20px); font-weight: 500; letter-spacing: -0.03em; padding: 16px 0; border-bottom: 1px solid rgba(0,0,0,.08); }
.role:first-child li { border-color: rgba(255,255,255,.2); }
.role li:last-child { border-bottom: 0; }

/* 원칙 */
.pr { padding: 32px; border-radius: var(--r); background: #fff; }
.pr-n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--acc); color: #fff; font-weight: 700; margin-bottom: 24px; }
.pr h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.03em; margin-bottom: 10px; }
.pr p { color: var(--ink-2); line-height: 1.7; font-size: 15px; }

/* 서비스 상세 */
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.svc-hd .num { display: block; margin-bottom: 24px; }
.svc-lead { margin-top: 24px; color: var(--ink-2); line-height: 1.75; max-width: 460px; }
.checks { list-style: none; border-top: 2px solid var(--ink); }
.checks li { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.checks b { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.checks span { color: var(--ink-2); }
.steps4 { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.steps4 li { padding-top: 24px; border-top: 2px solid var(--acc); }
.steps4 span { font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--acc); }
.steps4 h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.03em; margin: 8px 0 10px; }
.steps4 p { color: var(--ink-2); line-height: 1.7; font-size: 15px; }

/* 캠페인: 분류 칩 + 재생 표시 */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 48px; }
.chip { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; transition: all .2s; }
.chip small { color: var(--gray); margin-left: 2px; }
.chip:hover { border-color: var(--acc); }
.chip.on { background: var(--acc); border-color: var(--acc); color: #fff; }
.chip.on small { color: rgba(255,255,255,.7); }
.card figure { position: relative; }
.play { position: absolute; left: 16px; bottom: 16px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.92); opacity: 0; transform: scale(.85); transition: all .25s; }
.play::after { content: ""; position: absolute; left: 17px; top: 13px; border-left: 14px solid var(--acc); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.card:hover .play { opacity: 1; transform: none; }
.card.hide { display: none; }

/* 회사 */
.team { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 24px; }
.team li { padding: 24px 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.team b { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.team span { font-size: 14px; color: var(--gray); }
.clients { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.clients li { display: grid; place-items: center; text-align: center; aspect-ratio: 2/1; padding: 12px; font-size: 14px; font-weight: 700; letter-spacing: .04em; color: var(--ink-2); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.loc { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; padding-top: 24px; border-top: 2px solid var(--ink); }
.loc-addr { font-size: clamp(20px, 2.2vw, 28px); font-weight: 500; letter-spacing: -0.03em; }

/* 문의 */
.contact { display: grid; grid-template-columns: 1.6fr 1fr; gap: 64px; align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form fieldset { grid-column: 1 / -1; border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.form legend { font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.opt input { position: absolute; opacity: 0; }
.opt span { display: inline-block; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line); font-size: 15px; cursor: pointer; transition: all .2s; }
.opt input:checked + span { background: var(--acc); border-color: var(--acc); color: #fff; }
.opt input:focus-visible + span { outline: 2px solid var(--acc); outline-offset: 3px; }
.fld { display: grid; gap: 8px; font-size: 14px; font-weight: 600; }
.fld.full { grid-column: 1 / -1; }
.fld input, .fld textarea { font: inherit; font-weight: 400; font-size: 16px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); resize: vertical; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 3px rgba(108,59,255,.15); }
.form .btn { margin-top: 8px; justify-self: start; border: 0; }
.form-note { grid-column: 1 / -1; font-size: 13px; color: var(--gray); }
.direct { padding: 32px; border-radius: var(--r); background: var(--paper); }
.direct dl { display: grid; gap: 18px; margin-top: 12px; }
.direct dt { font-size: 13px; color: var(--gray); }
.direct dd { font-size: 17px; font-weight: 500; }
.direct a { border-bottom: 1px solid currentColor; }

.ft-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.ft-nav a:hover { color: #fff; }

@media (max-width: 1024px) {
  .team { grid-template-columns: repeat(3, 1fr); }
  .clients { grid-template-columns: repeat(4, 1fr); }
  .steps4 { grid-template-columns: repeat(2, 1fr); }
  .svc-row, .contact { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 760px) {
  .phead { padding: calc(var(--hd-h) + 56px) 0 64px; }
  .svc2, .roles { grid-template-columns: 1fr; }
  .svc, .role, .pr { padding: 28px; }
  .checks li { grid-template-columns: 1fr; gap: 4px; }
  .steps4 { grid-template-columns: 1fr; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .clients { grid-template-columns: repeat(3, 1fr); }
  .form { grid-template-columns: 1fr; }
}


/* ================= 림앤코식 구성 (영문 슬로건 + 한국어 설명) ================= */
.cover-slogan { font-size: clamp(48px, 8.4vw, 124px); font-weight: 700; line-height: 1; letter-spacing: -0.045em; }
.cover-slogan .acc { color: var(--acc-soft); }
.cover-id { margin-top: 22px; font-size: clamp(20px, 2.2vw, 30px); font-weight: 600; letter-spacing: -0.03em; color: rgba(255,255,255,.92); }
.cover-cap { max-width: 640px; line-height: 1.75; }
.cover-foot { grid-template-columns: 1fr auto; }
.why3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card { padding: 32px 28px; border-radius: var(--r); background: var(--paper); display: grid; gap: 10px; align-content: start; }
.why-no { font-size: 13px; font-weight: 600; color: var(--gray); }
.why-card h3 { font-size: clamp(20px, 1.8vw, 24px); font-weight: 600; letter-spacing: -0.03em; }
.why-card p:not(.card-lb) { color: var(--ink-2); line-height: 1.7; font-size: 15px; }
.svc-list { list-style: none; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.svc-list li { font-size: 14.5px; color: var(--ink-2); }
.svc-list li::before { content: "· "; color: var(--acc); font-weight: 700; }
.checks b { display: grid; gap: 2px; font-size: 13.5px; letter-spacing: .04em; }
.checks b small { font-size: 15px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.checks li { align-items: start; }
.checks li { grid-template-columns: 220px 1fr; }
.notes { list-style: none; border-top: 1px solid var(--ink); }
.notes li { border-bottom: 1px solid var(--line); }
.notes a { display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; gap: 8px 24px; align-items: baseline; padding: 24px 0; }
.notes .note-src { font-size: 12px; letter-spacing: .08em; color: var(--gray); }
.notes b { font-size: clamp(18px, 1.6vw, 22px); font-weight: 600; letter-spacing: -0.03em; transition: color .2s; }
.notes .note-sub { grid-column: 2; color: var(--ink-2); font-size: 15px; }
.notes .note-more { grid-row: 1; grid-column: 3; font-size: 14px; font-weight: 600; color: var(--acc); }
.notes a:hover b { color: var(--acc); }
.end-sub { margin-top: 20px; max-width: 520px; color: rgba(255,255,255,.75); line-height: 1.7; }
.more-ai b { color: var(--ink); }
@media (max-width: 1024px) { .why3 { grid-template-columns: 1fr; } .cover-foot { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .notes a { grid-template-columns: 1fr; }
  .notes .note-sub, .notes .note-more { grid-column: 1; grid-row: auto; }
  .checks li { grid-template-columns: 1fr; }
}

/* ================= 캠페인 상세 ================= */
.ext { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid currentColor; opacity: .8; white-space: nowrap; }
.ext:hover { opacity: 1; }
.more-ai { margin-top: 56px; color: var(--ink-2); }
.more-ai a { color: var(--acc); border-bottom: 1px solid currentColor; }
.cd-head { padding: calc(var(--hd-h) + 72px) 0 40px; background: var(--paper); }
.back { display: inline-block; font-size: 14px; color: var(--ink-2); margin-bottom: 28px; }
.back:hover { color: var(--acc); }
.cd-head .eyebrow { margin-bottom: 12px; }
.cd-video { background: linear-gradient(var(--paper) 50%, var(--bg) 50%); }
.player { border-radius: var(--r); overflow: hidden; background: #000; aspect-ratio: 16/9; box-shadow: 0 30px 60px rgba(30,20,60,.18); }
.player.tall { aspect-ratio: 9/16; max-width: 420px; margin: 0 auto; }
.player iframe { width: 100%; height: 100%; border: 0; display: block; }
.cd-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 64px; align-items: start; }
.cd-info { display: grid; border-top: 2px solid var(--ink); }
.cd-info div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cd-info dt { font-size: 14px; color: var(--gray); }
.cd-info dd { font-weight: 600; }
.cd-info .me dd { color: var(--acc); }
.tbd { font-weight: 400; color: var(--gray); }
.cd-text { display: grid; gap: 16px; max-width: 640px; }
.cd-lead { font-size: clamp(20px, 2vw, 24px); font-weight: 500; line-height: 1.55; letter-spacing: -0.03em; }
.cd-text h2 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; margin-top: 8px; }
.cd-text p { color: var(--ink-2); line-height: 1.75; }
.cd-note { margin-top: 24px; padding: 16px 20px; border-radius: 12px; background: var(--paper); font-size: 14px; }
.cd-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); }
.cd-pn a { display: grid; gap: 4px; font-weight: 600; }
.cd-pn a.r { text-align: right; }
.cd-pn small { font-size: 12px; color: var(--gray); font-weight: 400; }
.cd-pn a:hover { color: var(--acc); }
@media (max-width: 1024px) { .cd-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ================= 뉴스레터 ================= */
/* 뉴스레터 목록 (번호 · 출처 · 제목 · 부제 · 태그 · 썸네일) */
.nl-head { padding: calc(var(--hd-h) + 72px) 0 0; }
.nl-top { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid var(--ink); }
.nl-top h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.nl-meta { font-size: 12px; letter-spacing: .1em; color: var(--ink-2); padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; }
.nl-lead { color: var(--ink-2); padding: 18px 0 8px; }
.nl-list { list-style: none; border-top: 1px solid var(--line); margin-top: 24px; }
.nl-list li { border-bottom: 1px solid var(--line); }
.nl-row { display: grid; grid-template-columns: 80px minmax(0, 1fr) 240px; gap: 32px; padding: 40px 0; align-items: start; }
.nl-no { font-size: 28px; font-weight: 300; color: var(--gray); font-variant-numeric: tabular-nums; }
.nl-body { display: grid; gap: 8px; min-width: 0; }
.nl-src { font-size: 11.5px; letter-spacing: .1em; color: var(--ink-2); display: flex; align-items: center; gap: 10px; }
.nl-src::before { content: ""; width: 18px; height: 1px; background: var(--ink-2); }
.draft { font-style: normal; letter-spacing: 0; color: #a8640a; border: 1px solid rgba(168,100,10,.35); border-radius: 999px; padding: 1px 8px; }
.nl-title { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.3; transition: color .2s; }
.nl-row:hover .nl-title { color: var(--acc); }
.nl-sub { color: var(--ink-2); line-height: 1.6; max-width: 56ch; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.tags span { font-size: 12px; color: var(--ink-2); padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; }
.nl-thumb { aspect-ratio: 16/10; border-radius: 10px; overflow: hidden; background: var(--paper); display: grid; }
.nl-thumb img { width: 100%; height: 100%; object-fit: cover; }
.nl-type { color: var(--ink); padding: 16px; font-size: 15px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.35; align-self: end;
  background: radial-gradient(90% 90% at 100% 0%, rgba(108,59,255,.35), transparent 70%); height: 100%; display: flex; align-items: flex-end; }
.nl-sub-box { margin-top: 48px; padding: 28px 32px; border-radius: var(--r); background: var(--paper); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.nl-sub-box b { font-size: 18px; }
.nl-sub-box p { color: var(--ink-2); margin-top: 4px; max-width: 56ch; }
.mail { font-size: 18px; font-weight: 600; user-select: all; }

/* 뉴스레터 본문 */
.art { padding: calc(var(--hd-h) + 56px) 0 40px; }
.art-wrap { max-width: 860px; }
.art-nav { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .1em; color: var(--ink-2); padding-bottom: 14px; border-bottom: 1px solid var(--ink); margin-bottom: 40px; }
.art-nav a:hover { color: var(--ink); }
.art h1 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 700; letter-spacing: -0.045em; line-height: 1.2; margin: 14px 0 14px; text-wrap: balance; }
.art-sub { color: var(--ink-2); font-size: 17px; }
.art-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 28px 0 40px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.art-meta .tags { margin: 0; }
.art-meta time { font-size: 13px; color: var(--gray); font-variant-numeric: tabular-nums; }
.art-cover { border-radius: var(--r); overflow: hidden; margin-bottom: 48px; }
.art-body { font-size: 17px; line-height: 1.9; color: var(--ink-2); display: grid; gap: 22px; }
.art-body h2 { font-size: 24px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); margin-top: 28px; }
.art-body ul { padding-left: 20px; display: grid; gap: 6px; }
.art-body blockquote { font-size: 20px; font-weight: 600; line-height: 1.6; color: var(--ink); padding: 8px 0 8px 22px; border-left: 2px solid var(--acc); }
.art-body .stat { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px 24px; align-items: baseline; padding: 22px 24px; border-radius: 12px; background: var(--paper); line-height: 1.4; }
.st-l { color: var(--ink-2); font-size: 15px; }
.st-v { font-size: clamp(22px, 3vw, 32px); font-weight: 700; letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.st-n { font-size: 14px; color: var(--acc); white-space: nowrap; }
.art-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); }
.art-pn a { display: grid; gap: 4px; font-weight: 600; }
.art-pn a.r { text-align: right; }
.art-pn small { font-size: 12px; color: var(--gray); font-weight: 400; }
.art-pn a:hover { color: var(--acc); }

@media (max-width: 760px) { /* nl */
  .nl-row { grid-template-columns: 1fr; gap: 14px; padding: 28px 0; }
  .nl-no { font-size: 20px; }
  .nl-thumb { order: -1; }
  .art-body .stat { grid-template-columns: 1fr; }
  .art-body { font-size: 16px; }
}

/* ---------- 반응형 ---------- */
@media (max-width: 1024px) {
  .c4 { grid-template-columns: repeat(2, 1fr); }
  .cover-foot { grid-template-columns: 1fr; gap: 28px; }
  .scroll { display: none; }
}
@media (max-width: 760px) {
  :root { --hd-h: 104px; }
  .hd { flex-wrap: wrap; align-content: center; row-gap: 6px; column-gap: 16px; height: auto; min-height: var(--hd-h); padding-top: 12px; padding-bottom: 8px; }
  .hd-util { margin-left: auto; }
  .gnb { order: 3; width: 100%; margin: 0; gap: 22px; overflow-x: auto; scrollbar-width: none; }
  .gnb::-webkit-scrollbar { display: none; }
  .gnb a { font-size: 14px; white-space: nowrap; }
  .cover-in { padding-top: 150px; }
  .stats { gap: 28px; }
  .ask { padding: 96px 0; }
  .ask-in { grid-template-columns: 1fr; }
  .ask-text { position: static; }
  .ask-img.a1, .ask-img.a2 { grid-column: 1; width: 100%; margin: 0; }
  .ask-img.a2 { width: 80%; margin-left: auto; }
  .sec, .why { padding: 96px 0; }
  .story { gap: 36px; }
  .story li:nth-child(even):not(.muted) { padding-left: 0; }
  .sec-hd { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; }
  .sec-hd .eyebrow, .sec-hd .more { justify-self: start; }
  .c3, .c4 { grid-template-columns: 1fr; }
  .c4 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ch { padding: 16px; }
  .flow { grid-template-columns: 1fr; gap: 48px; padding-top: 0; padding-left: 32px; }
  .flow-line { top: 0; bottom: 0; left: 7px; right: auto; width: 2px; height: auto; }
  .flow-line span { width: 100%; height: 30%; background: linear-gradient(180deg, transparent, var(--acc-soft), transparent); animation-name: runv; }
  @keyframes runv { from { transform: translateY(-100%); } to { transform: translateY(350%); } }
  .step-dot { position: absolute; left: -32px; top: 2px; margin: 0; }
  .end { padding: 120px 0; }
  .ft-in { grid-template-columns: 1fr; }
}

/* 뉴스레터 구독 상자 */
.nl-sub-box { align-items: center; }
.sub-text { flex: 1 1 280px; }
.sub-form { flex: 1 1 420px; display: grid; gap: 10px; }
.sub-row { display: flex; gap: 8px; }
.sub-row input { flex: 1; min-width: 0; font: inherit; font-size: 15px; padding: 13px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.sub-row input:focus { outline: none; border-color: var(--acc); }
.sub-row button { font: inherit; font-size: 15px; font-weight: 600; padding: 13px 22px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; cursor: pointer; white-space: nowrap; }
.sub-row button:hover { background: var(--acc); color: #fff; }
.sub-row button[disabled] { opacity: .5; pointer-events: none; }
.sub-agree { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); cursor: pointer; }
.sub-agree input { width: 16px; height: 16px; accent-color: var(--acc); }
.sub-msg { font-size: 13px; min-height: 1.2em; color: var(--acc); }
.sub-msg.bad { color: #d9534f; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.art .nl-sub-box { margin-top: 64px; }
@media (max-width: 560px) { .sub-row { flex-direction: column; } }

/* 유튜브로 바로 가는 캠페인 카드 표시 */
.yt-go { margin-left: 8px; font-size: 11px; font-weight: 600; letter-spacing: .02em; color: var(--gray); }
.card:hover .yt-go { color: var(--acc); }

/* 캠페인 시리즈 (같은 묶음을 한 상세 페이지에) */
.cd-eps-count { margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--acc); }
.eps { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-top: 20px; }
.ep { display: grid; grid-template-columns: 120px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 14px; align-items: start; text-align: left; padding: 10px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); transition: border-color .2s, box-shadow .2s; }
.ep:hover { border-color: var(--acc); }
.ep.on { border-color: var(--acc); box-shadow: 0 0 0 3px rgba(108,59,255,.12); }
.ep-img { grid-row: 1 / 3; aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; background: var(--paper); }
.ep-img img { width: 100%; height: 100%; object-fit: cover; }
.ep-no { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--acc); }
.ep-title { font-size: 15px; font-weight: 600; line-height: 1.4; letter-spacing: -0.02em; }

/* 캠페인 목록: Open Design Lab 방식 — 세로 비율이 다른 카드를 단마다 엇갈려 쌓는다 (단 나누기는 main.js) */
.mason { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 24px; align-items: start; }
.mason.on { display: flex; gap: 2.8%; }
.mcol { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 44px; }
.mason .card figure { aspect-ratio: var(--ar, 4/5); border-radius: clamp(20px, 2.4vw, 40px); margin-bottom: 16px; }
.mason .card h3 { font-size: clamp(17px, 1.35vw, 20px); font-weight: 500; line-height: 1.45; }
.mason .card-sub { font-size: 13px; margin-top: 4px; }
@media (max-width: 760px) { .mason { grid-template-columns: 1fr; } .mcol { gap: 36px; } }

/* 서비스 03 · AI 기술이전 사례 */
.tf-title { margin-top: 72px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.tf-cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 24px; align-items: start; }
.tf-case { border-radius: var(--r); background: var(--paper); overflow: hidden; }
.tf-case figure { aspect-ratio: 16/10; overflow: hidden; background: #ddd; }
.tf-case figure img { width: 100%; height: 100%; object-fit: cover; }
.tf-body { padding: 28px 28px 32px; }
.tf-case h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: -0.03em; }
.tf-kind { font-size: 14px; font-weight: 500; color: var(--ink-2); margin-top: 6px; }
.tf-text { color: var(--ink-2); line-height: 1.7; margin-top: 16px; }
.tf-lock { margin-left: 6px; padding: 2px 7px; border: 1px solid currentColor; border-radius: 999px; font-size: 10px; letter-spacing: .08em; }
@media (max-width: 760px) { .tf-cases { grid-template-columns: 1fr; } .tf-title { margin-top: 48px; } }

/* 캠페인 상세: Open Design Lab 프로젝트 상세 방식 — 가운데 제목, 꽉 찬 영상, 소제목과 글이 이어지는 본문 */
.pd-head { padding: calc(var(--hd-h) + 40px) 0 clamp(48px, 6vw, 88px); }
.pd-crumb { font-size: clamp(16px, 1.5vw, 22px); font-weight: 300; color: var(--ink-2); }
.pd-crumb a:hover { color: var(--acc); }
.pd-crumb b { font-weight: 500; color: var(--ink); }
.pd-title { text-align: center; margin-top: clamp(36px, 5vw, 64px); }
.pd-sub { font-size: clamp(17px, 1.8vw, 26px); font-weight: 500; color: var(--gray); letter-spacing: -0.01em; }
.pd-title h1 { font-size: clamp(34px, 4.6vw, 64px); font-weight: 700; line-height: 1.2; letter-spacing: -0.035em; margin-top: 10px; text-wrap: balance; }
.pd-bracket { font-size: clamp(16px, 1.8vw, 24px); font-weight: 500; letter-spacing: -0.01em; margin-top: 10px; }
.pd-hero .player { border-radius: 0; }
.pd-hero.tall .player { max-width: 420px; margin: 0 auto; border-radius: var(--r); }
.pd-hero .eps { margin-top: 24px; }
.pd-article { padding: clamp(64px, 8vw, 120px) 0 clamp(48px, 6vw, 96px); }
.pd-sec { margin-bottom: clamp(56px, 7vw, 100px); }
.pd-sec h2 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 500; line-height: 1.55; letter-spacing: -0.02em; margin-bottom: 28px; }
.pd-sec p { font-size: 16px; line-height: 1.75; color: var(--ink-2); max-width: 760px; }
.pd-row { display: grid; gap: 16px; margin-bottom: clamp(56px, 7vw, 100px); }
.pd-row.n2 { grid-template-columns: 1fr 1fr; }
.pd-row.n3 { grid-template-columns: repeat(3, 1fr); }
.pd-row figure { aspect-ratio: 16/9; overflow: hidden; background: #ddd; }
.pd-row img { width: 100%; height: 100%; object-fit: cover; }
.pd-credit { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; padding: 28px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.pd-credit dt { font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--gray); text-transform: uppercase; }
.pd-credit dd { margin-top: 6px; font-weight: 600; }
.pd-note { margin-top: 20px; font-size: 14px; color: var(--gray); }
.pd-more { border-top: 1px solid var(--line); }
.pd-more-t { font-size: clamp(22px, 2.2vw, 30px); font-weight: 500; letter-spacing: -0.02em; margin-bottom: 32px; }
@media (max-width: 760px) { .pd-row.n2, .pd-row.n3 { grid-template-columns: 1fr; } }
.pd-sec p + p { margin-top: 16px; }
/* 상세 사진 분할 배치: 한 행의 사진은 비율대로 폭을 나눠 높이가 같아진다 */
.pd-flex { display: flex; gap: 16px; margin-bottom: 16px; }
.pd-flex figure { min-width: 0; overflow: hidden; background: #eee; }
.pd-flex img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-flex:last-of-type, .pd-flex + .pd-sec, .pd-flex + .pd-credit { }
.pd-sec + .pd-flex { margin-top: 0; }
.pd-flex + .pd-sec { margin-top: clamp(56px, 7vw, 100px); }
@media (max-width: 760px) { .pd-flex { flex-wrap: wrap; gap: 10px; margin-bottom: 10px; } .pd-flex figure { flex-basis: 100% !important; } }
/* 기술이전 강의 사진 슬라이드 */
.tf-slider { position: relative; }
.tf-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.tf-track::-webkit-scrollbar { display: none; }
.tf-track figure { flex: 0 0 100%; aspect-ratio: 16/10; scroll-snap-align: start; background: #ddd; }
.tf-track img { width: 100%; height: 100%; object-fit: cover; }
.tf-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.9); font-size: 16px; box-shadow: 0 4px 14px rgba(0,0,0,.15); }
.tf-nav.prev { left: 12px; } .tf-nav.next { right: 12px; }
.tf-count { position: absolute; right: 14px; bottom: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; }
