/* ===================================================
   EFFECTOR-style studio homepage layout (hao brand)
=================================================== */
/* ---- Hero (dark, floating result cards, rotating headline) ---- */
.ef-hero { position: relative; min-height: 100vh; background: #131109; overflow: hidden; display: flex; align-items: flex-end; }
.ef-hero__bg { position: absolute; inset: 0; z-index: 0; }
.ef-hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.1s var(--ease); }
.ef-hero__bg img.is-on { opacity: 1; }
/* 사진이 보이도록 오버레이를 낮추되, 좌하단(텍스트 영역)은 충분히 어둡게 */
.ef-hero__bg::after { content: ""; position: absolute; inset: 0; z-index: 2; background:
  linear-gradient(to top, rgba(15,12,7,.82) 0%, rgba(15,12,7,.34) 34%, rgba(15,12,7,0) 62%),
  linear-gradient(105deg, rgba(15,12,7,.78) 0%, rgba(15,12,7,.3) 46%, rgba(15,12,7,0) 74%); }
.ef-hero__glow { position: absolute; right: 6%; top: 50%; transform: translateY(-50%); z-index: 1; width: clamp(220px,34vw,520px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(232,56,23,.3) 0%, rgba(232,56,23,.07) 45%, transparent 70%); filter: blur(26px); pointer-events: none; mix-blend-mode: screen; }
.ef-hero__inner { position: relative; z-index: 4; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px,4vw,54px) clamp(72px,13vh,128px); }
.ef-slide { display: none; }
.ef-slide.is-on { display: block; }
.ef-slide.is-on .ef-hero__eng, .ef-slide.is-on .ef-hero__title, .ef-slide.is-on .ef-hero__more { animation: efRise .9s var(--ease) both; }
.ef-slide.is-on .ef-hero__title { animation-delay: .1s; }
.ef-slide.is-on .ef-hero__more { animation-delay: .22s; }
@keyframes efRise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.ef-hero__eng { font-size: clamp(.92rem,1.5vw,1.18rem); font-weight: 600; letter-spacing: .02em; color: rgba(255,255,255,.66); }
.ef-hero__title { font-size: clamp(2.1rem,5.2vw,4.2rem); font-weight: 800; line-height: 1.22; letter-spacing: -.035em; color: #fff; margin-top: 18px; }
.ef-hero__title em { font-style: normal; color: var(--accent); }
.ef-hero__more { display: inline-flex; align-items: center; gap: 12px; margin-top: 34px; font-weight: 700; font-size: 1rem; color: #fff; }
.ef-hero__more span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); transition: background .3s var(--ease), border-color .3s, transform .3s var(--ease); }
.ef-hero__more svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.ef-hero__more:hover span { background: var(--accent); border-color: var(--accent); transform: translateX(4px); }
.ef-hero__dots { position: absolute; left: clamp(20px,4vw,54px); bottom: clamp(34px,6vh,54px); z-index: 5; display: flex; gap: 10px; align-items: center; }
.ef-hero__dots button { width: 30px; height: 3px; border: 0; padding: 0; border-radius: 2px; background: rgba(255,255,255,.3); cursor: pointer; transition: background .3s; }
.ef-hero__dots button.is-on { background: var(--accent); }
@media (max-width: 920px) {
  .ef-hero { align-items: center; }
  .ef-hero__inner { padding-top: 120px; padding-bottom: 90px; }
}

/* ---- System headline + 4 service cards ---- */
.ef-sys { padding: clamp(80px,13vh,150px) clamp(20px,4vw,54px) clamp(20px,4vh,40px); max-width: var(--maxw); margin: 0 auto; text-align: center; }
.ef-sys__title { font-size: clamp(2.1rem,5.4vw,3.8rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.18; }
.ef-sys__sub { margin: 22px auto 0; max-width: 660px; color: var(--muted); font-size: clamp(1rem,1.5vw,1.12rem); line-height: 1.8; }
.ef-svc { max-width: var(--maxw); margin: 0 auto; padding: clamp(40px,6vh,64px) clamp(20px,4vw,54px) clamp(80px,12vh,140px); display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(16px,1.8vw,24px); }
/* ---- 심플 에디토리얼: 박스 없이 이미지 + 깔끔한 타이포 ---- */
.ef-card { display: block; background: none; border: 0; box-shadow: none; }
.ef-card.reveal { transition-delay: calc(var(--d,0) * 90ms); }
.ef-card__media { position: relative; aspect-ratio: 4 / 4.4; overflow: hidden; border-radius: 14px; background: var(--bg-2); }
.ef-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.ef-card:hover .ef-card__media img { transform: scale(1.04); }
.ef-card__body { padding: 20px 2px 0; }
.ef-card__eng { font-size: .68rem; font-weight: 700; letter-spacing: .2em; color: var(--muted); }
.ef-card__t { display: inline-flex; align-items: center; gap: 7px; font-size: clamp(1.12rem,1.5vw,1.32rem); font-weight: 800; letter-spacing: -.025em; margin: 11px 0 9px; color: var(--ink); }
.ef-card__t::after { content: "↗"; font-size: .82em; color: var(--accent); opacity: 0; transform: translate(-4px,3px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.ef-card:hover .ef-card__t::after { opacity: 1; transform: none; }
.ef-card__d { color: var(--muted); font-size: .9rem; line-height: 1.7; word-break: keep-all; }
@media (max-width: 920px) { .ef-svc { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px) { .ef-svc { grid-template-columns: 1fr; } }

/* ---- Section label pill ---- */
.ef-label { display: block; width: fit-content; margin: 0 auto; padding: 13px 30px; border: 1px solid var(--line); border-radius: 8px; font-size: .82rem; font-weight: 800; letter-spacing: .28em; color: var(--ink); }

/* ---- Review wall (2-col) ---- */
.ef-rev-sec { padding: clamp(80px,12vh,140px) clamp(20px,4vw,54px); background: var(--bg); }
.ef-rev-head { text-align: center; max-width: 760px; margin: 36px auto clamp(50px,8vh,80px); }
.ef-rev-head h2 { font-size: clamp(2rem,4.8vw,3.4rem); font-weight: 800; letter-spacing: -.035em; margin-bottom: 18px; }
.ef-rev-head p { color: var(--muted); line-height: 1.85; font-size: 1rem; }
.ef-rev-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1px 1fr; gap: 0 clamp(36px,5vw,72px); }
.ef-rev-div { background: var(--line); }
.ef-rev-col { display: flex; flex-direction: column; gap: clamp(44px,7vh,72px); }
.ef-rev.reveal { transition-delay: calc(var(--d,0) * 90ms); }
.ef-rev__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding-bottom: 22px; }
.ef-rev__from { font-size: .82rem; color: var(--muted); font-weight: 600; }
.ef-rev__brand { display: block; margin-top: 4px; font-size: clamp(1.2rem,1.9vw,1.6rem); font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.ef-rev__more { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 800; letter-spacing: .08em; color: var(--accent); white-space: nowrap; }
.ef-rev__more::after { content: "\2192"; transition: transform .3s var(--ease); }
.ef-rev:hover .ef-rev__more::after { transform: translateX(5px); }
.ef-rev__media { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; }
.ef-rev__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.ef-rev:hover .ef-rev__media img { transform: scale(1.05); }
.ef-rev__q { margin: 26px 0 14px; font-size: clamp(1.15rem,1.8vw,1.45rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.5; }
.ef-rev__q b { color: var(--accent); font-weight: 800; }
.ef-rev__body { color: var(--muted); font-size: .95rem; line-height: 1.85; }
@media (max-width: 860px) {
  .ef-rev-grid { grid-template-columns: 1fr; }
  .ef-rev-div { display: none; }
  .ef-rev-col + .ef-rev-col { margin-top: clamp(44px,7vh,72px); }
}

/* ---- Slogan + stats ---- */
.ef-slogan { padding: clamp(80px,12vh,140px) clamp(20px,4vw,54px) clamp(40px,6vh,60px); text-align: center; }
.ef-slogan__eng { margin: 34px auto 0; max-width: 900px; font-size: clamp(1.5rem,3.4vw,2.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.4; }
.ef-slogan__eng em { font-style: normal; color: var(--accent); }
.ef-slogan__sub { margin: 20px auto 0; max-width: 720px; color: var(--muted); line-height: 1.85; }
.ef-stats { max-width: var(--maxw); margin: 0 auto; padding: clamp(40px,6vh,60px) clamp(20px,4vw,54px) clamp(80px,12vh,130px); display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.ef-stat { text-align: center; border-left: 1px solid var(--line); padding: 0 14px; }
.ef-stat:first-child { border-left: 0; }
.ef-stat strong { display: block; font-size: clamp(2.2rem,4.4vw,3.4rem); font-weight: 800; letter-spacing: -.04em; color: var(--accent); line-height: 1; }
.ef-stat strong i { font-style: normal; color: var(--accent); }
.ef-stat em { display: block; margin-top: 14px; font-style: normal; color: var(--muted); font-size: .9rem; font-weight: 600; }
@media (max-width: 760px) { .ef-stats { grid-template-columns: repeat(2,1fr); gap: 36px 24px; } .ef-stat:nth-child(3) { border-left: 0; } }

/* ---- Portfolio grid (hashtag chips + by line) ---- */
.ef-folio { max-width: var(--maxw); margin: 0 auto; padding: clamp(20px,3vh,40px) clamp(20px,4vw,54px) clamp(90px,13vh,150px); }
.ef-folio__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(22px,2.6vw,38px); }
.ef-pf { display: block; }
.ef-pf.reveal { transition-delay: calc(var(--d,0) * 80ms); }
.ef-pf__media { border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; background: var(--bg-2); border: 1px solid var(--line); }
.ef-pf__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.ef-pf:hover .ef-pf__media img { transform: scale(1.05); }
.ef-pf__t { margin-top: 20px; font-size: clamp(1.1rem,1.6vw,1.32rem); font-weight: 800; letter-spacing: -.025em; transition: color .25s; }
.ef-pf:hover .ef-pf__t { color: var(--accent); }
.ef-pf__tags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 5px 8px; }
.ef-pf__tags span { font-size: .8rem; font-weight: 600; color: rgba(23,21,15,.5); }
.ef-pf__by { display: block; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .82rem; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
@media (max-width: 860px) { .ef-folio__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ef-folio__grid { grid-template-columns: 1fr; } }

/* dark header variant over hero */
.header.on-dark:not(.is-stuck) { background: transparent; border-bottom-color: transparent; box-shadow: none; }
.header.on-dark:not(.is-stuck) .nav a, .header.on-dark:not(.is-stuck) .brand__sub { color: rgba(255,255,255,.85); }
/* 로고: 다크 히어로 위(스크롤 전)=흰색, 스크롤 후 흰 헤더=컬러 */
.brand__logo--white { display: none; }
.header.on-dark:not(.is-stuck) .brand__logo--color { display: none; }
.header.on-dark:not(.is-stuck) .brand__logo--white { display: inline-block; }
.header.on-dark:not(.is-stuck) .nav a:hover { color: #fff; }
.header.on-dark:not(.is-stuck) .nav__center { color: #ffb9a6; }
/* 드롭다운 메뉴(흰 패널) 안 링크는 다크 헤더여도 잉크색 유지 */
.header.on-dark:not(.is-stuck) .nav .nav__drop-menu a { color: var(--ink); }
.header.on-dark:not(.is-stuck) .nav .nav__drop-menu a:hover { color: var(--accent); }
.header.on-dark:not(.is-stuck) .burger span { background: #fff; }
.header.on-dark:not(.is-stuck) .nav__div { background: rgba(255,255,255,.25); }

/* ===================================================
   nhome-style 대형 풀블리드 포트폴리오 (포폴로 승부)
=================================================== */
.np-folio { width: 100%; padding-bottom: clamp(40px,6vh,70px); }
.np-folio__head { max-width: 1320px; margin: 0 auto; padding: clamp(70px,11vh,130px) clamp(20px,4vw,54px) clamp(40px,6vh,64px); }
.np-folio__eng { font-size: .8rem; font-weight: 800; letter-spacing: .22em; color: var(--accent); }
.np-folio__title { margin-top: 16px; font-size: clamp(1.7rem,3.4vw,2.7rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.32; color: var(--ink); }
.np-folio__title b { color: var(--accent); }
.np-folio__title em { font-style: normal; color: var(--muted); }
/* 풀블리드 그리드 — 가장자리까지, 무간격 (4열: 칸을 작게 해 업스케일 방지=선명) */
.np-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.np-item { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--bg-2); }
.np-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.np-item:hover img { transform: scale(1.05); }
/* 호버 시 어둡게 + 제목/태그 노출 */
.np-item::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 45%, rgba(15,13,10,.72) 100%); opacity: 0; transition: opacity .4s var(--ease); }
.np-item:hover::before { opacity: 1; }
.np-item__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 26px clamp(18px,2vw,28px); transform: translateY(12px); opacity: 0; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.np-item:hover .np-item__cap { opacity: 1; transform: none; }
.np-item__t { color: #fff; font-size: clamp(1.05rem,1.5vw,1.3rem); font-weight: 800; letter-spacing: -.02em; }
.np-item__c { display: block; margin-top: 6px; color: var(--accent-2); font-size: .82rem; font-weight: 700; }
/* 상단 ↗ 어포던스 */
.np-item::after { content: "↗"; position: absolute; top: 16px; right: 16px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-size: 1.1rem; font-weight: 700; opacity: 0; transform: translateY(8px) scale(.8); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.np-item:hover::after { opacity: 1; transform: none; }
@media (max-width: 1180px) { .np-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .np-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .np-grid { grid-template-columns: 1fr; } .np-item { aspect-ratio: 4/3.4; } }
/* 풀블리드 띠 CTA */
.np-more { text-align: center; padding: clamp(40px,6vh,60px) 20px 0; }

/* ===================================================
   REVIEW — 테스티모니얼 캐러셀 (자동전환 + 모션)
=================================================== */
.tw-sec { padding: clamp(80px,12vh,140px) clamp(20px,4vw,54px); background: var(--bg); }
.tw { max-width: var(--maxw); margin: 0 auto; position: relative; }
.tw__viewport { overflow: hidden; border-radius: clamp(16px,2vw,26px); }
.tw__track { display: flex; transition: transform .8s cubic-bezier(.16,1,.3,1); }
.tw__slide { flex: 0 0 100%; display: grid; grid-template-columns: 1.06fr 1fr; gap: clamp(28px,4vw,66px); align-items: center; padding: clamp(8px,1.4vw,18px); }
.tw__media { margin: 0; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-2); }
.tw__media img { width: 100%; height: 100%; object-fit: cover; }
.tw__from { font-size: .86rem; font-weight: 700; color: var(--muted); letter-spacing: .01em; }
.tw__from b { color: var(--accent); font-weight: 800; }
.tw__q { margin: 16px 0 22px; font-size: clamp(1.4rem,2.7vw,2.3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.4; color: var(--ink); word-break: keep-all; }
.tw__q b { color: var(--accent); }
.tw__txt { color: var(--muted); font-size: 1.02rem; line-height: 1.9; word-break: keep-all; }
.tw__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; font-weight: 800; font-size: .82rem; letter-spacing: .08em; color: var(--accent); }
.tw__more::after { content: "\2192"; transition: transform .3s var(--ease); }
.tw__more:hover::after { transform: translateX(5px); }
.tw__slide .tw__from, .tw__slide .tw__q, .tw__slide .tw__txt, .tw__slide .tw__more { opacity: 0; transform: translateY(18px); }
.tw__slide.is-on .tw__from { animation: twRise .7s var(--ease) .14s both; }
.tw__slide.is-on .tw__q { animation: twRise .75s var(--ease) .26s both; }
.tw__slide.is-on .tw__txt { animation: twRise .75s var(--ease) .38s both; }
.tw__slide.is-on .tw__more { animation: twRise .75s var(--ease) .5s both; }
.tw__slide .tw__media img { transform: scale(1.06); }
.tw__slide.is-on .tw__media img { animation: twZoom 6.5s var(--ease) both; }
@keyframes twRise { to { opacity: 1; transform: none; } }
@keyframes twZoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.tw__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 1.4rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s, transform .3s; box-shadow: 0 18px 32px -18px rgba(23,21,15,.35); }
.tw__nav:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.tw__nav--prev { left: -8px; }
.tw__nav--next { right: -8px; }
.tw__nav--prev:hover { transform: translateY(-50%) translateX(-3px); }
.tw__nav--next:hover { transform: translateY(-50%) translateX(3px); }
.tw__foot { display: flex; align-items: center; gap: clamp(16px,2.4vw,28px); margin-top: clamp(28px,4.5vh,44px); }
.tw__count { font-weight: 800; font-size: .92rem; letter-spacing: .05em; color: var(--ink); white-space: nowrap; }
.tw__count i { color: var(--muted); font-style: normal; }
.tw__bar { flex: 1; height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; }
.tw__bar i { display: block; height: 100%; width: 0; background: var(--accent); }
.tw__dots { display: flex; gap: 8px; }
.tw__dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: var(--line); cursor: pointer; transition: background .3s, width .3s; }
.tw__dots button.is-on { background: var(--accent); width: 24px; border-radius: 99px; }
@media (max-width: 820px) { .tw__slide { grid-template-columns: 1fr; gap: 22px; } .tw__nav { display: none; } }

/* ===================================================
   라이트박스 (클릭 확대)
=================================================== */
body.lb-open { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; gap: clamp(8px,2vw,28px); padding: clamp(40px,6vw,70px); background: rgba(17,15,11,.92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; }
.lb.is-open { opacity: 1; visibility: visible; }
.lb__stage { margin: 0; display: flex; flex-direction: column; align-items: center; max-height: 100%; min-height: 0; min-width: 0; }
.lb__scroll { display: flex; align-items: center; justify-content: center; min-height: 0; max-height: 100%; border-radius: 10px; }
.lb__scroll img { max-width: min(88vw, 620px); max-height: 78vh; width: auto; height: auto; object-fit: contain; border-radius: 10px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.7); transform: scale(.96); transition: transform .4s var(--ease); display: block; }
.lb.is-open .lb__scroll img { transform: none; }
/* 긴 상세페이지 / 세로로 긴 GIF — 폭 고정 + 세로 스크롤 */
.lb.is-tall .lb__scroll { overflow-y: auto; align-items: flex-start; max-height: 80vh; -webkit-overflow-scrolling: touch; background: #fff; box-shadow: 0 40px 90px -30px rgba(0,0,0,.7); scrollbar-width: thin; }
.lb.is-tall .lb__scroll img { max-height: none; width: min(92vw, 560px); max-width: 560px; height: auto; box-shadow: none; border-radius: 0; }
.lb__stage figcaption { margin-top: 16px; flex: none; text-align: center; color: #fff; }
.lb.is-tall .lb__hint { display: block; }
.lb__hint { display: none; margin-top: 8px; font-size: .76rem; color: rgba(255,255,255,.5); letter-spacing: .02em; }
/* 확대(줌) 컨트롤 */
.lb__zoom { position: absolute; bottom: clamp(16px,3vw,28px); left: 50%; transform: translateX(-50%); z-index: 4; display: flex; align-items: center; gap: 2px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lb__zoom button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: transparent; color: #fff; font-size: 1.1rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lb__zoom button:hover { background: rgba(255,255,255,.2); }
.lb__zval { color: #fff; font-size: .8rem; min-width: 48px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.lb.is-tall .lb__zoom { display: none; }
.lb.is-zoom .lb__nav, .lb.is-zoom .lb__hint { opacity: 0; pointer-events: none; }
.lb:not(.is-tall) .lb__scroll img { touch-action: none; }
.lb__stage figcaption b { display: block; font-size: 1.1rem; font-weight: 800; letter-spacing: -.02em; }
.lb__stage figcaption span { display: block; margin-top: 6px; font-size: .82rem; color: rgba(255,255,255,.55); letter-spacing: .03em; }
.lb__close { position: absolute; top: clamp(18px,3vw,30px); right: clamp(18px,3vw,30px); width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #fff; font-size: 1.2rem; cursor: pointer; transition: background .25s, transform .25s; }
.lb__close:hover { background: var(--accent); border-color: var(--accent); transform: rotate(90deg); }
.lb__nav { flex: none; width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; transition: background .25s, border-color .25s; }
.lb__nav:hover { background: var(--accent); border-color: var(--accent); }
.np-item { cursor: pointer; }
@media (max-width: 700px) {
  .lb__nav { position: absolute; bottom: 26px; width: 48px; height: 48px; }
  .lb__prev { left: 28%; } .lb__next { right: 28%; }
  .lb__stage img { max-width: 92vw; }
}

/* ===================================================
   스튜디오 소개 페이지 (nhome /about 스타일)
=================================================== */
.sst-cover { position: relative; min-height: clamp(320px,48vh,460px); display: flex; align-items: flex-end; overflow: hidden; background: #131109; }
.sst-cover > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.sst-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,13,10,.25) 0%, rgba(15,13,10,.4) 55%, rgba(15,13,10,.72) 100%); }
.sst-cover__in { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; width: 100%; padding: 150px clamp(20px,4vw,54px) clamp(40px,6vh,60px); color: #fff; }
.sst-cover__eng { font-size: .8rem; font-weight: 800; letter-spacing: .22em; color: var(--accent-2,#f25b35); }
.sst-cover__t { font-size: clamp(2rem,4.6vw,3.4rem); font-weight: 800; letter-spacing: -.03em; margin-top: 12px; }
.sst-intro { max-width: var(--maxw); margin: 0 auto; padding: clamp(70px,12vh,140px) clamp(20px,4vw,54px) clamp(40px,6vh,60px); display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px,5vw,80px); align-items: start; }
.sst-intro__h { font-size: clamp(1.6rem,3.1vw,2.5rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.42; color: var(--ink); }
.sst-intro__h b { color: var(--accent); }
.sst-intro__p p { color: var(--muted); line-height: 1.95; font-size: 1.02rem; word-break: keep-all; }
.sst-intro__p p + p { margin-top: 1.3em; }
@media (max-width: 820px) { .sst-intro { grid-template-columns: 1fr; gap: 22px; } }
.sst-band { padding: clamp(20px,3vh,40px) 0 clamp(70px,10vh,120px); }
.sst-statwrap { background: var(--sx-ink,#14130f); }

/* STUDIO SPACE — 왼쪽으로 흐르는 공간 사진 갤러리 */
.sgal { padding: clamp(20px,4vh,46px) 0 clamp(50px,8vh,90px); overflow: hidden; }
.sgal__head { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px,4vw,54px) clamp(28px,4vh,46px); }
.sgal__marquee { overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%); }
.sgal__track { display: flex; gap: 20px; width: max-content; animation: sgalSlide 48s linear infinite; }
.sgal__marquee:hover .sgal__track { animation-play-state: paused; }
.sgal__item { flex: 0 0 auto; height: clamp(220px,26vw,330px); margin: 0; border-radius: 16px; overflow: hidden; background: var(--bg-2); }
.sgal__item img { height: 100%; width: auto; display: block; transition: transform .8s var(--ease); }
.sgal__item:hover img { transform: scale(1.05); }
@keyframes sgalSlide { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 10px)); } }
@media (prefers-reduced-motion: reduce) { .sgal__track { animation: none; } }

/* ===================================================
   포트폴리오 필터 — 심플 텍스트 탭 (알약X)
=================================================== */
/* 포트폴리오 헤더 — 심플 버전 */
.subhero--folio { background: var(--bg); border-bottom: 1px solid var(--line); padding: clamp(118px,16vh,150px) clamp(20px,4vw,54px) clamp(28px,4vh,40px); }
.subhero--folio .subhero__eng { font-size: .76rem; font-weight: 800; letter-spacing: .24em; color: var(--accent); }
.subhero--folio .subhero__title { margin-top: 12px; font-size: clamp(1.7rem,3.2vw,2.5rem); font-weight: 800; letter-spacing: -.03em; }
.subhero--folio .subhero__desc { margin-top: 12px; font-size: .98rem; color: var(--muted); }
.pf-filter { display: flex; flex-wrap: wrap; gap: 6px clamp(18px,2.4vw,32px); margin-top: clamp(22px,3.4vh,30px); }
.pf-filter a { position: relative; font-size: clamp(.96rem,1.4vw,1.08rem); font-weight: 700; color: var(--muted); padding: 6px 1px; letter-spacing: -.01em; transition: color .25s var(--ease); }
.pf-filter a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.pf-filter a:hover { color: var(--ink); }
.pf-filter a.is-active { color: var(--accent); }
.pf-filter a.is-active::after { transform: scaleX(1); }

/* 라이트박스 작품 정보 패널 */
.lb__info { flex: 0 0 300px; width: 300px; max-height: 78vh; overflow-y: auto; background: #fff; border-radius: 14px; padding: 28px 24px; text-align: left; }
.lbi__cat { font-size: .72rem; font-weight: 800; letter-spacing: .08em; color: var(--accent, #e83817); }
.lbi__title { margin-top: 9px; font-size: 1.12rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.4; color: #1c1a16; word-break: keep-all; }
.lbi__desc { margin-top: 11px; font-size: .85rem; line-height: 1.8; color: #6f6a61; word-break: keep-all; }
.lbi__label { margin-top: 20px; font-size: .68rem; font-weight: 800; letter-spacing: .12em; color: #b7b1a8; text-transform: uppercase; }
.lbi__rows > div { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,.07); }
.lbi__rows b { flex: 0 0 66px; font-size: .76rem; font-weight: 700; color: #a29c92; }
.lbi__rows span { font-size: .83rem; line-height: 1.6; color: #35322c; word-break: keep-all; }
.lbi__rows a { color: var(--accent, #e83817); font-weight: 700; text-decoration: none; }
.lbi__rows a:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .lb { flex-wrap: wrap; overflow-y: auto; align-content: center; padding: 56px 16px; }
  .lb__info { flex: 1 1 100%; width: auto; max-height: none; }
}

/* 메인 소개 한 줄 (AEO 직접 문장) */
.ef-sys__aeo { margin: 14px auto 0; max-width: 720px; color: var(--muted); opacity: .8; font-size: .92rem; line-height: 1.8; word-break: keep-all; }
