/* 232 PRODUCTION 공용 스타일 — 이삼이 싸이언스 사이트 site.css v82 를 그대로 가져옴 (2026-10-21)
   바꾼 것은 :root 색 토큰뿐: 싸이언스의 일렉트릭 블루(#1530ff) 대신 부드럽고 공공기관이 믿을 만한 차분한 블루 (사장님 10/21)
   흰 바탕 + 옅은 회색 카드(#F5F5F7), 카드마다 유리 질감 3D 아이콘(assets/img/icons), 큰 가운데 정렬 제목, 둥근 모서리 */
:root {
  --ink: #0f1b2d;
  --ink-2: #172a45;
  --navy: #1e3a6b;
  --paper: #ffffff;
  --paper-2: #f5f5f7;
  --text: #1b1c26;
  --text-soft: #6b6e7c;
  --line: rgba(27, 28, 38, .1);
  --on-ink: #ffffff;
  --on-ink-soft: rgba(255, 255, 255, .64);
  --accent: #2b63c6;
  --accent-ink: #9dbbf2;
  --radius: 20px;
  --max: 1240px;
  --navy-grad: linear-gradient(180deg, #0a1424 0%, #13294a 55%, #2b63c6 125%);
  --font: "Pretendard", system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--paper);
  word-break: keep-all; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }

/* ---------- 헤더 ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 2000; transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.site-header.is-solid { background: color-mix(in srgb, var(--ink) 88%, transparent); backdrop-filter: blur(12px);
  border-color: rgba(255,255,255,.06); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--on-ink); font-weight: 700; }
.brand img { height: 26px; width: auto; }
.gnb { display: flex; gap: 4px; margin-left: auto; }
.gnb a { color: var(--on-ink-soft); text-decoration: none; font-size: .92rem; padding: 8px 12px; border-radius: 8px; }
.gnb a:hover, .gnb a[aria-current="page"] { color: var(--on-ink); }
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; border-radius: 999px;
  padding: 12px 22px; font-size: .95rem; transition: transform .15s, background .2s; border: 0; cursor: pointer; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--ghost { border: 1.5px solid var(--line); color: var(--text); background: transparent; }
.btn--light { background: var(--on-ink); color: var(--ink); }
.site-header .btn { padding: 9px 16px; font-size: .88rem; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 0; color: var(--on-ink); font-size: 1.5rem; cursor: pointer; }
@media (max-width: 900px) {
  .gnb { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; padding: 12px 16px 20px;
    background: var(--ink); }
  .gnb.is-open { display: flex; }
  .gnb a { font-size: 1rem; padding: 12px; }
  .menu-toggle { display: block; }
  .site-header .header-cta { display: none; }
}

/* ---------- 섹션 공통 ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--ink { background: var(--ink); color: var(--on-ink); }
.section--paper2 { background: var(--paper-2); }
.eyebrow { font-family: var(--mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.section--ink .eyebrow { color: var(--accent-ink); }
.h2 { font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.2; letter-spacing: -0.035em; margin: 12px 0 0; font-weight: 700; }
.lead { font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.7; color: var(--text-soft); max-width: 640px; margin: 16px 0 0; }
.section--ink .lead { color: var(--on-ink-soft); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.more { font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }

/* ---------- 숫자 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 28px 20px 8px 0; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__num { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 800; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.stat__label { color: var(--text-soft); margin-top: 6px; font-size: .95rem; }
.stat__note { color: var(--text-soft); font-size: .78rem; margin-top: 4px; opacity: .8; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-right: 0; }
  .stat { padding-left: 0; border-bottom: 1px solid var(--line); } }

/* ---------- 고객사 ---------- */
.clients { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px 44px; margin-top: 56px; }
.clients img { height: 28px; width: auto; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
.clients img:hover { filter: none; opacity: 1; }
.disclaimer { text-align: center; font-size: .78rem; color: var(--text-soft); margin-top: 24px; }

/* ---------- 쇼츠 ---------- */
.shorts { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.short { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; background: var(--ink-2);
  text-decoration: none; color: #fff; }
.short img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.short:hover img { transform: scale(1.05); }
.short__meta { position: absolute; inset: auto 0 0; padding: 40px 12px 12px; background: linear-gradient(transparent, rgba(0,0,0,.85)); }
.short__title { font-size: .86rem; font-weight: 600; line-height: 1.35; margin: 0; }
.short__views { font-family: var(--mono); font-size: .74rem; color: var(--accent-ink); margin-top: 6px; }
@media (max-width: 1000px) { .shorts { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .shorts { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 대표작 ---------- */
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work lite-youtube { border-radius: var(--radius); overflow: hidden; }
.work__meta { margin-top: 14px; }
.work__client { font-weight: 700; font-size: 1.05rem; }
.work__desc { color: var(--text-soft); margin-top: 4px; font-size: .92rem; line-height: 1.5; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; padding: 0; list-style: none; }
.tags li { font-size: .76rem; padding: 4px 10px; border-radius: 999px; background: var(--paper-2); color: var(--text-soft); }
@media (max-width: 900px) { .works { grid-template-columns: 1fr; } }

/* ---------- 프로세스 ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: s; margin-top: 8px; }
.step { padding: 20px 18px 0 0; border-top: 2px solid var(--line); position: relative; }
.step::before { counter-increment: s; content: "0" counter(s); font-family: var(--mono); color: var(--accent); font-size: .8rem; }
.step h3 { margin: 8px 0 6px; font-size: 1.05rem; }
.step p { margin: 0; color: var(--text-soft); font-size: .9rem; line-height: 1.55; }
.policy { margin-top: 28px; font-size: .9rem; color: var(--text-soft); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; gap: 24px 16px; } }

/* ---------- 강의 ---------- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.score-list { list-style: none; padding: 0; margin: 0; }
.score-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.score-list b { font-family: var(--mono); color: var(--accent-ink); font-size: 1.05rem; }
.score-list small { color: var(--on-ink-soft); }
.packs { display: grid; gap: 12px; margin-top: 28px; }
.pack { padding: 18px 20px; border-radius: 12px; background: var(--ink-2); }
.pack h3 { margin: 0 0 4px; font-size: 1.02rem; }
.pack p { margin: 0; color: var(--on-ink-soft); font-size: .9rem; line-height: 1.55; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---------- 디렉터 ---------- */
.director { display: grid; grid-template-columns: 340px 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.director img { border-radius: var(--radius); background: var(--paper-2); }
.awards { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 8px; }
.awards li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; font-size: .92rem; color: var(--text-soft); }
.awards li b { font-family: var(--mono); color: var(--text); font-weight: 600; }
@media (max-width: 800px) { .director { grid-template-columns: 1fr; } .director img { max-width: 320px; } }

/* ---------- 후기 ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote { margin: 0; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.quote p { margin: 0; font-size: 1.05rem; line-height: 1.6; letter-spacing: -0.01em; }
.quote cite { display: block; margin-top: 16px; font-style: normal; font-size: .86rem; color: var(--text-soft); }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- 마지막 CTA ---------- */
.final { text-align: center; }
.final .h2 { max-width: 760px; margin-inline: auto; }
.final .lead { margin-inline: auto; }
.final__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.contact-line { margin-top: 28px; color: var(--on-ink-soft); font-size: .92rem; }
.contact-line a { color: var(--on-ink); }

/* ---------- 푸터 ---------- */
.site-footer { background: #05060c; color: var(--on-ink-soft); font-size: .84rem; padding: 48px 0 40px; line-height: 1.8; }
.site-footer .wrap { display: grid; grid-template-columns: 1fr auto; gap: 24px; }
.site-footer a { color: var(--on-ink-soft); }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
@media (max-width: 700px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* ---------- 등장 모션 ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity 1s ease, transform 1s ease; }
  .reveal.is-in { opacity: 1; transform: none; }
}

/* ================= 서브 페이지 공통 ================= */
.page-hero { background: var(--ink); color: var(--on-ink); padding: 150px 0 72px; }
.page-hero .h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.page-hero .lead { color: var(--on-ink-soft); }
.page-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.anchor-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.anchor-nav a { color: var(--on-ink); text-decoration: none; font-size: .9rem; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); }
.anchor-nav a:hover { border-color: var(--accent-ink); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.section--ink .card { background: var(--ink-2); border-color: rgba(255,255,255,.06); }
.card h3 { margin: 0 0 8px; font-size: 1.15rem; letter-spacing: -0.02em; }
.card p { margin: 0; color: var(--text-soft); line-height: 1.6; font-size: .94rem; }
.section--ink .card p { color: var(--on-ink-soft); }
.card .meta { margin-top: 14px; font-size: .82rem; color: var(--text-soft); border-top: 1px solid var(--line); padding-top: 12px; }
.card .meta b { color: var(--text); font-weight: 600; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px 24px; }
.checklist li { padding-left: 26px; position: relative; line-height: 1.6; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.section--ink .checklist li::before { color: var(--accent-ink); }
.table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.table th, .table td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-weight: 600; color: var(--text-soft); font-size: .84rem; }
.table-wrap { overflow-x: auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.02rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--text-soft); line-height: 1.7; margin: 12px 0 0; }
.cta-band { background: var(--ink); color: var(--on-ink); text-align: center; padding: clamp(64px, 9vw, 112px) 0; }
.cta-band .lead { margin-inline: auto; color: var(--on-ink-soft); }
.cta-band .final__actions { margin-top: 28px; }

/* 포트폴리오 필터·그리드·플레이어 */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.chips button { font: inherit; font-size: .88rem; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--text-soft); }
.chips button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips-label { font-family: var(--mono); font-size: .74rem; color: var(--text-soft); margin: 18px 0 8px; text-transform: uppercase; letter-spacing: .1em; }
.pf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-top: 32px; }
.pf { text-align: left; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: inherit; }
.pf__thumb { position: relative; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; background: var(--paper-2); }
.pf__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.pf:hover .pf__thumb img { transform: scale(1.04); }
.pf__thumb::after { content: "▶"; position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(0,0,0,.6); color: #fff; display: grid; place-items: center; font-size: .8rem; }
.pf { min-width: 0; }
/* 제목은 한 줄로 고정, 넘치면 … (전체 제목은 마우스를 올리면 보임) — 카드 높이 통일 */
.pf__title { margin: 10px 0 4px; font-weight: 600; line-height: 1.4; font-size: .96rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf__meta { font-size: .8rem; color: var(--text-soft); }
.pf__award { color: #b7791f; font-weight: 600; }
.player { border: 0; padding: 0; background: transparent; width: min(1100px, 92vw); }
.player::backdrop { background: rgba(5,6,12,.85); }
.player__close { position: absolute; top: -44px; right: 0; background: none; border: 0; color: #fff; font-size: 1.6rem; cursor: pointer; }
.player__title { color: #fff; margin-top: 12px; }
.player lite-youtube, .work lite-youtube { max-width: none; }
.player { margin: auto; overflow: visible; }


/* ================= v2 테마 (brainall 참고) ================= */
.section--ink, .page-hero, .cta-band, .est-hero { background: var(--navy-grad); }
.section--paper2 { background: var(--paper-2); }
.section--paper2 .card, .section--paper2 .quote { background: #fff; }
.h2 { letter-spacing: -0.03em; }
.eyebrow { font-family: var(--font); font-weight: 700; letter-spacing: .02em; text-transform: none; font-size: .9rem; }
.section-head.center, .center-head { text-align: center; display: block; }
.center-head .lead { margin-inline: auto; }
.center-head { margin-bottom: 48px; }

/* 카드: 테두리 없이 옅은 회색 판 + 3D 아이콘 */
.card, .quote { background: var(--paper-2); border: 0; border-radius: var(--radius); }
.card { padding: 32px; position: relative; overflow: hidden; }
.card h3 { font-size: 1.25rem; }
.card__icon { width: 104px; height: 104px; object-fit: contain; margin: -8px 0 12px -8px; }
.section--paper2 .card__icon { }

/* 숫자: 조립형 카드 */
.stats { border: 0; gap: 16px; grid-template-columns: repeat(4, 1fr); }
.stat { background: var(--paper-2); border: 0 !important; border-radius: var(--radius); padding: 28px 24px; position: relative; overflow: hidden; min-height: 168px; }
.stat__num { font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--text); }
.stat__icon { position: absolute; right: 8px; bottom: 4px; width: 92px; height: 92px; object-fit: contain; opacity: .95; }
.section--paper2 .stat { background: #fff; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stat { padding-left: 20px; } .stat__icon { width: 64px; height: 64px; } }

/* 고객사: 회색 로고가 왼쪽으로 천천히 흐르는 띠 (마우스를 올리면 멈춤) */
.clients { display: block; overflow: hidden; margin-top: 56px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.clients__track { display: flex; align-items: center; gap: 64px; width: max-content; animation: clients-flow 45s linear infinite; }
.clients:hover .clients__track { animation-play-state: paused; }
.clients img { height: 22px; width: auto; filter: grayscale(1); opacity: .55; }
.clients img.clients__sq { height: 30px; }
@keyframes clients-flow { to { transform: translateX(-50%); } }
@media (max-width: 600px) { .clients__track { gap: 40px; animation-duration: 35s; } .clients img { height: 18px; } .clients img.clients__sq { height: 24px; } }
@media (prefers-reduced-motion: reduce) { .clients__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; } }

/* 서브 페이지 히어로: 네이비 그라데이션 + 오른쪽 그림 */
.page-hero { position: relative; overflow: hidden; padding: 160px 0 96px; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero__art { position: absolute; right: max(0px, calc(50% - 680px)); top: 50%; transform: translateY(-42%); width: min(46vw, 620px);
  aspect-ratio: 1; object-fit: cover; border-radius: 50%; opacity: .9;
  -webkit-mask-image: radial-gradient(circle, #000 52%, transparent 71%); mask-image: radial-gradient(circle, #000 52%, transparent 71%); }
.page-hero .lead { max-width: 560px; }
.page-hero .h2 { max-width: 640px; }
@media (max-width: 900px) { .page-hero__art { opacity: .35; width: 90vw; right: -20vw; } }
.anchor-nav a { border-color: rgba(255,255,255,.25); }

/* 버튼 */
.btn { border-radius: 12px; }
.btn--light { background: #fff; color: var(--navy); }
.btn--ghost { background: #fff; }

/* 진행 단계 (어두운 배경용 선 색) */
.section--ink .step { border-top-color: rgba(255,255,255,.18); }
.section--ink .step p { color: var(--on-ink-soft); }

/* 오른쪽 빠른 메뉴 */
.quick { position: fixed; right: 16px; top: 50%; transform: translateY(-50%); z-index: 1500; display: flex; flex-direction: column;
  background: var(--accent); border-radius: 14px; overflow: hidden; box-shadow: 0 16px 40px -16px rgba(21,48,255,.6); }
.quick a, .quick button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 10px; width: 72px; color: #fff;
  text-decoration: none; font-size: .72rem; font-weight: 600; border: 0; background: none; cursor: pointer; font-family: inherit; text-align: center; }
.quick a + a, .quick a + button { border-top: 1px solid rgba(255,255,255,.18); }
.quick a:hover { background: rgba(255,255,255,.12); }
.quick svg { width: 20px; height: 20px; }
.quick .quick__top { background: var(--ink); }
@media (max-width: 900px) { .quick { top: auto; bottom: 0; right: 0; left: 0; transform: none; flex-direction: row; border-radius: 0; }
  .quick a, .quick button { flex: 1; width: auto; padding: 10px 4px; } .quick a + a, .quick a + button { border-top: 0; border-left: 1px solid rgba(255,255,255,.18); }
  body { padding-bottom: 60px; } }

/* 푸터 위 견적 문의 폼 */
.footer-form { background: #0a0a12; color: #fff; padding: 64px 0; }
.footer-form .wrap { display: grid; grid-template-columns: 1fr 2.2fr; gap: 40px; align-items: start; }
.footer-form h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 0 0 12px; letter-spacing: -0.03em; }
.footer-form p { color: rgba(255,255,255,.7); margin: 0; line-height: 1.6; }
.ff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ff-grid input, .ff-grid select, .ff-grid textarea { font: inherit; font-size: .95rem; padding: 14px; border: 0; border-radius: 6px; background: #fff; color: var(--text); width: 100%; }
.ff-grid textarea { grid-column: 1 / -1; min-height: 88px; resize: vertical; }
.ff-grid .btn { grid-column: 1 / -1; justify-content: center; border-radius: 6px; padding: 16px; }
.ff-consent { grid-column: 1 / -1; display: flex; gap: 8px; align-items: center; font-size: .84rem; color: rgba(255,255,255,.7); }
.ff-status { grid-column: 1 / -1; font-size: .9rem; min-height: 1.2em; }
@media (max-width: 900px) { .footer-form .wrap { grid-template-columns: 1fr; } .ff-grid { grid-template-columns: 1fr; } }
.site-footer { background: #0a0a12; border-top: 1px solid rgba(255,255,255,.08); }
.footer-form { position: relative; z-index: 1000; }
p.eyebrow:has(+ .h2[style*="text-align:center"]) { text-align: center; }
.ff-consent input { width: auto !important; padding: 0 !important; }
.feature-img { width: 100%; border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; }

/* 서브 페이지 상단 통일 (2026-10-12): 높이 600px 고정, 내용은 세로 가운데, 제목 크기 동일 */
.page-hero { min-height: 600px; display: flex; align-items: center; padding: 108px 0 64px; color: var(--on-ink); }
.page-hero > .wrap { width: min(var(--max), 100% - 32px); }
.page-hero .eyebrow { margin: 0 0 14px; }
.page-hero .h2 { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.25; letter-spacing: -0.035em; max-width: 680px; margin: 0; }
.page-hero .lead { font-size: 1.06rem; line-height: 1.7; max-width: 560px; margin-top: 20px; color: var(--on-ink-soft); }
.page-hero .page-hero__actions, .page-hero .anchor-nav, .page-hero .channels { margin-top: 28px; }
@media (max-width: 760px) { .page-hero { min-height: 520px; padding: 100px 0 48px; } }
.page-hero .eyebrow, .cta-band .eyebrow { color: var(--accent-ink); }

/* 페이지별 색 테마 (2026-10-12): 상단·하단 CTA 띠·상단 버튼·영문 라벨만 바뀜. 영상 제작·홈·견적은 기본 블루 */
.theme-amber  { --navy-grad: linear-gradient(180deg, #120c00 0%, #3d2a00 55%, #c78a00 125%); --theme: #ffc21a; --theme-ink: #1a1200; }
.theme-red    { --navy-grad: linear-gradient(180deg, #140204 0%, #4a0710 55%, #e0242f 125%); --theme: #ff4747; --theme-ink: #fff; }
.theme-purple { --navy-grad: linear-gradient(180deg, #0b0320 0%, #2a0b5c 55%, #7b2ff7 125%); --theme: #a77bff; --theme-ink: #fff; }
:is(.theme-amber, .theme-red, .theme-purple) :is(.page-hero, .cta-band) .eyebrow { color: var(--theme); }
:is(.theme-amber, .theme-red, .theme-purple) :is(.page-hero, .cta-band) .btn--accent { background: var(--theme); color: var(--theme-ink); }
:is(.theme-amber, .theme-red, .theme-purple) .anchor-nav a:hover, :is(.theme-amber, .theme-red, .theme-purple) .channels a:hover { border-color: var(--theme); }

/* ---------- 모바일 보완 (2026-10-13): 세로로 길게 쌓이던 목록을 옆으로 넘기기·2열로 ---------- */
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .stat__num { font-size: 1.9rem !important; white-space: nowrap; }
  .center-head, .section-head { margin-bottom: 24px; }
  /* 옆으로 넘기는 카드 줄: 서비스 입구·대표작·쇼츠 */
  .works, .shorts, .cards, .quotes { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px;
    margin-inline: -16px; padding: 0 16px 12px; scroll-padding-inline: 16px; scrollbar-width: none; }
  .works::-webkit-scrollbar, .shorts::-webkit-scrollbar, .cards::-webkit-scrollbar, .quotes::-webkit-scrollbar { display: none; }
  .works > *, .cards > *, .quotes > * { flex: 0 0 84%; scroll-snap-align: start; }
  .card__icon { width: 64px; height: 64px; }
  .shorts > * { flex: 0 0 46%; scroll-snap-align: start; }
  /* 포트폴리오 2열 */
  .pf-grid { grid-template-columns: 1fr 1fr; gap: 16px 10px; margin-top: 20px; }
  .pf__title { font-size: .84rem; margin-top: 8px; }
  .pf__meta { font-size: .72rem; }
  .pf__thumb::after { width: 26px; height: 26px; right: 6px; bottom: 6px; font-size: .7rem; }
  /* 표는 줄마다 카드처럼 (가로로 넘치지 않게) */
  .table thead { display: none; }
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .table td { border: 0; padding: 2px 0; }
  .table td:first-child { font-size: .78rem; color: var(--text-soft); }
  .table td:nth-child(2) { font-weight: 600; }
  .table td:last-child { margin-top: 4px; color: var(--accent); font-weight: 600; }
}
.pf-more { display: block; margin: 28px auto 0; }



/* 영상 제작: 서비스 탭 — 그림 버튼 3개 중 하나를 누르면 아래 설명이 바뀜 */
.svc3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc3__panel { position: relative; height: 240px; overflow: hidden; border: 0; padding: 0; border-radius: 20px; cursor: pointer; font: inherit; color: #fff; text-align: left;
  background: #050816; box-shadow: 0 6px 18px rgba(3,6,34,.12); transition: transform .3s, box-shadow .3s; }
.svc3__panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .3s; filter: saturate(.75) brightness(.75); }
.svc3__panel::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 35%, color-mix(in srgb, var(--tint) 75%, transparent) 72%, color-mix(in srgb, var(--tint) 96%, #000) 100%); }
.svc3__text { position: absolute; z-index: 1; left: 0; right: 64px; bottom: 0; padding: 20px 22px; display: block; }
.svc3__en { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.svc3__title { display: block; margin-top: 6px; font-size: clamp(1.15rem, 1.8vw, 1.55rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.2; word-break: keep-all; }
/* 오른쪽 아래 동그라미: 안 고른 칸은 +, 고른 칸은 ✓ — 누르는 버튼이라는 표시 */
.svc3__pick { position: absolute; z-index: 1; right: 18px; bottom: 20px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid rgba(255,255,255,.6); font-size: 1.1rem; font-weight: 700; transition: background .3s, color .3s; }
.svc3__pick::before { content: "+"; }
@media (hover: hover) { .svc3__panel:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(3,6,34,.22); }
  .svc3__panel:hover img { transform: scale(1.05); filter: none; } }
.svc3__panel.is-on { box-shadow: 0 0 0 3px var(--accent), 0 14px 30px rgba(18,56,255,.25); }
.svc3__panel.is-on img { filter: none; }
.svc3__panel.is-on .svc3__pick { background: #fff; color: var(--accent); border-color: #fff; }
.svc3__panel.is-on .svc3__pick::before { content: "✓"; }
/* 고른 칸 아래 작은 삼각형: 이 칸의 설명이 아래라는 표시 */
.svc3__panel.is-on { overflow: visible; }
.svc3__panel.is-on img, .svc3__panel.is-on::after { border-radius: 20px; }
.svc3__panel.is-on::before { content: ""; position: absolute; left: 50%; bottom: -16px; margin-left: -10px; border: 10px solid transparent; border-top-color: var(--accent); }
.svc-pane__video { width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); background: #050816; object-fit: cover; display: block; }
.svc-pane .policy a { color: var(--accent); font-weight: 600; text-decoration: none; }
.svc-pane { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; margin-top: 48px; animation: svc-in .45s ease; }
.svc-pane[hidden] { display: none; }
.svc-pane > * { min-width: 0; }
@keyframes svc-in { from { opacity: 0; transform: translateY(10px); } }
.svc-pane lite-youtube { border-radius: var(--radius); overflow: hidden; max-width: none; }
.svc-uses { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.svc-uses li { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; padding: 12px 16px; border-radius: 12px; background: var(--paper-2); }
.svc-uses b { font-weight: 700; } .svc-uses span { font-size: .86rem; color: var(--text-soft); }
.svc-pane__period { margin: 16px 0 0; font-size: .9rem; color: var(--text-soft); }
@media (max-width: 860px) {
  .svc3 { gap: 8px; }
  .svc3__panel { height: 150px; border-radius: 14px; }
  .svc3__panel.is-on img, .svc3__panel.is-on::after { border-radius: 14px; }
  .svc3__text { padding: 12px; right: 0; } .svc3__en { display: none; }
  .svc3__title { font-size: .92rem; margin: 0; }
  .svc3__pick { top: 10px; right: 10px; bottom: auto; width: 28px; height: 28px; font-size: .9rem; }
  .svc-pane { grid-template-columns: 1fr; margin-top: 28px; }
}

/* 페이지 맨 아래 상담 신청 칸 (예전 CTA 띠 + 견적 문의 폼을 하나로) */
.footer-form { padding: clamp(64px, 9vw, 104px) 0; background: var(--navy-grad, #0a0a12); }
.footer-form .eyebrow { color: var(--accent-ink); margin: 0 0 12px; }
.footer-form h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.25; }
.ff-alt { margin-top: 22px !important; } .ff-alt a { color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: 2px; }
.ff-alt a:hover { border-color: #fff; }
.ff-line { margin-top: 18px !important; font-size: .88rem; } .ff-line a { color: rgba(255,255,255,.85); }

/* 영상 제작 아래쪽 압축 (2026-10-14): 짧은 후기 · 한 줄 진행 단계 · 2단 FAQ */
.quotes--sm .quote { padding: 22px 24px; }
.quotes--sm .quote p { font-size: .98rem; line-height: 1.55; }
.quotes--sm .quote cite { margin-top: 10px; font-size: .8rem; }
.flow { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; counter-reset: none; }
.flow li { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: 14px; background: #fff; font-weight: 700; word-break: keep-all; }
.flow b { font-family: var(--mono); font-size: .76rem; color: var(--accent); }
.flow li + li::before { content: "→"; position: absolute; left: -12px; top: 50%; transform: translate(-50%, -50%); color: var(--text-soft); font-weight: 400; display: none; }
.faq--2col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; align-items: start; }
.faq--2col details { padding: 16px 0; }
.faq--2col summary { font-size: .96rem; }
@media (max-width: 760px) {
  /* 진행 단계: 휴대폰에서는 한 줄로 옆으로 넘겨 봄 (2줄씩 쌓이면 길어짐) */
  .flow { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .flow::-webkit-scrollbar { display: none; }
  .flow li { flex: 0 0 auto; scroll-snap-align: start; }
  .faq--2col { grid-template-columns: 1fr; }
}
#reviews, #process { padding-block: clamp(56px, 7vw, 80px); }
#reviews .center-head, #process .center-head { margin-bottom: 28px; }

/* 후기 띠: 숫자 카드 아래 한 줄, 후기 3개가 번갈아 */
.voice { position: relative; display: grid; margin-top: 16px; padding: 18px 28px; border-radius: var(--radius); background: #fff; text-align: center; }
.voice__item { grid-area: 1 / 1; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 14px;
  opacity: 0; transform: translateY(6px); transition: opacity .6s, transform .6s; pointer-events: none; }
.voice__item.is-on { opacity: 1; transform: none; pointer-events: auto; }
.voice__item p { margin: 0; font-size: 1.02rem; font-weight: 600; letter-spacing: -0.01em; word-break: keep-all; }
.voice__item cite { font-style: normal; font-size: .82rem; color: var(--text-soft); }
.voice__item cite::before { content: "— "; }

/* 강의 프로그램 설명 오른쪽: 출강 실적 · 만족도 막대 */
.svc-score__h { margin: 0 0 4px; font-weight: 800; } .svc-score__h small { font-weight: 500; color: var(--text-soft); margin-left: 6px; }
.svc3__panel.is-on { box-shadow: 0 0 0 3px var(--theme, var(--accent)), 0 14px 30px rgba(3,6,34,.2); }
.svc3__panel.is-on::before { border-top-color: var(--theme, var(--accent)); }
.svc3__panel.is-on .svc3__pick { color: var(--theme-ink, var(--accent)); }
#packages .svc-uses li { background: #fff; }

/* 강의: 전체 출강 이력 (접혀 있다가 누르면 펼침) */
.history-more { margin-top: 20px; border-radius: var(--radius); background: #fff; }
.history-more summary { cursor: pointer; list-style: none; padding: 18px 24px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.history-more summary::-webkit-details-marker { display: none; }
.history-more summary small { font-weight: 500; color: var(--text-soft); }
.history-more summary::after { content: "+"; margin-left: auto; font-size: 1.3rem; color: var(--theme-ink, var(--accent)); }
.history-more[open] summary::after { content: "−"; }
.history-more .table-wrap { padding: 0 24px 20px; }
.section:not(.section--paper2) .voice { background: var(--paper-2); }
.history-more > .policy { margin: 0; padding: 0 24px 20px; font-size: .82rem; }

/* 유튜브 협업 탭: 오른쪽 "이런 주제로 만들 수 있어요" */
.svc-topics { padding: 28px; border-radius: var(--radius); background: #fff; }
.svc-topics ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.svc-topics li { padding: 14px 16px 14px 44px; border-radius: 12px; background: var(--paper-2); font-weight: 700; position: relative; word-break: keep-all; }
.svc-topics li::before { content: "Q"; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-weight: 800; color: var(--theme, var(--accent)); }
.svc-topics__note { margin: 14px 0 0; font-size: .84rem; color: var(--text-soft); }
.svc-more { margin: 32px 0 0; padding: 16px 20px; border-radius: 14px; background: #fff; font-size: .9rem; color: var(--text-soft); }
.svc-more b { color: var(--text); margin-right: 8px; }
.section--paper2 .svc-uses li { background: #fff; }
.svc3__panel.is-on .svc3__pick { color: var(--tint); }

/* 탭 설명 칸 또렷하게 (2026-10-14): 설명 전체를 흰 큰 판 하나로 띄우고, 안의 칸은 회색으로 */
.svc-pane { margin-top: 28px; padding: clamp(24px, 3.5vw, 44px); border-radius: 26px; background: #fff;
  border: 1px solid rgba(3,6,34,.08); box-shadow: 0 18px 50px rgba(3,6,34,.10); }
.svc-pane .h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.svc-pane .svc-uses li, .section--paper2 .svc-pane .svc-uses li, #packages .svc-uses li { background: var(--paper-2); }
.svc-uses li { position: relative; padding-left: 46px; }
.svc-uses li::before { content: "✓"; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; font-size: .72rem; font-weight: 800; color: #fff; background: var(--theme, var(--accent)); }
.theme-amber .svc-uses li::before { color: #1a1200; }
.svc-pane .svc-topics { background: var(--paper-2); }
.svc-pane .svc-topics li { background: #fff; }
.history-more, .voice, .svc-more { border: 1px solid rgba(3,6,34,.08); box-shadow: 0 6px 20px rgba(3,6,34,.06); }
.svc3__panel.is-on::before { bottom: -18px; }

/* ===== 숫자는 맨 위 제목 영역 맨 아래 반투명 띠로, 후기 한 줄은 그 바로 위 (2026-10-14) ===== */
.page-hero:has(.hero-stats) { align-items: flex-end; padding-bottom: 0; padding-top: 140px; }
.hero-stats { position: relative; z-index: 1; margin-top: 40px; margin-inline: calc(50% - 50vw); padding: 24px calc(50vw - 50%);
  color: #fff; background: rgba(0,0,0,.32); border-top: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero-stats .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0; border: 0; }
.hero-stats .stat { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 12px;
  background: none; border: 0 !important; border-radius: 0; padding: 0; min-height: 0; overflow: visible; }
.hero-stats .stat__num { grid-row: span 2; color: #fff !important; font-size: clamp(1.7rem, 2.6vw, 2.3rem) !important; font-weight: 800; letter-spacing: -0.03em; }
.hero-stats .stat__label { margin: 0; align-self: end; color: rgba(255,255,255,.88); font-size: .9rem; }
.hero-stats .stat__note { margin: 0; align-self: start; color: rgba(255,255,255,.55); font-size: .76rem; word-break: keep-all; }
.hero-stats .stat__icon { display: none; }
.page-hero .voice { position: relative; z-index: 1; margin-top: 32px; padding: 0; background: none !important; border: 0; box-shadow: none; text-align: left; }
.page-hero .voice__item { justify-content: flex-start; }
.page-hero .voice__item p { color: rgba(255,255,255,.92); font-size: .95rem; text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.page-hero .voice__item cite { color: rgba(255,255,255,.6); }
@media (max-width: 760px) {
  .hero-stats .stats { grid-template-columns: 1fr 1fr; gap: 14px 10px; }
  .hero-stats .stat { grid-template-columns: 1fr; } .hero-stats .stat__num { grid-row: auto; }
  .hero-stats .stat__note { display: none; }
}
/* 세 페이지 제목 영역 높이·제목 시작 위치 통일: 높이 고정, 제목은 위에서부터, 숫자 띠는 맨 아래 */
.page-hero:has(.hero-stats) { min-height: 680px; align-items: stretch; padding-top: 128px; }
.page-hero:has(.hero-stats) > .wrap { display: flex; flex-direction: column; }
.page-hero:has(.hero-stats) .hero-stats { margin-top: auto; }
.page-hero:has(.hero-stats) .page-hero__actions + .hero-stats, .page-hero:has(.hero-stats) .voice + .hero-stats { margin-top: auto; }
.page-hero:has(.hero-stats) .voice { margin-bottom: 36px; }
.page-hero:has(.hero-stats) .page-hero__actions { margin-bottom: 36px; }
@media (max-width: 760px) { .page-hero:has(.hero-stats) { min-height: 800px; padding-top: 104px; } }
/* 페이지 색 테마: 상단 메뉴 버튼·탭 설명 버튼·맨 아래 상담 신청 버튼까지 페이지 색으로 */
:is(.theme-amber, .theme-red, .theme-purple) .btn--accent { background: var(--theme); color: var(--theme-ink); }
:is(.theme-amber, .theme-red, .theme-purple) .btn--accent:hover { filter: brightness(1.08); }

/* ---------- 고급 모션 (body.fx · 데스크톱 · 움직임 줄이기 꺼짐일 때만) ---------- */
@media (min-width: 761px) and (prefers-reduced-motion: no-preference) {
  .fx { --fx-ease: cubic-bezier(.2,.7,.2,1); }
  /* 히어로: 차례로 등장 + 배경 그림 아주 느린 줌 */
  .fx .page-hero .wrap > * { animation: fx-up 1.35s var(--fx-ease) .2s both; }
  .fx .page-hero .wrap > :nth-child(2) { animation-delay: .32s; }
  .fx .page-hero .wrap > :nth-child(3) { animation-delay: .44s; }
  .fx .page-hero .wrap > :nth-child(4) { animation-delay: .56s; }
  .fx .page-hero .wrap > :nth-child(5) { animation-delay: .74s; }
  .fx .page-hero .wrap > :nth-child(n+6) { animation-delay: .92s; }
  .fx .page-hero__art { transform: none; translate: 0 -42%; animation: fx-kb 20s ease-out both, fx-float 8s ease-in-out 1.5s infinite alternate; }
  /* 섹션 제목: 틀 아래에서 밀려 올라옴 */
  .fx .h2.reveal { opacity: 1; transform: none; overflow: hidden; padding-bottom: .1em; }
  .fx .h2.reveal .fx-line { display: block; transform: translateY(110%); transition: transform 1.35s var(--fx-ease); }
  .fx .h2.reveal.is-in .fx-line { transform: none; }
  /* 작은 영문 제목: 앞에 선이 그어짐 */
  .fx .eyebrow.reveal::before { content: ""; display: inline-block; vertical-align: middle; width: 0; height: 2px; margin-right: 0; background: currentColor; transition: width .9s .22s var(--fx-ease), margin .9s .22s var(--fx-ease); }
  .fx .eyebrow.reveal.is-in::before { width: 22px; margin-right: 10px; }
  /* 서비스 카드: 위에서 아래로 열림 + 살짝 축소 */
  .fx .svc3.reveal, .fx .fx-sec.reveal { opacity: 1; transform: none; }
  /* 서비스 카드: 살짝 뒤로 누운 채 흐릿하게 떠오르며 선명해짐, 글자는 한 박자 뒤 */
  .fx :is(.svc3, .split3).reveal { perspective: 1400px; }
  .fx :is(.svc3, .split3).reveal:not(.is-in) > * { opacity: 0; }
  .fx :is(.svc3, .split3).is-in > * { animation: fx-card 1.6s var(--fx-ease) backwards; transform-origin: 50% 100%; }
  .fx :is(.svc3, .split3).is-in > :nth-child(2) { animation-delay: .16s; }
  .fx :is(.svc3, .split3).is-in > :nth-child(3) { animation-delay: .32s; }
  .fx :is(.svc3, .split3).is-in :is(.svc3__text, .split3__text) { animation: fx-up 1.1s var(--fx-ease) backwards; }
  .fx :is(.svc3, .split3).is-in > * :is(.svc3__text, .split3__text) { animation-delay: calc(var(--fx-i, 0) * .16s + .45s); }
  .fx :is(.svc3, .split3).is-in > :nth-child(2) { --fx-i: 1; } .fx :is(.svc3, .split3).is-in > :nth-child(3) { --fx-i: 2; }
  /* 탭 내용: 버튼 카드가 다 나온 뒤 화면에 들어오면 등장(.pane-in, site.js), 탭을 누른 뒤엔 바로(.fx-picked).
     왼쪽 글 → 오른쪽(영상·슬라이드) → 항목이 차례로 */
  .fx .fx-sec .svc-pane { opacity: 0; }
  .fx .fx-sec:is(.pane-in, .fx-picked) .svc-pane { opacity: 1; animation: fx-up 1.1s var(--fx-ease) both; }
  .fx .fx-sec:is(.pane-in, .fx-picked) .svc-pane > :nth-child(2) { animation: fx-up 1.2s var(--fx-ease) .2s both; }
  .fx .fx-sec:is(.pane-in, .fx-picked) .svc-pane :is(.svc-uses, .svc-topics ul, .svc-topics ol) > li { animation: fx-up .9s var(--fx-ease) calc(.3s + var(--i, 0) * .09s) both; }
  .fx .svc-pane li:nth-child(2) { --i: 1; } .fx .svc-pane li:nth-child(3) { --i: 2; } .fx .svc-pane li:nth-child(4) { --i: 3; } .fx .svc-pane li:nth-child(n+5) { --i: 4; }
  /* 홈: 숫자 3개와 서비스 카드 */
  .fx .big3.is-in .big3__item > * { animation: fx-up 1.2s var(--fx-ease) both; }
  .fx .big3.is-in .big3__item[data-k="aw"] > * { animation-delay: .18s; }
  .fx .big3.is-in .big3__item[data-k="lc"] > * { animation-delay: .36s; }
  .fx .split3.reveal { opacity: 1; transform: none; }
  /* 쇼츠 목록: 줄마다 차례로 */
  .fx .short.reveal:nth-child(5n+2) { transition-delay: .09s; }
  .fx .short.reveal:nth-child(5n+3) { transition-delay: .18s; }
  .fx .short.reveal:nth-child(5n+4) { transition-delay: .27s; }
  .fx .short.reveal:nth-child(5n) { transition-delay: .36s; }
  /* 제작 과정: 단계가 차례로 + 잇는 선 */
  .fx .flow.reveal, .fx .faq.reveal { opacity: 1; transform: none; }
  .fx .flow { position: relative; }
  .fx .flow::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--theme, var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform 2.1s .3s var(--fx-ease); }
  .fx .flow.is-in::before { transform: none; }
  .fx .flow.reveal > li, .fx .faq.reveal > * { opacity: 0; transform: translateY(12px); transition: opacity .9s var(--fx-ease), transform .9s var(--fx-ease); }
  .fx .flow.reveal.is-in > li, .fx .faq.reveal.is-in > * { opacity: 1; transform: none; }
  .fx .flow > li:nth-child(2), .fx .faq > :nth-child(2) { transition-delay: .12s; }
  .fx .flow > li:nth-child(3), .fx .faq > :nth-child(3) { transition-delay: .24s; }
  .fx .flow > li:nth-child(4), .fx .faq > :nth-child(4) { transition-delay: .36s; }
  .fx .flow > li:nth-child(5), .fx .faq > :nth-child(5) { transition-delay: .48s; }
  .fx .faq > :nth-child(n+6) { transition-delay: .6s; }
  /* 후기: 약한 흐림을 더해 부드럽게 바뀜 */
  .fx .voice__item { filter: blur(6px); transition: opacity 1.2s, transform 1.2s, filter 1.2s; }
  .fx .voice__item.is-on { filter: none; }
}
@keyframes fx-up { from { opacity: 0; transform: translateY(14px); } }
@keyframes fx-kb { from { scale: 1; } to { scale: 1.06; } }
@keyframes fx-float { to { translate: 0 calc(-42% - 14px); } }
@keyframes fx-card { from { opacity: 0; transform: translateY(56px) rotateX(14deg) scale(.96); filter: blur(10px); } 60% { filter: blur(0); } }

/* ---------- 강의 슬라이드: 탭 안 슬라이드 묶음 + 흐르는 슬라이드 벽 ---------- */
.svc-side { display: grid; gap: 22px; min-width: 0; }
.deck { position: relative; aspect-ratio: 16 / 10.5; margin: 6px 3% 4px 13%; }
.deck img { position: absolute; left: 0; right: 0; top: 8%; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: 12px; background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 16px 36px rgba(30,24,10,.18);
  transform-origin: 50% 90%; transition: transform .9s cubic-bezier(.2,.7,.2,1), opacity .6s; }
.deck img:nth-child(1) { transform: translate(-17%, 7%) rotate(-9deg) scale(.84); }
.deck img:nth-child(2) { transform: translate(-10%, 4%) rotate(-5deg) scale(.89); }
.deck img:nth-child(3) { transform: translate(-4%, 1.5%) rotate(-2deg) scale(.94); }
.deck img:nth-child(4) { transform: translate(3%, -2%) rotate(1.5deg); }
.deck img.is-leaving { transform: translate(28%, -10%) rotate(9deg) scale(.96); opacity: 0; }
@media (hover: hover) {
  .deck:hover img:nth-child(1) { transform: translate(-30%, 9%) rotate(-12deg) scale(.84); }
  .deck:hover img:nth-child(2) { transform: translate(-18%, 5%) rotate(-7deg) scale(.89); }
  .deck:hover img:nth-child(3) { transform: translate(-7%, 2%) rotate(-3deg) scale(.94); }
  .deck:hover img:nth-child(4) { transform: translate(6%, -4%) rotate(2deg) scale(1.02); }
}
.slidewall-sec { overflow: hidden; padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(32px, 5vw, 64px); }
.slidewall { margin-top: clamp(12px, 2vw, 24px); padding: 16px 0 32px; perspective: 1600px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.slidewall__plane { display: grid; gap: 18px; transform: rotateX(16deg) rotateZ(-4deg) scale(1.08); transform-style: preserve-3d; }
.slidewall__row { display: flex; width: max-content; animation: wall-x 80s linear infinite; }
.slidewall__row + .slidewall__row { animation-direction: reverse; animation-duration: 95s; margin-left: -180px; }
.slidewall img { margin-right: 18px; width: clamp(180px, 17vw, 250px); height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; background: #fff;
  box-shadow: 0 18px 40px rgba(30,24,10,.16); }
.slidewall--shorts img { width: clamp(96px, 7.5vw, 124px); aspect-ratio: 9 / 16; border-radius: 16px; }
@keyframes wall-x { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .slidewall__row { animation: none; } .deck img { transition: none; } }

/* ---------- 후기 카드: 별점 줄 + 출처는 카드 아래 끝에 맞춤, 한 줄 안에서 차례로 등장 ---------- */
.quotes .quote { display: flex; flex-direction: column; }
.quote .quote__stars { margin-bottom: 14px; font-size: .95rem; letter-spacing: .12em; color: #f5b301; }
.quote__stars b { margin-left: 8px; font-size: .9rem; letter-spacing: 0; color: var(--text); }
.quotes .quote cite { margin-top: auto; padding-top: 18px; }
.quotes > .reveal:nth-child(3n+2) { transition-delay: .12s; }
.quotes > .reveal:nth-child(3n) { transition-delay: .24s; }
.history-more--open { padding-top: 16px; }
.quotes { grid-auto-rows: 1fr; }   /* 후기 카드: 모든 줄 높이를 같게 */
.section:not(.section--paper2) .flow li { background: var(--paper-2); }   /* 흰 섹션에서도 진행 단계 칸이 보이게 */

/* ---------- 출강 이력: 휴대폰에서는 최근 3개만, 버튼으로 전체 ---------- */
.hist-toggle { display: none; }
@media (max-width: 760px) {
  .history-more--open:not(.is-all) tbody tr:nth-child(n+4) { display: none; }   /* 최근 3개 */
  .hist-toggle { display: block; width: calc(100% - 48px); margin: 0 24px 16px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: inherit; font-weight: 700; color: var(--text); cursor: pointer; }
}

/* ---------- 페이지 색 테마: 밝은 섹션의 꼬리표·진행 번호·질문 +도 페이지 색 (흰 바탕에서 읽히게 짙은 색) ---------- */
.theme-amber { --theme-text: #8f6200; } .theme-red { --theme-text: #c8202a; } .theme-purple { --theme-text: #6a3fd1; }
:is(.theme-amber, .theme-red, .theme-purple) :is(.eyebrow, .flow b, .table td:last-child) { color: var(--theme-text); }
:is(.theme-amber, .theme-red, .theme-purple) .faq summary::after { color: var(--theme-text); }
:is(.theme-amber, .theme-red, .theme-purple) :is(.section--ink, .footer-form) .eyebrow { color: var(--theme); }

/* ---------- 휴대폰: 첫 화면 글 줄이기 + 서비스 하나(그림 버튼·설명·영상)가 한 화면에 들어오게 ---------- */
@media (max-width: 760px) {
  .page-hero .hero-detail, .page-hero .voice { display: none; }   /* 첫 화면은 제목·한 줄 소개·버튼·숫자만 */
  .page-hero:has(.hero-stats) { min-height: 640px; }
  .page-hero .lead { margin-top: 12px; }
  .svc3__panel { height: 88px; }
  .svc-pane { margin-top: 16px; padding: 16px; }
  .svc-pane > :nth-child(2) { order: -1; margin-bottom: 14px; }   /* 영상·슬라이드·주제 먼저, 설명은 아래 */
  .svc-pane .h2 { font-size: 1.25rem; }
  .svc-pane .lead { margin-top: 6px; font-size: .9rem; line-height: 1.55; }
  .svc-uses { margin-top: 12px; grid-template-columns: 1fr 1fr; gap: 6px; }
  .svc-uses li { padding: 8px 8px 8px 30px; font-size: .8rem; line-height: 1.35; }
  .svc-uses li::before { left: 9px; width: 16px; height: 16px; font-size: .65rem; }
  .svc-uses span { display: none; }
  .svc-pane__period { margin-top: 10px; font-size: .78rem; }
  .svc-pane p[style*="margin-top"] { margin-top: 12px !important; }
  .svc-pane .btn { padding: 9px 16px; font-size: .86rem; }
  .svc-pane .policy { margin: 6px 0 0; font-size: .74rem; }
  .svc-side .deck { margin: 2px 14% 0 20%; }
  .svc-topics { padding: 14px; }
  .svc-topics ul { margin-top: 8px; gap: 6px; }
  .svc-topics li { padding: 9px 10px 9px 32px; font-size: .84rem; }
  .svc-topics li::before { left: 12px; }
  .svc-topics__note { display: none; }
}

/* ---------- 휴대폰: 서비스 페이지 섹션마다 한 화면(머리띠·아래 빠른 메뉴 뺀 약 717px)에 들어오게 ---------- */
@media (max-width: 760px) {
  main > .section { padding-block: 36px; }
  main > .slidewall-sec { padding-block: 36px 20px; }
  .center-head, #reviews .center-head, #process .center-head { margin-bottom: 18px; }
  .center-head .h2 { font-size: 1.5rem; }
  .center-head .lead { margin-top: 8px; font-size: .9rem; }
  .svc3__panel { height: 76px; }
  .svc-more { display: none; }   /* 유튜브: 같은 내용이 자주 묻는 질문에 있음 */
  .flow { margin-bottom: 18px; }
  .faq--2col details { padding: 12px 0; }
  .faq--2col summary { font-size: .9rem; }
  .history-more--open .table td:nth-child(4) { display: none; }   /* 출강 이력: 대상 칸은 휴대폰에서 뺌 */
  .footer-form { padding-block: 36px; }
  .footer-form .wrap { gap: 18px; }
  .footer-form h2 { font-size: 1.5rem; }
  .ff-alt { margin-top: 12px !important; }
  .ff-grid { grid-template-columns: 1fr 1fr; gap: 8px; }   /* 문의 입력칸 2열 */
  .ff-grid input, .ff-grid select, .ff-grid textarea { padding: 11px 12px; font-size: .9rem; }
  .ff-grid textarea { min-height: 72px; }
  .ff-grid .btn { padding: 13px; }
  /* 서비스 섹션: 그림 버튼이 제목 역할을 하니 꼬리표는 빼고 여백·영상 높이를 줄임 */
  main > section:has(.svc3) { padding-block: 18px; }
  .svc3__panel { height: 66px; }
  .svc3__text { padding: 8px 10px; }
  .svc3__title { font-size: .8rem; line-height: 1.25; }
  .svc-pane { margin-top: 12px; }
  .svc-pane > :nth-child(2) { margin-bottom: 10px; }
  .svc-uses li { padding-block: 6px; }
  section:has(.svc3) .center-head { margin-bottom: 12px; }
  section:has(.svc3) .center-head .eyebrow { display: none; }
  .svc-pane .h2 { font-size: 1.15rem; }
  .svc-pane .lead { font-size: .86rem; line-height: 1.5; }
  .svc-pane__video { aspect-ratio: 2 / 1; }
  .svc-side .deck { margin: 0 20% 0 26%; }
  .svc-topics .svc-score__h { font-size: .82rem; }
  .svc-topics li { padding: 7px 10px 7px 30px; font-size: .8rem; }
  .history-more--open { padding-top: 8px; }
  .history-more .table-wrap { padding-bottom: 10px; }
}

/* ---------- 휴대폰 2차: 실제 아이폰 사파리 기준(보이는 높이 약 745px − 위 메뉴 69 − 아래 빠른 메뉴 58 = 약 618px)에 섹션이 들어오게 ---------- */
@media (max-width: 760px) {
  main > .section { padding-block: 26px; }
  main > section:has(.svc3) { padding-block: 12px; }
  .center-head, #reviews .center-head, #process .center-head { margin-bottom: 12px; }
  .center-head .h2 { font-size: 1.35rem; }
  .center-head .lead { margin-top: 4px; font-size: .84rem; }
  /* 서비스 탭 */
  .svc3__panel { height: 54px; }
  .svc-pane { margin-top: 12px; padding: 12px 14px; }
  .svc-pane__video { aspect-ratio: 21 / 9; }
  .svc-side .deck { margin: 0 26% 0 32%; }
  .svc-pane .lead { font-size: .82rem; }
  .svc-uses { margin-top: 10px; }
  .svc-pane__period { margin-top: 8px; font-size: .72rem; }
  .svc-pane p[style*="margin-top"] { margin-top: 10px !important; }
  .svc-topics { padding: 10px 12px; }
  .svc-topics ul { gap: 4px; }
  .svc-topics li { padding-block: 6px; }
  /* 포트폴리오: 분야 버튼은 한 줄로 옆으로 넘김, 제목은 한 줄 */
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chips button { flex: none; padding: 6px 12px; font-size: .8rem; }
  .pf__title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  /* 진행·질문, 출강 이력, 후기 */
  .faq--2col details { padding: 9px 0; }
  .faq--2col summary { font-size: .86rem; }
  .table tr { padding: 7px 0; }
  .history-more > .policy { font-size: .7rem; line-height: 1.45; }
  /* 문의칸: 전화·이메일 줄은 아래 빠른 메뉴(전화)와 겹쳐 숨김 */
  .footer-form { padding-block: 26px; }
  .footer-form h2 { font-size: 1.3rem; }
  .footer-form .wrap { gap: 14px; }
  .ff-line { display: none; }
  .ff-grid textarea { min-height: 64px; }
  .svc3__panel { height: 48px; }
  .svc-pane { padding: 10px 12px; }
  .table tr { padding: 5px 0; }
  .history-more--open { padding-top: 4px; }
  .history-more > .policy { font-size: .66rem; }
  .hist-toggle { margin-bottom: 10px; padding: 10px; }
}

/* ---------- PC: 섹션 하나가 노트북 한 화면(1440×900 화면 → 보이는 높이 약 790 − 위 메뉴 69 = 약 720px)에 들어오게 (스냅 없음) ---------- */
@media (min-width: 761px) {
  main > .section { padding-block: clamp(56px, 6vw, 88px); }
  .center-head, #reviews .center-head, #process .center-head { margin-bottom: 32px; }
  /* 서비스 탭: 그림 버튼 낮게, 설명 칸 촘촘히, 항목 2열 */
  .svc3__panel { height: 120px; }
  .svc-pane { margin-top: 28px; padding: 28px 32px; }
  .svc-pane .h2 { font-size: clamp(1.4rem, 2vw, 1.8rem); }
  .svc-pane .lead { margin-top: 12px; font-size: 1rem; line-height: 1.6; }
  .svc-uses { margin-top: 16px; grid-template-columns: 1fr 1fr; gap: 8px; }
  .svc-uses li { padding-block: 10px; flex-direction: column; align-items: flex-start; gap: 2px; }
  .svc-pane__period { margin-top: 12px; }
  .svc-pane p[style*="margin-top"] { margin-top: 16px !important; }
  .svc-side .deck { margin: 0 6% 0 14%; }
  /* 출강 이력: PC는 최근 6개 + 전체 보기 */
  .history-more--open:not(.is-all) tbody tr:nth-child(n+7) { display: none; }
  .hist-toggle { display: block; width: calc(100% - 48px); margin: 0 24px 16px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: inherit; font-weight: 700; color: var(--text); cursor: pointer; }
  .table th, .table td { padding-block: 11px; }
  /* 후기·댓글 카드 */
  .quote { padding: 22px 24px; }
  .quote p { font-size: .98rem; line-height: 1.55; }
  /* 유튜브: 장면 모음 높이, Top 10은 가운데 좁게(카드 작게) */
  .section--ink .shorts { max-width: 760px; margin-inline: auto; gap: 10px; }
  .section--ink .short__title { font-size: .76rem; }
  section:has(.svc3) .center-head { margin-bottom: 24px; }
  .svc3__panel { height: 104px; }
  .svc-pane { margin-top: 22px; }
  .svc-more { display: none; }   /* 유튜브 「이런 협업도」: 같은 내용이 자주 묻는 질문에 있음 */
  #portfolio .center-head { margin-bottom: 20px; }
  #portfolio .pf-grid { margin-top: 14px; }
  #portfolio .pf__title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  #portfolio .pf-more { margin-top: 16px; }
  #portfolio .wrap { max-width: 1100px; }
}
@media (min-width: 1100px) { #portfolio .pf-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- 섹션마다 화면을 꽉 채움 (내용은 세로 가운데) — PC·휴대폰 ---------- */
main > .section, .footer-form { display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 761px) {
  .page-hero { min-height: 100vh; }
  main > .section { min-height: calc(100vh - 69px); padding-block: 24px; }   /* 여백 대신 화면 높이로 채우고 내용은 가운데 */
  .footer-form { min-height: calc(100vh - 69px - 210px); padding-block: 48px; }   /* 문의 + 맨 아래 회사 정보(약 210px)가 마지막 한 화면 */
  .page-hero:has(.hero-stats) { min-height: 100vh; }
  /* 노트북(보이는 높이 약 720px)에서도 넘치지 않게 */
  main > section:has(.svc3) { padding-block: 16px; }
  .svc3__panel { height: 92px; }
  .svc-pane { padding: 22px 28px; }
  #portfolio { padding-block: 16px; }
  #portfolio .wrap { max-width: 1000px; }
  .quote { padding: 18px 22px; }
  .quote p { font-size: .94rem; line-height: 1.5; }
  .slidewall--shorts img { width: clamp(90px, 6.5vw, 116px); }
  #portfolio .center-head, #reviews .center-head { margin-bottom: 16px; }
  #portfolio .pf-more { margin-top: 10px; }
  .quotes { gap: 12px; }
  .quote .quote__stars { margin-bottom: 8px; }
  .quotes .quote cite { padding-top: 10px; }
}
@media (max-width: 760px) {
  /* 섹션 = 위 메뉴(68)와 아래 빠른 메뉴(58) 사이 공간과 같은 높이 → 스냅이 늘 섹션 맨 위에 딱 걸림 */
  .page-hero:has(.hero-stats) { min-height: calc(100vh - 58px); }
  main > .section { min-height: calc(100vh - 126px); }
  .footer-form { min-height: calc(100vh - 126px - 258px + 58px); }
}

/* PC인데 화면 높이가 낮을 때(윈도우 노트북 125% 배율 등, 보이는 높이 약 730px 이하): 조금 더 촘촘히 */
@media (min-width: 761px) and (max-height: 760px) {
  .center-head .h2 { font-size: clamp(1.6rem, 2.4vw, 2rem); }
  .center-head, #reviews .center-head, #process .center-head, #portfolio .center-head { margin-bottom: 14px; }
  .svc3__panel { height: 74px; }
  .svc-pane { margin-top: 16px; padding: 16px 22px; }
  .svc-uses li { padding-block: 7px; }
  #portfolio .wrap { max-width: 850px; }
  .quote p { font-size: .9rem; }
  .slidewall--shorts img { width: clamp(84px, 6vw, 104px); }
  .section--ink .shorts { max-width: 660px; }
}

/* ---------- 섹션마다 한 화면씩 걸리는 스크롤 (PC·휴대폰) ----------
   모든 페이지 반드시 걸림(mandatory). 홈 첫 화면 영상 구간(.sw-track)은 화면보다 훨씬 긴 칸 하나라 그 안에서는 자유 스크롤.
   홈은 영상 구간 높이가 정해진 뒤에 켬(.snap-ready, index.html) — 먼저 켜면 높이 0인 순간 아래 섹션에 걸린 채로
   늘어나 페이지가 저절로 끝까지 내려감 */
html:has(.svc3), html:has(.contact-grid) { scroll-snap-type: y mandatory; }
html.snap-ready:has(.sw-root) { scroll-snap-type: y mandatory; }
html:has(.sw-root) .sw-track { scroll-snap-align: start; }
html:has(.svc3), html:has(.sw-root), html:has(.contact-grid) { scroll-padding-top: 69px; }
:is(html:has(.svc3), html:has(.sw-root), html:has(.contact-grid)) :is(.page-hero, main > section, .footer-form) { scroll-snap-align: start; scroll-snap-stop: always; }
:is(html:has(.svc3), html:has(.sw-root), html:has(.contact-grid)) .site-footer { scroll-snap-align: end; }
@media (max-width: 760px) { html:has(.svc3), html:has(.sw-root), html:has(.contact-grid) { scroll-padding-top: 68px; scroll-padding-bottom: 58px; } }

/* ---------- 서비스 탭 첫 화면: 큰 그림 버튼 3개만 (.svc-intro, site.js) — 하나를 누르면 작은 버튼 + 설명으로 바뀌고 그 뒤로는 계속 ---------- */
.svc-intro .svc-pane { display: none; }
.svc-intro .svc3__panel.is-on { box-shadow: none; }
.svc-intro .svc3__panel.is-on::before { display: none; }
.svc-intro .svc3__panel.is-on img { filter: saturate(.75) brightness(.75); }
.svc-intro .svc3__panel.is-on .svc3__pick { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.svc-intro .svc3__panel.is-on .svc3__pick::before { content: "+"; }
.svc3__panel:nth-child(1) { view-transition-name: svc-tile-1; }
.svc3__panel:nth-child(2) { view-transition-name: svc-tile-2; }
.svc3__panel:nth-child(3) { view-transition-name: svc-tile-3; }
::view-transition-group(*) { animation-duration: .6s; animation-timing-function: cubic-bezier(.2,.7,.2,1); }
@media (min-width: 761px) {
  .svc-intro .svc3__panel { height: auto; aspect-ratio: 1 / 1; max-height: calc(100vh - 69px - 190px); }   /* 정사각형, 화면 높이에 맞춰 */
  .svc-intro .svc3__text { padding: 28px 30px; right: 80px; }
  .svc-intro .svc3__en { font-size: .8rem; }
  .svc-intro .svc3__title { margin-top: 8px; font-size: clamp(1.5rem, 2.3vw, 2.1rem); }
  .svc-intro .svc3__pick { width: 48px; height: 48px; right: 26px; bottom: 28px; font-size: 1.2rem; }
}
@media (max-width: 760px) {
  .svc-intro .svc3 { grid-template-columns: 1fr; gap: 10px; }
  .svc-intro .svc3__panel { height: calc((100vh - 126px - 120px) / 3); }   /* 세 장이 한 화면에 */
  .svc-intro .svc3__text { padding: 16px 18px; right: 60px; }
  .svc-intro .svc3__en { display: block; font-size: .68rem; }
  .svc-intro .svc3__title { margin-top: 4px; font-size: 1.25rem; }
  .svc-intro .svc3__pick { top: auto; bottom: 16px; right: 16px; width: 34px; height: 34px; }
}

/* ---------- 진행 과정: 단계 카드(3D 아이콘·번호·제목·한 줄 설명) — PC 고급 모션에서 선이 그려지고 카드가 차례로, 아이콘은 은은히 떠다님 ---------- */
.flow--rich { gap: 14px; }
.flow--rich li { z-index: 1; align-items: flex-start; gap: 4px; padding: 18px 20px 20px; border-radius: 18px; font-weight: 400; }
.flow__ic { width: 64px; height: 64px; object-fit: contain; margin: -4px 0 6px -6px; }
.flow--rich b { font-size: .72rem; }
.flow--rich strong { font-size: 1.02rem; font-weight: 800; letter-spacing: -.02em; word-break: keep-all; }
.flow--rich span { font-size: .84rem; line-height: 1.5; color: var(--text-soft); word-break: keep-all; }
@keyframes fx-bob { 50% { transform: translateY(-6px); } }
@media (min-width: 761px) and (prefers-reduced-motion: no-preference) {
  .fx .flow--rich::before { top: 46px; height: 2px; z-index: 0; }
  .fx .flow--rich.is-in .flow__ic { animation: fx-bob 3.8s ease-in-out infinite; }
  .fx .flow--rich.is-in li:nth-child(2) .flow__ic { animation-delay: -.7s; }
  .fx .flow--rich.is-in li:nth-child(3) .flow__ic { animation-delay: -1.4s; }
  .fx .flow--rich.is-in li:nth-child(4) .flow__ic { animation-delay: -2.1s; }
  .fx .flow--rich.is-in li:nth-child(5) .flow__ic { animation-delay: -2.8s; }
}
@media (max-width: 760px) {
  .flow--rich li { flex: 0 0 168px; padding: 14px 14px 16px; }
  .flow__ic { width: 46px; height: 46px; margin-bottom: 2px; }
  .flow--rich strong { font-size: .9rem; }
  .flow--rich span { font-size: .76rem; }
}

/* ---------- 후기·댓글: 왼쪽 큰 숫자 카드(숫자 올라감·별 하나씩) + 오른쪽 두 줄로 반대 방향으로 흐르는 카드 ---------- */
.rv { display: grid; grid-template-columns: minmax(240px, .8fr) 2fr; gap: 20px; align-items: stretch; }
.rv__sum { border-radius: 24px; padding: 32px; background: var(--navy-grad, var(--ink)); color: #fff; display: flex; flex-direction: column; justify-content: center; }
.rv__num { margin: 0; font-size: clamp(3rem, 5vw, 4.4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--theme, #fff); }
.rv__stars { margin: 12px 0 0; font-size: 1.3rem; letter-spacing: .08em; color: #f5b301; }
.rv__stars span { display: inline-block; }
.rv__label { margin: 16px 0 0; font-size: 1.05rem; font-weight: 700; }
.rv__note { margin: 6px 0 0; font-size: .88rem; line-height: 1.5; color: rgba(255,255,255,.7); }
.rv__wall { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; height: 440px;
  -webkit-mask-image: linear-gradient(transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(transparent, #000 10%, #000 90%, transparent); }
.rv__col { overflow: hidden; }
.rv__track, .rv__dup { display: flex; flex-direction: column; gap: 14px; }
.rv__dup { padding-bottom: 14px; }   /* 두 벌의 높이를 같게 → -50%에서 이음새 없이 반복 */
.rv__track { animation: rv-y 48s linear infinite; }
.rv__col:nth-child(2) .rv__track { animation-duration: 58s; animation-direction: reverse; }
.rv .quote { margin: 0; }
@keyframes rv-y { to { transform: translateY(-50%); } }
@keyframes rv-x { to { transform: translateX(-50%); } }
@keyframes fx-pop { from { opacity: 0; transform: scale(.3); } }
@media (min-width: 761px) and (prefers-reduced-motion: no-preference) {
  .fx .rv.is-in .rv__stars span { animation: fx-pop .5s var(--fx-ease) .6s both; }
  .fx .rv.is-in .rv__stars span:nth-child(2) { animation-delay: .72s; }
  .fx .rv.is-in .rv__stars span:nth-child(3) { animation-delay: .84s; }
  .fx .rv.is-in .rv__stars span:nth-child(4) { animation-delay: .96s; }
  .fx .rv.is-in .rv__stars span:nth-child(5) { animation-delay: 1.08s; }
}
@media (prefers-reduced-motion: reduce) { .rv__track { animation: none; } .rv__col { overflow: auto; } .rv__dup { display: none; } }
@media (max-width: 760px) {
  .rv { grid-template-columns: 1fr; gap: 12px; }
  .rv__sum { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; padding: 14px 18px; border-radius: 18px; }
  .rv__num { grid-row: span 3; font-size: 2.3rem; }
  .rv__stars { margin: 0; font-size: .9rem; }
  .rv__label { margin: 0; font-size: .9rem; }
  .rv__note { margin: 0; font-size: .74rem; }
  .rv__wall { grid-template-columns: 1fr; gap: 10px; height: auto;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
  .rv__track, .rv__dup { flex-direction: row; gap: 10px; }
  .rv__dup { padding: 0 10px 0 0; }
  .rv__track { width: max-content; animation-name: rv-x; animation-duration: 42s; }
  .rv__col:nth-child(2) .rv__track { animation-duration: 50s; }
  .rv .quote { width: 250px; flex: none; padding: 14px 16px; }
  .rv .quote > p:not(.quote__stars) { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; font-size: .86rem; }   /* 휴대폰: 4줄까지 */
}

/* 후기·댓글·진행: 예전 ID 여백 규칙(#reviews, #process)이 섹션 여백을 덮어써서 한 화면을 넘던 것 바로잡음 */
@media (min-width: 761px) { #reviews, #comments, #process { padding-block: 24px; } }
@media (max-width: 760px) {
  #reviews, #comments, #process { padding-block: 26px; }
  .rv .quote > p:not(.quote__stars) { -webkit-line-clamp: 3; }
  .rv .quote .quote__stars { margin-bottom: 6px; font-size: .8rem; }
  .rv .quote cite { padding-top: 8px; font-size: .74rem; }
  .flow--rich span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .faq--2col details { padding: 7px 0; }
}
.rv__num { white-space: nowrap; }
.rv__num--long { font-size: clamp(2.2rem, 3.1vw, 3rem); }   /* 5,400만+처럼 긴 숫자 */
@media (max-width: 760px) { .rv__num--long { font-size: 1.9rem; } }
/* 첫 번째(선택된) 버튼만 화살표 때문에 overflow가 열려 있어, 마우스를 올려 그림이 커질 때 테두리 밖으로 번지던 것 */
.svc-intro .svc3__panel.is-on { overflow: hidden; }
@media (hover: hover) { .svc-intro .svc3__panel.is-on:hover { box-shadow: 0 14px 30px rgba(3,6,34,.22); } }
section:not(.svc-intro) .svc3__panel.is-on:hover img { transform: none; }
/* 탭마다 설명 칸 높이가 달라 버튼이 위아래로 움직이던 것: 설명 칸 3개를 한 자리에 겹쳐 두고 고르지 않은 것은 안 보이게만 → 칸 높이는 늘 가장 긴 것.
   :has를 모르는 브라우저는 예전처럼(display:none) */
.wrap:has(> .svc-pane) { display: grid; grid-template-columns: minmax(0, 1fr); }
.wrap:has(> .svc-pane) > .svc-pane { grid-area: 3 / 1; align-content: center; }
section:not(.svc-intro) .wrap:has(> .svc-pane) > .svc-pane[hidden] { display: grid !important; visibility: hidden; }   /* 맨 위 [hidden] 규칙이 !important라서 */
section:not(.svc-intro) .wrap:has(> .svc-pane) > .svc-pane[hidden],
section:not(.svc-intro) .wrap:has(> .svc-pane) > .svc-pane[hidden] * { animation: none !important; }   /* 다시 보일 때 등장 동작이 처음부터 */
/* 좁은 화면의 작은 버튼: 오른쪽 위 ✓·+가 제목 첫 줄을 가리던 것 → +는 빼고, 고른 버튼의 ✓만 모서리 밖 작은 배지로 */
@media (max-width: 860px) {
  section:not(.svc-intro, .svc-peek) .svc3__pick { display: none; }
  section:not(.svc-intro, .svc-peek) .svc3__panel.is-on .svc3__pick { display: grid; top: -7px; right: -7px; width: 22px; height: 22px; font-size: .7rem; font-weight: 800; box-shadow: 0 2px 6px rgba(3,6,34,.35); }
}
/* 작은 버튼 상태(PC): 보고 있지 않은 서비스 버튼에 마우스를 올리면 세 버튼이 다시 처음처럼 큰 정사각형으로(.svc-peek, site.js).
   설명 칸 위에 겹쳐 펼쳐져 자리는 그대로, 버튼 밖으로 나가면 돌아오고, 펼쳐진 그림을 누르면 그 서비스로 */
@media (hover: hover) and (min-width: 761px) {
  :where(section:not(.svc-intro)) .svc3 { position: relative; z-index: 3; }
  :where(section:not(.svc-intro)) .svc3__panel { container-type: inline-size; overflow: visible; --big: min(100cqw, calc(100vh - 69px - 190px)); }
  :where(section:not(.svc-intro)) .svc3__panel img, :where(section:not(.svc-intro)) .svc3__panel::after { bottom: auto; height: 100%; border-radius: inherit;
    transition: height .45s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1), filter .3s, box-shadow .45s; }
  :where(section:not(.svc-intro)) .svc3__text { transition: bottom .45s cubic-bezier(.2,.7,.2,1), padding .45s, right .45s; }
  :where(section:not(.svc-intro)) .svc3__title { transition: font-size .45s; }
  :where(section:not(.svc-intro)) .svc3__pick { transition: bottom .45s cubic-bezier(.2,.7,.2,1), right .45s, width .45s, height .45s, background .3s, color .3s; }
  .svc-pane { transition: filter .3s; }
  .svc-peek .svc-pane { filter: opacity(0); }
  .svc-peek .svc3__panel { box-shadow: none; }
  .svc-peek .svc3__panel.is-on::before { display: none; }
  .svc-peek .svc3__panel img { height: var(--big); transform: none; box-shadow: 0 14px 30px rgba(3,6,34,.22); }
  .svc-peek .svc3__panel.is-on img { filter: saturate(.75) brightness(.75); }
  .svc-peek .svc3__panel:hover img { filter: none; box-shadow: 0 24px 50px rgba(3,6,34,.35); }
  .svc-peek .svc3__panel::after { height: var(--big); }
  .svc-peek .svc3__text { bottom: calc(100% - var(--big)); padding: 28px 30px; right: 80px; }
  .svc-peek .svc3__en { display: block; font-size: .8rem; }
  .svc-peek .svc3__title { margin-top: 8px; font-size: clamp(1.5rem, 2.3vw, 2.1rem); }
  .svc-peek .svc3__pick { top: auto; bottom: calc(100% - var(--big) + 28px); right: 26px; width: 48px; height: 48px; font-size: 1.2rem; }
  .svc-peek .svc3__panel.is-on .svc3__pick { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
  .svc-peek .svc3__panel.is-on .svc3__pick::before { content: "+"; }
}
