/* ==========================================================================
   VICTORY PLAN — 대표 사이트 시안 C
   디자인 레퍼런스: design_assets/peerspace (그대로 유지)
     니어블랙 #121212 다크 섹션 ↔ 화이트 교차 · 딥퍼플 #341A4A 밴드(ODA) · 퍼플 #8559EC 액센트 ·
     크림 #F9F1E1 밴드 · Druk 컨덴스드 메가 디스플레이(→ Anton 대체) · ABC Social(→ Pretendard 대체) ·
     히어로 검색바 → 무료 진단 바 · activities 탭 로테이션 · MADE IN 메가 갤러리 · cities 리스트 스왑 · 다크 푸터
   골격 출처: projects/redshutter-main (peerspace 골격 이식본)의 CSS를 퍼플 원색으로 되돌림
   ========================================================================== */

:root {
  --ink: #121212;
  --ink-soft: #1c1c1e;
  --paper: #ffffff;
  --gray-50: #f8f9fa;
  --gray-200: #e9ebef;
  --gray-300: #d1d3db;
  --gray-500: #aeafbd;
  --gray-600: #6a6e7a;
  --gray-700: #42454b;
  --purple: #8559ec;
  --purple-deep: #714bd6;
  --plum: #341a4a;
  --plum-deep: #24102f;
  --cream: #f9f1e1;
  --red: #fb2f3c;
  --green: #3cb78b;
  --yellow: #ffc453;

  --font-display: "Anton", "Pretendard Variable", Pretendard, sans-serif;
  --font-body: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans KR", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --text-mega: clamp(4rem, 11vw, 10.5rem);
  --text-xl: clamp(2.75rem, 6vw, 5.25rem);
  --text-lg: clamp(2rem, 3.6vw, 3rem);
  --text-md: clamp(1.375rem, 2vw, 1.75rem);

  --container: 1320px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --section-y: clamp(5rem, 10vw, 8.5rem);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { font-family: var(--font-body); color: var(--ink); background: var(--paper); line-height: 1.6; word-break: keep-all; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
.wide { width: min(1560px, 100% - var(--gutter) * 2); margin-inline: auto; }

.display { font-family: var(--font-display); text-transform: uppercase; line-height: 0.98; letter-spacing: 0.01em; font-weight: 800; font-synthesis: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.625rem; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--purple); }
.eyebrow::before { content: ""; width: 2rem; height: 2px; background: var(--purple); }
.section-title { font-size: var(--text-lg); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; margin-top: 1rem; }
.section-desc { margin-top: 1rem; color: var(--gray-600); font-size: 1.0625rem; max-width: 46ch; }
.mono { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }

.btn { display: inline-flex; align-items: center; gap: 0.625rem; padding: 0.9375rem 1.75rem; border-radius: 4px; font-weight: 700; font-size: 1rem; line-height: 1; transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.25s; }
.btn .arrow { transition: transform 0.25s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--purple { background: var(--purple); color: #fff; }
.btn--purple:hover { background: var(--purple-deep); }
.btn--ghost { border: 1px solid rgba(255, 255, 255, 0.55); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--gray-700); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--gray-200); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- NAV (peerspace: 투명 → 스크롤 시 다크) ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; background: transparent; color: #fff; transition: background-color 0.3s, backdrop-filter 0.3s; }
.nav.is-scrolled, .nav.menu-open { background: rgba(18, 18, 18, 0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.nav__inner { display: flex; align-items: center; gap: 2.5rem; height: 64px; width: min(1560px, 100% - var(--gutter) * 2); margin-inline: auto; }
.nav__logo { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.02em; text-transform: uppercase; line-height: 1; white-space: nowrap; }
.nav__menu { display: flex; gap: 1.75rem; margin-left: auto; }
.nav__menu a { font-size: 0.9375rem; font-weight: 600; opacity: 0.85; transition: opacity 0.2s; }
.nav__menu a:hover { opacity: 1; }
.nav__tel { font-size: 0.9375rem; font-weight: 700; opacity: 0.9; white-space: nowrap; }
.nav__cta { background: #fff; color: var(--ink); padding: 0.5625rem 1.125rem; border-radius: 4px; font-size: 0.9375rem; font-weight: 700; transition: background-color 0.2s; white-space: nowrap; }
.nav__cta:hover { background: var(--gray-200); }
.nav__toggle { display: none; width: 40px; height: 40px; position: relative; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 8px; width: 24px; height: 2px; background: #fff; transition: transform 0.3s, top 0.3s, opacity 0.3s; }
.nav__toggle span { top: 19px; }
.nav__toggle span::before { left: 0; top: -7px; }
.nav__toggle span::after { left: 0; top: 7px; }
.nav.menu-open .nav__toggle span { background: transparent; }
.nav.menu-open .nav__toggle span::before { top: 0; transform: rotate(45deg); }
.nav.menu-open .nav__toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- HERO (peerspace: 풀블리드 사진 + 흰 검색바 → 진단 바, 아래 검정 밴드에 문장형 헤드라인) ---------- */
.hero {
  --hero-title-size: clamp(2.75rem, min(6.4vw, 10svh), 6rem);
  position: sticky; top: 0; z-index: 0;
  height: 100vh; height: 100svh; min-height: 560px;
  display: grid; grid-template-rows: minmax(0, 1fr) auto;
  background: var(--ink); color: #fff;
}
/* The opaque page surface scrolls over the pinned hero, not alongside it. */
.page-content, .footer { position: relative; z-index: 1; }
.page-content { background: var(--paper); }
section[id] { scroll-margin-top: 80px; }
.hero__media { position: relative; min-height: 0; overflow: hidden; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; transform: scale(1.04); animation: heroZoom 16s ease-in-out infinite alternate; }
@keyframes heroZoom { to { transform: scale(1.1); } }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,18,18,0.5) 0%, rgba(18,18,18,0.05) 35%, rgba(18,18,18,0.2) 100%); }
.hero__bar { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; width: min(880px, 100% - var(--gutter) * 2); background: #fff; color: var(--ink); border-radius: 4px; display: grid; grid-template-columns: 1.2fr 1fr auto; box-shadow: 0 24px 48px rgba(0,0,0,0.35); }
.hero__field { padding: 0.875rem 1.25rem; border-right: 1px solid var(--gray-200); display: grid; gap: 0.125rem; }
.hero__field label { font-size: 0.75rem; font-weight: 700; }
.hero__field select, .hero__field input { border: 0; background: transparent; font-size: 1rem; color: var(--ink); width: 100%; outline: none; }
.hero__field input::placeholder { color: var(--gray-500); }
.hero__go { margin: 0.5rem; border-radius: 4px; background: var(--ink); color: #fff; padding: 0 1.5rem; font-weight: 700; display: inline-flex; align-items: center; gap: 0.5rem; white-space: nowrap; transition: background-color 0.2s; }
.hero__go:hover { background: var(--purple); }
.hero__band { position: relative; z-index: 3; padding: 0 0 clamp(1.5rem, 3svh, 2.5rem); }
.hero__band .wide { margin-top: calc(var(--hero-title-size) * -0.4); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: end; }
.hero__title { font-size: var(--hero-title-size); font-weight: 800; letter-spacing: -0.03em; line-height: 1.04; }
.hero__caption { text-align: right; font-size: 0.9375rem; font-weight: 600; color: rgba(255,255,255,0.9); }
.hero__caption .mono { display: block; margin-top: 0.375rem; color: rgba(255,255,255,0.6); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.875rem; margin-top: clamp(1rem, 2svh, 1.5rem); }

/* ---------- 키워드 칩 (peerspace popular keywords) ---------- */
.keywords { background: var(--plum); color: #fff; padding-block: 2rem 0; }
.keywords__row { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.keywords__row span { font-size: 0.8125rem; color: rgba(255,255,255,0.6); margin-right: 0.5rem; }
.chip { padding: 0.5rem 1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.28); font-size: 0.875rem; font-weight: 600; color: rgba(255,255,255,0.85); transition: all 0.2s; }
.chip:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- ODA BAND (peerspace 딥퍼플 어워즈 밴드 → 한 팀 선언) ---------- */
.band { position: relative; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 100%), var(--plum); color: #fff; padding-block: var(--section-y); overflow: hidden; }
.band__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.band__fan { position: relative; height: clamp(300px, 34vw, 440px); }
.band__card { position: absolute; top: 50%; left: 50%; width: clamp(150px, 16vw, 220px); aspect-ratio: 3 / 4; border: 6px solid #fff; box-shadow: 0 24px 48px rgba(0,0,0,0.4); background-size: cover; background-position: center; transition: transform 0.5s var(--ease-out); }
.band__card:nth-child(1) { transform: translate(-118%, -46%) rotate(-8deg); }
.band__card:nth-child(2) { transform: translate(-50%, -52%) rotate(2deg); z-index: 2; }
.band__card:nth-child(3) { transform: translate(16%, -44%) rotate(9deg); }
.band__fan:hover .band__card:nth-child(1) { transform: translate(-126%, -48%) rotate(-10deg); }
.band__fan:hover .band__card:nth-child(2) { transform: translate(-50%, -56%) rotate(0deg); }
.band__fan:hover .band__card:nth-child(3) { transform: translate(22%, -46%) rotate(11deg); }
.band__eyebrow { color: rgba(255,255,255,0.85); }
.band__eyebrow::before { background: #fff; }
.band__title { font-size: var(--text-xl); margin-top: 1rem; }
.band__desc { margin-top: 1.25rem; color: rgba(255,255,255,0.82); max-width: 42ch; }
.band__link { display: inline-flex; align-items: center; gap: 0.75rem; margin-top: 2rem; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,0.5); padding-bottom: 0.25rem; }
.band__link:hover { border-color: #fff; }
.band__chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2.25rem; }
.band__chip { font-size: 0.8125rem; font-weight: 600; padding: 0.375rem 0.875rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.3); color: rgba(255,255,255,0.85); }
.band__chip b { color: #fff; margin-right: 0.375em; }

/* ---------- SERVICES (peerspace activities 탭 로테이션) ---------- */
.services { padding-block: var(--section-y); }
.services__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; margin-top: 3rem; }
.services__list { display: flex; flex-direction: column; }
.services__item { text-align: left; padding: 1rem 0; border-bottom: 1px solid var(--gray-200); display: grid; grid-template-columns: auto 1fr; column-gap: 1.25rem; align-items: baseline; transition: color 0.25s; color: var(--gray-500); }
.services__item .name { font-size: clamp(1.25rem, 2.2vw, 1.75rem); font-weight: 800; letter-spacing: -0.01em; }
.services__item .tag { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; justify-self: end; }
.services__item .desc { grid-column: 1 / -1; font-size: 0.9375rem; color: var(--gray-600); height: 0; overflow: hidden; opacity: 0; transition: opacity 0.45s; }
.services__item.is-active { color: var(--ink); }
.services__item.is-active .tag { color: var(--purple); }
/* Reserve the same description height for every selection so later sections stay still. */
.services__item.is-active .desc { height: 4.5rem; opacity: 1; margin-top: 0.5rem; }
.services__item:hover { color: var(--ink); }
.services__stage { position: relative; aspect-ratio: 4 / 5; max-height: 640px; border-radius: 8px; overflow: hidden; background: var(--gray-50); }
.services__img { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.03); transition: opacity 0.6s ease, transform 0.6s var(--ease-out); }
.services__img.is-active { opacity: 1; transform: none; }
.services__img .badge { position: absolute; left: 1.25rem; bottom: 1.25rem; background: rgba(18,18,18,0.82); color: #fff; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; padding: 0.5rem 0.875rem; border-radius: 4px; }
.services__img .cta { position: absolute; right: 1.25rem; bottom: 1.25rem; background: #fff; color: var(--ink); font-size: 0.8125rem; font-weight: 700; padding: 0.5rem 0.875rem; border-radius: 4px; }

/* ---------- WHY (peerspace why 3열) ---------- */
.why { padding-block: var(--section-y); background: var(--gray-50); }
.why__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: end; }
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 3rem; }
.why__card { border-radius: 8px; padding: 2rem 1.75rem; background: var(--ink); color: #fff; display: flex; flex-direction: column; min-height: 300px; }
.why__card:nth-child(2) { background: var(--purple); }
.why__card:nth-child(3) { background: var(--cream); color: var(--ink); }
.why__num { font-family: var(--font-display); font-size: 1.125rem; opacity: 0.6; }
.why__card h3 { font-size: 1.375rem; font-weight: 800; margin-top: auto; padding-top: 3rem; }
.why__card ul { margin-top: 1rem; display: grid; gap: 0.5rem; }
.why__card li { font-size: 0.9375rem; opacity: 0.85; padding-left: 1.125rem; position: relative; }
.why__card li::before { content: "—"; position: absolute; left: 0; opacity: 0.6; }

/* ---------- GALLERY (peerspace MADE IN 메가) ---------- */
.gallery { padding-block: var(--section-y); background: var(--ink); color: #fff; }
.gallery__showcase { --gallery-card: clamp(240px, 19vw, 340px); --gallery-gap: clamp(16px, 2.4vw, 40px); position: relative; padding-block: clamp(70px, 7vw, 125px); isolation: isolate; }
.gallery__mega { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; align-items: center; font-family: var(--font-body); font-size: clamp(64px, 10.7vw, 190px); font-weight: 900; line-height: 0.94; letter-spacing: -0.055em; text-align: center; pointer-events: none; }
.gallery__mega span { white-space: nowrap; }
.gallery__viewport { position: relative; }
.gallery__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-top: 1.75rem; }
.gallery__tab { padding: 0.5625rem 1.25rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.28); font-size: 0.9063rem; font-weight: 600; color: rgba(255,255,255,0.8); transition: all 0.25s; }
.gallery__tab:hover { border-color: #fff; color: #fff; }
.gallery__tab.is-active { background: #fff; border-color: #fff; color: var(--ink); }
.gallery__grid { position: relative; display: flex; gap: var(--gallery-gap); overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding-inline: var(--gutter); }
.gallery__grid::-webkit-scrollbar { display: none; }
.gallery__item { flex: 0 0 var(--gallery-card); aspect-ratio: 2 / 3; overflow: hidden; position: relative; scroll-snap-align: start; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-out); }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item .cap { position: absolute; inset: auto 0 0 0; padding: 2rem 1rem 0.875rem; background: linear-gradient(transparent, rgba(18,18,18,0.75)); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; opacity: 0; transition: opacity 0.3s; }
.gallery__item:hover .cap, .gallery__grid:focus-visible .cap { opacity: 1; }
.gallery__item.is-hidden { display: none; }
.gallery__arrow { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); width: 64px; height: 64px; display: grid; place-items: center; color: #fff; font-family: Arial, sans-serif; font-size: 58px; line-height: 1; text-shadow: 0 2px 12px rgba(0,0,0,0.6); background: rgba(18,18,18,0.25); transition: background-color 0.2s; }
.gallery__arrow:hover { background: rgba(18,18,18,0.6); }
.gallery__arrow--prev { left: var(--gutter); }
.gallery__arrow--next { right: var(--gutter); }
.gallery__arrow:disabled { opacity: 0.35; cursor: default; }
.gallery__details { margin-top: 2.5rem; }
.gallery__pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; }
.gallery__dot { width: 24px; height: 32px; display: grid; place-items: center; }
.gallery__dot::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #777; transition: background-color 0.2s, transform 0.2s; }
.gallery__dot[aria-current="true"]::before { background: #fff; transform: scale(1.6); }
.gallery__position { text-align: center; font-size: 0.75rem; letter-spacing: 0.12em; color: #aeafbd; }
.gallery__story { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding-top: 3.5rem; margin-top: 3rem; border-top: 1px solid rgba(255,255,255,0.2); }
.gallery__story h3 { font-size: clamp(1.75rem, 3.2vw, 3rem); line-height: 1.3; letter-spacing: -0.035em; }
.gallery__story p { max-width: 48ch; color: #d1d3db; font-size: 1.0625rem; }
.gallery__cta { display: inline-flex; align-items: center; gap: 1.5rem; padding-block: 1rem; margin-top: 1rem; border-bottom: 1px solid #fff; font-weight: 700; }
.gallery__arrow:focus-visible, .gallery__dot:focus-visible, .gallery__tab:focus-visible, .gallery__cta:focus-visible, .gallery__grid:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.gallery__note { margin-top: 1.5rem; text-align: center; font-size: 0.8125rem; color: rgba(255,255,255,0.45); }

/* ---------- INDUSTRY (peerspace cities 리스트 + 이미지 스왑) ---------- */
.industry { padding-block: var(--section-y); background: var(--ink); color: #fff; border-top: 1px solid rgba(255,255,255,0.12); }
.industry__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); margin-top: 3rem; align-items: start; }
.industry__list { display: flex; flex-direction: column; }
.industry__row { display: grid; grid-template-columns: 1fr auto; align-items: center; row-gap: 0.25rem; padding: 1.375rem 0; border-bottom: 1px solid rgba(255,255,255,0.16); color: rgba(255,255,255,0.6); text-align: left; transition: color 0.25s; }
.industry__row .name { font-size: clamp(1.5rem, 2.6vw, 2.125rem); font-weight: 800; letter-spacing: -0.01em; display: inline-flex; align-items: baseline; gap: 0.5rem; }
.industry__row .name sup { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; color: var(--gray-500); }
.industry__row .info { grid-column: 1; font-size: 0.875rem; color: var(--gray-500); display: flex; flex-wrap: wrap; gap: 0.375rem 1.25rem; }
.industry__row .go { grid-row: 1 / span 2; grid-column: 2; display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.06em; opacity: 0; transform: translateX(-6px); transition: opacity 0.25s, transform 0.25s; color: #fff; }
.industry__row:hover, .industry__row.is-active { color: #fff; }
.industry__row:hover .go, .industry__row.is-active .go { opacity: 1; transform: none; }
.industry__stage { position: sticky; top: 96px; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--ink-soft); }
.industry__img { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 0.5s ease; }
.industry__img.is-active { opacity: 1; }
.industry__img .badge { position: absolute; left: 1.25rem; bottom: 1.25rem; background: rgba(18,18,18,0.82); color: #fff; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; padding: 0.5rem 0.875rem; border-radius: 4px; }

/* ---------- PROCESS (peerspace 크림 밴드 "Where extraordinary begins") ---------- */
.process { padding-block: var(--section-y); background: var(--cream); }
.process__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3rem; }
.process__card { background: #fff; border: 1px solid rgba(18,18,18,0.08); border-radius: 8px; padding: 1.75rem 1.5rem; transition: transform 0.3s var(--ease-out), box-shadow 0.3s; }
.process__card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(18,18,18,0.08); }
.process__step { font-family: var(--font-display); font-size: 2rem; color: var(--purple); line-height: 1; }
.process__card h3 { margin-top: 1rem; font-size: 1.0625rem; font-weight: 800; }
.process__card p { margin-top: 0.5rem; font-size: 0.9063rem; color: var(--gray-600); line-height: 1.55; }
.process__card .when { display: inline-block; margin-top: 0.875rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; padding: 0.25rem 0.625rem; border-radius: 999px; background: var(--cream); color: var(--ink); }

/* ---------- START (peerspace blog 3열 카드) ---------- */
.start { padding-block: var(--section-y); }
.start__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 3rem; }
.start__card { border: 1px solid var(--gray-200); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; }
.start__card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.start__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.start__body .tag { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--purple); }
.start__body h3 { margin-top: 0.5rem; font-size: 1.25rem; font-weight: 800; }
.start__focus { margin-top: 1rem; font-size: 1.125rem; font-weight: 700; line-height: 1.5; letter-spacing: -0.02em; }
.start__price { margin-top: 0.75rem; font-size: 0.875rem; color: var(--gray-600); }
.start__price b { display: block; font-family: var(--font-display); font-size: 2.25rem; color: var(--ink); line-height: 1; }
.start__price b small { font-family: var(--font-body); font-size: 0.9rem; font-weight: 700; margin-left: 0.2em; }
.start__body ul { margin-top: 0.875rem; display: grid; gap: 0.375rem; font-size: 0.9063rem; color: var(--gray-700); }
.start__body li::before { content: "— "; color: var(--gray-500); }
.start__body a { margin-top: auto; padding-top: 1.25rem; font-weight: 700; color: var(--purple); }
.start__note { margin-top: 1.5rem; font-size: 0.8125rem; color: var(--gray-500); }

/* ---------- FAQ ---------- */
.faq { padding-block: var(--section-y); background: var(--gray-50); }
.faq__list { margin-top: 2.5rem; max-width: 860px; margin-inline: auto; }
.faq__item { background: #fff; border: 1px solid var(--gray-200); border-radius: 8px; margin-bottom: 0.75rem; overflow: hidden; }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem 1.5rem; text-align: left; font-size: 1.0625rem; font-weight: 700; }
.faq__q::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--purple); transition: transform 0.3s; flex-shrink: 0; }
.faq__item.is-open .faq__q::after { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease-out); }
.faq__a p { padding: 0 1.5rem 1.375rem; color: var(--gray-600); font-size: 0.9688rem; }

/* ---------- CTA + FORM (퍼플 밴드) ---------- */
.cta { padding-block: var(--section-y); background: var(--purple); color: #fff; }
.cta__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.cta__title { font-size: var(--text-xl); }
.cta__desc { margin-top: 1.25rem; font-size: 1.0625rem; opacity: 0.92; max-width: 40ch; }
.cta__gets { margin-top: 1.75rem; display: grid; gap: 0.5rem; font-weight: 600; }
.cta__gets li::before { content: "✓ "; }
.cta__tel { display: inline-flex; align-items: center; gap: 0.625rem; margin-top: 2rem; padding: 0.875rem 1.375rem; border: 1px solid rgba(255,255,255,0.6); border-radius: 4px; font-weight: 700; }
.cta__tel:hover { background: rgba(255,255,255,0.12); }
.cta__alt { margin-top: 1rem; font-size: 0.875rem; opacity: 0.85; }
.cta__alt a { text-decoration: underline; }
.form { background: #fff; color: var(--ink); border-radius: 8px; padding: 2rem; display: grid; gap: 0.875rem; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.875rem; }
.form label { display: grid; gap: 0.375rem; font-size: 0.8125rem; font-weight: 700; }
.form label small { font-weight: 500; color: var(--gray-600); }
.form input, .form select, .form textarea { width: 100%; min-height: 46px; padding: 0.625rem 0.875rem; border: 1px solid var(--gray-300); border-radius: 4px; background: #fff; font-size: 0.9375rem; }
.form textarea { min-height: 100px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(133,89,236,0.2); }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .consent { display: flex; gap: 0.625rem; align-items: flex-start; font-size: 0.8125rem; color: var(--gray-600); }
.form .consent input { width: 16px; height: 16px; min-height: 0; margin-top: 2px; accent-color: var(--purple); }
.form .consent label { display: inline; font-weight: 600; color: var(--ink); }
.form .consent summary { cursor: pointer; color: var(--purple); margin-top: 2px; }
.form .consent details p { margin-top: 0.375rem; line-height: 1.7; }
.form button[type="submit"] { min-height: 52px; border-radius: 4px; background: var(--ink); color: #fff; font-weight: 700; font-size: 1rem; transition: background-color 0.2s; }
.form button[type="submit"]:hover { background: var(--gray-700); }
.form button:disabled { opacity: 0.6; cursor: default; }
.form-msg { display: none; padding: 0.75rem 0.875rem; border-radius: 4px; font-size: 0.875rem; font-weight: 600; }
.form-msg.ok { display: block; background: #e8f7ee; color: #0b5a2a; }
.form-msg.err { display: block; background: #fdecea; color: #8a1c12; }

/* ---------- FOOTER (peerspace 다크 컬럼) ---------- */
.footer { background: var(--ink); color: #fff; padding: 4.5rem 0 2.5rem; }
.footer__top { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 2rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.14); }
.footer__logo { font-family: var(--font-display); font-size: 2rem; text-transform: uppercase; line-height: 0.95; }
.footer__logo em { font-style: normal; color: var(--purple); }
.footer__tag { margin-top: 1rem; font-size: 0.875rem; color: var(--gray-500); max-width: 32ch; }
.footer h4 { font-size: 0.9375rem; font-weight: 800; margin-bottom: 1rem; }
.footer ul { display: grid; gap: 0.625rem; font-size: 0.9375rem; color: var(--gray-500); }
.footer ul a:hover { color: #fff; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.75rem; font-size: 0.8125rem; color: var(--gray-600); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .process__grid, .start__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: 1fr; }
  .why__card { min-height: 0; }
  .why__card h3 { padding-top: 1.5rem; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav__menu { position: fixed; inset: 64px 0 auto 0; flex-direction: column; gap: 0; background: rgba(18,18,18,0.97); padding: 0.75rem 0 1.25rem; display: none; }
  .nav.menu-open .nav__menu { display: flex; }
  .nav__menu a { padding: 0.875rem var(--gutter); }
  .nav__toggle { display: block; margin-left: auto; }
  .nav__tel { display: none; }
  .hero { --hero-title-size: clamp(2rem, 7vw, 3.5rem); position: relative; height: auto; min-height: 0; display: block; }
  .hero__band { padding: 1.5rem 0 2rem; }
  .hero__band .wide { margin-top: 0; }
  .hero__media { height: auto; min-height: 0; padding: calc(64px + 58vw) var(--gutter) 1.25rem; }
  .hero__bar { position: relative; left: auto; top: auto; transform: none; width: 100%; margin: 0; grid-template-columns: 1fr; }
  .hero__field { border-right: 0; border-bottom: 1px solid var(--gray-200); }
  .hero__go { justify-content: center; padding: 0.875rem; }
  .hero__band .wide { grid-template-columns: 1fr; }
  .hero__caption { text-align: left; }
  .band__inner, .services__grid, .industry__grid, .why__head, .cta__grid { grid-template-columns: 1fr; }
  .band__fan { order: 2; margin-top: 1rem; }
  .services__stage { order: -1; aspect-ratio: 4 / 3; }
  .industry__stage { position: relative; top: auto; order: -1; }
  .industry__row .go { opacity: 1; transform: none; }
}
@media (max-width: 560px) {
  .process__grid, .start__grid, .footer__top, .form .row2 { grid-template-columns: 1fr; }
  .gallery__showcase { --gallery-card: 72vw; --gallery-gap: 16px; padding-block: 52px; }
  .gallery__mega { font-size: 15.4vw; }
  .gallery__arrow { width: 48px; height: 48px; font-size: 42px; }
  .gallery__story { grid-template-columns: 1fr; gap: 1.25rem; padding-top: 2rem; margin-top: 2rem; }
  .gallery__item .cap { opacity: 1; }
  .form { padding: 1.25rem; }
}
/* Short landscape screens keep all copy and controls reachable. */
@media (min-width: 861px) and (max-height: 560px) {
  .hero { position: relative; height: auto; min-height: 0; }
  .hero__media { height: 65vh; min-height: 240px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero { position: relative; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__media img { animation: none; transform: none; }
}


/* ==========================================================================
   AI LAB (2026-10-09) — 자체 AI 서비스 소개. why 카드 문법을 다크 배경으로 변주
   ========================================================================== */
.ai { padding-block: var(--section-y); background: var(--ink); color: #fff; }
.ai__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: end; }
.ai__desc { color: rgba(255,255,255,0.72); }
.ai__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 3rem; }
.ai__card { position: relative; display: flex; flex-direction: column; border-radius: 8px; padding: 1.75rem 1.5rem; background: var(--ink-soft); border: 1px solid rgba(255,255,255,0.1); min-height: 320px; transition: border-color 0.25s, transform 0.25s var(--ease-out); }
.ai__card:hover { border-color: rgba(133,89,236,0.6); transform: translateY(-4px); }
.ai__card--feature { background: var(--purple); border-color: var(--purple); }
.ai__card--feature:hover { border-color: #fff; }
.ai__status { align-self: flex-start; font-size: 0.75rem; font-weight: 700; padding: 0.3125rem 0.75rem; border-radius: 999px; border: 1px solid currentColor; }
.ai__status.is-live { color: var(--green); }
.ai__status.is-beta { color: var(--yellow); }
.ai__status.is-dev { color: var(--gray-500); }
.ai__card--feature .ai__status { color: #fff; background: rgba(255,255,255,0.14); }
.ai__tag { margin-top: auto; padding-top: 2.5rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.6; }
.ai__card h3 { font-size: 1.25rem; font-weight: 800; line-height: 1.35; margin-top: 0.5rem; }
.ai__card p { margin-top: 0.75rem; font-size: 0.9375rem; line-height: 1.65; color: rgba(255,255,255,0.78); }
.ai__card--feature p { color: rgba(255,255,255,0.9); }
.ai__link { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.25rem; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,0.5); padding-bottom: 0.2rem; align-self: flex-start; }
.ai__link:hover { border-color: #fff; }
.ai__link--sub { margin-top: 0.75rem; }
.ai__note { margin-top: 0.5rem; font-size: 0.75rem; color: rgba(255,255,255,0.5); }
@media (max-width: 1024px) {
  .ai__grid { grid-template-columns: repeat(2, 1fr); }
  .ai__card { min-height: 0; }
  .ai__tag { padding-top: 1.75rem; }
}
@media (max-width: 860px) {
  .ai__head { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ai__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .ai__card, .ai__card:hover { transition: none; transform: none; }
}
