/* ========== Design tokens ========== */
/* 색은 오렌지·검정·흰색 세 가지로 쓴다 */
:root {
  --color-brand: #ff4b1f;        /* 붉은 오렌지: 첫 화면, 핵심 강조, 문의 섹션 */
  --color-brand-deep: #e6380c;   /* 오렌지 버튼 hover */
  --color-ink: #000000;
  --color-ink-soft: #2b2b2b;     /* 검정 버튼 hover */
  --color-tile: #262626;         /* 첫 화면 빈 사진 칸 */
  --color-paper: #ffffff;
  --color-muted: #595959;
  --color-muted-dark: #a6a6a6;   /* 검정 배경 위 보조 글자 */
  --color-line: #d4d4d4;
  --color-line-dark: rgba(255, 255, 255, 0.24);
  --color-field: #8c8c8c;
  --color-error: #b42318;
  --color-success: #0f7a4f;
  --focus: var(--color-ink);

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-display: var(--font);   /* 한글 제목: Pretendard ExtraBold(800), 자간을 좁혀 진지한 고딕으로 */
  --weight-display: 800;
  --font-latin: "Anton", "Pretendard Variable", Pretendard, sans-serif; /* 영문 워드마크와 숫자만 */

  --container: 1200px;
  --gutter: 16px;
  --header-h: 60px;
  --section-pad: 88px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ========== Base ========== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
/* 안전장치: 어떤 요소가 화면 밖으로 삐져나가도 페이지가 좌우로 움직이지 않게 한다(clip은 sticky를 깨지 않는다) */
html, body { overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--color-ink);
  background: var(--color-paper);
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -0.03em; }
p, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img, svg, video { display: block; max-width: 100%; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  padding: 10px 16px; background: var(--color-ink); color: var(--color-paper);
}
.skip-link:focus { top: 12px; }

.text-link { text-decoration: underline; text-underline-offset: 3px; }

.star { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; }

/* 줄 단위로 아래에서 올라오는 글자 */
.line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.line__inner { display: inline-block; }

/* ========== Buttons ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 10px 22px; border: 0; border-radius: 999px;
  font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn--ink { background: var(--color-ink); color: var(--color-paper); }
.btn--ink:hover { background: var(--color-ink-soft); }
.btn--brand { background: var(--color-brand); color: var(--color-ink); }
.btn--brand:hover { background: var(--color-brand-deep); }
.btn--sm { min-height: 36px; padding: 6px 16px; font-size: 14px; }
.btn--lg { min-height: 56px; padding: 14px 32px; font-size: 17px; }
.btn--block { width: 100%; }

/* ========== Header ========== */
/* 첫 화면(검정) 위에서는 흰 글자, 스크롤하면 흰 배경으로 위에 고정된다(.is-fixed) */
.header { position: absolute; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h); color: var(--color-paper); --focus: var(--color-paper); }
.header.is-fixed {
  position: fixed; background: var(--color-paper); color: var(--color-ink); --focus: var(--color-ink);
  box-shadow: 0 1px 0 var(--color-line);
  animation: header-in .35s var(--ease);
}
@keyframes header-in { from { transform: translateY(-100%); } }
.header__inner {
  height: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
}
.logo { display: inline-flex; align-items: center; gap: 10px; position: relative; z-index: 110; }
.logo__img { width: 50px; height: 50px; flex: none; object-fit: cover; }
.logo__text { font-family: var(--font-latin); font-size: 18px; letter-spacing: 0.01em; }
.header:not(.is-fixed) .logo__text { display: none; }

.nav-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  width: 44px; height: 44px; margin: 0 -10px 0 auto; padding: 12px 10px;
  border: 0; background: none; cursor: pointer; position: relative; z-index: 110;
}
.nav-toggle span { display: block; height: 2px; background: currentColor; transition: transform .3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* 모바일 메뉴: 전체 화면 패널 */
.nav {
  position: fixed; inset: 0; z-index: 105; background: var(--color-brand);
  padding: calc(var(--header-h) + 24px) var(--gutter) 24px;
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.nav.is-open { opacity: 1; visibility: visible; }
.nav__list { display: flex; flex-direction: column; }
.nav__list a:not(.btn) {
  display: block; padding: 10px 0; font-family: var(--font-display); font-weight: var(--weight-display); font-size: 36px; line-height: 1.2; letter-spacing: -0.04em;
  border-bottom: 1px solid var(--color-ink);
}
.nav.is-open .nav__list li { animation: menu-in .5s var(--ease) both; }
.nav.is-open .nav__list li:nth-child(2) { animation-delay: .04s; }
.nav.is-open .nav__list li:nth-child(3) { animation-delay: .08s; }
.nav.is-open .nav__list li:nth-child(4) { animation-delay: .12s; }
.nav.is-open .nav__list li:nth-child(5) { animation-delay: .16s; }
.nav.is-open .nav__list li:nth-child(6) { animation-delay: .2s; }
@keyframes menu-in { from { opacity: 0; transform: translateY(24px); } }
.nav__cta-item { margin-top: 24px; }
.nav__cta-item .btn { width: 100%; min-height: 52px; font-size: 16px; }
body.nav-open { overflow: hidden; }
body.nav-open .header { background: transparent; box-shadow: none; color: var(--color-ink); --focus: var(--color-ink); }

/* ========== Hero (검정 배경 + 가운데 워드마크 + 사진 칸) ========== */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  background: var(--color-ink); color: var(--color-paper); --focus: var(--color-paper);
}
.hero__stage {
  position: relative; flex: 1; display: grid; place-items: center;
  padding: calc(var(--header-h) + 48px) var(--gutter) 48px;
}
.hero__title {
  position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center;
  font-family: var(--font-latin); font-weight: 400; font-size: min(22vw, 25vh);
  line-height: 0.86; letter-spacing: 0; will-change: transform;
}
.hero__word { display: block; overflow: hidden; padding-top: 0.04em; }
/* 워드마크 위 작은 한국어 소개 */
.hero__kicker {
  display: block; margin-bottom: 20px;
  font-family: var(--font); font-size: clamp(14px, 1.3vw, 18px); font-weight: 600;
  line-height: 1.4; letter-spacing: 0.12em; text-indent: 0.12em; /* 자간만큼 오른쪽이 비어 보이지 않게 들여쓰기로 가운데 보정 */
}

/* 사진 칸: images/hero-N.jpg, 없으면 빈 칸 */
.shot { position: absolute; z-index: 0; will-change: transform; }
.shot__inner {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  background: var(--color-tile) center / cover no-repeat;
}
.shot--1 { top: 8%; left: 34%; width: 34vw; aspect-ratio: 16 / 10; }
.shot--1 .shot__inner { background-image: url("../images/hero-1.jpg"); }
.shot--2 { top: 22%; left: 0; width: 22vw; aspect-ratio: 2 / 3; }
.shot--2 .shot__inner { background-image: url("../images/hero-2.jpg"); }
.shot--3 { bottom: 4%; left: 5%; width: 30vw; aspect-ratio: 4 / 5; }
.shot--3 .shot__inner { background-image: url("../images/hero-3.jpg"); background-position: 70% center; } /* 가로 사진을 세로 칸에: 모니터 쪽을 보이게 */
.shot--4 { bottom: 12%; right: 0; width: 40vw; aspect-ratio: 3 / 2; }
.shot--4 .shot__inner { background-image: url("../images/hero-4.jpg"); } /* showreel.mp4가 있으면 영상이 이 사진 위를 덮는다 */
.shot__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s; }
.shot.has-video .shot__video { opacity: 1; }

.hero__bar {
  position: relative; z-index: 2; display: grid; gap: 12px;
  margin: 0 var(--gutter); padding: 20px 0 28px; border-top: 1px solid var(--color-line-dark);
}
.hero__place { font-size: 14px; font-weight: 600; line-height: 1.5; }
.hero__lede { max-width: 34em; font-size: clamp(16px, 1.45vw, 20px); line-height: 1.6; color: var(--color-brand); }
.hero__lede strong { display: block; font-size: 1.15em; font-weight: 800; }
.hero__actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero__cta { min-height: 48px; padding: 10px 24px; font-size: 16px; }
.hero__link { font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

@keyframes marquee { to { transform: translateX(-50%); } }

/* data-fit: 글자 크기는 JS가 부모 폭에 맞춘다 */
[data-fit] { display: block; width: max-content; white-space: nowrap; font-size: 18vw; }
.char { display: inline-block; }

/* ========== Common section ========== */
.section { padding: var(--section-pad) 0; }
.section--dark { background: var(--color-ink); color: var(--color-paper); --focus: var(--color-paper); }
.section--brand { background: var(--color-brand); }
.section--rule { border-top: 1px solid var(--color-line); }

.section__head { margin-bottom: 48px; }
.section__title { font-family: var(--font-display); font-weight: var(--weight-display); font-size: clamp(32px, 4.6vw, 64px); line-height: 1.2; letter-spacing: -0.03em; }
.section__title, .prc-hero__title, .svc-hero__title, .limit__title { text-wrap: balance; }
.section__desc { margin-top: 18px; max-width: 34em; font-size: clamp(16px, 1.5vw, 18px); color: var(--color-muted); }
.section--dark .section__desc { color: var(--color-muted-dark); }
.section--dark .text-link { color: var(--color-paper); }
.section--brand .section__desc { color: var(--color-ink); }
/* 강조 설명(메인 문제 섹션): 흰 바탕 오렌지는 큰 굵은 글씨여야 읽기 기준(3:1)을 넘는다 → 19px 이상 + 진한 오렌지 */
.section__desc--accent { font-size: clamp(19px, 1.7vw, 22px); font-weight: 700; line-height: 1.55; color: var(--color-brand-deep); }
.section__desc--stake { font-size: clamp(21px, 2.1vw, 28px); font-weight: 800; line-height: 1.45; letter-spacing: -0.01em; }
/* 문제 섹션: 제목(왼쪽 위) → 답(오른쪽 아래로 내려앉음) → 세 가지 이유 */
/* 모든 글을 같은 왼쪽 선에 맞춰 위에서 아래로 쌓는다(사용자: 흩어져 보이지 않게) */
.problem__head { display: grid; gap: 32px; max-width: 880px; }
.problem__stake { font-size: clamp(17px, 1.6vw, 20px); font-weight: 600; line-height: 1.6; color: var(--color-muted); }
.problem__stake strong {
  display: block; margin-top: 6px; font-family: var(--font-display); font-weight: var(--weight-display);
  font-size: clamp(24px, 2.8vw, 38px); line-height: 1.3; letter-spacing: -0.02em; color: var(--color-brand-deep);
}
.reasons__lead { margin: 64px 0 16px; font-size: clamp(16px, 1.5vw, 18px); font-weight: 700; }
.reasons__lead strong { color: var(--color-brand-deep); }

/* 오래 함께하기: 달마다 자라는 막대 */
.together__kicker { margin-bottom: 14px; font-size: 14px; font-weight: 700; color: var(--color-brand-deep); }
.together__desc { margin-top: 20px; max-width: 34em; font-size: clamp(16px, 1.5vw, 18px); line-height: 1.75; color: var(--color-muted); }
.together__months { display: grid; gap: 32px; margin-top: 56px; }
.together__month { display: grid; gap: 6px; align-content: end; }
/* 모바일: 가로 막대가 달마다 길어진다 / 1024px 이상: 세로 막대가 달마다 높아진다 */
.together__bar { display: block; width: calc(var(--h, 1) * 33.34%); height: 14px; margin-bottom: 12px; background: var(--color-ink); transform-origin: left; }
.together__month:nth-child(1) .together__bar { --h: 1; background: var(--color-line); }
.together__month:nth-child(2) .together__bar { --h: 2; background: var(--color-muted-dark); }
.together__month:nth-child(3) .together__bar { --h: 3; background: var(--color-brand); }
.together__m { font-family: var(--font-latin); font-size: 40px; line-height: 1; }
.together__m .unit { margin-left: 4px; font-size: 0.4em; }
.together__month h3 { font-family: var(--font-display); font-weight: var(--weight-display); font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.02em; }
.together__month p:last-child { font-size: 15px; line-height: 1.65; color: var(--color-muted); }
.together__note { margin-top: 48px; padding-top: 20px; border-top: 2px solid var(--color-ink); font-size: clamp(16px, 1.5vw, 19px); }
.together__note strong { color: var(--color-brand-deep); }
.js .together__bar { transform: scaleX(0); transition: transform .8s var(--ease); }
.js .together__months.is-visible .together__bar { transform: none; }
.js .together__months.is-visible .together__month:nth-child(2) .together__bar { transition-delay: .25s; }
.js .together__months.is-visible .together__month:nth-child(3) .together__bar { transition-delay: .5s; }
.channel__hot, .method__hot {
  display: inline-block; margin-left: 8px; padding: 2px 8px; font-style: normal; font-size: 12px; font-weight: 800;
  background: var(--color-brand); color: var(--color-ink); vertical-align: middle; letter-spacing: 0;
}
.method__hot { font-family: var(--font); font-size: 13px; line-height: 1.5; vertical-align: 0.6em; }

.subhead { margin-bottom: 8px; font-size: 15px; font-weight: 600; color: var(--color-muted-dark); letter-spacing: 0; }
.note { margin-top: 32px; font-size: 14px; color: var(--color-muted); }

/* ========== Problem ========== */
.reasons__row { display: grid; gap: 8px; padding: 26px 0; border-top: 2px solid var(--color-ink); }
.reasons__row:last-child { border-bottom: 2px solid var(--color-ink); }
.reasons dt { font-size: clamp(22px, 2.8vw, 34px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.3; }
.reasons dd { font-size: clamp(16px, 1.5vw, 19px); color: var(--color-muted); }

/* ========== Service (메인 요약: 6가지 채널 카드) ========== */
/* 칸 사이를 1px 선으로 나눈 격자. 마우스를 올리면 칸이 오렌지로 차오른다 */
.channels {
  display: grid; grid-template-columns: 1fr; gap: 1px;
  background: var(--color-line-dark); border: 1px solid var(--color-line-dark);
}
.channel { background: var(--color-ink); }
.channel__link {
  position: relative; display: flex; flex-direction: column; height: 100%; min-height: 180px;
  padding: 24px; overflow: hidden; isolation: isolate;
}
.channel__link::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--color-brand);
  transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease);
}
.channel__link:hover::before, .channel__link:focus-visible::before { transform: none; }
.channel__link:focus-visible { outline-offset: -3px; }
.channel__tag { font-size: 13px; font-weight: 700; color: var(--color-muted-dark); transition: color .3s var(--ease); }
.channel__name {
  margin-top: auto; padding-top: 32px;
  font-family: var(--font-display); font-weight: var(--weight-display);
  font-size: clamp(28px, 3vw, 40px); line-height: 1.15; letter-spacing: -0.045em;
}
.channel__desc { margin-top: 10px; font-size: 15px; line-height: 1.6; color: #d4d4d4; transition: color .3s var(--ease); }
.channel__link:hover .channel__tag, .channel__link:hover .channel__desc,
.channel__link:focus-visible .channel__tag, .channel__link:focus-visible .channel__desc { color: var(--color-ink); }
.channel__link:hover .channel__name, .channel__link:focus-visible .channel__name { color: var(--color-ink); }
.channel--help .channel__link { background: var(--color-paper); color: var(--color-ink); }
.channel--help .channel__tag { color: var(--color-muted); }
.channel--help .channel__desc { color: var(--color-muted); }
.channels__foot { display: grid; gap: 20px; margin-top: 40px; }

/* 핵심 채널(릴스·게시물·스레드): 오렌지 칸으로 크게. 마우스를 올리면 검정으로 차오른다 */
.channel--core { background: var(--color-brand); }
.channel--core .channel__link { color: var(--color-ink); }
.channel--core .channel__link::before { background: var(--color-ink); }
.channel--core .channel__tag, .channel--core .channel__desc { color: var(--color-ink); }
.channel--core .channel__name { font-size: clamp(36px, 4.4vw, 60px); }
.channel--core .channel__hot { background: var(--color-ink); color: var(--color-paper); }
.channel--core .channel__link:hover, .channel--core .channel__link:focus-visible,
.channel--core .channel__link:hover .channel__tag, .channel--core .channel__link:hover .channel__desc,
.channel--core .channel__link:hover .channel__name,
.channel--core .channel__link:focus-visible .channel__tag, .channel--core .channel__link:focus-visible .channel__desc,
.channel--core .channel__link:focus-visible .channel__name { color: var(--color-paper); }
.channel--core .channel__link:hover .channel__hot,
.channel--core .channel__link:focus-visible .channel__hot { background: var(--color-brand); color: var(--color-ink); }
.channel--core .channel__link:focus-visible { outline-color: var(--color-paper); }
.channel--core .channel__link { min-height: 220px; }

/* 함께 운영할 수 있는 채널: 작은 칸 */
.channels__label { margin: 40px 0 14px; font-size: 14px; font-weight: 700; color: var(--color-muted-dark); }
.channels--more { grid-template-columns: repeat(2, 1fr); }
.channels--more .channel--help { grid-column: 1 / -1; }
.channels--more .channel__link { min-height: 150px; padding: 18px; }
.channels--more .channel__name { padding-top: 20px; font-size: clamp(22px, 2.2vw, 28px); }
.channels--more .channel__desc { font-size: 14px; }

/* 5팀 한정: 거대한 5 + 이유 세 줄 */
.five__inner { display: grid; gap: 8px; }
.five__num { font-family: var(--font-latin); font-size: clamp(180px, 34vw, 460px); line-height: .8; color: var(--color-brand); }
.five__lead { margin-top: 20px; font-size: clamp(19px, 1.8vw, 24px); font-weight: 700; line-height: 1.5; }
.five__reasons { margin-top: 40px; border-top: 1px solid var(--color-line-dark); }
.five__reasons li { display: grid; gap: 6px; padding: 20px 0; border-bottom: 1px solid var(--color-line-dark); }
.five__reasons strong { font-size: 18px; font-weight: 800; }
.five__reasons p { font-size: 15px; line-height: 1.65; color: var(--color-muted-dark); }
.five__cta { margin-top: 36px; }

/* ========== 철학: 사람 대 사람으로 ========== */
.philo { border-top: 2px solid var(--color-ink); }
.philo__kicker { font-size: 14px; font-weight: 700; color: var(--color-brand-deep); }
.philo__title {
  margin-top: 20px; font-family: var(--font-display); font-weight: var(--weight-display);
  font-size: clamp(30px, 5vw, 72px); line-height: 1.22; letter-spacing: -0.02em; text-wrap: balance;
}
/* "촬영 몇 개, 게시물 몇 개를": 숫자가 굴러가다 멈추면 오렌지 줄이 긋고, "아닙니다"에 형광펜이 칠해진다(data-strike) */
.philo__count { position: relative; display: inline-block; transition: color .5s var(--ease) .3s; }
.philo__count::after {
  content: ""; position: absolute; left: -0.08em; right: -0.08em; top: 54%; height: 0.11em;
  background: var(--color-brand); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.philo__tick { display: inline-block; min-width: 1.1em; text-align: center; font-weight: inherit; font-variant-numeric: tabular-nums; }
.philo__mark {
  padding: 0 0.12em; color: inherit;
  background: linear-gradient(var(--color-brand), var(--color-brand)) no-repeat left 88% / 0% 0.42em;
  transition: background-size .6s var(--ease) .55s;
}
.philo.is-struck .philo__count { color: var(--color-muted); }
.philo.is-struck .philo__count::after { transform: scaleX(1); }
.philo.is-struck .philo__mark { background-size: 100% 0.42em; }
/* JS가 없거나 동작 줄이기면 처음부터 그어진 상태 */
html:not(.js) .philo__count::after { transform: scaleX(1); }
html:not(.js) .philo__mark { background-size: 100% 0.42em; }
.philo__title em { font-style: normal; color: var(--color-brand); }
.philo__lead { margin-top: 28px; font-size: clamp(18px, 1.8vw, 22px); font-weight: 700; }
.philo__grid { display: grid; gap: 40px; margin-top: 72px; }
.philo__point { padding-top: 20px; border-top: 2px solid var(--color-ink); }
.philo__point-num { font-family: var(--font-latin); font-size: 28px; color: var(--color-brand); }
.philo__point h3 { margin-top: 8px; font-family: var(--font-display); font-weight: var(--weight-display); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.3; letter-spacing: -0.02em; }
.philo__point p:last-child { margin-top: 12px; font-size: 16px; line-height: 1.7; color: var(--color-muted); }
.letter { margin: 0; padding: 28px 24px; border: 2px solid var(--color-ink); }
.letter__body { margin: 0; display: grid; gap: 14px; font-size: 16px; line-height: 1.8; }
.letter__body p:first-child { font-weight: 700; }
.letter__sign { display: flex; flex-direction: column; align-items: flex-end; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--color-line); }
.letter__sign span { font-size: 13px; color: var(--color-muted); }
.letter__sign strong { margin-top: 2px; font-family: var(--font-display); font-weight: var(--weight-display); font-size: 22px; letter-spacing: -0.01em; }

/* ========== 게시물 하나 뒤의 일 ========== */
.behind__chain { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 0; margin-top: 56px; }
.behind__chain li {
  display: flex; align-items: center; font-family: var(--font-display); font-weight: var(--weight-display);
  font-size: clamp(22px, 3vw, 44px); line-height: 1.2; letter-spacing: -0.02em; color: var(--color-muted-dark);
}
.behind__chain li:not(:last-child)::after { content: "→"; margin: 0 0.35em; font-weight: 400; font-size: 0.6em; color: var(--color-line); }
.behind__chain .behind__seen { color: var(--color-ink); }
.behind__seen span { padding: 0 0.3em; background: var(--color-brand); }
.behind__caption { margin-top: 24px; font-size: clamp(16px, 1.5vw, 19px); }
.behind__caption strong { color: var(--color-brand-deep); }
.behind__split { display: grid; margin-top: 64px; border-top: 2px solid var(--color-ink); }
.behind__cell { padding: 28px 0; }
.behind__cell + .behind__cell { border-top: 1px solid var(--color-line); }
.behind__who { font-size: 13px; font-weight: 700; color: var(--color-muted); }
.behind__cell--us .behind__who { color: var(--color-brand-deep); }
.behind__cell h3 { margin-top: 6px; font-family: var(--font-display); font-weight: var(--weight-display); font-size: clamp(24px, 2.6vw, 36px); letter-spacing: -0.02em; }
.behind__cell p:last-child { margin-top: 10px; max-width: 30em; font-size: 16px; line-height: 1.7; color: var(--color-muted); }
.behind__cell--us p:last-child { color: var(--color-ink); font-weight: 600; }
/* 등장: 단계가 왼쪽부터 차례로 짙어진다 */
.js .behind__chain li { opacity: .15; transition: opacity .5s var(--ease); }
.js .behind__chain.is-visible li { opacity: 1; }
.js .behind__chain.is-visible li:nth-child(2) { transition-delay: .1s; } .js .behind__chain.is-visible li:nth-child(3) { transition-delay: .2s; }
.js .behind__chain.is-visible li:nth-child(4) { transition-delay: .3s; } .js .behind__chain.is-visible li:nth-child(5) { transition-delay: .4s; }
.js .behind__chain.is-visible li:nth-child(6) { transition-delay: .5s; } .js .behind__chain.is-visible li:nth-child(7) { transition-delay: .6s; }
.js .behind__chain.is-visible li:nth-child(8) { transition-delay: .7s; } .js .behind__chain.is-visible li:nth-child(9) { transition-delay: .8s; }

/* ========== Monkey 장치 ========== */
/* 워드마크의 O 안에 눈동자: 마우스를 따라 움직이고 가끔 깜박인다(data-eyes) */
.eye-o { position: relative; display: inline-block; }
.pupil {
  position: absolute; left: 50%; top: var(--eye-y, 50%); width: 0.052em; height: 0.052em; border-radius: 50%;
  background: var(--pupil, var(--color-brand));
  transform: translate(calc(-50% + var(--px, 0) * 1em), calc(-50% + var(--py, 0) * 1em));
  transition: transform .35s var(--ease);
}
.pupil.is-blink { transform: translate(calc(-50% + var(--px, 0) * 1em), calc(-50% + var(--py, 0) * 1em)) scaleY(0.1); transition-duration: .08s; }
.footer__mark .pupil { --pupil: var(--color-paper); }

/* 섹션 경계 너머로 내다보는 원숭이(추상 도형). 스크롤하면 올라오고, 마우스를 올리면 숨는다 */
/* 자리(.peek)만 HTML에 두면 JS가 그림을 채우고, 부모를 기준으로 선 위에 올린다.
   기본: 부모 윗선 너머로 내다봄 / --hang: 윗선에 거꾸로 매달림 / --left: 왼쪽 / --form: 신청서 위(작게) */
.peek { --rot: rotate(0deg); position: absolute; z-index: 2; right: max(var(--gutter), 8%); bottom: 100%; width: 96px; aspect-ratio: 140 / 76; overflow: hidden; }
.peek--left { right: auto; left: max(var(--gutter), 8%); }
.peek--hang { --rot: rotate(180deg); bottom: auto; top: 0; }
.peek--form { right: 28px; width: 72px; }
.peek__svg { display: block; width: 100%; height: 100%; transform: var(--rot) translateY(100%); transition: transform .9s var(--ease); }
.peek.is-in .peek__svg { transform: var(--rot); }
.peek.is-in:hover .peek__svg { transform: var(--rot) translateY(62%); transition-duration: .35s; }
.peek__head { fill: var(--color-ink); }
.peek__ear, .peek__mask { fill: var(--color-brand); }
.peek__pupil { fill: var(--color-ink); }
.peek__look { transition: transform .35s var(--ease); }
.peek__eyes { transform-box: fill-box; transform-origin: center; animation: peek-blink 6s infinite; }
@keyframes peek-blink { 0%, 94%, 100% { transform: none; } 96% { transform: scaleY(0.1); } }

/* ========== 팀: 여러 담당자를 거치지 않습니다 ========== */
.team__kicker { margin-bottom: 16px; font-size: clamp(16px, 1.6vw, 20px); font-weight: 800; color: var(--color-brand-deep); }
/* 세 칸: 번호 → 누가 → 무엇을 직접 */
.direct { display: grid; margin-top: 56px; border-top: 2px solid var(--color-ink); }
.direct li { display: grid; gap: 6px; padding: 22px 0; border-bottom: 1px solid var(--color-line); }
.direct__num { font-family: var(--font-latin); font-size: 20px; color: var(--color-brand); }
.direct__who { font-size: 15px; font-weight: 600; color: var(--color-muted); }
.direct strong { font-family: var(--font-display); font-weight: var(--weight-display); font-size: clamp(26px, 2.8vw, 38px); line-height: 1.25; letter-spacing: -0.02em; }

.flow { display: grid; gap: 48px; margin-top: 80px; padding-top: 40px; border-top: 2px solid var(--color-ink); }
.flow__label { margin-bottom: 14px; font-size: 14px; font-weight: 700; }
.flow__chain { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 22px; }
.flow__chain li {
  position: relative; display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 8px 4px;
  border: 1px dashed var(--color-muted); font-size: 14px; font-weight: 600; color: var(--color-muted);
}
.flow__chain li:not(:last-child)::after { content: "→"; position: absolute; right: -18px; top: 50%; transform: translateY(-50%); font-weight: 400; }
.flow__chain li:nth-child(4n)::after { content: none; }
.flow__chain .flow__client { border-style: solid; border-color: var(--color-ink); color: var(--color-ink); }
.flow__note { margin-top: 12px; font-size: 14px; color: var(--color-muted); }
.flow__direct { display: flex; align-items: center; }
.flow__node { flex: none; display: flex; flex-direction: column; justify-content: center; min-height: 72px; padding: 12px 18px; }
.flow__node--client { border: 2px solid var(--color-ink); font-size: 16px; font-weight: 800; }
.flow__node--gm { background: var(--color-ink); color: var(--color-paper); }
.flow__node--gm strong { font-size: clamp(16px, 1.8vw, 22px); font-weight: 800; }
.flow__node--gm small { margin-top: 2px; font-size: 13px; color: var(--color-muted-dark); }
.flow__link { position: relative; flex: 1; min-width: 48px; height: 4px; margin: 0 12px; background: var(--color-brand); }
.flow__link::before, .flow__link::after {
  content: ""; position: absolute; top: 50%; width: 12px; height: 12px;
  border-top: 4px solid var(--color-brand); border-left: 4px solid var(--color-brand);
}
.flow__link::before { left: -2px; transform: translateY(-50%) rotate(-45deg); }
.flow__link::after { right: -2px; transform: translateY(-50%) rotate(135deg); }
.flow__link-label { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); font-size: 13px; font-weight: 800; color: var(--color-brand-deep); white-space: nowrap; }
.flow__row--us .flow__note { color: var(--color-ink); font-weight: 600; }
/* 등장: 대행사 칸은 하나씩 느리게, 그로스몽키 선은 한 번에 */
.js .flow .flow__chain li { opacity: 0; transition: opacity .4s var(--ease); }
.js .flow.is-visible .flow__chain li { opacity: 1; }
.js .flow.is-visible .flow__chain li:nth-child(2) { transition-delay: .12s; } .js .flow.is-visible .flow__chain li:nth-child(3) { transition-delay: .24s; }
.js .flow.is-visible .flow__chain li:nth-child(4) { transition-delay: .36s; } .js .flow.is-visible .flow__chain li:nth-child(5) { transition-delay: .48s; }
.js .flow.is-visible .flow__chain li:nth-child(6) { transition-delay: .6s; } .js .flow.is-visible .flow__chain li:nth-child(7) { transition-delay: .72s; }
.js .flow.is-visible .flow__chain li:nth-child(8) { transition-delay: .84s; }
.js .flow .flow__link { transform: scaleX(0); transform-origin: left; transition: transform .6s 1s var(--ease); }
.js .flow.is-visible .flow__link { transform: none; }

/* ========== 진행 과정: 스크롤하면 오렌지 선이 내려오는 세로 타임라인 ========== */
.journey { display: grid; gap: 48px; }
.journey__more { margin-top: 28px; }
.journey__list { --p: 1; position: relative; padding-left: 72px; }
.journey__list::before, .journey__list::after { content: ""; position: absolute; left: 23px; top: 8px; bottom: 8px; width: 2px; }
.journey__list::before { background: var(--color-line); }
.journey__list::after { background: var(--color-brand); transform: scaleY(var(--p)); transform-origin: top; }
.journey__step { position: relative; padding-bottom: 48px; }
.journey__step:last-child { padding-bottom: 0; }
.journey__num {
  position: absolute; left: -72px; top: 0; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px;
  font-family: var(--font-latin); font-size: 20px; background: var(--color-brand); color: var(--color-ink); border: 2px solid var(--color-brand);
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.journey__when { display: inline-block; margin-bottom: 6px; padding: 2px 8px; font-size: 12px; font-weight: 700; background: var(--color-ink); color: var(--color-paper); }
.journey__body h3 { font-family: var(--font-display); font-weight: var(--weight-display); font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -0.02em; line-height: 1.25; }
.journey__body p:not(.journey__when) { margin-top: 8px; max-width: 32em; font-size: 16px; line-height: 1.65; color: var(--color-muted); }
.js .journey__step:not(.is-on) .journey__num { background: var(--color-paper); color: var(--color-muted); border-color: var(--color-line); }
.js .journey__step:not(.is-on) .journey__body { opacity: .45; }
.js .journey__body { transition: opacity .4s var(--ease); }

/* ========== 매주 먼저 연락: 카카오톡 대화 예시 ========== */
.weekly { display: grid; gap: 48px; }
.weekly__kicker { margin-bottom: 14px; font-size: 14px; font-weight: 700; color: var(--color-brand); }
.weekly__never { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--color-line-dark); display: grid; gap: 6px; }
.weekly__never s { font-size: clamp(20px, 2vw, 26px); font-weight: 700; color: var(--color-muted-dark); text-decoration-color: var(--color-brand); text-decoration-thickness: 3px; }
.weekly__never span { font-size: 16px; font-weight: 700; }
.chat { max-width: 440px; width: 100%; justify-self: center; border: 1px solid var(--color-line-dark); }
.chat__bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--color-line-dark); }
.chat__title { font-size: 15px; font-weight: 800; }
.chat__tag { font-size: 12px; color: var(--color-muted-dark); }
.chat__body { display: grid; gap: 16px; padding: 20px 16px 24px; }
.chat__day { justify-self: center; padding: 3px 12px; font-size: 12px; color: var(--color-muted-dark); border: 1px solid var(--color-line-dark); border-radius: 999px; }
.chat__msg { display: flex; gap: 10px; align-items: flex-start; }
.chat__avatar { flex: none; width: 36px; height: 36px; border-radius: 12px; }
.chat__bubbles { display: grid; gap: 6px; justify-items: start; }
.chat__name { font-size: 12px; color: var(--color-muted-dark); }
.chat__bubble { max-width: 300px; padding: 10px 14px; font-size: 15px; line-height: 1.55; background: var(--color-paper); color: var(--color-ink); border-radius: 4px 16px 16px 16px; }
.chat__msg--you { justify-content: flex-end; }
.chat__msg--you .chat__bubble { background: var(--color-brand); border-radius: 16px 4px 16px 16px; }
/* 등장: 말풍선이 차례로 도착한다 */
.js .chat .chat__bubble { opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.js .chat.is-visible .chat__bubble { opacity: 1; transform: none; }
.js .chat.is-visible .chat__bubbles .chat__bubble:nth-child(3) { transition-delay: .5s; }
.js .chat.is-visible .chat__bubbles .chat__bubble:nth-child(4) { transition-delay: 1s; }
.js .chat.is-visible .chat__bubbles .chat__bubble:nth-child(5) { transition-delay: 1.5s; }
.js .chat.is-visible .chat__msg--you .chat__bubble { transition-delay: 2.3s; }

/* 보조 버튼: 테두리만 */
.btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn--ghost:hover { background: var(--color-brand); color: var(--color-ink); box-shadow: none; }

.channels__note { font-size: 16px; color: var(--color-muted-dark); }
.process__cta { margin-top: 48px; }

/* ========== Proof ========== */
.proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 12px; }
.proof__lead, .proof__item { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 10px; }
.proof__lead { grid-column: 1 / -1; padding-bottom: 20px; border-bottom: 2px solid var(--color-ink); }
.proof__lead dt { font-size: clamp(20px, 2.6vw, 34px); font-weight: var(--weight-display); letter-spacing: -0.04em; }
.proof__big { font-family: var(--font-latin); line-height: 1; padding-bottom: 0.06em; color: var(--color-brand); }
.proof__item { padding-top: 14px; border-top: 2px solid var(--color-ink); }
.proof__item dd { font-family: var(--font-latin); font-size: clamp(40px, 8vw, 120px); line-height: 1; white-space: nowrap; }
.proof__item dd small { margin-left: 4px; font-family: var(--font); font-size: clamp(13px, 1.4vw, 20px); font-weight: 700; letter-spacing: -0.02em; }
.proof__item dt { font-size: clamp(14px, 1.3vw, 17px); font-weight: 700; line-height: 1.45; letter-spacing: -0.02em; }
/* 숫자 뒤 "만": 한글이라 Anton 대신 본문 고딕 굵은체로 */
.unit { margin-left: 0.04em; font-family: var(--font-display); font-weight: var(--weight-display); font-size: 0.56em; letter-spacing: -0.04em; }
[data-count] { font-variant-numeric: tabular-nums; }

/* ========== Team ========== */
/* ========== 서비스 안내 페이지 (services.html) ========== */
/* Hero: 기존 방식에 오렌지 줄이 그어진다 */
.svc-hero {
  min-height: 88vh; min-height: 88svh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 56px) 0 72px;
  background: var(--color-ink); color: var(--color-paper); --focus: var(--color-paper);
}
.svc-hero__label { font-size: 14px; font-weight: 600; color: var(--color-muted-dark); }
.svc-hero__old {
  margin-top: 8px; font-family: var(--font-display); font-weight: var(--weight-display);
  font-size: clamp(26px, 4.6vw, 64px); line-height: 1.2; letter-spacing: -0.005em; color: var(--color-muted-dark);
}
.svc-hero__old s { position: relative; text-decoration: none; }
.svc-hero__old s::after {
  content: ""; position: absolute; left: -2%; right: -2%; top: 52%; height: 0.09em;
  background: var(--color-brand); transform-origin: left;
}
.svc-hero__title {
  margin-top: 28px; font-family: var(--font-display); font-weight: var(--weight-display);
  font-size: clamp(42px, 8vw, 128px); line-height: 1.12; letter-spacing: 0.02em;
}
.svc-hero__desc { margin-top: 28px; max-width: 34em; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.7; color: #d4d4d4; }
.svc-hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.svc-hero__more { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

/* 비교표 */
.compare { width: 100%; border-collapse: collapse; text-align: left; }
.compare thead th { padding: 0 16px 16px 0; font-size: clamp(18px, 1.8vw, 22px); font-weight: 800; letter-spacing: -0.03em; color: var(--color-ink); }
.compare thead .compare__us { color: var(--color-brand-deep); }
.compare tbody tr { border-top: 2px solid var(--color-ink); }
.compare tbody tr:last-child { border-bottom: 2px solid var(--color-ink); }
.compare tbody th, .compare td { padding: 22px 16px 22px 0; vertical-align: top; }
.compare tbody th { width: 22%; font-size: clamp(16px, 1.6vw, 20px); font-weight: 800; letter-spacing: -0.03em; }
.compare td { font-size: clamp(15px, 1.4vw, 18px); color: var(--color-muted); }
.compare td.compare__us { font-weight: 700; color: var(--color-ink); }
.compare td.compare__us::after { content: ""; display: block; width: 28px; height: 3px; margin-top: 10px; background: var(--color-brand); }
/* 모바일: 표 대신 항목마다 두 칸 카드처럼 */
.compare thead { display: none; }
.compare tbody tr { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; padding: 20px 0; }
.compare tbody th { grid-column: 1 / -1; width: auto; padding: 0; }
.compare td { padding: 0; }
.compare td::before { content: attr(data-label); display: block; margin-bottom: 6px; font-size: 15px; font-weight: 800; color: var(--color-ink); }
.compare td.compare__us::before { color: var(--color-brand-deep); }

/* 6가지 방법 */
.methods { border-top: 1px solid var(--color-line-dark); }
.method {
  display: grid; gap: 14px; padding: 28px 0; border-bottom: 1px solid var(--color-line-dark);
  transition: background-color .3s var(--ease);
}
.method__name {
  font-family: var(--font-display); font-weight: var(--weight-display);
  font-size: clamp(32px, 4.8vw, 64px); line-height: 1.1; letter-spacing: -0.05em;
  transition: color .3s var(--ease), transform .4s var(--ease);
}
.method:hover .method__name { transform: translateX(8px); }
.method.is-picked .method__name { color: var(--color-brand); }
.method__desc { max-width: 36em; font-size: 16px; line-height: 1.7; color: #d4d4d4; }
.method__fit { margin-top: 10px; font-size: 14px; color: var(--color-muted-dark); }
.method__fit strong { margin-right: 8px; color: var(--color-brand); font-weight: 700; }
.method__pick {
  justify-self: start; min-height: 44px; padding: 8px 22px; border: 1.5px solid var(--color-paper); border-radius: 999px;
  background: transparent; color: var(--color-paper); font-weight: 700; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.method__pick:hover { background: rgba(255, 255, 255, 0.1); }
.method__pick:active { transform: scale(0.96); }
.method__pick-on { display: none; }
.method__pick[aria-pressed="true"] { background: var(--color-brand); border-color: var(--color-brand); color: var(--color-ink); }
.method__pick[aria-pressed="true"] .method__pick-on { display: inline; }
.method__pick[aria-pressed="true"] .method__pick-off { display: none; }

/* 실적 한 줄 */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
.stats__item { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; padding-top: 14px; border-top: 2px solid var(--color-ink); }
.stats__item dt { font-size: 15px; font-weight: 700; letter-spacing: -0.02em; }
.stats__item dd { font-family: var(--font-latin); font-size: clamp(44px, 6vw, 96px); line-height: 1; white-space: nowrap; }
.stats__item dd small { margin-left: 4px; font-family: var(--font); font-size: clamp(13px, 1.3vw, 18px); font-weight: 700; }
.stats__item:first-child dd { color: var(--color-brand); }

/* ========== 진행 과정 페이지 (process.html) ========== */
.prc-hero {
  min-height: 88vh; min-height: 88svh; display: flex; align-items: center; overflow: hidden;
  padding: calc(var(--header-h) + 56px) 0 64px;
  background: var(--color-ink); color: var(--color-paper); --focus: var(--color-paper);
}
.prc-hero__inner { display: grid; gap: 32px; }
.prc-hero__title {
  font-family: var(--font-display); font-weight: var(--weight-display);
  font-size: clamp(38px, 6.4vw, 104px); line-height: 1.15; letter-spacing: -0.005em;
}
.prc-hero__desc { margin-top: 28px; max-width: 32em; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.7; color: #d4d4d4; }
.prc-hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.prc-hero__more { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.prc-hero__days { font-family: var(--font-latin); font-size: clamp(150px, 34vw, 420px); line-height: 0.82; color: var(--color-brand); white-space: nowrap; }
.prc-hero__days .unit { font-size: 0.26em; color: var(--color-paper); }

/* 5팀 한정 */
.limit { padding: var(--section-pad) 0; background: var(--color-brand); color: var(--color-ink); }
.limit__inner { display: grid; gap: 40px; }
.limit__title {
  font-family: var(--font-display); font-weight: var(--weight-display);
  font-size: clamp(44px, 8vw, 128px); line-height: 1.1; letter-spacing: -0.005em;
}
.limit__now { color: var(--color-paper); }
.limit__slots { display: flex; gap: 10px; }
.limit__slots li { width: 52px; height: 52px; background: var(--color-ink); }
.limit__desc { margin-top: 24px; max-width: 26em; font-size: clamp(16px, 1.5vw, 19px); font-weight: 500; line-height: 1.7; }
.limit__link { display: inline-block; margin-top: 20px; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }

/* 30일 막대 달력: 칸 30개 격자 위에 막대(--from ~ --to)와 점(--from)을 놓는다 */
.month { display: grid; gap: 0; }
.month__ruler, .lane__track { display: grid; grid-template-columns: repeat(30, 1fr); }
.month__ruler { margin-bottom: 8px; font-size: 13px; font-weight: 700; color: var(--color-muted-dark); }
.month__ruler span { grid-row: 1; grid-column: var(--at); white-space: nowrap; }
.month__ruler span:last-child { justify-self: end; }
.lane { display: grid; gap: 10px; padding: 22px 0; border-top: 1px solid var(--color-line-dark); }
.lane:last-child { border-bottom: 1px solid var(--color-line-dark); }
.lane__label { font-size: 17px; font-weight: 800; letter-spacing: -0.03em; }
.lane__track {
  position: relative; align-items: center; min-height: 40px;
  background: repeating-linear-gradient(to right, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px calc(100% / 30));
}
.bar {
  grid-row: 1; grid-column: var(--from) / var(--to);
  display: flex; align-items: center; height: 40px; padding: 0 12px; overflow: hidden;
  background: var(--color-paper); color: var(--color-ink);
  font-size: 0; font-weight: 800; white-space: nowrap; text-overflow: ellipsis; /* 모바일은 막대가 좁아 글자를 숨기고 아래 설명으로 대신한다 */
}
.bar--brand { background: var(--color-brand); }
.bar--ghost { background: transparent; color: var(--color-paper); border: 1.5px dashed var(--color-muted-dark); }
.bar--line { background: transparent; color: var(--color-muted-dark); border: 1px solid var(--color-line-dark); }
.dot {
  grid-row: 1; grid-column: var(--from); justify-self: center;
  width: 16px; height: 16px; border-radius: 50%; background: var(--color-paper); font-size: 0;
}
.dot--end { width: 24px; height: 24px; background: var(--color-brand); }
.lane__note { font-size: 15px; line-height: 1.6; color: #d4d4d4; }

/* 역할 나누기 */
.roles { display: grid; gap: 32px; }
.roles__who { margin-bottom: 8px; font-size: 15px; font-weight: 700; color: var(--color-muted); }
.roles__list li { display: grid; gap: 6px; padding: 20px 0; border-top: 2px solid var(--color-ink); }
.roles__list li:last-child { border-bottom: 2px solid var(--color-ink); }
.roles__list strong { font-size: clamp(19px, 2vw, 24px); font-weight: 800; letter-spacing: -0.03em; }
.roles__list span { font-size: 16px; color: var(--color-muted); }
.roles__you { align-self: start; padding: 32px 28px; background: var(--color-ink); color: var(--color-paper); }
.roles__you .roles__who { color: var(--color-muted-dark); }
.roles__none {
  font-family: var(--font-display); font-weight: var(--weight-display);
  font-size: clamp(64px, 9vw, 132px); line-height: 1.05; letter-spacing: -0.06em; color: var(--color-brand);
}
.roles__joke { margin-top: 8px; font-size: 18px; font-weight: 700; }
.roles__note { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--color-line-dark); font-size: 15px; line-height: 1.7; color: #d4d4d4; }

/* ========== 포트폴리오 페이지 (portfolio.html) ========== */
.pf-hero {
  padding: calc(var(--header-h) + 72px) 0 80px;
  background: var(--color-ink); color: var(--color-paper); --focus: var(--color-paper);
}
.pf-hero__title {
  font-family: var(--font-display); font-weight: var(--weight-display);
  font-size: clamp(40px, 6.4vw, 104px); line-height: 1.15; letter-spacing: -0.005em; text-wrap: balance;
}
.pf-hero__desc { margin-top: 28px; max-width: 36em; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.7; color: #d4d4d4; }
.pf-totals { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 16px; margin-top: 64px; }
.pf-totals__item { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; padding-top: 14px; border-top: 1px solid var(--color-line-dark); }
.pf-totals__item dt { font-size: 15px; font-weight: 700; color: var(--color-muted-dark); }
.pf-totals__item dd { font-family: var(--font-latin); font-size: clamp(44px, 6vw, 96px); line-height: 1; white-space: nowrap; }
.pf-totals__item:first-child dd { color: var(--color-brand); }

/* 흐르는 카드 두 줄: JS가 카드를 한 벌 복제해 끝없이 흐르게 한다(.is-looping). JS가 없거나 동작 줄이기면 가로 스크롤 */
.pf-reel { padding: var(--section-pad) 0 72px; overflow: hidden; }
.pf-row { margin-top: 16px; overflow-x: auto; }
.pf-row.is-looping { overflow: hidden; }
.pf-track { display: flex; gap: 16px; width: max-content; padding: 8px var(--gutter); }
/* 반복 중에는 오른쪽 여백을 카드 간격과 같게 둬야 -50% 이동이 이음새 없이 맞는다 */
.pf-row.is-looping .pf-track { padding: 8px 16px 8px 0; animation: marquee 80s linear infinite; }
.pf-row--reverse.is-looping .pf-track { animation-direction: reverse; animation-duration: 90s; }
.pf-row:hover .pf-track, .pf-row:focus-within .pf-track { animation-play-state: paused; }
.pf-card { flex: none; width: 200px; }
.pf-card__btn {
  display: flex; flex-direction: column; width: 100%; aspect-ratio: 3 / 4; padding: 18px;
  border: 0; background: var(--color-ink); color: var(--color-paper); text-align: left; cursor: zoom-in;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.pf-card__btn:hover, .pf-card__btn:focus-visible { transform: translateY(-6px); box-shadow: 0 0 0 3px var(--color-brand); }
.pf-card__btn:focus-visible { outline: none; }
.pf-card--top .pf-card__btn { background: var(--color-brand); color: var(--color-ink); }
.pf-card--top .pf-card__btn:hover, .pf-card--top .pf-card__btn:focus-visible { box-shadow: 0 0 0 3px var(--color-ink); }
.pf-card__meta { display: grid; gap: 2px; font-size: 13px; font-weight: 700; line-height: 1.4; color: var(--color-muted-dark); }
.pf-card__meta span:first-child { color: var(--color-paper); }
.pf-card--top .pf-card__meta span:first-child { color: var(--color-ink); }
.pf-card--top .pf-card__meta { color: var(--color-ink); }
.pf-card__views { margin-top: auto; font-family: var(--font-latin); font-weight: 400; font-size: 64px; line-height: 1; }
.pf-card__label { margin-top: 4px; font-size: 14px; font-weight: 700; }
.pf-card__stats { display: grid; gap: 2px; margin-top: 16px; padding-top: 12px; border-top: 1px solid currentColor; font-size: 13px; font-weight: 600; opacity: 0.85; }
.pf-reel__hint { margin-top: 20px; font-size: 14px; color: var(--color-muted); }
@media (hover: none) { .pf-reel__hint { display: none; } }

/* 가장 많이 본 한 편 */
.pf-best { display: grid; gap: 48px; }
.pf-best__text .btn { margin-top: 32px; }
.pf-best__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 16px; align-content: start; }
.pf-best__stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding-top: 12px; border-top: 1px solid var(--color-line-dark); }
.pf-best__stats dt { font-size: 14px; font-weight: 700; color: var(--color-muted-dark); }
.pf-best__stats dd { font-family: var(--font-latin); font-size: clamp(36px, 4vw, 56px); line-height: 1; }
.pf-best__main { grid-column: 1 / -1; }
.pf-best__main dd { font-size: clamp(52px, 7.4vw, 112px); color: var(--color-brand); white-space: nowrap; }

/* 전체 기록 표: 좁은 화면에서는 표만 가로로 스크롤 */
.records-wrap { overflow-x: auto; border-top: 2px solid var(--color-ink); }
.records { width: 100%; min-width: 640px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.records th { padding: 14px 12px 14px 0; text-align: left; font-size: 13px; font-weight: 700; color: var(--color-muted); border-bottom: 1px solid var(--color-line); }
.records td { padding: 14px 12px 14px 0; font-size: 15px; border-bottom: 1px solid var(--color-line); white-space: nowrap; }
.records td:nth-child(2) { font-weight: 800; }
.records__best td { color: var(--color-brand-deep); font-weight: 800; }

/* 인사이트 원본 보기 창 */
.shot-dialog {
  width: min(92vw, 880px); max-width: none; padding: 0; border: 0;
  background: var(--color-ink); color: var(--color-paper); --focus: var(--color-paper);
}
.shot-dialog::backdrop { background: rgba(0, 0, 0, 0.8); }
.shot-dialog__head { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 20px; }
.shot-dialog__title { font-size: 15px; font-weight: 700; }
.shot-dialog__close { position: relative; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
.shot-dialog__close span { position: absolute; left: 12px; right: 12px; top: 50%; height: 2px; background: var(--color-paper); }
.shot-dialog__close span:first-child { transform: rotate(45deg); }
.shot-dialog__close span:last-child { transform: rotate(-45deg); }
.shot-dialog__img { width: 100%; height: auto; background: var(--color-paper); }

/* 서비스 안내: 기본 제공 4가지 */
.basics { display: grid; gap: 32px; }
.basics__item { padding-top: 16px; border-top: 2px solid var(--color-ink); }
.basics__big {
  display: block; margin-bottom: 14px;
  font-family: var(--font-display); font-weight: var(--weight-display);
  font-size: clamp(40px, 4.4vw, 64px); line-height: 1; letter-spacing: -0.05em; color: var(--color-brand);
}
.basics__big [data-count] { font-family: var(--font-latin); font-weight: 400; letter-spacing: 0; }
.basics__item h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 8px; }
.basics__item p { font-size: 15px; line-height: 1.65; color: var(--color-muted); }

/* 첫 화면 아래 줄의 5팀 한정 문구 */
.hero__limit { display: inline-block; margin-top: 4px; color: var(--color-brand); font-weight: 800; }

/* 모바일 하단 고정 신청 버튼 (데스크톱은 헤더 버튼이 있어 숨김) */
.sticky-cta {
  position: fixed; z-index: 90; left: var(--gutter); right: var(--gutter); bottom: 12px;
  animation: bar-in-full .4s var(--ease);
}
.sticky-cta[hidden] { display: none; }
.sticky-cta .btn { min-height: 56px; gap: 10px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12); }
.sticky-cta__sub { padding-left: 10px; border-left: 1px solid rgba(0, 0, 0, 0.35); font-size: 13px; font-weight: 700; }
@keyframes bar-in-full { from { opacity: 0; transform: translateY(24px); } }

/* 방법을 담으면 나타나는 하단 바 */
.pick-bar {
  position: fixed; z-index: 90; left: 50%; bottom: 16px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 16px; padding: 8px 8px 8px 22px;
  border-radius: 999px; background: var(--color-ink); color: var(--color-paper);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16); animation: bar-in .4s var(--ease);
  white-space: nowrap;
}
.pick-bar[hidden] { display: none; }
.pick-bar__text { font-size: 15px; }
.pick-bar__text strong { color: var(--color-brand); }
@keyframes bar-in { from { opacity: 0; transform: translate(-50%, 24px); } }

/* 신청서: 관심 방법 고르기 */
.choices legend { display: block; margin-bottom: 10px; padding: 0; font-size: 14px; font-weight: 600; }
.choices__hint { margin-left: 6px; font-weight: 400; color: var(--color-muted); }
.choices__list { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
/* 숨긴 체크박스: .field input의 width:100%를 받지 않게 1px로 묶는다(안 그러면 폰에서 화면 밖으로 튀어나가 좌우로 밀린다) */
.choice input { position: absolute; top: 0; left: 0; width: 1px; height: 1px; margin: 0; padding: 0; opacity: 0; pointer-events: none; }
.choice span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px;
  border: 1px solid var(--color-field); border-radius: 999px; font-size: 15px; font-weight: 600; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.choice span:hover { border-color: var(--color-ink); }
.choice input:checked + span { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-paper); }
.choice input:focus-visible + span { outline: 3px solid var(--color-ink); outline-offset: 2px; }

/* ========== Process: 타임라인 (모바일 세로, 데스크톱 가로) ========== */
.steps { position: relative; display: grid; gap: 32px; padding-left: 36px; counter-reset: step; }
.steps::before {
  content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px;
  background: var(--color-ink); transform-origin: top;
}
.steps__item { position: relative; counter-increment: step; }
.steps__item::after {
  content: ""; position: absolute; left: -36px; top: 4px; width: 16px; height: 16px;
  border: 2px solid var(--color-ink); border-radius: 50%; background: var(--color-brand);
}
.steps__item::before {
  content: counter(step); display: block; margin-bottom: 10px;
  font-family: var(--font-latin); font-size: 44px; line-height: 1; color: var(--color-brand);
}
.steps__when {
  display: inline-block; margin-bottom: 8px; padding: 2px 10px;
  background: var(--color-ink); color: var(--color-paper); font-size: 13px; font-weight: 700;
}
.steps__item h3 { font-size: 20px; margin-bottom: 8px; }
.steps__item p:not(.steps__when) { color: var(--color-muted); }

/* ========== FAQ ========== */
.faq__list { border-top: 2px solid var(--color-ink); }
.faq__item { border-bottom: 1px solid var(--color-line); }
.faq__item summary {
  position: relative; padding: 22px 48px 22px 0; cursor: pointer; list-style: none;
  font-size: clamp(17px, 1.8vw, 21px); font-weight: 700; line-height: 1.4;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before, .faq__item summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 18px; height: 2px;
  background: var(--color-ink); transition: transform .3s var(--ease);
}
.faq__item summary::after { transform: rotate(90deg); }
.faq__item[open] summary::after { transform: rotate(0deg); }
.faq__item summary:hover { color: var(--color-brand-deep); }
.faq__item p { max-width: 40em; padding: 0 48px 24px 0; color: var(--color-muted); font-size: 16px; }
.faq__item[open] p { animation: fade-up .5s var(--ease); }

/* ========== Band (흐르는 띠) ========== */
/* 한글 핵심 문구 세 개를 작은 오렌지 사각점으로 나눠 천천히 흘린다 */
.band {
  display: block; overflow: hidden; padding: 20px 0;
  background: var(--color-ink); color: var(--color-paper);
  border-top: 1px solid var(--color-line-dark);
}
.band__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.band:hover .band__track { animation-play-state: paused; }
.band__group {
  display: flex; align-items: center; gap: 36px; padding-right: 36px;
  font-size: clamp(17px, 1.6vw, 21px); font-weight: 700; line-height: 1.4; letter-spacing: -0.02em; white-space: nowrap;
}
.band__dot { width: 7px; height: 7px; flex: none; background: var(--color-brand); }

/* ========== Contact ========== */
.contact { display: grid; gap: 48px; }
.contact__steps { margin-top: 32px; display: grid; border-top: 2px solid var(--color-ink); }
.contact__steps li { display: flex; align-items: flex-start; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(0, 0, 0, .25); }
.contact__steps strong { display: block; font-size: 17px; font-weight: 800; }
.contact__steps p { margin-top: 4px; font-size: 14px; line-height: 1.6; }
.contact__step-num { font-family: var(--font-latin); font-size: 28px; line-height: 1; min-width: 20px; }
.contact__note { margin-top: 20px; font-size: 16px; font-weight: 700; line-height: 1.6; }
.contact__kakao { margin-top: 24px; }
.form__error-msg { margin-top: 16px; padding: 14px; background: var(--color-paper); color: var(--color-ink); font-weight: 600; text-align: center; border: 2px solid var(--color-ink); }
.contact__list { margin-top: 32px; display: grid; gap: 10px; font-size: 17px; }
.contact__list li { display: flex; gap: 16px; }
.contact__list strong { min-width: 52px; font-weight: 600; }
.contact__list a { text-decoration: underline; text-underline-offset: 3px; }

.form { padding: 24px 20px; background: var(--color-paper); border: 2px solid var(--color-ink); }
.form__row { display: grid; gap: 0 16px; }
.form__intro { margin-bottom: 20px; font-size: 14px; line-height: 1.6; color: var(--color-muted); }
.form__group { margin: 0 0 12px; padding: 0; border: 0; min-width: 0; }
.form__legend { display: flex; align-items: baseline; gap: 10px; width: 100%; margin-bottom: 16px; padding: 0 0 10px; border-bottom: 2px solid var(--color-ink); font-size: 17px; font-weight: 800; }
.form__legend-num { font-family: var(--font-latin); font-size: 18px; font-weight: 400; color: var(--color-brand-deep); }
.field { margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.req { color: var(--color-error); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1px solid var(--color-field); border-radius: 0; background: var(--color-paper);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #767676; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--color-ink); box-shadow: 0 0 0 2px var(--color-ink);
}
.field.has-error input, .field.has-error textarea { border-color: var(--color-error); }
.field__error { font-size: 13px; color: var(--color-error); margin-top: 6px; }
.field__error:empty { display: none; }

.agree { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 6px; font-size: 14px; cursor: pointer; }
.agree input { flex: none; margin-top: 3px; width: 18px; height: 18px; accent-color: var(--color-ink); }
#agree-error { margin-bottom: 12px; }
/* 개인정보 수집·이용 안내(펼침) */
.privacy { margin: 4px 0 8px 28px; font-size: 13px; color: var(--color-muted); }
.privacy summary { cursor: pointer; text-decoration: underline; text-underline-offset: 3px; width: max-content; max-width: 100%; }
.privacy summary:hover { color: var(--color-ink); }
.privacy__list { display: grid; gap: 6px; margin-top: 10px; padding: 12px 14px; background: #f4f4f4; }
.privacy__list div { display: grid; grid-template-columns: 5.5em 1fr; gap: 8px; }
.privacy__list dt { font-weight: 700; color: var(--color-ink); }
.form .btn--block { margin-top: 16px; }
.form__success { margin-top: 16px; padding: 14px; background: #e7f5ee; color: var(--color-success); font-weight: 600; text-align: center; }

/* ========== 푸터 아래 줄 + 개인정보처리방침 페이지 ========== */
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; }
.footer__legal { color: var(--color-paper); font-weight: 700; }
.footer__legal:hover { text-decoration: underline; text-underline-offset: 3px; }
.legal__header { position: fixed; }
.legal__home { margin-left: auto; font-size: 15px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.legal { padding: calc(var(--header-h) + 56px) 0 96px; }
.legal__inner { max-width: 820px; }
.legal__title { font-family: var(--font-display); font-weight: var(--weight-display); font-size: clamp(32px, 4.6vw, 52px); letter-spacing: -0.02em; }
.legal__lead { margin-top: 20px; font-size: 16px; line-height: 1.8; color: var(--color-muted); }
.legal section { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--color-line); }
.legal h2 { font-size: 19px; font-weight: 800; }
.legal section p, .legal section li { margin-top: 10px; font-size: 15px; line-height: 1.8; }
.legal section ul { padding-left: 1.2em; list-style: disc; }
.legal section li strong { margin-right: 6px; }
.legal__table { margin-top: 14px; overflow-x: auto; }
.legal__table table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; }
.legal__table th, .legal__table td { padding: 10px 12px 10px 0; text-align: left; border-bottom: 1px solid var(--color-line); vertical-align: top; }
.legal__table th { font-weight: 700; border-bottom: 2px solid var(--color-ink); }
.legal__dl { display: grid; gap: 6px; margin-top: 12px; font-size: 15px; }
.legal__dl div { display: flex; gap: 12px; }
.legal__dl dt { min-width: 4em; font-weight: 700; }
.legal__dl dd { margin: 0; }

/* ========== 오픈 안내 팝업(작은 카드) ========== */
/* 모바일: 헤더 바로 아래 / 1024px 이상: 왼쪽 아래 구석. 화면을 막지 않는 크기로 둔다 */
.notice {
  position: fixed; z-index: 120; left: 16px; right: 16px; top: calc(var(--header-h) + 12px);
  padding: 26px 22px 20px; background: var(--color-ink); color: var(--color-paper); border: 2px solid var(--color-brand);
  --focus: var(--color-paper);
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s .4s;
}
.notice.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.notice__close { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border: 0; background: none; color: inherit; cursor: pointer; }
.notice__close span { position: absolute; left: 9px; top: 17px; width: 18px; height: 2px; background: currentColor; transform: rotate(45deg); }
.notice__close span + span { transform: rotate(-45deg); }
.notice__kicker { font-family: var(--font-latin); font-size: 15px; letter-spacing: 0.08em; color: var(--color-brand); }
.notice__title { margin-top: 6px; font-family: var(--font-display); font-weight: var(--weight-display); font-size: 26px; line-height: 1.25; letter-spacing: -0.01em; }
.notice__desc { margin-top: 10px; font-size: 14px; line-height: 1.65; color: var(--color-muted-dark); }
.notice__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.notice__cta { min-height: 44px; padding: 8px 20px; font-size: 15px; }
.notice__skip { padding: 6px 0; border: 0; background: none; color: var(--color-muted-dark); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.notice__skip:hover { color: var(--color-paper); }
.notice .peek { right: 20px; }

/* ========== Footer ========== */
.footer { padding: 72px 0 32px; background: var(--color-ink); color: var(--color-muted-dark); --focus: var(--color-paper); }
.footer__mark { font-family: var(--font-latin); line-height: 0.9; color: var(--color-brand); }
.footer__inner { display: grid; gap: 32px; margin-top: 48px; }
.footer__info { font-size: 14px; line-height: 1.8; }
/* 사업자 정보: "항목 값"이 한 줄에 이어지고, 좁으면 다음 줄로 넘어간다 */
.footer__biz { display: flex; flex-wrap: wrap; gap: 6px 22px; max-width: 640px; margin: 0; font-size: 13px; line-height: 1.7; }
.footer__biz div { display: flex; gap: 8px; }
.footer__biz dt { font-weight: 600; color: var(--color-paper); }
.footer__biz dd { margin: 0; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 15px; }
.footer__nav a { color: var(--color-paper); }
.footer__nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--color-line-dark); font-size: 13px; }

/* ========== Motion (JS가 켜져 있을 때만) ========== */
/* 첫 화면: 워드마크가 한 글자씩 올라오고, 사진 칸이 차례로 나타난 뒤 떠다닌다 */
.js .hero__word .char { animation: char-rise 1s var(--ease) both; animation-delay: calc(0.2s + var(--i, 0) * 50ms); }
.js .hero__word + .hero__word .char { animation-delay: calc(0.45s + var(--i, 0) * 50ms); }
@keyframes char-rise { from { transform: translateY(105%); } }
.js .shot__inner { animation: shot-in 1.1s var(--ease) both, drift 8s 1.6s ease-in-out infinite; }
.js .shot--1 .shot__inner { animation-delay: .7s, 1.8s; }
.js .shot--2 .shot__inner { animation-delay: .85s, 2.4s; animation-duration: 1.1s, 9s; }
.js .shot--3 .shot__inner { animation-delay: 1s, 2.1s; animation-duration: 1.1s, 7.5s; }
.js .shot--4 .shot__inner { animation-delay: 1.15s, 2.6s; animation-duration: 1.1s, 8.5s; }
@keyframes shot-in { from { opacity: 0; transform: scale(0.9); } }
@keyframes drift { 50% { transform: translate3d(0, -14px, 0); } }
.js .hero__bar { animation: fade-up .9s 1.1s var(--ease) both; }
.js .hero__kicker { animation: fade-up .8s .1s var(--ease) both; }
/* 서비스 안내: 기존 방식 문구가 먼저 보이고, 오렌지 줄이 그어진다 */
.js .svc-hero__label, .js .svc-hero__old { animation: fade-up .8s var(--ease) both; }
.js .svc-hero__old s::after { animation: strike .7s .7s var(--ease) both; }
@keyframes strike { from { transform: scaleX(0); } }
/* 진행 과정: 30일 막대가 왼쪽부터 차오르고, 5팀 칸이 하나씩 채워진다 */
.js .month .bar { transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease); }
.js .month .dot { transform: scale(0); transition: transform .5s var(--ease); }
.js .month.is-visible .bar, .js .month.is-visible .dot { transform: none; }
/* .month 안 첫 div는 눈금(.month__ruler)이라 레인은 2번째 div부터 */
.js .month .lane:nth-of-type(3) .bar { transition-delay: .15s; }
.js .month .lane:nth-of-type(4) .bar { transition-delay: .3s; }
.js .month .lane:nth-of-type(5) .dot { transition-delay: .45s; }
.js .month .lane:nth-of-type(5) .dot:nth-child(2) { transition-delay: .55s; }
.js .month .lane:nth-of-type(5) .dot:nth-child(3) { transition-delay: .65s; }
.js .month .lane:nth-of-type(5) .dot:nth-child(4) { transition-delay: .75s; }
.js .month .lane:nth-of-type(5) .dot:nth-child(5) { transition-delay: .9s; }
.js .month .lane:nth-of-type(6) .bar { transition-delay: .6s; }
.js .limit__slots li { animation: slot-in .5s var(--ease) both; }
.js .limit__slots li:nth-child(2) { animation-delay: .1s; }
.js .limit__slots li:nth-child(3) { animation-delay: .2s; }
.js .limit__slots li:nth-child(4) { animation-delay: .3s; }
.js .limit__slots li:nth-child(5) { animation-delay: .4s; }
@keyframes slot-in { from { transform: scale(0); } }
.js .svc-hero__desc, .js .svc-hero__actions { animation: fade-up .9s 1.2s var(--ease) both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } }

/* 스크롤 등장 */
.js [data-reveal]:not([data-reveal="lines"]):not(.steps) { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal]:not([data-reveal="lines"]):not(.steps).is-visible { opacity: 1; transform: none; }
.js [data-reveal="lines"] .line__inner { transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal="lines"].is-visible .line__inner { transform: none; }

/* 타임라인: 선이 그어지고 단계가 차례로 나타난다 */
.js .steps::before { transform: scaleY(0); transition: transform 1.4s var(--ease); }
.js .steps.is-visible::before { transform: none; }
.js .steps__item { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .steps.is-visible .steps__item { opacity: 1; transform: none; }
.js .steps__item:nth-child(2) { transition-delay: .15s; }
.js .steps__item:nth-child(3) { transition-delay: .3s; }
.js .steps__item:nth-child(4) { transition-delay: .45s; }
.js .steps__item:nth-child(5) { transition-delay: .6s; }
.js .steps__item:nth-child(6) { transition-delay: .75s; }

/* ========== Responsive ========== */
@media (min-width: 768px) {
  .flow__chain { grid-template-columns: repeat(8, 1fr); }
  .flow__chain li:nth-child(4n):not(:last-child)::after { content: "→"; }
  :root { --gutter: 32px; --section-pad: 128px; }
  .section__head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: end; margin-bottom: 64px; }
  .section__head .section__desc { margin-top: 0; } /* 제목 옆 칸에 놓일 때만 위 여백 제거 */
  .reasons__row { grid-template-columns: 1fr 1.4fr; gap: 32px; align-items: baseline; }
  .method { grid-template-columns: 1.1fr 1.6fr auto; gap: 32px; align-items: center; padding: 36px 0; }
  .channels { grid-template-columns: repeat(2, 1fr); }
  .basics { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
  .pf-totals { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .pf-card { width: 240px; }
  .pf-card__btn { padding: 22px; }
  .pf-card__views { font-size: 76px; }
  .pf-best { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
  .channel__link { min-height: 240px; padding: 32px; }
  .channels--core { grid-template-columns: repeat(3, 1fr); }
  .channel--core .channel__link { min-height: 300px; }
  .channels--more .channel__link { min-height: 170px; padding: 24px; }
  .channels__foot { grid-template-columns: 1fr auto; align-items: center; gap: 32px; }
  .prc-hero__inner { grid-template-columns: 1.5fr 1fr; align-items: end; }
  .prc-hero__title { font-size: clamp(38px, 5vw, 80px); }
  .bar { font-size: 13px; }
  .prc-hero__days { font-size: clamp(150px, 22vw, 360px); justify-self: end; }
  .limit__inner { grid-template-columns: 1.4fr 1fr; align-items: end; gap: 48px; }
  .lane { grid-template-columns: 180px 1fr; column-gap: 32px; align-items: center; }
  .lane__note { grid-column: 2; }
  .month__ruler { margin-left: 212px; }
  .roles { grid-template-columns: 1.4fr 1fr; gap: 48px; }
  .roles__you { padding: 44px 40px; }
  .compare thead { display: table-header-group; }
  .compare tbody tr { display: table-row; }
  .compare tbody th, .compare td { display: table-cell; padding: 24px 24px 24px 0; }
  .compare tbody th { width: 22%; }
  .compare td::before { content: none; }
  .stats { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .proof { gap: 56px 32px; }
  .form { padding: 36px; }
  .form__row { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1fr auto; align-items: start; }

  /* 레퍼런스 배치: 위 가운데, 왼쪽 끝, 왼쪽 아래, 오른쪽 가운데 */
  .shot--1 { top: 3%; left: 41%; width: 16vw; }
  .shot--2 { top: 17%; left: 0; width: 10.7vw; }
  .shot--3 { top: 48%; bottom: auto; left: 7.6%; width: 16.3vw; }
  .shot--4 { top: 52%; bottom: auto; right: 1.8%; width: 21.4vw; }
  .hero__bar { grid-template-columns: 1fr 2fr 1fr; align-items: start; gap: 32px; }
  .hero__lede { margin: 0 auto; text-align: center; }
  .hero__actions { justify-self: end; flex-direction: column; align-items: flex-end; gap: 22px; }
}

@media (min-width: 1024px) {
  .journey { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
  .philo__grid { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
  .notice { top: auto; right: auto; left: 24px; bottom: 24px; width: 340px; transform: translateY(12px); }
  .notice.is-open { transform: none; }
  .direct { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--color-line); }
  .direct li { padding: 28px 28px 28px 0; border-bottom: 0; }
  .direct li + li { padding-left: 28px; border-left: 1px solid var(--color-line); }
  .together__months { grid-template-columns: repeat(3, 1fr); align-items: end; }
  .together__bar { width: 100%; height: calc(var(--h, 1) * 48px); transform-origin: bottom; }
  .js .together__bar { transform: scaleY(0); }
  .together__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0 48px; align-items: end; }
  .together__head .together__kicker { grid-column: 1 / -1; }
  .together__desc { margin-top: 0; }
  .behind__split { grid-template-columns: 1fr 1fr; }
  .behind__cell { padding: 32px 40px 32px 0; }
  .behind__cell + .behind__cell { border-top: 0; border-left: 1px solid var(--color-line); padding-left: 40px; }
  .letter { padding: 36px 40px; }
  .journey__head { position: sticky; top: calc(var(--header-h) + 32px); }
  .weekly { grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
  .peek { width: 128px; }
  .peek--form { width: 84px; }
  :root { --header-h: 76px; }
  .logo__img { width: 58px; height: 58px; }
  .logo__text { font-size: 20px; }

  .nav-toggle { display: none; }
  .nav { position: static; opacity: 1; visibility: visible; padding: 0; background: none; }
  .nav__list { flex-direction: row; align-items: center; gap: 36px; }
  .nav__list a:not(.btn) {
    padding: 4px 0; font-family: var(--font); font-size: 14px; font-weight: 600; line-height: 1.6; border: 0;
    text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px;
    transition: text-decoration-color .2s;
  }
  .nav__list a:not(.btn):hover, .nav__list a.is-current { text-decoration-color: currentColor; }
  .nav__cta-item { margin: 0 0 0 4px; }
  .nav__cta-item .btn { width: auto; min-height: 36px; font-size: 14px; }
  .header:not(.is-fixed) .nav__cta-item .btn { background: var(--color-brand); color: var(--color-ink); }
  .header:not(.is-fixed) .nav__cta-item .btn:hover { background: var(--color-brand-deep); }

  .channels { grid-template-columns: repeat(4, 1fr); }
  .channels--core { grid-template-columns: repeat(3, 1fr); }
  .channels--more { grid-template-columns: repeat(5, 1fr); }
  .channels--more .channel--help { grid-column: auto; }
  .five__inner { grid-template-columns: 5fr 7fr; align-items: center; gap: 56px; }
  .basics { grid-template-columns: repeat(4, 1fr); }
  .sticky-cta { display: none !important; }

  .steps { grid-template-columns: repeat(6, 1fr); gap: 24px; padding: 40px 0 0; }
  .steps::before { left: 0; right: 0; top: 7px; bottom: auto; width: auto; height: 2px; transform-origin: left; }
  .js .steps::before { transform: scaleX(0); }
  .js .steps.is-visible::before { transform: none; }
  .steps__item::after { left: 0; top: -40px; }
  .steps--4 { grid-template-columns: repeat(4, 1fr); gap: 40px; }
  .steps--3 { grid-template-columns: repeat(3, 1fr); gap: 48px; }
  .steps--3 { grid-template-columns: repeat(3, 1fr); gap: 48px; }

  .faq { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: start; }
  .faq .section__head { display: block; position: sticky; top: calc(var(--header-h) + 32px); }

  .contact { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
  .contact__info { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* 신청서: 패키지에 따라 숨기는 묶음(main.js syncPackage), 서비스 안내 패키지 행의 강조 글자 (2026-10-07) */
.form__group[hidden] { display: none; }
.method__em { color: var(--color-brand); font-weight: 800; }
a.method__pick { display: inline-flex; align-items: center; justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  .js .chat .chat__bubble, .js .behind__chain li { opacity: 1 !important; transform: none !important; }
  .js .together__bar { transform: none !important; }
  .js .flow .flow__chain li { opacity: 1 !important; } .js .flow .flow__link { transform: none !important; }
  .peek__svg { transform: var(--rot) !important; } .peek__eyes { animation: none !important; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js .steps__item { opacity: 1 !important; transform: none !important; }
  .pf-card__btn:hover, .pf-card__btn:focus-visible { transform: none; }
  .js [data-reveal="lines"] .line__inner, .js .steps::before, .js .month .bar, .js .month .dot { transform: none !important; }
}
