@charset "utf-8";

/* ============================================================
   renewal-fix.css — 공개사이트 수정분 (Claude 작업분)
   ------------------------------------------------------------
   style.css 는 손대지 않고, 고칠 내용만 여기에 모아 뒤에서 덮어쓴다.
   두 사람이 같은 파일을 고치다 서로 덮어쓰는 일을 막기 위한 분리다.
   나중에 style.css 로 합칠 때는 이 파일 순서 그대로 넣으면 된다.
   ============================================================ */
 
/* ---------- FAQ 답변 글씨 한 단계 크게 ---------- */
.faq-row__body { font-size: clamp(11.5px, 1.278vw, 18.4px); }

/* ============================================================
   수정 요청 반영 (리소스_수정01)
   Work 목록 스타일은 파일 하단 Figma 435:882 블록에 한곳으로 모은다.
   ============================================================ */

/* ---------- 5. 상세 GOALS & SOLUTIONS ----------
   GOALS 옆 세로선은 빼고, KEY Insights 폭을 줄여 좌측 두 칸에 여유를 준다. */


.wv-goals__insight {
	flex: 2;
	min-width: 0;

}

@media (max-width: 1280px) {
	.wv-goals { flex-wrap: wrap; }

	.wv-goals__insight { flex: 1 1 100%; }
}

/* ---------- 6. MAIN SCREENS — 눌러서 크게 보기 + 화면 이름 ---------- */

.wv-screens button {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	cursor: zoom-in;
	text-align: center;
	font: inherit;
	color: inherit;
}
.wv-screens figure {
	display: flex;
	flex-direction: column;
	margin: 0;
}

.wv-screens figcaption {
	margin: 0;
	padding: 14px 13px 18px;

	font-weight: 700;
	line-height: 1.5;
	color: #241a3a;
	word-break: keep-all;
}

.wv-screens button:focus-visible { outline: 2px solid var(--c-blue); outline-offset: 4px; }

/* 확대 레이어 */
.wv-lightbox {
	position: fixed;
	inset: 0;
	z-index: 300;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 40px;
	background: rgba(10, 10, 14, .88);
	cursor: zoom-out;
	animation: wvLbIn .18s ease both;
}
@keyframes wvLbIn { from { opacity: 0; } }
.wv-lightbox img {
	max-width: 100%;
	max-height: calc(100vh - 150px);
	border-radius: 10px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.wv-lightbox figcaption {
	margin-top: 16px;
	font-size: clamp(11.5px, 1.278vw, 18.4px);
	font-weight: 700;
	color: #fff;
	text-align: center;
}
.wv-lightbox__close {
	position: absolute;
	right: 24px;
	top: 20px;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .14);
	color: #fff;
	font-size: clamp(15.8px, 1.757vw, 25.3px);
	line-height: 1;
	cursor: pointer;
}
.wv-lightbox__close:hover { background: rgba(255, 255, 255, .26); }

@media (max-width: 900px) {
	.wv-lightbox { padding: 20px; }
}

/* ---------- 7. 검색 — 제목·내용을 함께 찾고 찾은 낱말을 표시 ---------- */
.rs-found {
	max-width: var(--content-w);
	margin: 34px auto -10px;
	padding: 0 24px;
	font-size: clamp(11.5px, 1.278vw, 18.4px);
	font-weight: 600;
	color: #555;
	text-align: center;
}
.rs-found b { color: var(--c-blue); }
.rs-found a {
	margin-left: 10px;
	font-size: clamp(10.1px, 1.118vw, 16.1px);
	font-weight: 600;
	color: #888;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.rs-found a:hover { color: #333; }

/* 찾은 낱말은 다른 색으로 */
mark.rs-mark {
	padding: 0 2px;
	border-radius: 3px;
	background: #fff2a8;
	color: #b3005c;
	font-weight: 800;
}
.rs-empty { margin: 90px 0 120px; text-align: center; font-size: clamp(13px, 1.438vw, 20.7px); color: #666; }

/* ---------- OVERVIEW 카드 폭 ----------
   항목마다 차지할 칸 수를 따로 준다. TYPE 은 문구가 길어 두 칸을 써서 한 줄에 다 보이고,
   그만큼 DEVICE 는 아랫줄로 내려간다. */
.wv-ov__item--w1 { grid-column: span 1; }
.wv-ov__item--w2 { grid-column: span 2; }
.wv-ov__item--w3 { grid-column: span 3; }
.wv-ov__item--w4 { grid-column: span 4; }

@media (max-width: 1024px) {
	/* 2단으로 줄어드는 구간에서는 넓은 항목도 두 칸까지만 */
	.wv-ov__item--w2,
	.wv-ov__item--w3,
	.wv-ov__item--w4 { grid-column: span 2; }
}
@media (max-width: 640px) {
	.wv-ov { grid-template-columns: 1fr; }
	.wv-ov__item--w1,
	.wv-ov__item--w2,
	.wv-ov__item--w3,
	.wv-ov__item--w4 { grid-column: span 1; }
}

/* ---------- Resources 히어로·분류 탭 — 시안(Figma 328:277) 좌표에 맞춤 ----------
   탭이 배경에 묻혀 보이던 것은 판 색(#e0e4fc)이 아니라 위치 때문이었다.
   시안에서는 그라데이션이 474px 에서 끝나고 탭 판은 503px 에서 시작해 흰 바탕 위에 놓인다.
   실제 화면은 제목부터 18px 씩 위로 올라와 있어 탭이 그라데이션에 11px 겹쳤다.
   제목 윗여백을 시안값(164 → 210, 46px)으로 되돌리면 그 아래가 모두 제자리를 찾는다. */


/* 판 856×60, 좌우 여백 16 · 위아래 10, 탭 사이 5 (시안 383:1107) */
.rs-tabs__inner { padding: 10px 16px; }

/* 탭 하나의 좌우 여백 — 시안 탭 폭(102·178·180·180·164, 합 804)에 맞춘 값 */
.rs-tab { padding: 0 28px; }

@media (max-width: 900px) {
	.rs-tab { padding: 0 16px; }
}


/* ---------- 화면낭독기 전용 글자 ----------
   member/login.php 등에서 label 에 sr-only 를 쓰고 있는데 규칙이 어디에도 없어
   시안에 없는 '아이디'·'비밀번호' 라벨이 그대로 보였다. 공용 규칙을 넣어 둔다. */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

/* ---------- Clients — 시안 수치는 style.css 가 담당 (Figma 132:399) ----------
   예전 180×50 축소·줄 그림(strip)·마스크 겹침 보정은 걷어냈다. */

/* 로고가 제목 뒤로 지나가므로 제목을 위로 올린다 */
.clients__title { z-index: 3; }


/* ---------- 유지보수 · FAQ — 시안 폭(1920)에서 멈추게 ----------
   두 구역만 화면 폭을 그대로 따라가고 있었다. 2560px 에서 재보면
   FAQ 의 좌우 칸이 1,143px 까지 늘어나 글줄이 지나치게 길어지고,
   유지보수의 좌우 카드는 화면 양끝으로 벌어져 가운데가 비어 보인다.
   시안 기준 폭(1920)에서 멈추고 가운데로 모으면 넓은 화면에서도 시안 그대로다.
   1920 이하에서는 지금과 똑같이 동작한다. */

/* FAQ — 안쪽 상자를 1920 에서 멈추고 가운데로.
   그러면 padding-left 5.1% 와 좌우 47% 비율이 시안값 그대로 계산된다.
   (넓은 화면에서도 목록이 화면 한가운데에서 시작하는 원래 의도가 유지된다) */
.faq__inner {
	max-width: 1920px;
	margin-left: auto;
	margin-right: auto;
}

/* 유지보수 — 좌·가운데·우를 .mt__row flex 로 묶는다(절대좌표 좌우 붙임 불필요) */

/* ---------- 푸터 윗변을 바깥으로 볼록하게 ----------
   참고한 soroweb 은 본문 흰 판의 아랫변을 아래로 볼록한 타원으로 잘라 푸터 위에 얹는다
   (clip-path: ellipse(100% 100% at 50% 0%)). 그래서 푸터 위가 '안으로' 파여 보인다.
   우리는 반대로, 푸터 자체의 윗변을 위로 볼록하게 만든다.

   border-radius 에 가로/세로 반지름을 따로 주면(50% / 100px) 좌우 모서리의 곡선이
   한가운데서 만나 하나의 완만한 봉우리가 된다. 요소 상자 안에서 깎이는 것이라
   overflow:hidden 과도 부딪히지 않고, 깎여 나간 좌우 윗귀퉁이로는 윗 구역이 비쳐
   푸터가 페이지 안으로 솟아오른 것처럼 보인다. */


/* ---------- 메인 FAQ 목록 — 위로 흐르고, 올리면 펼쳐진다 ----------
   참고한 soroweb 처럼 목록이 아래에서 위로 계속 흐른다. 커서를 따라다니는 효과는 넣지 않았다.
   두 벌을 이어 붙이고 -50% 로 옮기므로 이음매 없이 돈다.
   목록 위에 마우스가 올라오면 흐름이 멈추고, 그 항목이 펼쳐진다. */
.faq__list { overflow: hidden; }          /* 손으로 굴리지 않고 저절로 흐른다 */
.faq__track {
	animation: faqRoll var(--faq-dur, 50s) linear infinite;
}
@keyframes faqRoll {
	from { transform: translateY(0); }
	to   { transform: translateY(-50%); }
}
.faq__list:hover .faq__track,
.faq__list:focus-within .faq__track { animation-play-state: paused; }

/* 올리면 펼쳐지는 모습 — 클릭해서 펼친 모습(.is-open)과 같게 맞춘다 */
.faq-item { transition: background .2s ease; }
.faq-item:hover .faq-item__q { padding: 40px 0 9px; }
.faq-item:hover .faq-item__text {
	font-size: clamp(17.3px, 1.917vw, 27.6px);
	font-weight: 800;
	line-height: 1.6;
	color: #4a43ee;
}
.faq-item:hover .faq-item__mark::before { content: "\2212"; }
.faq-item:hover .faq-item__a { display: block; }

@media (prefers-reduced-motion: reduce) {
	.faq__track { animation: none; }
}

/* 좁은 화면에서는 목록이 그냥 쌓이므로 흐르지 않게 한다 */
@media (max-width: 1280px) {
	.faq__track { animation: none; }
	/* 두 벌 중 뒤엣것은 감춘다 */
	.faq__track > .faq-item:nth-child(n + 11) { display: none; }
}

/* (Clients strip · 성능 보정은 개별 로고 + content-visibility 로 대체) */

/* ---------- 메인 FAQ — 답변이 스르르 열리게 ----------
   원래는 display 를 none↔block 으로 바꿔 한 번에 툭 나타났다.
   높이를 0fr → 1fr 로 옮기면 내용 높이를 몰라도 부드럽게 늘어난다. */
.faq-item:not(.is-open) .faq-item__a,
.faq-item__a {
	display: grid;
	grid-template-rows: 0fr;
	padding-top: 0;
	padding-bottom: 0;
	transition: grid-template-rows .38s cubic-bezier(.3, .8, .3, 1),
	            padding-bottom .38s cubic-bezier(.3, .8, .3, 1);
}
.faq-item__a > * { min-height: 0; overflow: hidden; }

.faq-item:hover .faq-item__a,
.faq-item.is-open .faq-item__a {
	grid-template-rows: 1fr;
	padding-bottom: 45px;
}

/* 제목 쪽 여백·글자 크기도 같이 움직이게 */
.faq-item__q {
	transition: padding .38s cubic-bezier(.3, .8, .3, 1);
}
.faq-item__text {
	transition: font-size .3s cubic-bezier(.3, .8, .3, 1),
	            color .25s ease;
}

/* ---------- 푸터 W 점선 — 진하게 + 빛이 훑고 지나가게 ----------
   시안(328:365)에서도 이 장식은 경로가 아니라 그림 한 장이라, 선을 그려 나가는
   방식(stroke-dashoffset)을 쓸 수 없다. 대신 같은 그림을 한 겹 더 얹고
   밝은 띠 모양 마스크를 좌우로 흘려, 점들이 차례로 밝아졌다 지나가게 한다. */
/* 바탕 점선. 자리는 빛 레이어(.site-footer__deco::after)와 반드시 같아야 한다.
   둘이 어긋나면 W 가 두 겹으로 겹쳐 보이고, 겹치지 않으니 둘 다 흐려 보인다. */

   

/* 부메랑이 날아와 멈추는 자리 = 스크리글 위쪽 안쪽.
   site-fx.js 는 이 CSS 자리를 착지로 보고 왼쪽(로고)에서 날아온다. */
.site-footer__mark {
	left: auto;
	right: 50px;
	top: 22px;
}

.site-footer__deco::after {
	content: "";
	position: absolute;
	right:5%;   /* 스크리글과 같은 자리 */
	top: 89px;
	width: 399px;
	height: 301px;
	/* 원본 그림의 점들은 순백이지만 알파가 40%까지밖에 안 올라간다. 그래서 투명도를
	   1로 올려도, 밝기를 곱해도 더 진해지지 않는다. 같은 그림을 네 겹 겹쳐야
	   점 하나가 0.40 → 0.87 로 진해진다. 겹쳐도 파일은 한 장이라 부담이 없다. */
	background:
		url("../img/footer-squiggle.png") center / contain no-repeat,
		url("../img/footer-squiggle.png") center / contain no-repeat,
		url("../img/footer-squiggle.png") center / contain no-repeat,
		url("../img/footer-squiggle.png") center / contain no-repeat;
	opacity: 1;
	filter: drop-shadow(0 0 9px rgba(255, 255, 255, .55));
	pointer-events: none;
	/* 그림은 399px 폭이다. 띠 자체를 220px 짜리 그림으로 못박고 왼쪽 바깥(-320px)에서
	   오른쪽 바깥(620px)까지 지나가게 한다. 한 바퀴 중 약 4할만 점선 위를 지나므로
	   지나갈 때마다 확실히 눈에 띄고 사이에는 쉬어 간다. */
	-webkit-mask-image: linear-gradient(100deg, transparent 0%, rgba(0, 0, 0, .5) 32%, #000 47%, #000 53%, rgba(0, 0, 0, .5) 68%, transparent 100%);
	        mask-image: linear-gradient(100deg, transparent 0%, rgba(0, 0, 0, .5) 32%, #000 47%, #000 53%, rgba(0, 0, 0, .5) 68%, transparent 100%);
	-webkit-mask-size: 220px 100%;
	        mask-size: 220px 100%;
	-webkit-mask-repeat: no-repeat;
	        mask-repeat: no-repeat;
	animation: wSweep 4.6s linear infinite;
}
@keyframes wSweep {
	from { -webkit-mask-position: -320px 0; mask-position: -320px 0; }
	to   { -webkit-mask-position: 620px 0;  mask-position: 620px 0; }
}

@media (prefers-reduced-motion: reduce) {
	.site-footer__deco::after { animation: none; opacity: 0; }
}
@media (max-width: 1280px) {
	.site-footer__deco::after { display: none; }
}

/* ============================================================
   전시 — 타일이 모였다가 흩어진다  (참고: carlab.kr)
   ------------------------------------------------------------
   변형을 층마다 하나씩만 맡긴다. 한 요소에 겹쳐 걸면 서로 지운다.
     .ex-tile        스크롤에 따라 모이고 흩어짐 (ex-float.js)
     .ex-tile__sway  마우스를 따라 살랑거림      (ex-float.js)
     .ex-tile__img   위아래로 숨쉬는 움직임      (아래 exFloat)
   ============================================================ */
.ex-tile {
	display: block;
	animation: none;          /* style.css 가 바깥 칸에 걸어 둔 숨쉬기를 안쪽으로 옮긴다 */
	will-change: transform;
}
.ex-tile__sway,
.ex-tile__img {
	display: block;
	width: 100%;
	height: 100%;
}
.ex-tile__img {
	object-fit: contain; /* 교체 이미지 비율 유지 */
	animation: exFloat 6s ease-in-out infinite alternate;
}
.ex-tile:nth-child(3n)   .ex-tile__img { animation-delay: -2s; }
.ex-tile:nth-child(3n+1) .ex-tile__img { animation-delay: -4s; }

/* 스크롤로 흩어뜨리는 동안에는 예전 '한 번 열리고 끝' 효과를 끈다 */
.ex.is-scattered .ex-tile,
.ex.is-scattered.is-armed .ex-tile,
.ex.is-scattered.is-armed.is-open .ex-tile {
	clip-path: none;
	opacity: 1;
	transition: none;
}

/* 1500px 아래에서는 style.css 가 .ex-tile 에 scale(.8) 을 걸어 두는데,
   그 자리를 스크립트가 쓰므로 크기 줄이기는 안쪽 그림이 맡는다 */
@media (max-width: 1500px) {
	.ex-tile { transform: none; }
	.ex-tile__sway { transform-origin: center; }
	.ex-tile__img { scale: .8; }
}

/* ---------- 푸터 부메랑 마크 — 멀리서 날아와 앉는다 ----------
   site-fx.js 가 <html> 에 has-throw 를 붙였을 때만 감췄다가 날린다.
   스크립트가 없으면 처음부터 제자리에 그냥 보인다.

   날아오는 동안의 자리는 CSS 키프레임이 아니라 스크립트가 매 프레임 계산한다.
   키프레임을 여러 개 두면 마디마다 가속·감속이 다시 걸려 툭툭 끊겨 보였다.
   앉은 뒤에는 markIdle 이 넘겨받아 숨쉬듯 조금씩 흔들린다. */
.has-throw .site-footer__mark { opacity: 0; }
.has-throw .site-footer__mark.is-landed {
	/* 날기 전 감춰 두는 규칙(opacity:0)을 여기서 풀어야 한다 */
	opacity: 1;
	animation: markIdle 6.5s ease-in-out infinite;
}

@keyframes markIdle {
	0%, 100% { transform: translate(0, 0) rotate(0deg); }
	25%      { transform: translate(4px, -6px) rotate(-2.4deg); }
	50%      { transform: translate(-3px, -2px) rotate(1.6deg); }
	75%      { transform: translate(5px, 4px) rotate(2.8deg); }
}

/* ============================================================
   유지보수 아코디언 — 시안 색·버튼으로 (Figma 132:1143)
   ------------------------------------------------------------
   시안 렌더를 픽셀로 재서 맞췄다.
     · 줄 배경   왼쪽 #5056EB → 오른쪽 #3636A5
                 (쓰던 값 #2a2688 은 오른쪽 끝이 지나치게 어두웠다)
     · 테두리    보라 2px(#8726b7) → 시안엔 없다. 위쪽만 옅게 빛나는 흰 선.
     · 버튼      쓰던 그림(mt-chip*.png)은 흰 배경이 구워져 있어 흰 덩어리로
                 보였다. 시안은 속이 비고 테두리만 있는 사각 버튼이라 CSS 로 짠다.
   ============================================================ */
.mt-acc {
	border: 1px solid rgba(255, 255, 255, .3);
	background-image: linear-gradient(105deg, #5056eb 0%, #4247c6 46%, #3636a5 100%);
}

/* 아래로 갈수록 아주 조금씩 어두워진다 (시안 #4A4DCB → #3B3FB7) */
.mt-acc:nth-child(4) { filter: brightness(.97); }
.mt-acc:nth-child(5) { filter: brightness(.94); }
.mt-acc:nth-child(6) { filter: brightness(.92); }

/* ---------- 카드 아래 버튼 두 개 ---------- */
.mt-acc__chip {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border: 1px solid rgba(255, 255, 255, .34);
	border-radius: 20px;
	/* 시안의 옅은 설계선 무늬 — 세로·가로 안내선과 원 하나 */
	background-image:
		linear-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .14) 1px, transparent 1px);
	background-size: 100% 21px, 21px 100%;
	background-position: center;
	color: #c3b4fa;
	font-family: var(--font-num, inherit);
	font-size: clamp(15.8px, 1.757vw, 25.3px);
	font-weight: 800;
	letter-spacing: -.01em;
}
/* 무늬 위에 겹치는 옅은 원 */
.mt-acc__chip::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 46px;
	height: 46px;
	border: 1px solid rgba(255, 255, 255, .13);
	border-radius: 50%;
	transform: translate(-50%, -50%);
}
/* 돋보기 — 연보라 원 안에 흰 돋보기 */
.mt-acc__chip--find::after {
	content: "";
	position: relative;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #b9a8f5
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6'/%3E%3Cpath d='M15.2 15.2 20 20'/%3E%3C/svg%3E")
		center / 20px 20px no-repeat;
}
.mt-acc__chip--ai { line-height: 1; }
.mt-acc__chip--ai span { position: relative; }

@media (max-width: 1024px) {
	.mt-acc__chip { width: 56px; height: 56px; border-radius: 17px; }
	.mt-acc__chip--find::after { width: 30px; height: 30px; background-size: 18px 18px; }
}

/* ============================================================
   한 화면씩 넘어가는 스크롤 (fullPage 방식)
   ------------------------------------------------------------
   예전에는 --vk(화면높이/1080) + zoom 으로 1080px 시안을 줄였다.
   지금은 zoom/--vk/--abk 없이 구역 높이를 100vh 로 두고,
   좌표·크기는 vh·clamp 로 화면에 맞춘다.

   카드가 차례로 지나가야 하는 구역(포트폴리오·Why·전시)은
   여러 화면 높이로 만들고 안쪽 무대를 sticky 로 붙인 뒤,
   빈 칸만큼 스크롤하는 동안 밀어 준다.
   ============================================================ */

/* 메인 — 일반 스크롤 (섹션 스냅 없음) */
html:has(.pf__stage) {
	scroll-snap-type: none;
	scroll-padding-top: var(--header-h);
}
/* 클래스 하나짜리 규칙(.mt 등)을 이기려면 우선순위를 맞춰야 한다 */
@media (min-width: 1025px) {		/* 구역을 한 화면 높이로 — zoom 없음 */
	body:has(.pf__stage) .hero, body:has(.pf__stage) .svc, body:has(.pf__stage) .worry, body:has(.pf__stage) .why,
	body:has(.pf__stage) .pf, body:has(.pf__stage) .mt, body:has(.pf__stage) .faq, body:has(.pf__stage) .guide,
	body:has(.pf__stage) .ex, body:has(.pf__stage) .clients {
		min-height:100vh;
		overflow: hidden;
	} 
}
/* 히어로만 고정 헤더 아래에서 시작한다 */
@media (min-width: 1025px) {
	body:has(.pf__stage) .hero {
		min-height: calc(100vh - var(--header-h));

	}
}
/* 흐름으로 쌓인 구역은 한 화면 안에서 가운데에 세운다 */
@media (min-width: 1025px) {
	body:has(.pf__stage) .svc, body:has(.pf__stage) .worry, body:has(.pf__stage) .faq,
	body:has(.pf__stage) .guide, body:has(.pf__stage) .clients {
		display: flex;
		flex-direction: column;
		justify-content: center;
	}
}

/* ============================================================
   포트폴리오 — 스크롤한 만큼 카드 띠가 밀린다 (참고: audition.smtown.com)
   ============================================================ */
@media (min-width: 1401px) {
	/* pf: 1화면. 좌측 이동은 휠(__pfScrub) */
	body:has(.pf__stage) .pf,
	body:has(.pf__stage) .pf.is-scrubbed {
		height: auto;
		min-height: 100vh;
		overflow: hidden;
	}
}
.pf__stage {
	position: relative;
	height: 100vh;
	overflow: hidden;
	background: #0a0512;
	display: flex;
	flex-direction: column;
	justify-content: center; /* 세로 가운데 */
	align-items: stretch;
	box-sizing: border-box;
	padding: clamp(40px, 6vh, 80px) 0;
}
.pf__step { display: none; }

/* 제목·릴·더보기 — absolute 해제, 흐름 + 세로 가운데(무대 flex) */
body:has(.pf__stage) .pf__title {
	position: static;
	left: auto;
	right: auto;
	top: auto;
	z-index: 2;
	margin: 0 0 clamp(20px, 2.5vh, 36px);

}
body:has(.pf__stage) .pf__works {
	/* 장식 워터마크만 절대배치 유지, 세로 중앙 근처 */
	top: 50%;
	transform: translate(-50%, -55%);
}
.pf__reel {
	position: relative;
	left: auto;
	right: auto;
	top: auto;
	z-index: 2;
	width: 100%;
	overflow: hidden;
	-webkit-user-select: none;
	        user-select: none;
}
body:has(.pf__stage) .pf__more {
	position: static;
	left: auto;
	top: auto;
	transform: none;
	z-index: 3;
	display: flex;
	justify-content: center;
	margin-top: clamp(28px, 4vh, 48px);
}
.pf__track {
	display: flex;
	align-items: center;
	/* 시안 카드 left 간격 ~550 → 폭 360 기준 여백 ~190 */
	gap: clamp(100px, 9.9vw, 190px);
	width: max-content;
	margin: 0;
	padding: clamp(48px, 7vh, 80px) clamp(40px, 5vw, 100px);
	list-style: none;
	will-change: transform;
	transition: transform .55s cubic-bezier(.22, .8, .24, 1);
}
.pf__reel .pf-card {
	position: static;
	flex: none;
	width: clamp(230px, 30vw, 360px);   /* 시안 360 */
	aspect-ratio: 360/520;
	transform: rotate(var(--r)) translateY(var(--dy, 0px));
	transition: transform .35s cubic-bezier(.2, .7, .3, 1);
}
.pf__reel .pf-card:hover {
	transform: rotate(var(--r)) translateY(var(--dy, 0px)) scale(1.04);
	z-index: 3;
}
/* 카드가 clamp 로 줄어도 시안 비율(360 기준) 유지 */
.pf__reel .pf-card__thumb {
	left: 7.22%;   /* 26/360 */
	top: 4.42%;    /* 23/520 */
	width: 85.56%; /* 308/360 */
	height: auto;
	aspect-ratio: 1;
}
.pf__reel .pf-card__ghost--far {
	left: 10%;
	top: 12.12%;
	width: 80.56%;
	height: auto;
	aspect-ratio: 1;
}
.pf__reel .pf-card__ghost--near {
	left: 8.33%;
	top: 8.27%;
	width: 83.33%;
	height: auto;
	aspect-ratio: 1;
}
.pf__reel .pf-card__name { top: 74%; } /* 385/520 */
/* CLIENT · TYPE — 시안 16px SemiBold, 이름 아래 */
.pf__reel .pf-card__meta {
	position: absolute;
	left: 35px;
	right: 28px;
	top: 83.5%; /* ~434/520 */
	display: flex;
	flex-direction: column;
	gap: 0;
	color: var(--c-white);
	font-size: clamp(12px, 1.5vw, 16px);
	font-weight: 600;
	line-height: 1.4;
}
.pf__reel .pf-card__client,
.pf__reel .pf-card__type {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.pf-card__desc { display: none; }
.pf__drag { display: none; }

/* 스크립트가 없으면 한 화면 안에서 옆으로 밀어 볼 수 있게 둔다 */
.pf:not(.is-scrubbed) .pf__stage { position: static; }
.pf:not(.is-scrubbed) .pf__step { display: none; }
.pf:not(.is-scrubbed) .pf__reel { overflow-x: auto; scrollbar-width: none; }
.pf:not(.is-scrubbed) .pf__reel::-webkit-scrollbar { display: none; }

/* ============================================================
   Why WEBVISTA — 스크롤한 만큼 카드 01~05 가 지나간다 (참고: ai.codle.io/kr)
   ============================================================ */
@media (min-width: 1401px) {
	/* Why: --why-screens 만큼 세로 runway (빈 DOM 칸 없음). 스크롤 시 트랙이 좌측으로 이동 */
	body:has(.pf__stage) .why,
	body:has(.pf__stage) .why.is-scrubbed {
		padding: 0;
		height: auto;
		min-height: 100vh;
		overflow: hidden;
		display: flex;
		flex-direction: column;
		justify-content: center;
	}
}
.why__stage {
	position: relative;
	height: auto;

	overflow: hidden;
	display: grid;
	align-content: center;
	padding: clamp(36px, 5.56vh, 60px) 0 clamp(72px, 11.11vh, 120px);
	background: var(--c-white);
}

/* Why — Swiper 자동 슬라이드 */
.why.is-swiper .why__scroller {
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 clamp(20px, 9vw, 98px), #000 100%);
	        mask-image: linear-gradient(90deg, transparent 0, #000 clamp(20px, 9vw, 98px), #000 100%);
	padding-top: 40px;
	padding-bottom: clamp(48px, 6vw, 64px);
}
.why.is-swiper .why__track {
	animation: none;
	align-items: center;
}

/* active 카드만 강조, 나머지는 흐릿하게 */
.why.is-swiper .why-card.swiper-slide {
	transform: scale(0.92);
	opacity: 0.38;
	filter: saturate(0.7) brightness(0.95);
	transition: transform .45s cubic-bezier(.2, .7, .3, 1), opacity .45s ease, filter .45s ease;
	z-index: 1;
}
.why.is-swiper .why-card.swiper-slide:hover {
	transform: scale(0.92);
}
.why.is-swiper .why-card.swiper-slide-active {
	transform: scale(1.1);
	opacity: 1;
	filter: none;
	z-index: 3;
	box-shadow: 0 16px 36px rgba(20, 20, 60, .12);
}
.why.is-swiper .why-card.swiper-slide-active:hover {
	transform: scale(1.1) translateY(-6px);
}

.why-orbit__ring { filter: invert(1); opacity: .16; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-snap-type: none; }
}

/* pf__reel 가로 스크롤바 — 다크 무대 + 그라데이션 썸 */
@media (max-width: 1400px) {
	body:has(.pf__stage) .pf__reel,
	body:has(.pf__stage) .pf:not(.is-scrubbed) .pf__reel {
		overflow-x: auto;
		scrollbar-width: thin;
		scrollbar-color: rgba(234, 191, 255, .65) rgba(255, 255, 255, .1);
		padding-bottom: 10px;
	}
	body:has(.pf__stage) .pf__reel::-webkit-scrollbar,
	body:has(.pf__stage) .pf:not(.is-scrubbed) .pf__reel::-webkit-scrollbar {
		height: 6px;
		display: block;
	}
	body:has(.pf__stage) .pf__reel::-webkit-scrollbar-track,
	body:has(.pf__stage) .pf:not(.is-scrubbed) .pf__reel::-webkit-scrollbar-track {
		background: rgba(255, 255, 255, .08);
		border-radius: 999px;
		margin: 0 clamp(24px, 4vw, 48px);
	}
	body:has(.pf__stage) .pf__reel::-webkit-scrollbar-thumb,
	body:has(.pf__stage) .pf:not(.is-scrubbed) .pf__reel::-webkit-scrollbar-thumb {
		background: linear-gradient(90deg, #ed35a4, #6136d9);
		border-radius: 999px;
	}
	body:has(.pf__stage) .pf__reel::-webkit-scrollbar-thumb:hover,
	body:has(.pf__stage) .pf:not(.is-scrubbed) .pf__reel::-webkit-scrollbar-thumb:hover {
		background: linear-gradient(90deg, #ff4db8, #7a4ef0);
	}

	/* 1400 이하에서도 전시 타일 스크롤 펼침 유지 */
	body:has(.pf__stage) .ex,
	body:has(.pf__stage) .ex.is-scattered {
		height: auto;

		overflow: visible;
	}
	.ex__stage {
		position: relative;
		height: min(100vh, 900px);
		overflow: hidden;
	}
}

/* 1024 이하: JS transform 이 먹히지 않도록 !important 해제 */
@media (max-width: 1024px) {
	.ex-tile { transform: none; }
}

/* pf / why 트랙 — 1400 이하에서 가로 스크롤 목록으로 (기존 1024 규칙) */
@media (max-width: 1400px) {
	html:has(.pf__stage) { scroll-snap-type: none; }

	body:has(.pf__stage) .pf,
	body:has(.pf__stage) .pf.is-scrubbed,
	body:has(.pf__stage) .why,
	body:has(.pf__stage) .why.is-scrubbed {
		height: auto;
		overflow: visible;
	}

	.pf__stage, .why__stage {
		position: static;
		height: auto;
		overflow: visible;
		background: none;
	
	}
	.pf__step { display: none; }

	.pf__reel {
		position: static;
		transform: none;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
	.pf__track { transform: none !important; }
	.why .why__scroller {
		-webkit-mask-image: none;
		mask-image: none;
		overflow: hidden;
		padding-bottom: 30px;
		padding-top: 20px;
	}
	/* Why 가로 스크롤바 — 흰 배경 + 브랜드 그라데이션 */
	.why .why__scroller::-webkit-scrollbar {
		height: 5px;
		display: block;
	}
	.why .why__scroller::-webkit-scrollbar-track {
		background: linear-gradient(90deg,
			rgba(244, 33, 214, .07) 0%,
			rgba(73, 66, 255, .07) 100%);
		border-radius: 999px;
		margin: 0 clamp(20px, 4vw, 48px);
	}
	.why .why__scroller::-webkit-scrollbar-thumb {
		background: linear-gradient(90deg, #f421d6 0%, #4942ff 100%);
		border-radius: 999px;
		box-shadow: 0 1px 8px rgba(244, 33, 214, .28);
	}
	.why .why__scroller::-webkit-scrollbar-thumb:hover {
		background: linear-gradient(90deg, #ff4db8 0%, #5a52ff 100%);
		box-shadow: 0 2px 10px rgba(73, 66, 255, .32);
	}
}
@media (max-width: 1024px) {
	.ex__stage {
		position: static;
		height: auto;
		overflow: visible;
		background: none;
		padding: 0;
	}
	.ex__step { display: none; }
}

/* ---------- 유지보수 · 자세히보기 (시안 544:1385) ----------
   펼쳐진 카드 안, 설명 아래에 놓인다. 배경 #6136d9 · 완전한 알약 모양. */
.mt-acc__more {
	position: absolute;
	left: 44px;
	top: 231px;          /* 시안 777 - 카드 위 546 = 231 */
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 38px;
	padding: 0 15px 0 22px;
	border-radius: 300px;
	background: #6136d9;
	color: var(--c-white);
	font-size: clamp(10.8px, 1.198vw, 17.3px);
	font-weight: 600;
	white-space: nowrap;
	transition: background .25s ease, transform .25s cubic-bezier(.2, .7, .3, 1);
}
.mt-acc__more img { width: 24px; height: 24px; }
.mt-acc__more:hover,
.mt-acc__more:focus-visible { background: #7345e8; transform: translateY(-2px); }

/* 항목별 아이콘 (assets/img/mt-icon/icon{번호}-1.png · -2.png) */
.mt-acc__ico { width: 64px; height: 64px; }

/* .mt-acc__more — ≤1500 그리드에서 style.css 가 static 처리 */

/* ---------- 포트폴리오 카드 테두리 ----------
   카드가 기울어져 있는 데다 backdrop-filter 까지 걸려 있어, 1px 테두리가
   모서리에서 끊겨 보였다(합성 층 가장자리에서 선이 잘린다).
   테두리를 안쪽 그림자로 바꾸면 요소가 칠하는 면 안에서 그려져 끊기지 않는다. */
.pf__reel .pf-card__link {
	border: 0;
	box-shadow: inset 0 0 0 1px var(--c-tab-border);
}

/* 포트폴리오 릴 — 스크롤 시 scale(--zoom) 효과는 쓰지 않는다(시안 1:1). */

/* ---------- 전시 — 무대를 화면에 붙이고 천천히 펼친다 (참고: carlab.kr) ----------
   carlab 은 구역을 붙잡고 2000px 을 긁는 동안 아이콘을 펼친다.
   한 화면짜리로 두면 구역이 넘어가는 찰나에 모임→펼침이 다 끝나 버린다. */
@media (min-width: 1401px) {
	/* ex: 1화면. 흩어짐은 휠(__exScrub) */
	body:has(.pf__stage) .ex,
	body:has(.pf__stage) .ex.is-scattered {
		height: auto;
		min-height: 100vh;
		overflow: hidden;
	}
}
.ex__stage {
	position: relative;
	height: 100vh;
	overflow: hidden;
	background: #ede9fc;
}
.ex__step { display: none; }
.ex:not(.is-scattered) .ex__stage { position: static; }
.ex:not(.is-scattered) .ex__step { display: none; }

@media (max-width: 1024px) {
	body:has(.pf__stage) .ex,
	body:has(.pf__stage) .ex.is-scattered { height: auto; }
	.ex__stage { position: static; height: auto; }
	.ex__step { display: none; }
}

/* ---------- 좁은 화면 히어로가 주저앉는 문제 ----------
   style.css 는 1024px 아래에서 .hero 를 height:auto 로 두는데, 히어로 안쪽은
   배경·패널이 전부 absolute 라 높이를 만들 내용이 없다. 그래서 215px 로
   주저앉고 그 위로 다음 구역(서비스)이 겹쳐 올라온다.
   패널이 채울 자리를 남겨 두면 해결된다. */
@media (max-width: 1024px) {
	.hero { min-height: max(720px, 76vh); }
}
@media (max-width: 600px) {
	.hero { min-height: max(620px, 72vh); }
}

/* ---------- 좁은 화면에서 유지보수 제목이 배경에 묻히는 문제 ----------
   .mt__bg 는 absolute + z-index:0 이다. 1500px 아래에서 제목·목록이
   static 으로 바뀌면서 z-index 가 없어져, 배경이 그 위에 그려졌다.
   (같은 층에서는 자리를 잡은(positioned) 요소가 나중에 칠해진다) */
@media (max-width: 1500px) {
	.mt__title,
	.mt__row {
		z-index: 1;
	}
}

/* ---------- 푸터 로고 속 부메랑 ----------
   로고를 <img> 에서 인라인 SVG 로 바꿨다. 부메랑(.lg-boom) 한 조각만
   따로 감췄다 되살려야 하는데, 그림 파일로는 안쪽을 건드릴 수 없기 때문이다.
   크기 규칙도 같이 옮긴다 (style.css 는 img 만 잡고 있다). */
.site-footer__logo svg { display: block; width: 241px; height: 45px; }
@media (max-width: 1024px) {
	.site-footer__logo svg { width: 180px; height: auto; }
}

/* 부메랑은 날아가 있는 동안 로고에서 빠져 있다가, 오른쪽에 앉으면 되돌아온다.
   스크립트가 안 돌면 has-throw 가 없어 처음부터 그대로 붙어 있다. */
.has-throw .site-footer__logo .lg-boom { opacity: 0; }
.has-throw .site-footer__logo.is-boom-back .lg-boom {
	opacity: 1;
	transition: opacity .5s ease;
}

/* ---------- 풀페이지(zoom 제거) 후 가로 폭·위치 ----------
   zoom 보정이 필요 없어져 시안 기준 px 를 그대로 쓴다. ---------- */
@media (min-width: 1025px) {
	body:has(.pf__stage) .svc__inner,
	body:has(.pf__stage) .guide__list,
	body:has(.pf__stage) .faq__inner { width: 100%; }



	body:has(.pf__stage) .faq__inner {
		max-width: min(1920px, 100%);
	}

	/* pf title/reel: flex vertical center on stage */
	body:has(.pf__stage) .mt__title {
		font-size: clamp(28px, 5.74vh, 62px); /* 시안 62 */
	}
	body:has(.pf__stage) .clients__title {
		font-size: clamp(28px, 5.74vh, 62px); /* 시안 62 */
	}
	body:has(.pf__stage) .hero__tabs {
		top: min(70px, 6.5vh);
	}
	body:has(.pf__stage) .svc {
		--icon: clamp(140px, 20.37vh, 220px);
		padding: clamp(80px, 13.8vh, 149px) 0 clamp(60px, 10.56vh, 114px);
	}
}

/* ============================================================
   Web Guide 카드 그림 — 찌부되던 것 바로잡기
   ------------------------------------------------------------
   메인(style.css 1613줄)은 .guide-card__thumb 를 250px 로,
   Web Guide 목록(style.css 3331줄)은 같은 이름을 195px 로 잡아 놓았다.
   같은 무게의 규칙이라 뒤에 있는 목록 값이 메인까지 덮어써서
   메인 카드가 390x195(가로세로 2.0)가 되어 버렸다.
   썸네일은 800x520(1.54)이라 위아래가 23% 잘려 나가 눌린 것처럼 보였다.

   메인은 다시 자기 값으로 돌리고, 요청대로 세로를 1.5 배 키운다.
   (195 -> 292) 이 크기에서는 좌우가 7% 씩 잘린다. 한 톨도 안 자르려면
   390 / 1.538 = 253px 이 최대다 — 말씀 주시면 그 값으로 바꾼다.
   ============================================================ */
.guide__list .guide-card__thumb {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 400 / 260;
	border-radius: 0;
	object-fit: cover;
	object-position: center;
}
/* 1400 아래에서는 한 줄에 두 장이라 칸이 훨씬 넓어진다.
   높이를 못박으면 도로 납작해지므로, 여기서는 원본 비율(800x520)에 맡긴다. */
@media (max-width: 1400px) {
	.guide__list .guide-card__thumb {
		height: auto;
		aspect-ratio: 800 / 520;
	}
}

/* 목록 페이지 카드도 원본 비율(800x520)에 맞춰 조금 키운다 */
.guide-grid .guide-card__thumb {
	height: auto;
	aspect-ratio: 800 / 520;
}
.guide-lead__thumb { height: auto; aspect-ratio: 800 / 520; }
@media (max-width: 900px) {
	.guide-lead__thumb { aspect-ratio: 16 / 9; }
}

/* ---------- 스크립트가 못 올라왔을 때의 대비 ----------
   Why · PF · 전시 높이는 위에서 vh 로 처음부터 잡는다.
   스크립트가 실패해 .is-scrubbed 가 안 붙어도 무대는 붙여 둔다. */
@media (min-width: 1401px) {
	body:has(.pf__stage) .pf:not(.is-scrubbed) .pf__stage,
	body:has(.pf__stage) .why:not(.is-scrubbed) .why__stage,
	body:has(.pf__stage) .ex:not(.is-scattered) .ex__stage {
		position: sticky;
		top: 0;
	}
}

/* ============================================================
   Work 목록 — Figma 435:882 works list
   1920 시안: 히어로 링 3개 · 카드 360×520 · 칸 간격 13 · 줄 간격 20
   ============================================================ */

.is-dark .work { background: #141415; }

/* 상단 비주얼 — Ellipse 2(#2E75FF) + 좌우 Ellipse 4(#333), 880×880, top -167 */
.work-hero__glow {
	position: absolute;
	left:50%;
	top: 0px;
	display: flex;
	gap: 153px;
	width: 100% !important;
	height: 800px !important;
	height: auto !important;
	min-width: max-content !important;
	justify-content: center;
	isolation: isolate;
	transform:translateY(-20%) translateX(-50%) !important;
}

.work-hero__glow::before {
    content: "";
	display: block;
    position: absolute;
    left: 0;
    top: 0%;
    z-index: 1;
    width: 100%;
    height: 100%;
    filter: blur(0rem);
    background: url(../img/work/work-bg.jpg) no-repeat center top;
    background-position: center 168px;
}

.work-hero__watermark {
	left:50%;
	top: max(-6vw, -75px);
	transform: translateX(-50%) !important;
	color: transparent;

	font-size: clamp(120px, 29.167vw, 420px);
	opacity:1;
	background: url(../img/work/works.svg) no-repeat center center/contain;
}
.work-hero__eyebrow {
	font-size: clamp(26px, 3.355vw, 48.3px);
}
.work-hero__title {
	font-size: min(5vw, 82.8px);
}

.work-hero__copy,
.work-filter__inner {
	max-width: 1480px;
	margin-left: auto;
	margin-right: auto;
}

/* 분류 탭 — 높이 51, 라벨 20, 건수 14 */
.work-tab__label {
	font-size: clamp(14px, 1.597vw, 23px);
}
.work-tab__count {
	font-size: clamp(12px, 1.118vw, 16.1px);
}

/* 카드 그리드 — 4열, 가로 13, 세로 20 */
.work-grid {
	max-width: 1480px;
	margin-left: auto;
	margin-right: auto;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.work-card {
	display: flex;
	min-height: 0;
}
.work-card__link {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	padding: 23px 26px 26px;
	border: 0;
}

.work-card__link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 4;
	border-radius: inherit;
	padding: 1px;
	background: linear-gradient(135deg, #98F9FF, #EABFFF);
	-webkit-mask:
		linear-gradient(#fff 0 0) content-box,
		linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
}

.work-card__link:hover {
	box-shadow: none;
}
.work-card__link:hover .work-card__thumb {
	transform: scale(1.12);
	filter: blur(22px) brightness(1.2);
}
.work-card__link:hover .work-card__ghost { opacity: 0; }
.work-card__link:hover .work-card__cat { opacity: 0; }

/* 분류 배지 — 검정 알약, 14 ExtraBold */
.work-card__cat {
	padding: 0 17px 0 18px;
	/* 한 단계 줄였다 — 16.1 → 15.1 (가운데 vw 값도 같은 비율로).
	   style.css 에도 같은 규칙이 있지만 이 파일이 나중에 읽히므로 여기가 이긴다. */
	font-size: clamp(11.2px, 1.049vw, 15.1px);
	letter-spacing: 0;
}

.work-card__figure {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	flex: none;
}
.work-card__ghost--far  { left: 3.2%; top: 12.9%; width: 93.8%; height: 93.8%; }
.work-card__ghost--near { left: 1.3%; top: 6.5%;  width: 97%;   height: 97%; }
.work-card__thumb {
	position: relative;
	left: auto;
	top: auto;
	width: 100%;
	height: 100%;
}

.work-card__body {
	position: relative;
	left: auto;
	right: auto;
	top: auto;
	margin-top: 28px;
}
.work-card__name {
	font-size: clamp(16px, 1.7vw, 24.5px);
	margin-top: 1em;
	word-break: keep-all;
}

/* 기술 아이콘 — 판·테두리 없이 로고만. 없는 항목은 글자 */
.work-card__tags {
	gap: 10px 12px;
	margin-top: 1em;
}
.work-card__tags em {
	justify-content: center;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	transition: transform .25s cubic-bezier(.2, 1.3, .4, 1);
}
.work-card__tags em img {
	display: block;
	width: 28px;
	height: 28px;
	object-fit: contain;
}
.work-card__tags em.is-text {
	width: auto;
	height: 28px;
	padding: 0;
	border: 0;
	background: none;
	color: rgba(255, 255, 255, .8);
	font-size: clamp(10px, 0.958vw, 13.8px);
	font-style: normal;
	font-weight: 800;
	line-height: 28px;
	white-space: nowrap;
}
.work-card__link:hover .work-card__tags em { transform: translateY(-2px); }

.work-card__over-name {
	font-size: clamp(18px, 1.917vw, 27.6px);
}

.work-more__btn {
	min-width: 114px;
	border: 0;
	background: none;
	font-size: clamp(12px, 1.118vw, 16.1px);
	background-image: linear-gradient(90deg, #89B2FF, #FF66C2);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: #89B2FF;
}
.work-more__btn::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	border-radius: inherit;
	padding:2px;
	background: linear-gradient(90deg, #0C60FB, #9E0EA1);
	-webkit-mask:
		linear-gradient(#fff 0 0) content-box,
		linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
	opacity: 0.5;
}

@media (max-width: 1560px) {
	.work-hero__copy,
	.work-filter__inner,
	.work-grid { padding: 0 var(--gutter, 24px); }
}
@media (max-width: 1280px) {
	.work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.work-card__link { min-height: 0; padding: 20px 20px 24px; }
	.work-card__cat { left: 30px; top: 28px; }

}
@media (max-width: 900px) {
	.work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
	.work-card__link { padding: 18px 18px 22px; }
	.work-card__cat { left: 26px; top: 24px; }

	.work-card__tags em,
	.work-card__tags em img { width: 26px; height: 26px; }
	.work-card__tags em.is-text { height: 26px; line-height: 26px; }
}
@media (max-width: 600px) {
	.work-grid { grid-template-columns: minmax(0, 1fr); }
	.work-card__body { margin-top: 22px; }
	.work-hero__ring { opacity: .85; }
}

/* 상세 Related Projects — 목록과 같은 카드를 컨테이너 안에서 쓴다.
   배경 그림을 뺐으므로 제목은 검은 글자다(style.css 참고). */
.wv-sec--related .work-grid {
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}

/* ============================================================
   Work 상세 히어로 비주얼 — Figma 444:1311
   1920×707 · 좌 Ellipse4(#333) · 우 Ellipse2(#2E75FF) · 상단 블러 503
   ============================================================ */
.wv-hero {
	background: #141415;
}
.wv-hero__glow {
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	animation: none;
}
/* style.css 의 border 원(::before/::after) 은 SVG 링으로 대체 */
.wv-hero__glow::before {
	content: none;
	display: none;
	animation: none;
}
.wv-hero__ring {
	position: absolute;
	top: 13px;
	width: 44.6875%;   /* 858 / 1920 */
	max-width: 858px;
	height: auto;
	display: block;
}
.wv-hero__ring--l { left: 5.208%; }   /* 100 / 1920 */
.wv-hero__ring--r { left: 50.104%; }  /* 962 / 1920 */

/* 상단 블러 503px — 시안 Blur Effect */
.wv-hero__glow::after {
	content: "";
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 1;
	width: 100%;
	height: min(26.2vw, 503px);
	border: 0;
	border-radius: 0;
	box-shadow: none;
	background: linear-gradient(180deg,
		rgba(20, 20, 21, .35) 0%,
		rgba(20, 20, 21, .72) 55%,
		rgba(20, 20, 21, .92) 100%);
	backdrop-filter: blur(80px);
	-webkit-backdrop-filter: blur(80px);
	-webkit-mask-image: linear-gradient(180deg, #000 0%, #000 40%, transparent 100%);
	mask-image: linear-gradient(180deg, #000 0%, #000 40%, transparent 100%);
	animation: none;
	pointer-events: none;
}

@media (max-width: 1024px) {
	.wv-hero__ring { opacity: .9; }
}
@media (max-width: 600px) {
	.wv-hero__ring--l { left: -18%; }
	.wv-hero__ring--r { left: 42%; }
	.wv-hero__ring { width: 70%; max-width: none; }
}



/* 유지보수 — 768 이하 한 줄에 2개 (.mt__acc · .mt__col) */
@media (max-width: 768px) {
	.mt__acc { gap: 12px; }
	.mt-acc,
	.mt-acc.is-open {
		flex: 1 1 calc(50% - 8px);
		max-width: calc(50% - 8px);
	}
	.mt__col {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 12px;
	}
	.mt-req {
		flex: 1 1 calc(50% - 6px);
		max-width: calc(50% - 6px);
		box-sizing: border-box;
		min-width: 0;
	}
}

/* Related Projects — 바탕을 카피라이트까지 이어 깐다
   푸터는 위 귀퉁이가 둥글어 그 뒤로 몸통의 흰 바탕이 비친다. 상세 아래쪽에서
   귀퉁이만 도드라져 보인 것이 그 때문이다(사용자 지적). 이 구역에 푸터와
   **같은 #111** 을 깔고 아래 여백을 푸터에 넘기면, 구역부터 카피라이트까지
   한 덩어리로 이어져 귀퉁이가 드러나지 않는다.
   바탕이 다시 어두워졌으므로 글자는 목록(.work-grid)과 같은 흰색으로 돌린다. */
.wv-sec--related {
	background: #111;
	margin-bottom: 0;
	padding-bottom: 100px;      /* 카피라이트와 붙지 않게 아래로 100px 띄운다 */
}
.wv-sec--related .wv-h2 { color: var(--c-white); }
.wv-sec--related .work-card__name { color: var(--c-white); }

/* 귀퉁이를 둥글린 것은 푸터 자신이라, 그 곡선 뒤로는 앞 구역이 아니라
   **몸통의 흰 바탕**이 비친다. 바로 위에 같은 색을 깔아도 귀퉁이만 희게 남는
   까닭이다(사용자 지적). 이 화면에서는 위 구역과 한 덩어리로 이어 놓았으니
   둥글릴 이유가 없다 — 각지게 편다. 다른 화면의 푸터는 그대로 둔다. */
body:has(.wv-sec--related) .site-footer { border-radius: 0; }
