﻿/* ===================================================
   HAO COMMUNICATION — Kinetic / Editorial Renewal (Light)
=================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
:root {
  --bg: #ffffff;
  --bg-2: #f5f1e9;
  --paper: #17150f;      /* primary foreground (dark) */
  --ink: #17150f;
  --muted: #6e6a60;
  --line: rgba(23,21,15,.12);
  --accent: #e83817;     /* hao logo orange */
  --accent-2: #f25b35;
  --ease: cubic-bezier(.16,1,.3,1);
  --maxw: 1320px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Pretendard", system-ui, sans-serif;
  background: var(--bg); color: var(--ink);
  line-height: 1.6; letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--accent); color: #fff; }

/* ---------- Cursor trail ---------- */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; border-radius: 50%; pointer-events: none; z-index: 400; }
.cursor-dot { width: 7px; height: 7px; background: var(--accent); transform: translate(-50%,-50%); }
.cursor-ring {
  width: 36px; height: 36px; border: 1.5px solid rgba(232,56,23,.65);
  transform: translate(-50%,-50%);
  transition: width .3s var(--ease), height .3s var(--ease), background .3s, border-color .3s;
}
.cursor-ring.is-hover { width: 58px; height: 58px; background: rgba(232,56,23,.08); border-color: var(--accent); }
@media (hover: none), (max-width: 760px) { .cursor-dot, .cursor-ring { display: none; } }

/* ---------- Scroll progress ---------- */
.progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--accent); z-index: 200; transition: width .1s linear;
}

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; padding: 16px clamp(18px, 4vw, 44px); line-height: 1.6;
  transition: background .4s, backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.header.is-stuck { background: rgba(255,255,255,.78); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.02em; font-size: 1.05rem; }
.brand__logo { height: 30px; }
.brand__sub { font-size: .82rem; font-weight: 600; color: var(--muted); padding-left: 11px; border-left: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 24px; }
.nav__div { width: 1px; height: 16px; background: var(--line); margin: 0 2px; }
.nav__center { color: var(--accent) !important; opacity: 1 !important; font-weight: 600; font-size: .84rem; }
.nav__center i { font-style: normal; opacity: .65; }
.nav a { font-size: .92rem; font-weight: 500; color: var(--ink); opacity: .82; letter-spacing: normal; transition: opacity .2s; }
.nav a:hover { opacity: 1; }
.nav__center { letter-spacing: normal; }
.header__cta { display: inline-flex; gap: 7px; align-items: center; font-weight: 600; font-size: .9rem; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.header__cta:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -14px rgba(0,0,0,.5); }
.header__cta span { transition: transform .3s var(--ease); }
.header__cta:hover span { transform: translateX(4px); }
/* 헤더: 서비스 드롭다운 */
.nav__drop { position: relative; display: flex; align-items: center; }
.nav__drop-toggle::before { content: ""; display: inline-block; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-right: 8px; opacity: .55; vertical-align: 2px; }
.nav__drop-menu { position: absolute; top: calc(100% + 12px); left: 50%; transform: translate(-50%, 10px); min-width: 196px; display: flex; flex-direction: column; gap: 2px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 28px 56px -28px rgba(23,21,15,.3); opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; z-index: 160; }
.nav__drop-menu::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav__drop:hover .nav__drop-menu, .nav__drop:focus-within .nav__drop-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__drop-menu a { padding: 9px 14px; border-radius: 9px; font-size: .88rem; white-space: nowrap; }
.nav__drop-menu a::after { display: none; }
.nav__drop-menu a:hover { background: var(--bg-2); }

/* 서비스 페이지: 인트로 스플릿 */
.ssplit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,5vw,70px); align-items: center; margin-top: clamp(40px,6vh,60px); }
.ssplit__img { margin: 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); max-height: 460px; }
.ssplit__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ssplit__text h3 { font-size: clamp(1.35rem,2.3vw,1.9rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.4; }
.ssplit__text > p { margin-top: 14px; color: var(--muted); line-height: 1.85; font-size: 1rem; }
.ssplit__list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 11px; }
.ssplit__list li { position: relative; padding-left: 28px; font-weight: 600; font-size: .96rem; }
.ssplit__list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 800; }
@media (max-width: 860px) { .ssplit { grid-template-columns: 1fr; } .ssplit__img { max-height: 320px; } }

/* 서비스 페이지: 히어로 (좌 카피 + 우 이미지 세로 흐름) */
.svc-cover { position: relative; overflow: hidden; background: var(--bg); }
.svc-cover__inner { display: grid; grid-template-columns: minmax(300px,1fr) 1.05fr; gap: clamp(32px,5vw,80px); align-items: center; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: clamp(80px,11vh,110px) clamp(20px,4vw,54px) 0; min-height: clamp(540px,86vh,760px); }
.svc-cover__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px,1.6vw,22px); height: clamp(460px,74vh,660px); overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 9%, #000 91%, transparent); }
.svc-cover__track { display: flex; flex-direction: column; gap: clamp(14px,1.6vw,22px); animation: svcFlow 36s linear infinite; }
.svc-cover__col--rev .svc-cover__track { animation-duration: 45s; animation-direction: reverse; }
.svc-cover__cols:hover .svc-cover__track { animation-play-state: paused; }
@keyframes svcFlow { to { transform: translateY(calc(-50% - clamp(7px,.8vw,11px))); } }
.svc-cover__card { flex: none; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); }
.svc-cover__card img { width: 100%; height: auto; display: block; }
.svc-cover__crumb { font-size: .8rem; font-weight: 600; color: var(--muted); margin-bottom: 26px; }
.svc-cover__crumb a:hover { color: var(--accent); }
.svc-cover__eng { font-size: .82rem; font-weight: 700; letter-spacing: .16em; color: var(--accent); margin-bottom: 14px; }
.svc-cover__title { font-size: clamp(1.9rem, 3.6vw, 3.1rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.28; color: var(--ink); }
.svc-cover__desc { margin-top: 16px; font-size: clamp(.98rem, 1.4vw, 1.15rem); color: var(--muted); line-height: 1.7; max-width: 520px; }
.svc-cover__inner .phero__btn { margin-top: 32px; }
.svc-nav { display: flex; flex-wrap: wrap; gap: 8px clamp(18px,2.4vw,32px); max-width: var(--maxw); margin: 0 auto; padding: 24px clamp(20px,4vw,54px); border-bottom: 1px solid var(--line); }
.svc-nav a { position: relative; font-size: .92rem; font-weight: 600; color: var(--muted); padding-bottom: 4px; white-space: nowrap; }
.svc-nav a:hover { color: var(--ink); }
.svc-nav a.is-active { color: var(--accent); }
.svc-nav a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); border-radius: 1px; }
.svc-scope { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin-top: 40px; }
.svc-scope > div { display: flex; align-items: baseline; gap: 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 22px 24px; transition: border-color .3s, transform .3s var(--ease); }
.svc-scope > div:hover { border-color: var(--accent); transform: translateY(-3px); }
.svc-scope i { flex: none; font-style: normal; font-weight: 800; font-size: .85rem; color: var(--accent); letter-spacing: .04em; }
.svc-scope span { font-weight: 600; font-size: .97rem; line-height: 1.6; word-break: keep-all; }
.svc-spec { margin: 40px 0 0; border-top: 2px solid var(--ink); }
.svc-spec > div { display: grid; grid-template-columns: clamp(120px,16vw,200px) 1fr; gap: 20px; padding: 19px 6px; border-bottom: 1px solid var(--line); }
.svc-spec dt { font-size: .92rem; font-weight: 800; }
.svc-spec dt::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 10px; vertical-align: 2px; }
.svc-spec dd { margin: 0; color: var(--muted); font-size: .95rem; font-weight: 500; line-height: 1.65; }
.work__grid.svc-mini { grid-template-columns: repeat(2,1fr); gap: clamp(24px,3.5vh,40px) clamp(18px,2.4vw,30px); margin-top: 40px; }
.svc-more { margin-top: clamp(36px,6vh,52px); text-align: center; }
.svc-seo__grid { display: grid; grid-template-columns: minmax(200px,300px) 1fr; gap: clamp(28px,4.5vw,80px); align-items: start; }
.svc-seo__h { font-size: clamp(1.3rem,2vw,1.7rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.45; word-break: keep-all; }
.svc-seo__h::before { content: ""; display: block; width: 40px; height: 4px; border-radius: 2px; background: var(--accent); margin-bottom: 16px; }
.svc-seo__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px,3.5vw,56px); }
.svc-seo__item { border-top: 1px solid var(--ink); padding-top: 18px; }
.svc-seo__item.reveal { transition-delay: calc(var(--d,0) * 120ms); }
.svc-seo__no { font-size: .78rem; font-weight: 800; letter-spacing: .1em; color: var(--accent); }
.svc-seo__item h3 { margin-top: 10px; font-size: clamp(1rem,1.5vw,1.1rem); font-weight: 800; letter-spacing: -.01em; }
.svc-seo__item p { margin-top: 13px; color: var(--muted); font-size: .92rem; line-height: 1.95; word-break: keep-all; }
@media (max-width: 860px) {
  .svc-seo__grid { grid-template-columns: 1fr; gap: 24px; }
  .svc-seo__cols { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 760px) {
  .svc-cover__inner { grid-template-columns: 1fr; gap: 30px; min-height: 0; padding-top: 100px; padding-bottom: 40px; }
  .svc-cover__cols { height: 380px; }
  .svc-scope { grid-template-columns: 1fr; }
  .svc-spec > div { grid-template-columns: 1fr; gap: 6px; padding: 16px 4px; }
  .work__grid.svc-mini { grid-template-columns: 1fr; }
}

/* 서비스 페이지: 칩 내비 + 대표 배너 */
.sv-tabs { margin: 0 0 8px; }
.sv-banner { position: relative; margin: clamp(36px,6vh,56px) 0 0; height: clamp(260px, 50vh, 480px); border-radius: 24px; overflow: hidden; border: 1px solid var(--line); }
.sv-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sv-banner figcaption { position: absolute; left: 18px; bottom: 16px; padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--ink); font-size: .82rem; font-weight: 700; }

/* 서비스 페이지: 고정 패널 + 작업 폭포 */
.svp { display: grid; grid-template-columns: minmax(300px,1fr) 1.45fr; gap: clamp(32px,5vw,80px); align-items: start; margin-top: clamp(36px,5vh,56px); }
.svp__side { position: sticky; top: 110px; }
.svp__head { margin-top: 10px; font-size: clamp(1.6rem,3vw,2.5rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.32; }
.svp__head::after { content: ""; display: block; width: 44px; height: 4px; border-radius: 2px; background: var(--accent); margin-top: 18px; }
.svp__p { margin-top: 16px; color: var(--muted); line-height: 1.85; }
.svp__side .ssplit__list { margin-top: 22px; }
.svp__cta { margin-top: 30px; }
.svp__others { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.svp__others > span { width: 100%; font-size: .73rem; font-weight: 700; letter-spacing: .14em; color: var(--muted); margin-bottom: 4px; }
.svp__others .chip { padding: 7px 14px; font-size: .82rem; }
.svp__works { display: flex; gap: clamp(14px,2vw,24px); }
.svp__col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: clamp(14px,2vw,24px); }
.svp__col + .svp__col { margin-top: clamp(40px,8vh,90px); }
.svp__col .wcard:nth-child(even) .wcard__media { aspect-ratio: 4/5; }
@media (max-width: 900px) {
  .svp { grid-template-columns: 1fr; }
  .svp__side { position: static; }
}

.burger { display: none; flex-direction: column; gap: 6px; background: none; border: 0; cursor: pointer; }
.burger span { width: 26px; height: 2px; background: var(--ink); transition: .3s var(--ease); }
.burger.is-open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.burger.is-open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero (3-slide carousel: blurred ambience + framed print) ---------- */
.hero { position: relative; min-height: 100vh; overflow: hidden; background: #f6f4f0; }
.hero__track { display: flex; transition: transform .85s var(--ease); will-change: transform; }
.hero__slide { position: relative; flex: 0 0 100%; min-height: 100vh; display: flex; align-items: center; padding: 120px clamp(20px,4vw,54px) 120px; overflow: hidden; }
/* full-bleed photo background */
.hero__bgimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero__slide.is-active .hero__bgimg { animation: heroZoom 10s var(--ease) forwards; }
@keyframes heroZoom { from { transform: scale(1.02); } to { transform: scale(1.09); } }
/* left wash so the text stays readable */
.hero__scrim { position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(100deg, rgba(246,244,240,.95) 0%, rgba(246,244,240,.78) 36%, rgba(246,244,240,.28) 64%, rgba(246,244,240,0) 100%); }
.hero__inner { position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin: 0 auto; }
.hero__text { text-align: left; max-width: 620px; }
.hero__badge { display: block; margin-bottom: 26px; }
.hero .hero__badge > span { display: inline-block; background: var(--accent); color: #fff; font-weight: 700; font-size: clamp(.82rem,1.3vw,.95rem); padding: 9px 20px; border-radius: 999px; box-shadow: 0 10px 24px -12px rgba(232,56,23,.6); }
.hero__lead { font-size: clamp(2.1rem, 4.4vw, 4rem); font-weight: 800; line-height: 1.22; letter-spacing: -.035em; color: var(--ink); }
.hero__lead em { font-style: normal; color: var(--accent); }
.hero__copy { font-size: clamp(1rem,1.5vw,1.18rem); color: rgba(23,21,15,.78); margin-top: 26px; line-height: 1.75; font-weight: 500; }
.hero__copy b { color: var(--accent); font-weight: 700; }
.hero__cta { margin-top: 34px; }
.hero__cta a { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.02rem; color: var(--ink); border-bottom: 2px solid var(--accent); padding-bottom: 6px; transition: gap .3s var(--ease), color .3s; }
.hero__cta a svg { width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 2.4; }
.hero__cta a:hover { gap: 18px; color: var(--accent); }
/* (about 페이지 aframe에서 사용) */
@keyframes frameFloat { 0%,100% { translate: 0 0; } 50% { translate: 0 -12px; } }
/* per-slide reveal — re-animates each time a slide becomes active */
.hero__slide:not(.is-active) .line > span { transform: translateY(110%); }
.hero__slide.is-active .hero__badge > span { transition-delay: .15s; }
.hero__slide.is-active .hero__lead .line:nth-child(1) > span { transition-delay: .28s; }
.hero__slide.is-active .hero__lead .line:nth-child(2) > span { transition-delay: .42s; }
.hero__slide.is-active .hero__lead .line:nth-child(3) > span { transition-delay: .56s; }
.hero__slide.is-active .hero__copy > span { transition-delay: .72s; }
.hero__slide.is-active .hero__cta > span { transition-delay: .86s; }
/* dots + arrows */
.hero__dots { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; gap: 12px; }
.hero__dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(23,21,15,.28); cursor: pointer; padding: 0; transition: background .3s, width .3s; }
.hero__dots button.is-active { background: var(--accent); width: 28px; border-radius: 999px; }
.hero__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.7); backdrop-filter: blur(6px); color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .3s, color .3s, border-color .3s; }
.hero__arrow:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.hero__arrow--prev { left: clamp(12px,2vw,28px); }
.hero__arrow--next { right: clamp(12px,2vw,28px); }
.hero__scroll { position: absolute; bottom: 28px; left: clamp(20px,4vw,54px); z-index: 4; display: flex; align-items: center; gap: 12px; font-size: .65rem; letter-spacing: .3em; color: rgba(23,21,15,.55); }
.hero__scroll i { width: 48px; height: 1px; background: linear-gradient(90deg, var(--accent), transparent); animation: scrollrt 1.8s var(--ease) infinite; }
@keyframes scrollrt { 0% { transform: scaleX(0); transform-origin: left; } 45% { transform: scaleX(1); transform-origin: left; } 55% { transform: scaleX(1); transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }
@media (max-width: 980px) {
  /* 모바일: 위 = 텍스트(종이 배경), 아래 = 사진 밴드 */
  .hero__slide { min-height: 100vh; align-items: flex-start; padding: 112px 22px 0; }
  .hero__bgimg { top: auto; bottom: 0; height: 44%; }
  .hero__scrim { background: linear-gradient(180deg, #f6f4f0 0%, #f6f4f0 53%, rgba(246,244,240,.55) 60%, rgba(246,244,240,0) 70%); }
  .hero__text { max-width: none; }
  .hero__lead { font-size: clamp(2rem, 8.4vw, 2.7rem); }
  .hero__copy { font-size: 1rem; margin-top: 20px; }
  .hero__cta { margin-top: 26px; }
  .hero__dots { bottom: 20px; }
  .hero__dots button { background: rgba(255,255,255,.65); }
  .hero__dots button.is-active { background: var(--accent); }
  .hero__arrow { display: none; }
  .hero__scroll { display: none; }
}

/* line mask reveal */
.line { display: block; overflow: hidden; }
.line > span { display: block; transform: translateY(110%); transition: transform 1s var(--ease); }
.is-ready .line > span { transform: translateY(0); }

/* round buttons */
.btn-round { display: inline-flex; align-items: center; gap: 14px; border: 1px solid var(--ink); color: var(--ink); border-radius: 999px; padding: 16px 26px; font-weight: 600; font-size: 1rem; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.btn-round svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .35s var(--ease); }
.btn-round:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-round:hover svg { transform: translateX(5px); }
.btn-round--solid { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-round--solid:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Marquee ---------- */
.marquee-sec { padding: 56px 0; background: var(--bg-2); border-block: 1px solid var(--line); }
.marquee { overflow: hidden; }
.marquee + .marquee { margin-top: 18px; }
.marquee__track { display: flex; gap: 18px; width: max-content; will-change: transform; animation: marqueeL 45s linear infinite; }
.marquee--rev .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track img { height: 150px; width: 232px; object-fit: cover; border-radius: 8px; box-shadow: 0 10px 30px -18px rgba(23,21,15,.5); filter: grayscale(.15); transition: filter .4s, transform .4s var(--ease); }
.marquee__track img:hover { filter: none; transform: scale(1.04); }
@keyframes marqueeL { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 9px)); } }

/* ---------- Intro / about ---------- */
.intro { padding: clamp(90px,14vh,180px) clamp(20px,4vw,54px); max-width: var(--maxw); margin: 0 auto; }
.intro__statement { max-width: 1000px; }
.intro__words { font-size: clamp(1.5rem, 3.6vw, 2.8rem); font-weight: 700; line-height: 1.42; letter-spacing: -.03em; color: var(--ink); margin-top: 18px; }
.intro__words em { font-style: normal; color: var(--accent); }
.intro__words .w { color: rgba(23,21,15,.14); transition: color .35s var(--ease); }
.intro__words .w.lit { color: var(--ink); }
.intro__words .w--em.lit { color: var(--accent); }
/* slot-machine digit roll (index 카운터 + about 스탯 공용) */
.roll { display: inline-block; height: 1em; overflow: hidden; line-height: 1; vertical-align: baseline; }
.roll__strip { display: block; transform: translateY(0); transition: transform 1.6s cubic-bezier(.16,1,.3,1); will-change: transform; }
.roll__strip i { display: block; height: 1em; line-height: 1; font-style: normal; text-align: center; }
.roll-sep { display: inline-block; line-height: 1; }
.counter strong, .astat strong { line-height: 1; }

.counters { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; margin-top: clamp(60px,9vh,110px); border-top: 1px solid var(--line); padding-top: 50px; }
.counter strong { font-size: clamp(2.4rem,5vw,4rem); font-weight: 800; letter-spacing: -.04em; }
.counter > span { font-size: clamp(1.2rem,2vw,1.6rem); color: var(--accent); font-weight: 700; }
.counter em { display: block; font-style: normal; color: var(--muted); margin-top: 8px; font-size: .92rem; }

/* ---------- Portfolio grid ---------- */
.work { padding: clamp(80px,12vh,150px) clamp(20px,4vw,54px); max-width: var(--maxw); margin: 0 auto; }
.work__head { max-width: 640px; }
.work__title { font-size: clamp(2.2rem,5vw,3.6rem); font-weight: 800; letter-spacing: -.03em; margin-top: 14px; }
.work__lead { color: var(--muted); font-size: 1.08rem; margin-top: 14px; }
.work__filter { display: flex; flex-wrap: wrap; gap: 10px; margin: 36px 0 30px; }
.chip { font-family: inherit; font-size: .9rem; font-weight: 600; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; cursor: pointer; transition: .25s var(--ease); }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.is-active { background: var(--accent); color: #fff; border-color: var(--accent); }
.work__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px 22px; }
.wcard { cursor: pointer; }
.wcard__media { position: relative; aspect-ratio: 4/3; border-radius: 12px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); }
.wcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.wcard:hover .wcard__media img { transform: scale(1.05); }
.wcard__info { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 12px; }
.wcard__title { font-size: 1.02rem; font-weight: 700; }
.wcard__cat { font-size: .8rem; color: var(--accent); font-weight: 600; white-space: nowrap; }

/* ---- main-page mosaic variant ---- */
.work__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; margin-bottom: 38px; }
.work__morelink { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: .98rem; color: var(--ink); border-bottom: 2px solid var(--accent); padding-bottom: 5px; white-space: nowrap; transition: gap .3s var(--ease), color .3s; }
.work__morelink svg { width: 17px; height: 17px; fill: none; stroke: var(--accent); stroke-width: 2.4; }
.work__morelink:hover { gap: 16px; color: var(--accent); }
.work__grid--mosaic { grid-template-columns: repeat(4,1fr); grid-auto-rows: clamp(150px, 22vw, 250px); grid-auto-flow: dense; gap: 20px; }
.work__grid--mosaic .wcard { position: relative; border-radius: 16px; overflow: hidden; }
.work__grid--mosaic .wcard--lg { grid-column: span 2; grid-row: span 2; }
.work__grid--mosaic .wcard--wide { grid-column: span 2; }
.work__grid--mosaic .wcard__media { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; border: 0; }
.work__grid--mosaic .wcard__media img { transition: transform 1.1s var(--ease); }
.work__grid--mosaic .wcard:hover .wcard__media img { transform: scale(1.07); }
/* staggered cascade entrance */
.work__grid--mosaic .wcard.reveal { transition-delay: calc(var(--d, 0) * 90ms); }
/* hover affordance: ↗ circle */
.work__grid--mosaic .wcard::after {
  content: "↗"; position: absolute; top: 16px; right: 16px; z-index: 2;
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #fff; color: var(--ink); font-size: 1.1rem; font-weight: 700;
  opacity: 0; transform: translateY(8px) scale(.8);
  transition: opacity .35s var(--ease), transform .35s var(--ease), background .25s, color .25s;
  box-shadow: 0 10px 24px -12px rgba(0,0,0,.4);
}
.work__grid--mosaic .wcard:hover::after { opacity: 1; transform: none; }
.work__grid--mosaic .wcard__info {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; margin: 0;
  padding: 44px 20px 16px; flex-direction: column; align-items: flex-start; gap: 2px;
  background: linear-gradient(transparent, rgba(15,13,10,.74));
  opacity: 0; transform: translateY(12px); transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.work__grid--mosaic .wcard:hover .wcard__info { opacity: 1; transform: none; }
.work__grid--mosaic .wcard--lg .wcard__info { opacity: 1; transform: none; }
.work__grid--mosaic .wcard__title { color: #fff; font-size: 1.05rem; }
.work__grid--mosaic .wcard--lg .wcard__title { font-size: 1.3rem; }
.work__grid--mosaic .wcard__cat { color: var(--accent-2); }
@media (max-width: 900px) {
  .work__head--row { flex-direction: column; align-items: flex-start; }
  .work__grid--mosaic { grid-template-columns: repeat(2,1fr); grid-auto-rows: clamp(140px, 30vw, 220px); }
  .work__grid--mosaic .wcard__info { opacity: 1; transform: none; }
  .work__grid--mosaic .wcard::after { display: none; }
}

/* ---------- Services ---------- */
.services { position: relative; padding: clamp(80px,12vh,150px) clamp(20px,4vw,54px); max-width: var(--maxw); margin: 0 auto; }
.services__head { margin-bottom: 40px; }
.services__title { font-size: clamp(2.2rem,5vw,3.6rem); font-weight: 800; letter-spacing: -.04em; margin-top: 14px; }
.svc-list { border-top: 1px solid var(--line); }
.svc { display: flex; align-items: center; gap: 28px; padding: clamp(22px,3vw,40px) 8px; border-bottom: 1px solid var(--line); cursor: pointer; position: relative; transition: padding-left .4s var(--ease), color .4s; }
.svc:hover { padding-left: 30px; }
.svc__no { font-size: .9rem; color: var(--muted); font-weight: 600; width: 30px; }
.svc__name { font-size: clamp(1.4rem,3.4vw,2.6rem); font-weight: 700; letter-spacing: -.03em; flex: 1; transition: color .35s; }
.svc:hover .svc__name { color: var(--accent); }
.svc__tags { color: var(--muted); font-size: .95rem; white-space: nowrap; }
/* hover: the row opens downward and a portfolio strip slides across */
.svc { flex-wrap: wrap; }
.svc__strip {
  flex: 0 0 100%; width: 100%;
  max-height: 0; opacity: 0; overflow: hidden; pointer-events: none;
  transition: max-height .6s var(--ease), opacity .45s var(--ease), margin-top .6s var(--ease);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.svc.is-hover .svc__strip { max-height: 240px; opacity: 1; margin-top: clamp(20px,3vh,30px); }
.svc__strip-track { display: flex; gap: 16px; width: max-content; animation: svcSlide 16s linear infinite; animation-play-state: paused; padding: 4px 0 10px; }
.svc.is-hover .svc__strip-track { animation-play-state: running; }
.svc__strip-track img { height: clamp(130px, 15vw, 190px); aspect-ratio: 37/24; object-fit: cover; border-radius: 10px; box-shadow: 0 18px 36px -20px rgba(23,21,15,.45); }
@keyframes svcSlide { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 8px)); } }

/* ---------- 우측 하단 플로팅 빠른버튼 (컬러 + 글로우 + 떠다니는 모션 · 호버 라벨 펼침) ---------- */
.fab { position: fixed; right: clamp(14px, 2vw, 26px); bottom: clamp(16px, 3vh, 30px); z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.fab__btn { display: inline-flex; align-items: center; height: 58px; border-radius: 999px; color: #fff; overflow: hidden; transition: box-shadow .3s, transform .3s var(--ease); animation: fabBob 3s ease-in-out infinite; }
.fab__btn:nth-child(2) { animation-delay: .25s; }
.fab__btn:nth-child(3) { animation-delay: .5s; }
.fab__btn:nth-child(4) { animation-delay: .75s; }
.fab__ico { flex: 0 0 58px; width: 58px; height: 58px; display: grid; place-items: center; }
.fab__ico svg { width: 29px; height: 29px; }
.fab__label { max-width: 0; opacity: 0; white-space: nowrap; font-weight: 800; font-size: .95rem; letter-spacing: -.02em; transition: max-width .4s var(--ease), opacity .3s, padding .4s var(--ease); }
.fab__btn:hover { animation: none; transform: translateY(-3px) scale(1.04); }
.fab__btn:hover .fab__label { max-width: 240px; opacity: 1; padding-left: 24px; }
/* 평소부터 컬러 + 색깔 글로우로 눈에 잘 띄게 */
.fab--kakao { background: #FAE100; color: #3A1D1D; box-shadow: 0 12px 28px -8px rgba(250,210,0,.75); }
.fab--instagram { background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5); box-shadow: 0 12px 28px -8px rgba(214,41,118,.65); }
.fab--blog { background: #03C75A; box-shadow: 0 12px 28px -8px rgba(3,199,90,.6); }
.fab--phone { background: #21b56a; box-shadow: 0 12px 28px -8px rgba(33,181,106,.6); }
.fab__btn:hover { box-shadow: 0 20px 38px -10px rgba(23,21,15,.45); }
.fab__txt { font-weight: 800; font-size: .9rem; letter-spacing: -.02em; }
@keyframes fabBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (max-width: 600px) { .fab__btn { height: 52px; } .fab__ico { flex-basis: 52px; width: 52px; height: 52px; } .fab__ico svg { width: 25px; height: 25px; } }
@media (prefers-reduced-motion: reduce) { .fab__btn { animation: none; } }

/* ---------- Process timeline ---------- */
/* scroll-pinned wrapper: section stays put while the bar fills */
.process-wrap { position: relative; height: 280vh; }
.process__pin { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.process { padding: 0 clamp(20px,4vw,54px); max-width: var(--maxw); margin: 0 auto; width: 100%; }
.process__head { margin-bottom: 60px; }
.process__head h2 { font-size: clamp(2.2rem,5vw,3.6rem); font-weight: 800; letter-spacing: -.03em; margin-top: 14px; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(5,1fr); gap: 24px; padding-top: 56px; }
.timeline__line { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--line); }
.timeline__line i { position: relative; display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--accent-2), var(--accent)); transition: width .25s linear; box-shadow: 0 0 12px rgba(232,56,23,.5); }
/* traveling glow dot at the tip of the fill */
.timeline__line i::after {
  content: ""; position: absolute; right: -7px; top: 50%; transform: translateY(-50%);
  width: 14px; height: 14px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 5px rgba(232,56,23,.18), 0 0 18px rgba(232,56,23,.8);
  animation: tipPulse 1.4s ease-in-out infinite;
}
@keyframes tipPulse {
  0%,100% { box-shadow: 0 0 0 5px rgba(232,56,23,.18), 0 0 18px rgba(232,56,23,.8); }
  50%     { box-shadow: 0 0 0 11px rgba(232,56,23,.06), 0 0 26px rgba(232,56,23,.9); }
}
/* step dots sitting on the line */
.tstep { position: relative; opacity: .28; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.tstep::before {
  content: ""; position: absolute; top: -61px; left: 2px; width: 12px; height: 12px;
  border-radius: 50%; background: #fff; border: 2px solid var(--line);
  transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.tstep.is-on { opacity: 1; transform: none; }
.tstep.is-on::before { background: var(--accent); border-color: var(--accent); transform: scale(1.25); box-shadow: 0 0 0 6px rgba(232,56,23,.15); }
/* number: circle that pops when activated */
.tstep__no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%; margin-bottom: 16px;
  font-size: 1.15rem; font-weight: 800; color: var(--muted);
  border: 2px solid var(--line); background: #fff;
  transition: color .3s, border-color .3s, background .3s;
}
.tstep.is-on .tstep__no { color: #fff; background: var(--accent); border-color: var(--accent); animation: noPop .55s var(--ease); }
@keyframes noPop {
  0% { transform: scale(.6); }
  55% { transform: scale(1.18); }
  100% { transform: scale(1); }
}
.tstep h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.tstep p { color: var(--muted); font-size: .94rem; }

/* ---------- Reviews (flowing wall, two opposing rows) ---------- */
.reviews { padding: clamp(80px,12vh,150px) 0; overflow: hidden; background: var(--bg-2); border-block: 1px solid var(--line); }
.reviews__head { max-width: var(--maxw); margin: 0 auto 44px; padding: 0 clamp(20px,4vw,54px); }
.reviews__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.reviews__head h2 { font-size: clamp(2rem,4.6vw,3.2rem); font-weight: 800; letter-spacing: -.03em; margin-top: 14px; }
.reviews__note { color: var(--muted); font-size: .95rem; line-height: 1.7; text-align: right; }
.rev-marquee {
  overflow: hidden; padding: 22px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.rev-track { display: flex; gap: 26px; width: max-content; animation: revSlide 44s linear infinite; }
.rev-marquee--rev .rev-track { animation-direction: reverse; animation-duration: 52s; }
.rev-marquee:hover .rev-track { animation-play-state: paused; }
@keyframes revSlide { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 13px)); } }
@media (max-width: 760px) { .reviews__head--row { flex-direction: column; align-items: flex-start; } .reviews__note { text-align: left; } }
.rev {
  position: relative; flex: 0 0 auto; width: clamp(290px, 30vw, 380px);
  border: 1px solid rgba(23,21,15,.07); border-radius: 20px; padding: 28px 28px 24px;
  background: linear-gradient(170deg, #fff 0%, #fffdf8 100%); margin: 0; overflow: hidden;
  box-shadow: 0 14px 34px -24px rgba(23,21,15,.25);
  transform: rotate(var(--tilt, 0deg));
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.rev:nth-child(odd) { --tilt: -1.4deg; }
.rev:nth-child(even) { --tilt: 1.2deg; margin-top: 22px; }
.rev:hover { transform: rotate(0deg) translateY(-8px); border-color: transparent; box-shadow: 0 36px 64px -30px rgba(23,21,15,.35); z-index: 1; }
/* 따옴표 — 우상단 워터마크 */
.rev__mark {
  position: absolute; top: -14px; right: 16px; font-size: 6.5rem; line-height: 1; font-weight: 800;
  color: var(--accent); opacity: .1; pointer-events: none; transition: opacity .35s, transform .5s var(--ease);
}
.rev:hover .rev__mark { opacity: .22; transform: rotate(-8deg); }
.rev p { font-size: 1.02rem; line-height: 1.78; margin: 6px 36px 22px 0; color: rgba(23,21,15,.85); }
/* 푸터 — 헤어라인 + 파트너 로고 */
.rev footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 16px; border-top: 1px solid rgba(23,21,15,.07); }
.rev__logo { height: 38px; width: auto; max-width: 180px; object-fit: contain; object-position: left; flex: none; }
.rev cite { font-style: normal; color: var(--muted); font-size: .88rem; font-weight: 700; white-space: nowrap; }

/* ---------- Partners (logo marquee) ---------- */
.partners { padding: clamp(70px,10vh,110px) 0 clamp(10px,2vh,20px); overflow: hidden; }
.partners__head { text-align: center; margin-bottom: 40px; padding: 0 24px; }
.partners__head h2 { font-size: clamp(1.6rem,3.6vw,2.4rem); font-weight: 800; letter-spacing: -.03em; margin-top: 12px; }
.partners__marquee {
  overflow: hidden; padding: 9px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.partners__track { display: flex; align-items: center; gap: 22px; width: max-content; animation: partnerSlide 38s linear infinite; }
.partners__marquee--rev .partners__track { animation-direction: reverse; animation-duration: 46s; }
.partners__marquee:hover .partners__track { animation-play-state: paused; }
.plogo {
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
  width: clamp(260px,26vw,360px); height: clamp(100px,11vw,150px);
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.plogo:hover { transform: translateY(-5px); box-shadow: 0 22px 44px -24px rgba(23,21,15,.35); border-color: transparent; }
.plogo img { max-width: 82%; max-height: 72%; object-fit: contain; filter: grayscale(1) opacity(.8); transition: filter .3s; }
.plogo:hover img { filter: none; }
@keyframes partnerSlide { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 11px)); } }

/* ---------- Contact (orange panel) ---------- */
.contact { padding: clamp(60px,9vh,120px) clamp(20px,4vw,54px) clamp(90px,13vh,150px); max-width: var(--maxw); margin: 0 auto; }
.contact__panel {
  position: relative; overflow: hidden; border-radius: 28px;
  background: linear-gradient(135deg, #f25b35 0%, var(--accent) 55%, #e63d0d 100%);
  color: #fff; padding: clamp(34px,5vw,70px);
  display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px,5vw,70px); align-items: center;
  box-shadow: 0 50px 100px -50px rgba(232,56,23,.55);
}
.contact__panel::after { content: ""; position: absolute; right: -14%; bottom: -38%; width: 56%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.08); pointer-events: none; }
.contact__tag { font-size: .78rem; letter-spacing: .25em; font-weight: 700; color: rgba(255,255,255,.85); margin-bottom: 18px; }
.contact__title { font-size: clamp(2rem,4.6vw,3.6rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.15; }
.contact__desc { margin-top: 20px; color: rgba(255,255,255,.85); line-height: 1.7; }
.contact__rows { margin-top: 36px; display: grid; gap: 12px; }
.contact__rows li { display: flex; align-items: baseline; gap: 14px; font-weight: 600; }
.contact__rows span { font-size: .7rem; letter-spacing: .18em; font-weight: 800; color: rgba(255,255,255,.7); min-width: 44px; }
.contact__rows a { font-size: 1.12rem; transition: opacity .25s; }
.contact__rows a:hover { opacity: .75; }
/* spinning circular text */
.contact__spin { position: absolute; top: clamp(18px,3vw,34px); right: clamp(18px,3vw,34px); width: clamp(90px,11vw,130px); height: clamp(90px,11vw,130px); animation: spinSlow 16s linear infinite; pointer-events: none; }
.contact__spin text { fill: rgba(255,255,255,.85); font-size: 10.5px; font-weight: 700; letter-spacing: .14em; }
@keyframes spinSlow { to { transform: rotate(360deg); } }
/* form card */
.cform { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cform--card { background: #fff; border-radius: 20px; padding: clamp(22px,3vw,34px); box-shadow: 0 30px 60px -36px rgba(0,0,0,.45); }
.cfield--full { grid-column: 1 / -1; }
.cform input, .cform select, .cform textarea {
  width: 100%; font-family: inherit; font-size: .98rem; color: var(--ink);
  background: #f6f4f0; border: 1.5px solid transparent; border-radius: 12px;
  padding: 14px 16px; transition: border-color .25s, background .25s, box-shadow .25s; resize: vertical;
}
.cform select { color: var(--muted); appearance: none; }
.cform option { color: #000; }
.cform input::placeholder, .cform textarea::placeholder { color: var(--muted); }
.cform input:focus, .cform select:focus, .cform textarea:focus {
  outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(232,56,23,.12);
}
.cform .btn-round { grid-column: 1 / -1; justify-content: center; margin-top: 6px; border-radius: 14px; }
.cform--card .btn-round--solid:hover { background: var(--ink); border-color: var(--ink); }
.cnote { grid-column: 1 / -1; text-align: center; color: var(--accent); font-size: .92rem; min-height: 1em; }
@media (max-width: 980px) {
  .contact__panel { grid-template-columns: 1fr; }
  .contact__spin { display: none; }
}

/* ---------- Footer (dark anchor) ---------- */
.footer { background: #14130f; color: rgba(244,241,234,.85); padding: clamp(52px,8vh,80px) clamp(20px,4vw,54px) 30px; }
.footer__top {
  max-width: var(--maxw); margin: 0 auto 44px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__logo { height: 36px; }
.footer__top p { color: rgba(244,241,234,.55); font-size: .92rem; line-height: 1.6; }
.footer__grid { max-width: var(--maxw); margin: 0 auto 48px; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; }
.footer__grid h3 { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 16px; }
.footer__grid a, .footer__grid span { display: block; color: rgba(244,241,234,.78); margin-bottom: 8px; font-size: .93rem; width: fit-content; transition: color .25s, transform .25s var(--ease); }
.footer__grid a:hover { color: var(--accent-2); transform: translateX(4px); }
.footer__grid a[href^="tel"] { font-size: clamp(1.5rem,2.4vw,2rem); font-weight: 800; letter-spacing: -.02em; color: #fff; margin-bottom: 12px; }
.footer__grid a[href^="tel"]:hover { color: var(--accent); transform: none; }
.footer__bottom {
  max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(244,241,234,.4); font-size: .82rem;
}
.footer__bottom i { font-style: normal; }
.footer__biz { display: flex; flex-direction: column; gap: 4px; line-height: 1.7; }
.footer__biz p { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.footer__biz b { color: rgba(244,241,234,.7); font-weight: 700; }
.footer__copy { white-space: nowrap; }
@media (max-width: 640px) { .footer__biz p { gap: 2px 12px; } }
.totop {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  background: none; border: 1px solid rgba(255,255,255,.2); color: rgba(244,241,234,.7);
  font-family: inherit; font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  padding: 9px 18px; border-radius: 999px; transition: background .3s, color .3s, border-color .3s;
}
.totop:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Section tag ---------- */
.section-tag { font-size: .78rem; letter-spacing: .25em; font-weight: 700; color: var(--accent); }

/* ---------- Subpages ---------- */
.subhero { background: #f6f4f0; border-bottom: 1px solid var(--line); padding: 150px clamp(20px,4vw,54px) 56px; }
.subhero__inner { max-width: var(--maxw); margin: 0 auto; }
.subhero__crumb { font-size: .82rem; color: var(--muted); margin-bottom: 14px; }
.subhero__crumb a:hover { color: var(--accent); }
.subhero__title { font-size: clamp(2.2rem,5vw,3.6rem); font-weight: 800; letter-spacing: -.03em; }
.subhero__desc { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }
.subnav { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 30px; }
.subnav a { font-size: .92rem; font-weight: 600; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; transition: .25s var(--ease); }
.subnav a:hover, .subnav a.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.page { max-width: var(--maxw); margin: 0 auto; padding: clamp(60px,9vh,110px) clamp(20px,4vw,54px); }
.page--tight { padding-top: 40px; }
.page h2.page__title { font-size: clamp(1.7rem,3.6vw,2.5rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: 26px; }
.page .section-tag { margin-bottom: 12px; }

/* about */
.about-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; margin-top: 36px; }
.about-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 32px 30px; }
.about-card h3 { font-size: 1.18rem; font-weight: 700; margin-bottom: 10px; }
.about-card h3 span { color: var(--accent); margin-right: 8px; font-weight: 800; }
.about-card p { color: var(--muted); font-size: .96rem; }
.about-story { font-size: clamp(1.2rem,2.4vw,1.7rem); font-weight: 700; line-height: 1.55; letter-spacing: -.02em; max-width: 880px; }
.about-story em { font-style: normal; color: var(--accent); }
.facility { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 36px; }
.facility article { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.facility img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.facility .fbody { padding: 22px 22px 26px; }
.facility h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 8px; }
.facility p { color: var(--muted); font-size: .92rem; }
.map-box { margin-top: 36px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.map-box iframe { width: 100%; height: 420px; border: 0; display: block; }
.map-info { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; padding: 26px 28px; }
.map-info h4 { font-size: .8rem; letter-spacing: .12em; color: var(--accent); margin-bottom: 8px; }
.map-info p { color: var(--ink); font-size: .95rem; }

/* ===== About page (editorial, distinct from main) ===== */
/* cover hero */
.acover { padding: 190px clamp(20px,4vw,54px) clamp(60px,9vh,100px); text-align: center; background: var(--bg); }
.acover__crumb { font-size: .82rem; color: var(--muted); margin-bottom: 26px; }
.acover__crumb a:hover { color: var(--accent); }
.acover__title { font-size: clamp(2.4rem,6.4vw,5.4rem); font-weight: 800; line-height: 1.16; letter-spacing: -.04em; }
.acover__title em { font-style: normal; color: var(--accent); }
.acover__meta { margin-top: 38px; }
.acover__meta > span { display: inline-flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center; font-size: .8rem; letter-spacing: .16em; font-weight: 700; color: var(--muted); }
.acover__meta i { width: 36px; height: 1px; background: var(--line); }
.is-ready .acover__crumb > span { transition-delay: .1s; }
.is-ready .acover__title .line:nth-child(1) > span { transition-delay: .24s; }
.is-ready .acover__title .line:nth-child(2) > span { transition-delay: .4s; }
.is-ready .acover__meta > span { transition-delay: .6s; }
/* giant outline type marquee */
.tmarquee { overflow: hidden; border-block: 1px solid var(--line); padding: 18px 0; background: var(--bg); }
.tmarquee__track { display: flex; width: max-content; animation: tslide 30s linear infinite; }
.tmarquee__track span {
  font-size: clamp(3rem,8vw,6.5rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(23,21,15,.22); white-space: nowrap;
}
@keyframes tslide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* magazine story */
.astory { padding: clamp(90px,13vh,160px) clamp(20px,4vw,54px); }
.astory__inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px,6vw,90px); align-items: start; }
.astory__quote {
  position: sticky; top: 130px; margin: 0;
  font-size: clamp(1.5rem,2.8vw,2.2rem); font-weight: 800; line-height: 1.45; letter-spacing: -.03em;
  padding-left: 26px; border-left: 4px solid var(--accent);
}
.astory__body p { font-size: 1.05rem; line-height: 1.95; color: rgba(23,21,15,.8); margin-bottom: 30px; }
.astory__body p.reveal { transition-delay: calc(var(--d,0) * 120ms); }
.astory__body p:first-of-type::first-letter {
  float: left; font-size: 3.6em; line-height: .82; font-weight: 800; color: var(--accent);
  margin: 6px 12px 0 0;
}
/* dark stats ribbon */
.astats { background: #14130f; color: #fff; padding: clamp(44px,7vh,70px) clamp(20px,4vw,54px); }
.astats__inner { max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.astat { display: flex; align-items: baseline; gap: 6px; }
.astat.reveal { transition-delay: calc(var(--d,0) * 110ms); }
.astat strong { font-size: clamp(2.4rem,4.6vw,3.8rem); font-weight: 800; letter-spacing: -.04em; color: var(--accent); }
.astat > span { color: var(--accent); font-weight: 800; font-size: clamp(1.1rem,1.8vw,1.5rem); }
.astat em { font-style: normal; color: rgba(244,241,234,.6); font-size: .9rem; margin-left: 10px; }
/* vertical drawn timeline */
.vtl-sec { padding: clamp(90px,13vh,160px) clamp(20px,4vw,54px); background: var(--bg-2); border-bottom: 1px solid var(--line); }
.vtl-sec__head { max-width: var(--maxw); margin: 0 auto 70px; text-align: center; }
.vtl-sec__head h2 { font-size: clamp(2rem,4.6vw,3.2rem); font-weight: 800; letter-spacing: -.03em; margin-top: 14px; }
.vtl { position: relative; max-width: 900px; margin: 0 auto; }
.vtl__line { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; transform: translateX(-50%); background: var(--line); }
.vtl__line i { display: block; width: 100%; height: 0%; background: var(--accent); box-shadow: 0 0 10px rgba(232,56,23,.45); }
.vtl__item { position: relative; width: 50%; padding: 0 clamp(28px,4vw,54px) clamp(44px,7vh,70px); }
.vtl__item:nth-child(even) { left: 0; text-align: right; }
.vtl__item:nth-child(odd):not(.vtl__line) { left: 50%; }
.vtl__item::before {
  content: ""; position: absolute; top: 8px; width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 2px solid var(--line); transition: background .3s, border-color .3s, box-shadow .3s;
}
.vtl__item:nth-child(even)::before { right: -8px; }
.vtl__item:nth-child(odd)::before { left: -8px; }
.vtl__item.is-on::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 6px rgba(232,56,23,.15); }
.vtl__card { opacity: .25; transform: translateY(18px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.vtl__item.is-on .vtl__card { opacity: 1; transform: none; }
.vtl__no { font-size: .85rem; font-weight: 800; color: var(--accent); letter-spacing: .12em; }
.vtl__card h3 { font-size: clamp(1.2rem,2.2vw,1.5rem); font-weight: 800; letter-spacing: -.02em; margin: 8px 0 10px; }
.vtl__card p { color: var(--muted); font-size: .96rem; line-height: 1.7; }
/* facility full-bleed bands */
.fbands { padding: clamp(90px,13vh,160px) 0 clamp(40px,6vh,70px); }
.fbands__head { max-width: var(--maxw); margin: 0 auto 70px; padding: 0 clamp(20px,4vw,54px); }
.fbands__head h2 { font-size: clamp(2rem,4.6vw,3.2rem); font-weight: 800; letter-spacing: -.03em; margin: 14px 0 12px; }
.fbands__head p { color: var(--muted); }
.fband { max-width: var(--maxw); margin: 0 auto clamp(70px,10vh,110px); padding: 0 clamp(20px,4vw,54px); display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px,5vw,70px); align-items: center; }
.fband--rev { grid-template-columns: 1fr 1.25fr; }
.fband--rev .fband__media { order: 2; }
.fband__media { margin: 0; border-radius: 14px; overflow: hidden; }
.fband__media img { width: 100%; display: block; aspect-ratio: 16/10; object-fit: cover; }
/* curtain wipe reveal — fail-open: visible by default, the wipe is added on reveal */
.clipreveal { opacity: 1 !important; transform: none !important; }
.clipreveal.is-in { animation: curtainL 1s var(--ease) both; }
.clipreveal--right.is-in { animation-name: curtainR; }
@keyframes curtainL { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes curtainR { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
.fband__no { font-size: .8rem; font-weight: 800; letter-spacing: .18em; color: var(--accent); }
.fband__text h3 { font-size: clamp(1.4rem,2.6vw,1.9rem); font-weight: 800; letter-spacing: -.025em; margin: 12px 0 14px; }
.fband__text p { color: var(--muted); line-height: 1.8; }
/* big text CTA */
.bigcta { padding: clamp(70px,11vh,130px) clamp(20px,4vw,54px); border-top: 1px solid var(--line); }
.bigcta__link { display: block; max-width: var(--maxw); margin: 0 auto; }
.bigcta__small { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .24em; color: var(--accent); margin-bottom: 18px; }
.bigcta__text {
  display: inline-block; font-size: clamp(2rem,5.6vw,4.6rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.15;
  background-image: linear-gradient(var(--accent), var(--accent)); background-repeat: no-repeat;
  background-size: 0% 4px; background-position: 0 96%;
  transition: background-size .5s var(--ease), color .3s;
}
.bigcta__text i { font-style: normal; color: var(--accent); display: inline-block; transition: transform .4s var(--ease); }
.bigcta__link:hover .bigcta__text { background-size: 100% 4px; color: var(--accent); }
.bigcta__link:hover .bigcta__text i { transform: translateX(14px); }
@media (max-width: 900px) {
  .astory__inner { grid-template-columns: 1fr; }
  .astory__quote { position: static; }
  .astats__inner { justify-content: flex-start; gap: 22px 36px; }
  .vtl__line { left: 8px; transform: none; }
  .vtl__item, .vtl__item:nth-child(even), .vtl__item:nth-child(odd) { width: 100%; left: 0; text-align: left; padding: 0 0 44px 36px; }
  .vtl__item:nth-child(even)::before, .vtl__item:nth-child(odd)::before { left: 1px; right: auto; }
  .fband, .fband--rev { grid-template-columns: 1fr; }
  .fband--rev .fband__media { order: 0; }
}

/* support (지원사업) */
.sp-lead { font-size: clamp(1.05rem,1.8vw,1.25rem); font-weight: 500; line-height: 1.75; color: var(--muted); max-width: 1100px; }
.sp-lead em { font-style: normal; color: var(--accent); font-weight: 700; }
.sp-list { margin-top: 46px; border-top: 1px solid var(--ink); }
.sp-row {
  position: relative; display: grid; grid-template-columns: 110px 1fr 1.3fr 60px;
  gap: clamp(18px,3vw,44px); align-items: center;
  padding: clamp(30px,4.5vh,46px) 10px; border-bottom: 1px solid var(--line);
  transition: padding-left .4s var(--ease);
}
.sp-row.reveal { transition-delay: calc(var(--d, 0) * 100ms); }
.sp-row::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: #fff; transform: scaleY(0); transform-origin: bottom;
  transition: transform .45s var(--ease);
}
.sp-row:hover { padding-left: 26px; }
.sp-row:hover::before { transform: scaleY(1); }
.sp-row__no {
  font-size: clamp(2rem,3.6vw,3rem); font-weight: 800; line-height: 1; letter-spacing: -.03em;
  color: transparent; -webkit-text-stroke: 1.4px rgba(232,56,23,.5);
  transition: color .35s, -webkit-text-stroke-color .35s;
}
.sp-row:hover .sp-row__no { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.sp-row__main h3 { font-size: clamp(1.25rem,2.2vw,1.6rem); font-weight: 800; letter-spacing: -.025em; transition: color .3s; }
.sp-row:hover .sp-row__main h3 { color: var(--accent); }
.sp-row__org { display: inline-block; margin-top: 8px; font-size: .8rem; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.sp-row__body p { color: var(--muted); font-size: .96rem; line-height: 1.7; }
.sp-row__tags { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 12px; }
.sp-row__tags span { font-size: .82rem; font-weight: 600; color: rgba(23,21,15,.55); }
.sp-row__tags span::before { content: "#"; color: var(--accent); font-weight: 800; margin-right: 3px; }

/* 회사소개: 일하는 방식 (스크롤 핀 + 좌 메뉴/우 패널) */
.hway-wrap { position: relative; height: 340vh; }
.hway { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; padding: 0 clamp(20px,4vw,54px); overflow: hidden; background: var(--bg); }
.hway__inner { width: 100%; display: grid; grid-template-columns: minmax(240px,340px) 1fr; gap: clamp(36px,6vw,100px); max-width: var(--maxw); margin: 0 auto; align-items: center; }
.hway__ic { width: clamp(40px,3.6vw,52px); height: auto; color: var(--accent); }
.hway__title { margin-top: 20px; font-size: clamp(1.7rem,2.8vw,2.5rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.3; }
.hway__menu { list-style: none; margin: clamp(32px,6vh,60px) 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.hway__menu li { position: relative; padding: 13px 0 13px 24px; font-size: clamp(.98rem,1.4vw,1.12rem); font-weight: 600; color: rgba(23,21,15,.38); cursor: pointer; transition: color .35s, font-weight .35s; }
.hway__menu li::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 7px; height: 7px; border-radius: 50%; background: rgba(23,21,15,.25); transition: background .35s, box-shadow .35s; }
.hway__menu li:hover { color: var(--ink); }
.hway__menu li.is-on { color: var(--ink); font-weight: 800; }
.hway__menu li.is-on::before { background: var(--accent); box-shadow: 0 0 0 4px rgba(232,56,23,.18); }
.hway__stage { min-height: clamp(380px,56vh,560px); }
.hway__panel { display: none; }
.hway__panel.is-on { display: block; animation: spFade .5s var(--ease); }
.hway__img { margin: 0; background: var(--bg-2); border-radius: 22px; padding: clamp(20px,2.8vw,38px); display: grid; place-items: center; }
.hway__img img { width: 100%; max-height: clamp(220px,36vh,360px); object-fit: contain; border-radius: 8px; }
.hway__panel h3 { margin-top: 28px; color: var(--accent); font-size: clamp(1.25rem,2vw,1.65rem); font-weight: 800; letter-spacing: -.02em; }
.hway__panel p { margin-top: 13px; color: var(--muted); font-size: .98rem; line-height: 1.85; }
@media (max-width: 860px) {
  .hway-wrap { height: auto; }
  .hway { position: static; height: auto; padding: 80px 20px; }
  .hway__inner { grid-template-columns: 1fr; gap: 30px; }
  .hway__menu { flex-direction: row; flex-wrap: wrap; gap: 6px 20px; }
  .hway__menu li { padding: 8px 0 8px 18px; font-size: .92rem; }
  .hway__stage { min-height: 0; }
  .hway__panel p br { display: none; }
}

/* 회사소개: 일하는 방식 스태거 카드 */
.way { display: grid; grid-template-columns: repeat(2,1fr); gap: clamp(18px,2.5vw,28px); max-width: 1040px; margin: 0 auto; padding: 0 clamp(20px,4vw,54px) clamp(30px,5vh,50px); }
.way__card { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: clamp(28px,3.5vw,46px); min-height: clamp(220px,28vh,280px); display: flex; flex-direction: column; justify-content: flex-end; transition: background .45s var(--ease), border-color .45s, box-shadow .45s; }
.way__card:nth-child(even) { margin-top: clamp(24px,5vh,52px); margin-bottom: calc(clamp(24px,5vh,52px) * -1); }
.way { padding-bottom: clamp(60px,9vh,100px); }
.way__no { position: absolute; top: clamp(16px,2vw,26px); right: clamp(20px,2.5vw,32px); font-weight: 800; font-size: clamp(3.2rem,6vw,5.2rem); line-height: 1; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px rgba(23,21,15,.16); transition: -webkit-text-stroke-color .45s; }
.way__card h3 { font-size: clamp(1.25rem,2.1vw,1.7rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.35; transition: color .45s; }
.way__card p { margin-top: 14px; color: var(--muted); font-size: .96rem; line-height: 1.75; transition: color .45s; }
.way__card:hover { background: var(--accent); border-color: var(--accent); box-shadow: 0 30px 60px -30px rgba(232,56,23,.55); }
.way__card:hover h3 { color: #fff; }
.way__card:hover p { color: rgba(255,255,255,.88); }
.way__card:hover .way__no { -webkit-text-stroke-color: rgba(255,255,255,.55); }
@media (max-width: 760px) {
  .way { grid-template-columns: 1fr; }
  .way__card:nth-child(even) { margin-top: 0; margin-bottom: 0; }
  .way__card { min-height: 0; }
  .way__card h3 br { display: none; }
}

/* 회사소개: 제작설비 사진 카드 */
.fac { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(16px,2vw,26px); margin-top: clamp(40px,6vh,60px); }
.fac__col { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #fff; transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.fac__col:hover { transform: translateY(-6px); border-color: rgba(232,56,23,.4); box-shadow: 0 32px 54px -34px rgba(23,21,15,.35); }
.fac__media { position: relative; margin: 0; aspect-ratio: 4/3; overflow: hidden; }
.fac__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.fac__col:hover .fac__media img { transform: scale(1.06); }
.fac__top { padding: clamp(18px,2.4vw,24px) clamp(20px,2.6vw,26px) 0; }
.fac__no { font-size: .82rem; font-weight: 800; letter-spacing: .08em; color: var(--accent); }
.fac__col h3 { padding: 6px clamp(20px,2.6vw,26px) 0; font-size: clamp(1.15rem,1.8vw,1.4rem); font-weight: 800; letter-spacing: -.02em; }
.fac__col > p { padding: 8px clamp(20px,2.6vw,26px) clamp(20px,2.6vw,26px); color: var(--muted); line-height: 1.7; font-size: .93rem; word-break: keep-all; }
@media (max-width: 860px) {
  .fac { grid-template-columns: 1fr; }
}

/* 지원사업: 수행기관 라인 */
.sp-orgs { margin-top: 28px; font-size: .85rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.sp-orgs::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 10px; vertical-align: 1px; }

/* 지원사업: 바우처 티켓 지표 */
.ticket { display: flex; margin-top: clamp(40px,7vh,70px); background: var(--bg-2); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 36px 70px -48px rgba(23,21,15,.4); overflow: hidden; }
.ticket__stub { flex: 0 0 clamp(96px,10vw,136px); background: var(--accent); color: #fff; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; padding: clamp(18px,2.5vw,26px); }
.ticket__brand { font-weight: 800; font-size: clamp(1rem,1.6vw,1.3rem); letter-spacing: .05em; line-height: 1.25; }
.ticket__no { font-size: .62rem; font-weight: 700; letter-spacing: .16em; opacity: .85; }
.ticket__body { position: relative; flex: 1; display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(16px,2.5vw,30px); padding: clamp(28px,4vw,48px) clamp(22px,3.5vw,44px); border-left: 2px dashed rgba(23,21,15,.22); }
.ticket__body::before, .ticket__body::after { content: ""; position: absolute; left: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); }
.ticket__body::before { top: -13px; }
.ticket__body::after { bottom: -13px; }
.tstat strong { display: inline-block; line-height: 1; font-size: clamp(1.9rem,3.6vw,3rem); font-weight: 800; letter-spacing: -.04em; }
.tstat > span { font-size: clamp(.95rem,1.5vw,1.25rem); color: var(--accent); font-weight: 800; }
.tstat em { display: block; font-style: normal; color: var(--muted); margin-top: 10px; font-size: .84rem; line-height: 1.5; word-break: keep-all; }
.tstat + .tstat { border-left: 1px dashed rgba(23,21,15,.16); padding-left: clamp(16px,2.2vw,28px); }
.ticket__end { flex: 0 0 clamp(76px,8vw,112px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; border-left: 2px dashed rgba(23,21,15,.22); padding: 18px 10px; color: var(--ink); }
.ticket__bar { width: 60%; height: auto; opacity: .85; }
.ticket__end span { font-size: .6rem; font-weight: 700; letter-spacing: .2em; color: var(--muted); }

/* 지원사업: 수행기관 로고 롤링 밴드 */
.gov-band { background: #14130f; overflow: hidden; padding: clamp(18px,2.6vh,28px) 0; margin: clamp(40px,7vh,80px) 0 0; }
.gov-band__track { display: flex; width: max-content; animation: govSlide 36s linear infinite; }
.gov-band__set { display: flex; align-items: center; gap: clamp(48px,7vw,110px); padding-right: clamp(48px,7vw,110px); }
.gov-band__set img { height: clamp(28px,3.2vw,40px); width: auto; flex: none; }
@keyframes govSlide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .gov-band__track { animation: none; } }

/* 지원사업: 분야 편집형 행 */
.vrows { margin-top: clamp(36px,5vh,52px); }
.vrow { display: grid; grid-template-columns: minmax(200px,300px) 1fr; gap: clamp(24px,4.5vw,80px); padding: clamp(30px,4.5vh,48px) 0; border-top: 1px solid var(--ink); }
.vrow.reveal { transition-delay: calc(var(--d,0) * 120ms); }
.vrow__no { display: block; font-weight: 800; font-size: clamp(2rem,3.4vw,3rem); letter-spacing: -.04em; line-height: 1; color: var(--accent); }
.vrow__head h3 { margin-top: 12px; font-size: clamp(1.25rem,2vw,1.6rem); font-weight: 800; letter-spacing: -.02em; }
.vrow__head em { display: block; margin-top: 6px; font-style: normal; font-size: .7rem; font-weight: 700; letter-spacing: .15em; color: var(--muted); }
.vrow__body p { color: var(--muted); line-height: 1.85; font-size: 1rem; max-width: 760px; }
.vrow__body p + p { margin-top: 12px; }
.vrow__areas { margin-top: 24px; }
.vrow__areas > span { display: block; font-size: .8rem; font-weight: 800; letter-spacing: .04em; color: var(--accent); margin-bottom: 12px; }
.vrow__areas ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 7px 16px; }
.vrow__areas li { font-size: .88rem; font-weight: 600; color: rgba(23,21,15,.62); white-space: nowrap; }
.vrow__areas li::before { content: "#"; color: var(--accent); font-weight: 800; margin-right: 3px; }
@media (max-width: 760px) {
  .vrow { grid-template-columns: 1fr; gap: 18px; }
  .vrow__head h3 { margin-top: 8px; }
}

/* 지원사업: 분야 레일 탭 */
.vsplit { display: grid; grid-template-columns: minmax(230px,320px) 1fr; gap: clamp(30px,5vw,72px); margin-top: 44px; align-items: start; }
.vrail { display: flex; flex-direction: column; position: sticky; top: 110px; }
.vrail__btn { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 18px; align-items: baseline; text-align: left; background: none; border: 0; border-top: 1px solid var(--line); padding: 22px 8px; font-family: inherit; cursor: pointer; transition: padding .3s var(--ease), box-shadow .3s var(--ease); }
.vrail__btn:last-child { border-bottom: 1px solid var(--line); }
.vrail__btn i { grid-row: 1 / 3; align-self: center; font-style: normal; font-weight: 800; font-size: clamp(1.7rem,2.6vw,2.5rem); letter-spacing: -.04em; color: rgba(23,21,15,.16); transition: color .3s; }
.vrail__btn b { font-size: clamp(1.05rem,1.7vw,1.32rem); font-weight: 800; color: var(--ink); transition: color .3s; }
.vrail__btn > span { font-size: .68rem; font-weight: 700; letter-spacing: .15em; color: var(--muted); margin-top: 4px; }
.vrail__btn:hover i { color: var(--accent-2); }
.vrail__btn.is-active { box-shadow: inset 4px 0 0 var(--accent); padding-left: 20px; }
.vrail__btn.is-active i, .vrail__btn.is-active b { color: var(--accent); }
.vstage { min-height: 320px; }
.sp-panel { display: none; }
.sp-panel.is-on { display: block; animation: spFade .5s var(--ease); }
@keyframes spFade { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.sp-panel__grid { display: grid; gap: 18px; }
.sp-panel__title { font-size: clamp(1.5rem,2.6vw,2.1rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.32; }
.sp-panel__title br { display: none; }
.sp-panel__title::after { content: ""; display: block; width: 44px; height: 4px; border-radius: 2px; background: var(--accent); margin-top: 16px; }
.sp-panel__text p { color: var(--muted); line-height: 1.85; font-size: 1.02rem; max-width: 720px; }
.sp-panel__text p + p { margin-top: 12px; }
.sp-areas { margin-top: clamp(26px,4vh,40px); border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px,3vw,34px); background: #fff; }
.sp-areas__title { font-size: .88rem; font-weight: 700; color: var(--accent); letter-spacing: .04em; margin-bottom: 16px; }
.sp-areas ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; }
.sp-areas li { font-size: .9rem; font-weight: 600; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; background: var(--bg-2); transition: .25s var(--ease); }
.sp-areas li:hover { border-color: var(--accent); color: var(--accent); }

/* 지원사업: 진행절차 플로우 */
.vflow { position: relative; display: grid; grid-template-columns: repeat(5,1fr); gap: clamp(14px,2vw,24px); margin-top: clamp(48px,7vh,70px); }
.vflow::before { content: ""; position: absolute; top: 27px; left: 6%; right: 6%; border-top: 2px dashed rgba(232,56,23,.4); }
.vflow__no { position: relative; z-index: 1; width: 54px; height: 54px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; box-shadow: 0 0 0 7px var(--bg), 0 16px 30px -14px rgba(232,56,23,.6); }
.vflow__step h3 { margin-top: 22px; font-size: clamp(.98rem,1.5vw,1.1rem); font-weight: 800; letter-spacing: -.02em; }
.vflow__step p { margin-top: 8px; color: var(--muted); font-size: .9rem; line-height: 1.7; }

/* 지원사업: FAQ 카드 */
.faq { margin-top: 40px; display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 0 clamp(16px,2.5vw,26px); transition: border-color .3s, box-shadow .3s; }
.faq__item summary { list-style: none; display: flex; align-items: baseline; gap: 16px; padding: 22px 0; font-size: clamp(1rem,1.6vw,1.1rem); font-weight: 700; cursor: pointer; transition: color .25s; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--accent); }
.faq__q { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; font-size: .9rem; font-weight: 800; display: grid; place-items: center; align-self: center; }
.faq__item summary i { margin-left: auto; flex: none; align-self: center; width: 11px; height: 11px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .3s var(--ease); opacity: .5; }
.faq__item[open] { border-color: var(--accent); box-shadow: 0 22px 44px -34px rgba(232,56,23,.5); }
.faq__item[open] summary { color: var(--accent); }
.faq__item[open] summary i { transform: rotate(-135deg); }
.faq__a { padding: 0 0 26px 46px; }
.faq__a p { color: var(--muted); line-height: 1.85; font-size: .98rem; max-width: 760px; }

@media (max-width: 900px) {
  .ticket { flex-direction: column; }
  .ticket__stub { flex-direction: row; align-items: center; flex-basis: auto; }
  .ticket__body { grid-template-columns: repeat(2,1fr); border-left: 0; border-top: 2px dashed rgba(23,21,15,.22); }
  .ticket__body::before { top: -13px; left: -13px; }
  .ticket__body::after { top: -13px; bottom: auto; left: auto; right: -13px; }
  .tstat + .tstat { border-left: 0; padding-left: 0; }
  .ticket__end { display: none; }
  .vsplit { grid-template-columns: 1fr; gap: 26px; }
  .vrail { position: static; flex-direction: row; overflow-x: auto; gap: 6px; border-bottom: 1px solid var(--line); }
  .vrail__btn { border-top: 0; flex: none; padding: 14px 12px; column-gap: 10px; }
  .vrail__btn:last-child { border-bottom: 0; }
  .vrail__btn > span { display: none; }
  .vrail__btn i { font-size: 1.3rem; }
  .vrail__btn.is-active { box-shadow: inset 0 -3px 0 var(--accent); padding-left: 12px; }
  .vflow { grid-template-columns: 1fr; gap: 30px; }
  .vflow::before { left: 27px; right: auto; top: 10px; bottom: 10px; border-top: 0; border-left: 2px dashed rgba(232,56,23,.4); }
  .vflow__step { display: grid; grid-template-columns: 54px 1fr; column-gap: 18px; }
  .vflow__step h3 { grid-column: 2; margin-top: 0; align-self: center; }
  .vflow__step p { grid-column: 2; }
  .faq__a { padding-left: 0; }
}
.sp-row__arrow {
  justify-self: end; width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--line); color: var(--muted); font-size: 1.15rem;
  opacity: 0; transform: translateX(-14px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), background .3s, color .3s, border-color .3s;
}
.sp-row:hover .sp-row__arrow { opacity: 1; transform: none; background: var(--accent); border-color: var(--accent); color: #fff; }
@media (max-width: 900px) {
  .sp-row { grid-template-columns: 56px 1fr; grid-template-rows: auto auto; row-gap: 12px; }
  .sp-row__no { font-size: 1.5rem; grid-row: 1; }
  .sp-row__main { grid-row: 1; }
  .sp-row__body { grid-column: 2; grid-row: 2; }
  .sp-row__arrow { display: none; }
  .sp-row:hover { padding-left: 10px; }
}
.sp-cta { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; justify-content: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 18px; padding: clamp(24px,3vw,40px); backdrop-filter: blur(4px); }
.sp-cta p { font-size: 1.05rem; line-height: 1.7; font-weight: 600; }
.sp-cta .btn-round--solid { background: #fff; border-color: #fff; color: var(--accent); }
.sp-cta .btn-round--solid:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* board (gallery) */
.gallery-board { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px 22px; }
.gcard { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.gcard:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -32px rgba(23,21,15,.35); }
.gcard__thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--bg-2); }
.gcard__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gcard:hover .gcard__thumb img { transform: scale(1.05); }
.gcard__badge { position: absolute; top: 12px; left: 12px; background: var(--accent); color: #fff; font-size: .66rem; font-weight: 800; letter-spacing: .08em; padding: 4px 10px; border-radius: 999px; }
.gcard__body { padding: 22px 22px 24px; }
.gcard__body h3 { font-size: 1.08rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.4; transition: color .25s; }
.gcard:hover .gcard__body h3 { color: var(--accent); }
.gcard__body p { color: var(--muted); font-size: .92rem; margin-top: 8px; line-height: 1.6; }
.gcard__date { display: block; color: var(--muted); font-size: .82rem; margin-top: 14px; }
.board-empty { padding: 60px 0; text-align: center; color: var(--muted); }

/* board post detail */
.subhero--post .subhero__title { font-size: clamp(1.7rem,4vw,2.8rem); line-height: 1.3; max-width: 880px; }
.post { max-width: 880px; margin: 0 auto; }
.post__hero { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 40px; }
.post__hero img { width: 100%; display: block; }
.post__body p { font-size: 1.04rem; line-height: 1.85; color: var(--ink); margin-bottom: 26px; }
.post__body h3 { font-size: clamp(1.15rem,1.9vw,1.35rem); font-weight: 800; letter-spacing: -.02em; margin: 38px 0 14px; }
.post__body blockquote { border-left: 3px solid var(--accent); margin: 26px 0; padding: 6px 20px; color: var(--muted); font-size: 1.02rem; line-height: 1.8; }
.post__body blockquote p { color: inherit; margin-bottom: 0; }
.post__body img { max-width: 100%; border-radius: 14px; margin: 6px 0 26px; display: block; }
.post__body hr { border: 0; border-top: 1px solid var(--line); margin: 34px 0; }
.post__nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 56px; padding-top: 30px; border-top: 1px solid var(--line); }
.post__navlink { flex: 1; min-width: 0; }
.post__navlink span { display: block; font-size: .78rem; letter-spacing: .12em; color: var(--muted); margin-bottom: 6px; }
.post__navlink strong { display: block; font-size: .96rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .25s; }
.post__navlink:hover strong { color: var(--accent); }
.post__navlink--next { text-align: right; }
.post__list { flex: 0 0 auto; padding: 12px 24px; font-size: .92rem; }
@media (max-width: 700px) {
  .post__nav { flex-direction: column; align-items: stretch; }
  .post__navlink--next { text-align: left; }
  .post__list { order: 3; text-align: center; justify-content: center; }
}

/* recruit */
.recruit-hero { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 40px clamp(24px,4vw,48px); margin-bottom: 28px; }
.recruit-hero h3 { font-size: clamp(1.3rem,2.6vw,1.8rem); font-weight: 800; letter-spacing: -.02em; }
.recruit-hero h3 em { font-style: normal; color: var(--accent); }
.recruit-hero p { color: var(--muted); margin-top: 12px; }
.recruit-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.recruit-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 30px 28px; }
.recruit-card h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 14px; color: var(--accent); }
.recruit-card ul { display: grid; gap: 9px; }
.recruit-card li { color: var(--ink); font-size: .95rem; padding-left: 16px; position: relative; }
.recruit-card li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* contact page */
.cpage { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: start; }
.cpage .cform { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 34px; }
.cinfo { display: grid; gap: 14px; margin-top: 26px; }
.cinfo li { color: var(--ink); }
.cinfo strong { display: inline-block; min-width: 72px; color: var(--accent); font-weight: 700; }

@media (max-width: 900px) {
  .about-grid, .recruit-grid, .cpage { grid-template-columns: 1fr; }
  .facility { grid-template-columns: 1fr; }
  .map-info { grid-template-columns: 1fr; gap: 14px; }
  .gallery-board { grid-template-columns: 1fr; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .gallery-board { grid-template-columns: repeat(2,1fr); }
}

/* ---------- Differentiator (dark + stacking cards) ---------- */
.diff {
  background: #0f0d0a;
  background-image: radial-gradient(rgba(255,255,255,.055) 1px, transparent 1.5px);
  background-size: 28px 28px;
  color: #fff; padding: clamp(90px,13vh,160px) clamp(20px,4vw,54px);
}
.diff__inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px,6vw,90px); align-items: start; }
.diff__left { position: sticky; top: 110px; }
.diff__dot { display: block; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); margin-bottom: 14px; }
.diff__tag { color: var(--accent-2); font-size: 1.05rem; font-weight: 600; margin-bottom: 22px; }
.diff__title { font-size: clamp(1.8rem,3.6vw,2.8rem); font-weight: 800; line-height: 1.32; letter-spacing: -.03em; }
.diff__title em { font-style: normal; color: var(--accent); }
.diff__sub { color: rgba(255,255,255,.72); margin-top: 26px; line-height: 1.75; font-size: 1.02rem; }
/* 진행 표시기: 지금 몇 번째 카드인지 */
.diff__progress { display: flex; align-items: center; gap: 16px; margin-top: clamp(36px,6vh,60px); }
.diff__progress strong { font-size: clamp(2rem,3.6vw,3rem); font-weight: 800; letter-spacing: -.03em; color: var(--accent); min-width: 2ch; }
.diff__progress span { font-size: .9rem; font-weight: 700; color: rgba(255,255,255,.4); }
.diff__bar { flex: 0 1 150px; height: 2px; background: rgba(255,255,255,.16); border-radius: 2px; overflow: hidden; }
.diff__bar b { display: block; height: 100%; width: 25%; background: var(--accent); border-radius: 2px; transition: width .45s var(--ease); box-shadow: 0 0 8px rgba(232,56,23,.6); }
/* stacking deck: each card sticks and the next slides over it */
.diff__cards { display: block; }
.dcard {
  position: sticky; top: calc(96px + var(--i, 0) * 18px);
  margin-bottom: 30px; min-height: min(48vh, 430px);
  display: flex; flex-direction: column; justify-content: space-between;
  border-radius: 22px; padding: clamp(28px,3.4vw,44px);
  background: #f5efe7; color: var(--ink); overflow: hidden;
  box-shadow: 0 -18px 50px -30px rgba(0,0,0,.65);
}
.dcard--solid { background: var(--accent); color: #fff; }
.dcard__no { display: inline-block; font-weight: 800; font-size: 1.05rem; margin-bottom: 14px; }
/* 3D 부유 라인 아이콘 (우측 중앙) */
.dcard__art {
  position: absolute; right: clamp(28px,5vw,72px); top: 50%;
  width: clamp(120px,15vw,180px); aspect-ratio: 1;
  color: rgba(23,21,15,.5); pointer-events: none;
  animation: artFloat 6.5s ease-in-out infinite;
  filter: drop-shadow(0 16px 22px rgba(0,0,0,.16));
}
.dcard:nth-child(even) .dcard__art { animation-delay: -3.2s; }
.dcard--solid .dcard__art { color: rgba(255,255,255,.92); }
.dcard__art svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
@keyframes artFloat {
  0%, 100% { transform: translateY(-50%) perspective(700px) rotateY(-16deg) rotateX(7deg); }
  50%      { transform: translateY(calc(-50% - 16px)) perspective(700px) rotateY(16deg) rotateX(-7deg); }
}
@media (max-width: 980px) { .dcard__art { width: 90px; right: 18px; opacity: .55; } }
.dcard h3 { font-size: clamp(1.25rem,2.4vw,1.7rem); font-weight: 800; line-height: 1.4; letter-spacing: -.025em; max-width: 78%; }
.dcard__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(34px,5vh,64px); }
.dcard__tags span { background: #fff; color: var(--ink); font-weight: 700; font-size: .9rem; padding: 9px 16px; border-radius: 10px; box-shadow: 0 8px 20px -12px rgba(0,0,0,.3); }
@media (max-width: 980px) {
  .diff__inner { grid-template-columns: 1fr; }
  .diff__left { position: static; }
  .diff__pills { margin-top: 36px; }
  .dcard { min-height: 0; position: relative; top: auto; }
  .dcard h3 { max-width: 100%; padding-right: 70px; }
}

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: clamp(16px,4vw,48px); }
.lightbox.is-open { display: flex; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(15,13,10,.86); backdrop-filter: blur(6px); animation: lbFade .3s var(--ease); }
.lightbox__box { position: relative; z-index: 1; max-width: min(1100px, 94vw); max-height: 86vh; display: flex; flex-direction: column; animation: lbPop .35s var(--ease); }
.lightbox__img { max-width: 100%; max-height: calc(86vh - 64px); object-fit: contain; border-radius: 10px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.8); background: #fff; cursor: zoom-in; transition: transform .25s var(--ease); will-change: transform; touch-action: none; user-select: none; -webkit-user-drag: none; }
.lightbox.is-zoom .lightbox__img { cursor: grab; }
.lightbox.is-drag .lightbox__img { transition: none; cursor: grabbing; }
.lightbox__zoom { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.1); backdrop-filter: blur(8px); }
.lightbox__zbtn { width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 1.1rem; line-height: 1; cursor: pointer; transition: background .25s; }
.lightbox__zbtn:hover { background: var(--accent); }
.lightbox__zval { min-width: 52px; text-align: center; color: #fff; font-size: .8rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.lightbox__cap { display: flex; align-items: baseline; gap: 14px; padding: 16px 4px 0; }
.lightbox__cap strong { color: #fff; font-size: 1.05rem; font-weight: 700; }
.lightbox__cap span { color: var(--accent-2); font-size: .85rem; font-weight: 600; }
.lightbox__close { position: absolute; top: 18px; right: 22px; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer; transition: background .25s, transform .25s; }
.lightbox__close:hover { background: var(--accent); transform: rotate(90deg); }
.lightbox__btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; transition: background .25s; }
.lightbox__btn:hover { background: var(--accent); }
.lightbox__btn--prev { left: clamp(8px,2vw,24px); }
.lightbox__btn--next { right: clamp(8px,2vw,24px); }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lbPop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@media (max-width: 700px) {
  .lightbox__btn { width: 42px; height: 42px; }
  .lightbox__close { top: 12px; right: 12px; }
  .lightbox__zoom { top: 12px; padding: 4px; }
  .lightbox__zbtn { width: 32px; height: 32px; font-size: 1rem; }
  .lightbox__zval { min-width: 42px; font-size: .72rem; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .counters { grid-template-columns: repeat(2,1fr); }
  .work__grid { grid-template-columns: repeat(2,1fr); }
  .timeline { grid-template-columns: repeat(2,1fr); gap: 36px 24px; padding-top: 10px; }
  .timeline__line { display: none; }
  .tstep::before { display: none; }
  .process-wrap { height: auto; }
  .process__pin { position: static; height: auto; display: block; overflow: visible; }
  .process { padding: clamp(80px,12vh,150px) clamp(20px,4vw,54px); }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .nav.is-open .nav__div { display: none; }
  .nav.is-open .nav__center { color: var(--accent); }
  .header__cta { display: inline-flex; margin-left: auto; margin-right: 12px; padding: 8px 16px; font-size: .82rem; }
  .header__cta span { display: none; }
  .burger { display: flex; position: relative; z-index: 160; }
  .burger:focus, .nav.is-open a:focus, .nav.is-open .nav__drop-toggle:focus { outline: none; }
  /* 메뉴 열렸을 때 커스텀 커서 숨김(프리뷰/터치겸용 기기 잔상 방지) */
  body.menu-open .cursor-ring, body.menu-open .cursor-dot { opacity: 0 !important; }
  /* 좌측 정렬 드롭다운 패널 (위에서 내려오는 풀스크린 리스트) */
  .nav.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: fixed; inset: 0; background: #fff; z-index: 140;
    padding: 84px 26px 40px; overflow-y: auto; -webkit-overflow-scrolling: touch;
    border: 0; border-radius: 0; box-shadow: none;
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .nav.is-open > a, .nav.is-open .nav__drop-toggle {
    display: block; width: 100%; text-align: left; font-size: 1.12rem; font-weight: 700;
    color: var(--ink); padding: 16px 2px; border-bottom: 1px solid var(--line);
  }
  .nav.is-open > a::after { display: none; }
  .nav.is-open .nav__drop { display: block; width: 100%; }
  .nav.is-open .nav__drop-toggle { display: flex; align-items: center; justify-content: flex-start; gap: 9px; }
  .nav.is-open .nav__drop-toggle::before { display: none; }
  /* 아코디언 쉐브론 (우측, 탭하면 펼침) */
  .nav.is-open .nav__drop-toggle::after { content: ""; position: static; left: auto; bottom: auto; background: none; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .4; transition: transform .25s var(--ease); }
  .nav.is-open .nav__drop.is-open .nav__drop-toggle::after { transform: rotate(-135deg) translateY(2px); opacity: .7; }
  /* 하위 메뉴: 들여쓰기 좌측 정렬, 접힘 → 펼침 */
  .nav.is-open .nav__drop-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: none; padding: 0; display: none; }
  .nav.is-open .nav__drop.is-open .nav__drop-menu { display: flex; flex-direction: column; }
  .nav.is-open .nav__drop-menu::before { display: none; }
  .nav.is-open .nav__drop-menu a { display: block; text-align: left; font-size: 1rem; font-weight: 500; color: var(--muted); padding: 13px 2px 13px 18px; }
  /* 모바일: 헤더 backdrop-filter 제거 — 안 그러면 fixed 모바일 메뉴가 헤더 영역에 갇혀 풀스크린이 안 됨 */
  .header.is-stuck, .header { background: rgba(255,255,255,.96); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .work__grid { grid-template-columns: 1fr; }
  .cform { grid-template-columns: 1fr; }
  .marquee__track img { height: 110px; width: 170px; }
}
/* ---------- Hero: 좌 카피 / 우 라운드 이미지 슬라이더 ---------- */
.phero { position: relative; background: var(--bg); height: clamp(560px, 88vh, 780px); overflow: hidden; }
.phero__track { position: relative; height: 100%; }
.phero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .7s var(--ease), visibility .7s; }
.phero__slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.phero__text { position: relative; z-index: 2; width: min(620px, 46%); margin-left: max(calc((100vw - 1320px) / 2 + 54px), 24px); padding-top: clamp(120px, 19vh, 185px); }
.phero__text > * { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.phero__slide.is-active .phero__text > *:nth-child(1) { transition-delay: .2s; }
.phero__slide.is-active .phero__text > *:nth-child(2) { transition-delay: .3s; }
.phero__slide.is-active .phero__text > *:nth-child(3) { transition-delay: .42s; }
.phero__slide.is-active .phero__text > *:nth-child(4) { transition-delay: .54s; }
.phero__slide.is-active .phero__text > * { opacity: 1; transform: none; }
.phero__badge { font-size: .85rem; font-weight: 700; color: var(--accent); letter-spacing: .06em; margin-bottom: 20px; }
.phero__title { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; font-size: clamp(1.6rem, 2.6vw, 2.4rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.26; color: var(--ink); }
.phero__title > * { white-space: nowrap; }
.phero__title em { font-style: normal; color: var(--accent); }
.phero__sub { margin-top: 22px; font-size: clamp(.98rem, 1.4vw, 1.2rem); color: var(--muted); line-height: 1.65; }
.phero__btn { margin-top: 38px; display: inline-flex; align-items: center; gap: 10px; background: var(--accent); color: #fff; border-radius: 999px; padding: 14px 30px; font-weight: 700; font-size: .98rem; transition: background .3s, transform .3s var(--ease); }
.phero__btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.phero__btn:hover { background: var(--accent-2); transform: translateY(-2px); }
.phero__media { position: absolute; top: 0; right: 0; z-index: 1; height: 100%; width: 48vw; max-width: 1408px; margin: 0; overflow: hidden; border-bottom-left-radius: 70px; background: linear-gradient(135deg, #ece7df, #f4f1ea); }
.phero__media img { width: 100%; height: 100%; object-fit: cover; }
.phero__meta { position: absolute; z-index: 3; bottom: clamp(28px, 5.5vh, 50px); left: max(calc((100vw - 1320px) / 2 + 54px), 24px); display: flex; align-items: center; gap: 18px; }
.phero__count { font-size: .85rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.phero__count b { color: var(--ink); font-weight: 700; }
.phero__count i { font-style: normal; }
.phero__bar { width: clamp(140px, 18vw, 268px); height: 2px; background: rgba(23,21,15,.14); position: relative; overflow: hidden; }
.phero__bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--ink); }
.phero__arrows { display: flex; gap: 8px; }
.phero__arrows button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 1.15rem; line-height: 1; cursor: pointer; transition: .25s; }
.phero__arrows button:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 860px) {
  .phero { height: auto; padding-bottom: 96px; }
  .phero__slide { position: relative; inset: auto; display: none; flex-direction: column; }
  .phero__slide.is-active { display: flex; }
  .phero__text { width: 100%; margin: 0; padding: 104px 20px 0; }
  .phero__title > * { white-space: normal; }
  .phero__media { position: static; width: calc(100% - 20px); height: clamp(240px, 42vh, 360px); margin: 30px 0 0 20px; border-radius: 32px 0 0 32px; }
  .phero__meta { left: 20px; bottom: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .001s !important; }
  .line > span { transform: none; }
  .reveal { opacity: 1; transform: none; }
  .clipreveal, .clipreveal--right { clip-path: none !important; }
  .vtl__card, .tstep, .dcard { opacity: 1 !important; transform: none !important; }
}

/* ===== voucher 독립 홈 히어로 ===== */
.vhero { position: relative; overflow: hidden; padding: 162px clamp(20px,4vw,54px) 86px; text-align: center;
  background: radial-gradient(58% 82% at 50% -8%, rgba(232,56,23,.10), transparent 72%); }
.vhero__inner { max-width: 870px; margin: 0 auto; position: relative; z-index: 1; }
.vhero__badge { display: inline-flex; align-items: center; gap: .5em; font-size: .8rem; font-weight: 800;
  color: var(--accent); background: rgba(232,56,23,.09); border: 1px solid rgba(232,56,23,.22);
  padding: .5em 1.1em; border-radius: 999px; letter-spacing: .01em; }
.vhero__badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: inline-block; }
.vhero__title { font-size: clamp(2.3rem,5.4vw,4rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.08; margin: .55em 0 .42em; }
.vhero__title em { color: var(--accent); }
.vhero__sub { color: var(--muted); font-size: clamp(1rem,1.5vw,1.18rem); max-width: 52ch; margin: 0 auto 2em; line-height: 1.65; }
.vhero__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.vhero__trust { margin-top: 2.4em; font-size: .85rem; color: var(--muted); font-weight: 600; }
.vhero__trust b { color: var(--ink); }
.vhero__orgs { margin-top: .5em; font-size: .8rem; color: var(--muted); letter-spacing: .02em; }

/* ===== 홈 안내 카드 (각 페이지로 분기) ===== */
.vnav { max-width: var(--maxw, 1200px); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 0 clamp(20px,4vw,54px); }
.vnav__card { display: flex; flex-direction: column; gap: 8px; padding: 28px 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.vnav__card:hover { transform: translateY(-5px); box-shadow: 0 24px 48px -24px rgba(23,21,15,.24); border-color: transparent; }
.vnav__no { font-size: .76rem; font-weight: 800; color: var(--accent); letter-spacing: .08em; }
.vnav__t { font-size: 1.22rem; font-weight: 800; letter-spacing: -.02em; }
.vnav__d { font-size: .9rem; color: var(--muted); line-height: 1.55; flex: 1; }
.vnav__go { font-weight: 700; color: var(--accent); font-size: .9rem; }
@media (max-width: 900px) { .vnav { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .vnav { grid-template-columns: 1fr; } }

/* ===== Q&A 보드 (exportvoucher 참고: 검색 + 카테고리 탭 + 아코디언) ===== */
.qboard { max-width: 920px; margin: 0 auto; padding: 0 clamp(20px,4vw,54px); }
.qsearch { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; background: var(--bg-2,#f6f4f0); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.qsearch input { flex: 1; min-width: 180px; font: inherit; border: 1px solid var(--line); border-radius: 9px; padding: 11px 14px; background: #fff; color: var(--ink); }
.qsearch input:focus { outline: none; border-color: var(--accent); }
.qsearch button { font: inherit; font-weight: 700; border: 0; border-radius: 9px; padding: 11px 20px; background: var(--ink); color: #fff; cursor: pointer; }
.qsearch button:hover { background: var(--accent); }
.qcats { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 8px; }
.qcat { font-size: .9rem; font-weight: 600; padding: .55em 1.1em; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--muted); cursor: pointer; transition: .2s; }
.qcat:hover { border-color: var(--ink); color: var(--ink); }
.qcat.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.qlist { border-top: 2px solid var(--ink); margin-top: 14px; }
.qitem { border-bottom: 1px solid var(--line); }
.qitem > summary { list-style: none; cursor: pointer; display: flex; align-items: flex-start; gap: 14px; padding: 22px 8px; font-weight: 600; }
.qitem > summary::-webkit-details-marker { display: none; }
.qitem__q { flex: none; width: 26px; height: 26px; border-radius: 50%; background: rgba(232,56,23,.1); color: var(--accent); font-weight: 800; display: grid; place-items: center; font-size: .92rem; }
.qitem__t { flex: 1; line-height: 1.5; }
.qitem__cat { flex: none; font-size: .72rem; font-weight: 700; color: var(--muted); background: var(--bg-2,#f6f4f0); padding: .3em .7em; border-radius: 999px; align-self: center; }
.qitem__chev { flex: none; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .25s var(--ease); align-self: center; }
.qitem[open] .qitem__chev { transform: rotate(-135deg); }
.qitem__a { display: flex; gap: 14px; padding: 0 8px 26px 8px; color: #3a3833; line-height: 1.7; }
.qitem__a b { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: .92rem; }
.qempty { text-align: center; color: var(--muted); padding: 60px 0; }
@media (max-width: 620px) { .qitem__cat { display: none; } }

/* Q&A: 검색 초기화 버튼 + 카테고리 칩 카운트 (네이티브 .chip / .faq 사용) */
.qsearch button.qreset { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.qsearch button.qreset:hover { border-color: var(--accent); color: var(--accent); }
.qcats { margin: 22px 0 6px; }
.qcats .chip b { font-weight: 700; opacity: .5; margin-left: 3px; }
.qcats .chip.is-active b { opacity: .85; }

/* ===== 사업 페이지 (수출/혁신/판로개척) ===== */
.taglist { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.taglist li { font-size: .9rem; font-weight: 600; color: var(--ink); background: var(--bg-2,#f6f4f0); border: 1px solid var(--line); padding: .55em .95em; border-radius: 999px; }
.specgrid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-top: 24px; }
.speccard { border: 1px solid var(--line); border-radius: 16px; padding: 26px; background: #fff; }
.speccard h3 { font-size: 1.12rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 10px; }
.speccard h3 span { color: var(--accent); font-size: .78rem; font-weight: 800; display: block; margin-bottom: 4px; letter-spacing: .04em; }
.speccard p { color: var(--muted); font-size: .95rem; line-height: 1.65; }
.speccard ul { margin-top: 6px; display: flex; flex-direction: column; gap: 5px; }
.speccard li { color: var(--muted); font-size: .94rem; line-height: 1.5; padding-left: 14px; position: relative; }
.speccard li::before { content: "·"; position: absolute; left: 2px; color: var(--accent); font-weight: 800; }
.vtable { width: 100%; border-collapse: collapse; margin-top: 24px; font-size: .95rem; }
.vtable th, .vtable td { border: 1px solid var(--line); padding: 13px 14px; text-align: center; }
.vtable thead th { background: var(--ink); color: #fff; font-weight: 700; }
.vtable tbody th { background: var(--bg-2,#f6f4f0); font-weight: 700; white-space: nowrap; }
.vtable td.em { color: var(--accent); font-weight: 800; }
.vnote { margin-top: 14px; font-size: .86rem; color: var(--muted); }
@media (max-width: 760px) { .specgrid { grid-template-columns: 1fr; } .vtable { font-size: .82rem; } .vtable th, .vtable td { padding: 9px 8px; } }

/* ===== 웹구축센터 전용 ===== */
.whero { position: relative; overflow: hidden; padding: 168px clamp(20px,4vw,54px) 60px; text-align: center;
  background: radial-gradient(60% 80% at 50% -8%, rgba(232,56,23,.10), transparent 72%); }
.whero__inner { max-width: 920px; margin: 0 auto; }
.whero__badge { display: inline-flex; align-items: center; gap: .5em; font-size: .8rem; font-weight: 800; color: var(--accent); background: rgba(232,56,23,.09); border: 1px solid rgba(232,56,23,.22); padding: .5em 1.1em; border-radius: 999px; }
.whero__badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.whero__title { font-size: clamp(2.4rem,6vw,4.4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.06; margin: .5em 0 .4em; }
.whero__title em { color: var(--accent); }
.whero__sub { color: var(--muted); font-size: clamp(1rem,1.5vw,1.18rem); max-width: 56ch; margin: 0 auto 2em; line-height: 1.65; }
.whero__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
/* 해시태그 마퀴 */
.htag { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2,#f6f4f0); padding: 18px 0; 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); }
.htag__track { display: flex; align-items: center; gap: 14px; width: max-content; animation: marqLeft 38s linear infinite; }
.htag__track span { font-size: 1rem; font-weight: 700; color: var(--ink); white-space: nowrap; }
.htag__track span::before { content: "#"; color: var(--accent); margin-right: 2px; }
@keyframes marqLeft { to { transform: translateX(-50%); } }
/* 4대 역량 카드 */
.cap { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-top: clamp(28px,4vw,48px); }
.capcard { border: 1px solid var(--line); border-radius: 18px; padding: 30px; background: #fff; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.capcard:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -26px rgba(23,21,15,.22); border-color: transparent; }
.capcard__no { font-size: .76rem; font-weight: 800; color: var(--accent); letter-spacing: .1em; }
.capcard__t { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; margin: .4em 0 .2em; }
.capcard__e { font-size: .82rem; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.capcard ul { display: flex; flex-wrap: wrap; gap: 7px; }
.capcard li { font-size: .84rem; font-weight: 600; color: var(--muted); background: var(--bg-2,#f6f4f0); border: 1px solid var(--line); padding: .4em .8em; border-radius: 999px; }
@media (max-width: 760px) { .cap { grid-template-columns: 1fr; } }
/* AEO/SEO 비교 */
.seo2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(28px,4vw,44px); }
.seocard { border: 1px solid var(--line); border-radius: 18px; padding: 32px; background: #fff; }
.seocard--geo { background: var(--ink); color: #fff; border-color: var(--ink); }
.seocard h3 { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.seocard h3 b { color: var(--accent); }
.seocard--geo h3 b { color: var(--accent-2); }
.seocard p { color: var(--muted); margin-top: 12px; line-height: 1.7; font-size: .97rem; }
.seocard--geo p { color: rgba(255,255,255,.72); }
@media (max-width: 760px) { .seo2 { grid-template-columns: 1fr; } }

/* 포트폴리오 카테고리 필터칩 */
.pf-cats { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: clamp(28px, 4vh, 44px); }
.pf-chip { padding: .62em 1.2em; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: .9rem; color: var(--ink); cursor: pointer; transition: background .24s, color .24s, border-color .24s; }
.pf-chip:hover { border-color: var(--accent); }
.pf-chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ===== 포트폴리오 갤러리 (스튜디오센터 느낌 · 풀블리드 월 + 라이트박스) ===== */
.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.9rem,3.6vw,2.7rem); 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); }

.np-folio { width: 100%; padding-bottom: clamp(40px,6vh,70px); }
.np-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px,1.8vw,28px); }
.np-item { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 14px; background: var(--bg-2); cursor: pointer; box-shadow: 0 14px 34px -20px rgba(15,13,10,.32); }
.np-item img { width: 100%; height: 100%; object-fit: cover; object-position: top center; 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: 1024px) { .np-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .np-grid { grid-template-columns: 1fr; } .np-item { aspect-ratio: 16/10; } }

/* 포트폴리오 그리드만 full-bleed 가로 갤러리 (홈 #workGrid과 분리) */
#folio { grid-template-columns: repeat(4, 1fr); gap: 0; }
#folio .np-item { aspect-ratio: 4 / 3; border-radius: 0; box-shadow: none; }
@media (max-width: 1180px) { #folio { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px)  { #folio { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { #folio { grid-template-columns: 1fr; } #folio .np-item { aspect-ratio: 4 / 3; } }

/* 라이트박스 */
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, 720px); 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; }
.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); }
@media (max-width: 700px) {
  .lb__nav { position: absolute; bottom: 26px; width: 48px; height: 48px; }
  .lb__prev { left: 28%; } .lb__next { right: 28%; }
}

/* ===== 메인과 동일한 문의 폼 (cs.css 이식, 서브페이지 CTA용) ===== */
.cform--main{background:#fff;border:1px solid var(--line);border-radius:24px;padding:clamp(26px,3vw,38px);
  box-shadow:0 30px 60px -36px rgba(0,0,0,.45);display:grid;grid-template-columns:1fr 1fr;gap:14px}
.cform--main .cfield{display:flex;flex-direction:column;margin:0}
.cform--main .cfield--full{grid-column:1/-1}
.cform--main .cfield label{font-size:.78rem;font-weight:600;color:var(--muted);margin-bottom:7px}
.cform--main .cfield input,.cform--main .cfield select,.cform--main .cfield textarea{width:100%;padding:13px 14px;
  border:1px solid var(--line);border-radius:11px;font:inherit;font-size:.94rem;background:#fff;color:var(--ink);
  transition:border-color .2s,box-shadow .2s;appearance:auto}
.cform--main .cfield input:focus,.cform--main .cfield select:focus,.cform--main .cfield textarea:focus{outline:0;
  border-color:var(--accent);box-shadow:0 0 0 3px rgba(232,56,23,.12)}
.cform--main .btn{grid-column:1/-1;display:inline-flex;align-items:center;justify-content:center;gap:9px;
  font-weight:600;font-size:.96rem;padding:13px 22px;border-radius:999px;border:0;cursor:pointer;font-family:inherit;
  transition:transform .3s var(--ease),box-shadow .3s var(--ease)}
.cform--main .btn--grad{background:linear-gradient(135deg,#ff8a3d,#e83817);color:#fff}
.cform--main .btn--grad:hover{box-shadow:0 18px 40px -16px rgba(232,56,23,.55)}
.cform--main .btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2}
.cform--main .cnote{grid-column:1/-1;text-align:center;font-size:.86rem;color:var(--accent);min-height:1em;font-weight:600}

/* 라이트박스 작품 정보 패널 */
.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; }
}
