/* 메인·소개 페이지 v2 효과 (main.html, about-new.html) */

/* 인트로 뇌: 신호·스캔이 닿은 질문과 도구가 켜진다 */
.io-chip.as-node.is-lit { color: var(--accent); font-weight: 700; }
.io-tile { transition: box-shadow .25s; }
/* 도구 아이콘을 3D 타일처럼: 윗면 빛 + 아래로 두께(층층 그림자) + 바닥 그림자 */
.io-tile {
  transform-style: preserve-3d;
  background: linear-gradient(155deg, #ffffff 0%, #f4f8f6 55%, #e4ece8 100%);
  border: 1px solid rgba(255, 255, 255, .95);
  box-shadow:
    inset 0 1.5px 0 #fff, inset 0 -3px 6px rgba(18, 114, 76, .07),
    0 1px 0 #e3eae6, 0 2px 0 #d9e2dd, 0 3px 0 #cfd9d4, 0 4px 0 #c4d0ca, 0 5px 0 #b9c6bf,
    0 14px 22px -8px rgba(11, 58, 39, .35), 0 3px 6px rgba(0, 0, 0, .08);
}
.io-tile img { filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .18)); }
.io-tile.is-lit {
  box-shadow:
    inset 0 1.5px 0 #fff, inset 0 -3px 6px rgba(18, 114, 76, .1),
    0 1px 0 #cfe6da, 0 2px 0 #bfdccd, 0 3px 0 #afd3c1, 0 4px 0 #9fcab4, 0 5px 0 #8fc1a8,
    0 0 0 2px rgba(18, 114, 76, .5), 0 0 24px rgba(18, 114, 76, .45);
}
.io-chip.as-node.is-lit::before { background: var(--accent); box-shadow: 0 0 0 4px rgba(18, 114, 76, .2); }

/* 3D ? → ! (qmark.js) */
.qmark { position: relative; pointer-events: none; opacity: 0; transition: opacity .8s ease; }
.qmark.is-ready { opacity: 1; }
.qmark canvas { display: block; }
/* 문제와 해법: 제목 위 상징 자리. 문제일 땐 ?, 해법으로 넘어가면 ! */
.qmark-pm2 { width: 104px; height: 104px; margin: 0 0 10px -22px; }
@media (max-width: 900px) { .qmark-pm2 { width: 88px; height: 88px; margin: 0 0 8px -18px; } }

/* 소개 첫 화면: 화면이 잠깐 멈춘 채 스크롤하면 ? → ! (about-lab.html) */
.ab-hero:has(.qmark-hero) { height: calc(100svh + 75vh); }
.ab-hero:has(.qmark-hero) .ab-hero-box { position: sticky; top: calc(var(--header-h) + 8px); }
.ab-hero-box:has(.qmark-hero) { place-items: end center; padding-bottom: clamp(96px, 12vh, 130px); }
.qmark-hero { position: absolute; left: 0; right: 0; top: 3%; height: 60%; z-index: 0; }
.ab-hero-box:has(.qmark-hero) .ab-hero-copy { text-shadow: 0 2px 24px rgba(3, 13, 8, .55); }
.qmark-hero.is-ready { opacity: .9; }
@media (prefers-reduced-motion: reduce) { .ab-hero:has(.qmark-hero) { height: auto; } .ab-hero:has(.qmark-hero) .ab-hero-box { position: relative; top: 0; } }
/* 나의 질문: 점(기준)이 되기 직전 강조 */
.io-chip.is-seed { border-color: rgba(18, 114, 76, .55); color: var(--accent); box-shadow: 0 0 0 4px rgba(18, 114, 76, .12), 0 20px 44px -16px rgba(18, 114, 76, .45); }
/* 인트로 뒤 히어로에는 아이콘을 두지 않는다 (모인 뒤 다시 흩어져 보이지 않게) */
.hero .floaters { display: none; }


/* 히어로: '단단하게.'의 마침표 = 인트로의 초록 점(기준) */
.hero-period { display: inline-block; width: .17em; height: .17em; margin-left: .05em; border-radius: 50%; background: var(--accent); vertical-align: baseline; }
.intro-running .hero-period:not(.is-landed) { opacity: 0; }
.hero-period.is-landed { animation: period-land .5s cubic-bezier(.2, 1.6, .4, 1) both, period-breathe 3.2s 1s ease-in-out infinite; }
@keyframes period-land { 0% { transform: scale(1.4); } 100% { transform: scale(1); } }
@keyframes period-breathe { 0%, 100% { box-shadow: 0 0 0 0 rgba(18, 114, 76, 0); } 50% { box-shadow: 0 0 0 .07em rgba(18, 114, 76, .14), 0 0 .3em rgba(18, 114, 76, .25); } }
@media (prefers-reduced-motion: reduce) { .hero-period.is-landed { animation: none; } }

/* 히어로 배경 입자 (hero-dust.js) */
.hero-dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; }
.hero-ready .hero-dust { opacity: 1; }
/* '기준과 감각' 선택 상자: 기준(점)이 대각선으로 끌며 그린다. 묶음에 여백을 줘 선이 글자에 닿지 않게 */
.hero-sel-group { position: relative; display: inline-block; line-height: 1; padding: .1em .16em .13em; margin: 0 .06em 0 -.1em; }
@media (max-width: 760px) { .hero-sel-group { padding: .08em .1em .1em; margin: 0 .02em 0 -.06em; } }
.hero-sel { position: absolute; left: 0; top: 0; width: 0; height: 0; box-sizing: border-box; border: 1.5px solid var(--accent); opacity: 0; pointer-events: none; }
/* 히어로 배경 선: AI가 도구 이름으로 빠르게 바뀌는 동안 함께 비틀렸다가 돌아온다 (lab.js) */
.hero-grid .gl { transition: transform .9s cubic-bezier(.2, .8, .2, 1); }
.swap-word { color: var(--accent); }
.hero-sel-group .w { color: var(--accent); }
.hero-sel i { position: absolute; width: 8px; height: 8px; box-sizing: border-box; border-radius: 50%; background: #fff; border: 1.5px solid var(--accent); }
.hero-sel i:nth-child(1) { left: -4.75px; top: -4.75px; }
.hero-sel i:nth-child(2) { right: -4.75px; top: -4.75px; }
.hero-sel i:nth-child(3) { left: -4.75px; bottom: -4.75px; }
.hero-sel i:nth-child(4) { right: -4.75px; bottom: -4.75px; }
/* '단단하게'는 검정, '기준과 감각'은 선택되며 초록으로 */
.hero-title em.w { color: inherit; }
.hero-sel-group .w { transition: color .45s ease; }
.hero-sel-group .w.is-sel, html:not(.intro-running) .hero-sel-group .w { color: var(--accent); }
.hero-period { position: relative; top: .08em; }   /* 마침표를 글자 바닥선에 맞춰 조금 아래로 */

/* 히어로 아래 문장: 기준·감각 뜻풀이 */
.hero-sub b { color: var(--text); font-weight: 700; }

/* ---------- lab.js 효과 ---------- */
/* 문제와 해법 카드: 하나씩 등장 → 해법으로 넘어갈 때 한 바퀴 돌며 뒤집힘 */
.lab-js .pm2-card { opacity: 0; transform: perspective(1100px) translateY(28px) rotateY(0deg) scale(.97);
  transition: opacity .6s ease, transform .9s cubic-bezier(.2, .8, .2, 1), border-color .5s, box-shadow .5s; transition-delay: 0s, calc(var(--i, 0) * .08s), 0s, 0s; }
.lab-js .pm2-card.lab-in { opacity: 1; transform: perspective(1100px) translateY(0) rotateY(0deg) scale(1); }
.lab-js .pm2-card.lab-in.is-b { transform: perspective(1100px) translateY(0) rotateY(360deg) scale(1); }

/* 하는 일 카드: 마우스 따라 기울기 + 빛, 칩 차례로 켜짐 */
.lab-js .svc-card { transform-style: preserve-3d; transition: transform .35s ease-out, box-shadow .45s; }
.lab-js .svc-card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(18, 114, 76, .1), transparent 60%); }
.lab-js .svc-card:hover::after { opacity: 1; }
.lab-js .svc-card:hover { box-shadow: 0 30px 60px -34px rgba(11, 58, 39, .45); }
.svc-areas li { transition: background-color .35s, border-color .35s, color .35s, transform .35s; }
.svc-areas li.lab-lit { background: rgba(18, 114, 76, .14); border-color: rgba(18, 114, 76, .4); transform: translateY(-2px); }

/* 클라이언트 로고: 하나씩 떠오름 */
.lab-js .cl-item { opacity: 0; transform: translateY(16px) scale(.94); }
.lab-js .cl-item.lab-in { opacity: 1; transform: none; transition: opacity .5s ease, transform .7s cubic-bezier(.2, 1.3, .4, 1), box-shadow .5s, border-color .4s; }
.lab-js .cl-item.lab-in:hover { transform: translateY(-6px) rotateX(6deg); }

/* ---------- 소개 페이지 브랜드 카드 (about-lab.js) ---------- */
.ab-brand-root b { font-weight: inherit; transition: color .4s ease, font-weight .4s; }
.ab-brand-q:hover .ab-brand-root b { color: var(--accent); font-weight: 800; }
.ab-brand-m:hover .ab-brand-root b { color: var(--mint); font-weight: 800; }
.ab-brand-name { position: relative; }
.ab-nm { display: inline-block; will-change: transform; }
.ab-ch { display: inline-block; transition: transform .45s cubic-bezier(.3, 1.6, .5, 1); transition-delay: calc(var(--k) * 35ms); }
.ab-brand-q:hover .ab-ch { transform: translateY(-.08em); }
.ab-ghost { position: absolute; left: 0; top: 0; pointer-events: none; color: var(--mint); filter: blur(1.5px); }
@media (prefers-reduced-motion: reduce) { .ab-ch { transition: none; } .ab-brand-q:hover .ab-ch { transform: none; } }
/* 인트로가 끝나며 스크롤바가 다시 생길 때 화면 폭이 줄어 글자가 '덜컹' 밀리지 않게, 스크롤바 자리를 처음부터 잡아 둔다 */
html { scrollbar-gutter: stable; }
/* 함께한 숫자: 두 개만 크게 */
.fs3-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .fs3-row { grid-template-columns: 1fr; } }
/* 하는 일: 카드 차례로 등장 + 칩을 건너는 초록 점 */
.svc-grid { position: relative; }
.lab-js .svc-card { opacity: 0; translate: 0 26px; transition: opacity .6s ease, translate .8s cubic-bezier(.2, .8, .2, 1), transform .35s ease-out, box-shadow .45s; }
.lab-js .svc-card.lab-in { opacity: 1; translate: 0 0; }
.lab-js .svc-areas li { opacity: 0; transform: translateY(8px) scale(.94); }
.lab-js .svc-areas li.chip-in { opacity: 1; transform: none; transition: opacity .55s ease, transform .7s cubic-bezier(.2, 1.3, .4, 1), background-color .35s, border-color .35s; }
.lab-js .svc-areas li.chip-in.lab-lit { transform: translateY(-2px); }
/* '배우고, 만듭니다' */
.bt-caret { display: inline-block; width: .06em; height: .9em; margin-left: .04em; vertical-align: -.08em; background: var(--accent); animation: bt-blink 1s steps(1) infinite; transition: opacity .3s; }
.bt-caret.is-off { opacity: 0; animation: none; }
@keyframes bt-blink { 50% { opacity: 0; } }
.bt-blk { display: inline-block; opacity: 0; transform: translateY(-.7em) rotate(-8deg); }
.is-make .bt-blk { opacity: 1; transform: none; transition: opacity .25s ease, transform .55s cubic-bezier(.3, 1.6, .5, 1); transition-delay: calc(var(--k) * 110ms); }
/* 브랜드 카드 안 요소: 카드가 나타날 때 차례로 */
.js .ab-brand[data-reveal] > * { opacity: 0; transform: translateY(14px); }
.js .ab-brand[data-reveal].is-in > * { opacity: 1; transform: none; transition: opacity .6s ease, transform .8s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(.3s + var(--c, 0) * 90ms); }
.ab-brand-go span[aria-hidden] { display: inline-block; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.ab-brand-go:hover span[aria-hidden] { transform: translateX(4px); }
.ab-brand-m .ab-brand-go:hover span[aria-hidden] { transform: translate(3px, -3px); }
@media (prefers-reduced-motion: reduce) { .js .ab-brand[data-reveal] > * { opacity: 1; transform: none; } }
/* WHY QOWLS: 처음부터 전부 대문자 */
.ab-word { text-transform: uppercase; }

/* ---------- 큰 화면: FHD(1920) 기준으로 맞춘 화면을 비율대로 키운다 ---------- */
/* 화면 폭(배율 반영 후)에 따라 페이지 전체 배율을 정한다. FHD는 0.9배, QHD 100%(2560)는 1.2배 → FHD와 같은 구성 */
@media (min-width: 1600px) { html { zoom: .9; --z: .9; } }   /* FHD: 조금 덜 꽉 차게 */
@media (min-width: 2200px) { html { zoom: 1.05; --z: 1.05; } }
@media (min-width: 2440px) { html { zoom: 1.12; --z: 1.12; } }
@media (min-width: 2560px) { html { zoom: 1.2; --z: 1.2; } }
@media (min-width: 3200px) { html { zoom: 1.45; --z: 1.45; } }
@media (min-width: 3800px) { html { zoom: 1.8; --z: 1.8; } }   /* 4K 100% → FHD(0.9배)와 같은 구성 */
/* 울트라와이드(21:9 이상): 폭이 아니라 높이를 기준으로 키운다. 3440×1440은 1.33배 → 세로는 FHD 높이, 가로는 더 넓게 */
@media (min-aspect-ratio: 21/10) and (min-width: 2400px) { html { zoom: 1.2; --z: 1.2; } }
@media (min-aspect-ratio: 21/10) and (min-width: 2400px) and (min-height: 2000px) { html { zoom: 1.8; --z: 1.8; } }

/* 확대(zoom)하면 화면 높이 단위(vh)도 같이 커져 한 화면보다 길어진다 → 배율로 나눠 화면 높이에 맞춘다 (--z는 위 구간에서 정함, 평소 1) */
.deck .sc-hero .hero, .deck .fs-sticky { height: calc(100svh / var(--z, 1)); }
.deck .sc-foot { max-height: calc(70vh / var(--z, 1)); }
@media (min-width: 1600px) { .hm-box { max-height: min(calc(82vh / var(--z, 1)), 820px); } .hm-wide .hm-box { max-height: min(calc(86vh / var(--z, 1)), 860px); } }
.ab-hero-box { min-height: calc(100svh / var(--z, 1) - var(--header-h) - 40px); }
.ab-hero:has(.qmark-hero) { height: calc((100svh + 75vh) / var(--z, 1)); }
.ab-hero-box:has(.qmark-hero) { padding-bottom: clamp(96px, calc(12vh / var(--z, 1)), 130px); }

/* ---------- 소개 첫 화면: ? 물체가 글자와 겹치지 않게 위아래로 나눈다 ---------- */
.ab-hero-box:has(.qmark-hero) { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-top: clamp(20px, calc(4vh / var(--z, 1)), 56px); }
.qmark-hero { position: relative; left: auto; right: auto; top: auto; width: 100%; height: auto; flex: 1 1 0; min-height: 150px; margin-bottom: clamp(4px, calc(2vh / var(--z, 1)), 20px); }

/* ---------- WHY QOWLS: 그냥 지나가지 않게 화면에 잠시 멈춰, 스크롤하는 만큼 QUESTION + OWLS → QOWLS ---------- */
.ab-name.is-pin { height: calc(280vh / var(--z, 1)); padding-block: 0; }
.ab-name.is-pin > .wrap { position: sticky; top: 0; height: calc(100svh / var(--z, 1)); display: flex; flex-direction: column; align-items: center; justify-content: center; }
@media (prefers-reduced-motion: reduce) { .ab-name.is-pin { height: auto; padding-block: clamp(140px, 16vw, 240px) clamp(120px, 13vw, 200px); } .ab-name.is-pin > .wrap { position: static; height: auto; } }

/* ---------- 교육 문의: 가로로 넓게 펼친다 (세로 길이를 줄인다) ---------- */
@media (min-width: 1100px) {
  .cta-grid, .deck .sc-contact .cta-grid { max-width: 1700px; padding-inline: clamp(64px, 8vw, 160px); grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(48px, 5vw, 100px); align-items: center; }
  .form-inquiry { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 14px; }
  .form-inquiry > * { grid-column: 1 / -1; }
  .form-inquiry > .field-row { display: contents; }
  .form-inquiry > .field-row > .fld { grid-column: auto; }
  .form-inquiry > .fld:has(input[name="audience"]) { grid-column: 1 / 3; }
  .form-inquiry > .fld:has(textarea) { grid-column: 3 / -1; }
  .form-inquiry textarea { min-height: 0; height: 100%; }
  .form-inquiry > .fld:has(textarea) { display: flex; flex-direction: column; }
  .form-inquiry > .fld:has(textarea) textarea { flex: 1 1 auto; min-height: 58px; }
}

/* ---------- 푸터: 세로 칸 구성은 그대로, 전체를 작게 ---------- */
.footer-grid, .deck .sc-contact .footer-grid { gap: 20px 28px; padding-block: 22px 18px; }
.footer-brand img { width: auto; height: 26px; }
.footer-brand p { margin-top: 8px; font-size: 12.5px; color: var(--text-mute); }
.footer-h { margin-bottom: 4px; font-size: 11px; }
.footer-col { gap: 0; }
.footer-col a { min-height: 26px; font-size: 13px; }
.footer-bar { font-size: 11.5px; }
.footer-bar-row { padding-block: 10px; gap: 6px 18px; }
/* 메인 문의 화면의 푸터는 위 문의 영역과 같은 폭·여백으로 맞춘다 (좌우 끝선 정렬) */
@media (min-width: 1100px) {
  .deck .sc-contact .site-footer .wrap { max-width: 1700px; padding-inline: clamp(64px, 8vw, 160px); }
}
/* 현장 + 클라이언트를 한 화면으로: 숫자는 한 줄로 작게, 로고 벽이 주인공 */
@media (min-width: 1100px) { .fs-merge .fs3-wrap { max-width: 1700px; padding-inline: clamp(64px, 8vw, 160px); } }
.fs-merge .fs3-head { margin-bottom: clamp(20px, 2.2vw, 32px); }
.fs-merge .fs3-row { display: flex; flex-wrap: wrap; align-items: stretch; border-top: 1px solid var(--text); border-bottom: 1px solid var(--border); }
.fs-merge .pt3 { flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; padding: 16px 28px 16px 0; text-align: left; }
.fs-merge .pt3 + .pt3 { padding-left: 28px; }
.fs-merge .pt3:hover { background: none; }
.fs-merge .pt3-label { font-size: 14px; }
.fs-merge .pt3-fig { margin: 0; font-size: clamp(26px, 2vw, 34px); letter-spacing: -.04em; }
.fs-merge .pt3-fig small { font-size: .5em; vertical-align: .35em; }
.fs-merge .pt3:hover .pt3-fig { transform: none; }
.fs-merge .pt3-org { margin: 0; font-size: 15px; font-weight: 600; color: var(--text-sub); }
.fs-merge .pt3-desc { display: none; }
.fs-merge .pt3-more { margin: 0; font-size: 12.5px; }
.fs-merge .cl-grid { margin-top: clamp(24px, 2.6vw, 40px); gap: 10px; }
.fs-merge .cl-item { flex-basis: calc((100% - 7 * 10px) / 8); height: clamp(72px, 6vw, 100px); }
.fs-merge .stat-note { margin-top: 14px; text-align: left; }
@media (min-width: 1101px) and (max-height: 1000px) { .fs-merge .cl-item { height: 68px; } .fs-merge .cl-item img { max-height: 40px; } }
@media (max-width: 1100px) { .fs-merge .cl-item { flex-basis: calc((100% - 3 * 10px) / 4); } }
@media (max-width: 640px) {
  .fs-merge .fs3-row { flex-direction: column; }
  .fs-merge .pt3, .fs-merge .pt3 + .pt3 { padding: 14px 0; border-left: 0; }
  .fs-merge .pt3 + .pt3 { border-top: 1px solid var(--border); }
  .fs-merge .cl-item { flex-basis: calc((100% - 10px) / 2); height: 68px; }
}
/* 현장: 제목·숫자·로고·주석 모두 가운데로 */
.fs-merge .fs3-head { align-items: center; text-align: center; }
.fs-merge .fs3-head .eyebrow { justify-content: center; }
.fs-merge .fs3-row { justify-content: center; }
.fs-merge .pt3 { padding-inline: 28px; }
.fs-merge .cl-grid { justify-content: center; }
.fs-merge .stat-note { text-align: center; }
@media (max-width: 640px) { .fs-merge .fs3-row { align-items: center; } .fs-merge .pt3, .fs-merge .pt3 + .pt3 { justify-content: center; padding-inline: 0; width: 100%; } }
/* 현장: 제목은 왼쪽, 숫자 줄의 검은 선은 없앤다 */
.fs-merge .fs3-head { align-items: flex-start; text-align: left; }
.fs-merge .fs3-head .eyebrow { justify-content: flex-start; }
.fs-merge .fs3-row { border-top: 0; }
/* 문제와 해법: 왼쪽 글의 초록 선 바닥을 오른쪽 마지막 카드 바닥에 맞춘다 */
@media (min-width: 901px) { .pm2-grid { align-items: end; } }
/* 교육 문의 등장 (contact.js): 왼쪽 글 → 안내 줄 그어짐 → 문의 카드 → 칸 차례로 → 버튼에 빛 한 번 */
#contact .cta-facts li { position: relative; border-bottom-color: transparent; }
#contact .cta-facts li::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--border); transform-origin: 0 50%; }
#contact .btn-block { position: relative; overflow: hidden; }
#contact .btn-block::after { content: ''; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent); transform: skewX(-18deg); opacity: 0; pointer-events: none; }
#contact.ct-ready .cta-eyebrow, #contact.ct-ready .cta-title, #contact.ct-ready .cta-lead, #contact.ct-ready .cta-facts li { opacity: 0; transform: translateY(16px); }
#contact.ct-ready .cta-facts li::after { transform: scaleX(0); }
#contact.ct-ready .form-switch { opacity: 0; transform: translateY(28px) scale(.985); }
#contact.ct-ready .form-switch > .fs-title, #contact.ct-ready .form-switch > .form-tabs, #contact.ct-ready .form-inquiry > * { opacity: 0; transform: translateY(10px); }
#contact.ct-in .cta-eyebrow, #contact.ct-in .cta-title, #contact.ct-in .cta-lead, #contact.ct-in .cta-facts li { opacity: 1; transform: none; transition: opacity .55s ease, transform .8s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--ck, 0) * .08s); }
#contact.ct-in .cta-facts li::after { transform: scaleX(1); transition: transform .9s cubic-bezier(.6, 0, .2, 1); transition-delay: calc(.15s + var(--ck, 0) * .08s); }
#contact.ct-in .form-switch { opacity: 1; transform: none; transition: opacity .6s ease .25s, transform .9s cubic-bezier(.2, .8, .2, 1) .25s; }
#contact.ct-in .form-switch > .fs-title, #contact.ct-in .form-switch > .form-tabs, #contact.ct-in .form-inquiry > * { opacity: 1; transform: none; transition: opacity .45s ease, transform .6s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(.45s + var(--ck, 0) * .05s); }
#contact.ct-in .btn-block::after { animation: ct-sheen 1.1s ease 1.3s 1 both; }
@keyframes ct-sheen { 0% { left: -40%; opacity: 0; } 15% { opacity: 1; } 100% { left: 120%; opacity: 0; } }
/* 바닥글: 큐올즈 크리에이티브 브랜드 아래 한 줄 설명 */
.footer-note { margin: 0 0 4px; font-size: 12px; color: var(--text-mute); white-space: nowrap; }
.footer-h { white-space: nowrap; }
/* 바닥글 로고 아래: 브랜드 이름(굵게, 초록) + 한 줄 설명 */
.footer-brand .footer-group { margin-top: 10px; font: 800 12px/1.2 var(--latin); letter-spacing: .12em; color: var(--accent); }
.footer-brand .footer-group + p { margin-top: 4px; }
/* 소개 · 모마넌스 카드: 만드는 콘텐츠를 얇은 세로선으로 나눈 한 줄 */
.mm-forms { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; margin: 18px 0 0; padding: 0; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .82); }
.mm-forms li + li::before { content: ''; display: inline-block; width: 1px; height: 11px; margin: 0 14px; vertical-align: -1px; background: rgba(255, 255, 255, .28); }
.qw-forms { color: var(--text); }
.qw-forms li + li::before { background: var(--border-strong, rgba(0, 0, 0, .18)); }
/* WHY QOWLS: 굵은 글자가 움직일 때 글자 오른쪽 끝(S 등)이 잘리지 않게 여유를 준다 */
.ab-word .w-k { padding-right: .06em; margin-right: -.06em; }
/* 합쳐질 때 기다림 없이 바로 */
.ab-word.is-ready.is-merge .w-lo { transition-delay: 0s; }
.ab-word.is-ready.is-merge .w-up { transition-delay: .1s; }
/* 브랜드 카드 아래 한 줄: 카드 폭에 맞춰 글자·간격을 줄여 늘 한 줄로 */
.mm-forms { flex-wrap: nowrap; white-space: nowrap; font-size: clamp(11.5px, 4.1cqi, 14px); }
.mm-forms li + li::before { margin: 0 clamp(7px, 2.6cqi, 14px); }
/* WHY QOWLS: 합쳐진 뒤 O 안에 로고처럼 눈과 부리가 나타나고, 가끔 눈을 깜빡인다 */
.ab-word .w-o { position: relative; }
.w-face { position: absolute; left: 50%; top: .3em; width: .34em; height: .44em; transform: translateX(-50%); pointer-events: none; }
.w-face svg { display: block; width: 100%; height: 100%; overflow: visible; fill: currentColor; }
.w-face .f-eye { transform-box: fill-box; transform-origin: 50% 50%; transform: scale(0); transition: transform .45s cubic-bezier(.34, 1.6, .64, 1); }
.w-face .f-beak { transform-box: fill-box; transform-origin: 50% 0; transform: scaleY(0); transition: transform .35s cubic-bezier(.34, 1.6, .64, 1); }
.ab-word.is-merge .w-face .f-eye { transform: scale(1); transition-delay: .85s; animation: w-blink 4.5s 2.2s infinite; }
.ab-word.is-merge .w-face .f-eye + .f-eye { transition-delay: .95s; }
.ab-word.is-merge .w-face .f-beak { transform: scaleY(1); transition-delay: 1.1s; }
@keyframes w-blink { 0%, 92%, 100% { transform: scale(1); } 95% { transform: scale(1, .12); } }
@media (prefers-reduced-motion: reduce) { .ab-word.is-merge .w-face .f-eye { animation: none; } }
/* O → 로고 고리: 글자 O가 사라지는 순간 같은 자리의 고리가 이어받아 얇아진다 */
@property --sw { syntax: '<length>'; inherits: true; initial-value: 0px; }
.w-o-g { display: inline-block; transition: opacity .25s ease; }
.w-ring { position: absolute; pointer-events: none; opacity: 0; --sw: var(--thick, 20px); transition: opacity .2s ease, --sw .55s cubic-bezier(.6, 0, .2, 1); }
.w-ring svg { display: block; width: 100%; height: 100%; overflow: visible; }
.w-ring ellipse { cx: 50%; cy: 50%; rx: calc(50% - var(--sw) / 2); ry: calc(50% - var(--sw) / 2); fill: none; stroke: currentColor; stroke-width: var(--sw); }
.ab-word.is-merge .w-o-g { opacity: 0; transition-delay: .7s; }
.ab-word.is-merge .w-ring { opacity: 1; --sw: var(--thin, 12px); transition: opacity .01s linear .7s, --sw .55s cubic-bezier(.6, 0, .2, 1) .72s; }
.ab-word.is-merge .w-face .f-eye { transition-delay: 1.2s; }
.ab-word.is-merge .w-face .f-eye + .f-eye { transition-delay: 1.3s; }
.ab-word.is-merge .w-face .f-beak { transition-delay: 1.45s; }
@media (prefers-reduced-motion: reduce) { .w-ring, .ab-word.is-merge .w-ring { transition: none; } }
/* 눈·부리 상자는 고리와 같은 자리(fit 스크립트가 맞춤) */
.w-face { transform: none; }
/* WHY QOWLS 정리: 사라지는 글자(QUESTION의 S 등)도 오른쪽 끝이 잘리지 않게, 합쳐지면 여유분도 함께 접는다 */
.ab-word .w-c { padding-right: .07em; margin-right: -.07em; }
.ab-word .w-k { padding-right: .08em; margin-right: -.08em; }
.ab-word.is-ready .w-c { transition: max-width .8s var(--ease), margin .8s var(--ease), padding .8s var(--ease), opacity .45s ease, transform .8s var(--ease), color .4s; }
.ab-word.is-merge .w-c { padding-right: 0; margin-right: 0; }

/* 후기(VOICES): 전용 플랫폼 만족도 조사에 남긴 말 — 수가 적어 흐르는 띠 대신 고정 카드로 */
.voices { background: var(--bg); }
.vc-wrap { max-width: 1700px; padding-inline: clamp(20px, 8vw, 160px); }
.vc-head { margin-bottom: clamp(24px, 2.8vw, 44px); }
.vc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.2vw, 20px); }
.vc-card { display: flex; flex-direction: column; gap: 18px; min-height: clamp(180px, 15vw, 240px); padding: clamp(22px, 2vw, 32px); border: 1px solid var(--border-strong); border-radius: 14px; background: #fff; }
.vc-stars { font-size: 14px; letter-spacing: .14em; color: var(--accent); }
.vc-card p { margin: 0; font-size: clamp(17px, 1.35vw, 22px); font-weight: 700; line-height: 1.5; letter-spacing: -.025em; color: var(--text); word-break: keep-all; }
.vc-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: clamp(20px, 2vw, 32px); padding-top: 18px; border-top: 1px solid var(--border); }
.vc-again { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; padding: 0; background: none; border: 0; cursor: pointer; font: inherit; color: var(--text); text-align: left; }
.vc-again-label { font-size: 14px; font-weight: 700; color: var(--accent); }
.vc-again b { font-size: clamp(17px, 1.3vw, 20px); font-weight: 800; letter-spacing: -.03em; }
.vc-again .pt3-more { margin: 0; font-size: 12.5px; }
.vc-foot .stat-note { margin: 0; }
.vc-again:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
@media (max-width: 1100px) { .vc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .vc-list { grid-template-columns: 1fr; } .vc-card { min-height: 0; } }
.deck .sc-voices { padding: var(--deck-top) 0 var(--deck-bottom); justify-content: safe center; }
.deck .voices { padding-block: 0 !important; margin: 0; }
/* 현장 숫자 세 개를 한 줄에 */
@media (min-width: 1101px) { .fs-merge .fs3-row { flex-wrap: nowrap; } .fs-merge .pt3 { flex: none; flex-wrap: nowrap; padding-inline: 24px; } }
/* 후기 v2: 맨 앞 만족도 카드 + 조금 작은 후기 글자 */
.vc-list { grid-template-columns: minmax(0, 1.15fr) repeat(4, minmax(0, 1fr)); }
.vc-card p { font-size: clamp(15px, 1.1vw, 18px); line-height: 1.55; }
.vc-card { min-height: clamp(170px, 13vw, 220px); }
.vc-score { display: flex; flex-direction: column; gap: 10px; padding: clamp(22px, 2vw, 32px); border-radius: 14px; background: var(--accent); color: #fff; }
.vc-score-label { font-size: 14px; font-weight: 700; color: rgba(255, 255, 255, .78); }
.vc-score-fig { display: flex; align-items: baseline; gap: 6px; margin: 0; }
.vc-score-fig b { font-family: var(--latin); font-size: clamp(40px, 3.4vw, 56px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.vc-score-fig small { font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, .7); }
.vc-score .vc-stars { color: #fff; }
.vc-score-list { margin: 6px 0 0; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .22); display: grid; gap: 6px; }
.vc-score-list div { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; }
.vc-score-list dt { color: rgba(255, 255, 255, .8); }
.vc-score-list dd { margin: 0; font-family: var(--latin); font-weight: 700; }
@media (max-width: 1100px) { .vc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .vc-score { grid-column: 1 / -1; } }
@media (max-width: 600px) { .vc-list { grid-template-columns: 1fr; } }

/* 후기 v3: 유리 카드 — 뒤에 은은한 초록 빛을 깔고, 카드는 반투명 유리로 */
.voices { position: relative; isolation: isolate; overflow: hidden; }
.voices::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(42% 60% at 12% 70%, rgba(79, 214, 156, .30), transparent 70%),
    radial-gradient(38% 55% at 62% 35%, rgba(18, 114, 76, .16), transparent 72%),
    radial-gradient(30% 50% at 92% 85%, rgba(79, 214, 156, .22), transparent 70%),
    linear-gradient(180deg, #fff 0%, #f3faf6 100%); }
.vc-list { align-items: stretch; }
.vc-card { position: relative; overflow: hidden; justify-content: flex-end; gap: 14px; min-height: clamp(200px, 15vw, 250px);
  background: linear-gradient(160deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .42));
  border: 1px solid rgba(255, 255, 255, .9); border-radius: 18px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 18px 40px -22px rgba(13, 90, 59, .35), 0 2px 6px rgba(13, 90, 59, .05);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
/* 큰 따옴표: 카드 위쪽을 채우는 장식 */
.vc-card::before { content: '\201C'; position: absolute; top: clamp(4px, .6vw, 10px); right: clamp(14px, 1.4vw, 22px); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(88px, 7vw, 120px); line-height: 1; color: var(--accent); opacity: .12; pointer-events: none; }
.vc-card .vc-stars { order: -1; margin-bottom: auto; font-size: 12px; }
.vc-card p { position: relative; }
@media (hover: hover) {
  .vc-card:hover { transform: translateY(-6px); box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 28px 50px -24px rgba(13, 90, 59, .45), 0 2px 6px rgba(13, 90, 59, .06); }
}
.vc-score { position: relative; overflow: hidden; border-radius: 18px;
  background: linear-gradient(150deg, #1a8a5c 0%, var(--accent) 45%, var(--accent-deep) 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 24px 48px -24px rgba(13, 90, 59, .7); }
/* 유리 위 빛: 비스듬한 반사광 */
.vc-score::after { content: ''; position: absolute; inset: -40% -60% auto auto; width: 120%; height: 90%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .22), transparent); transform: rotate(-18deg); }
.vc-score > * { position: relative; z-index: 1; }
/* 화면이 넘어가는 동안에는 흐림을 끈다 (끊김 방지) */
.deck-moving .vc-card { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
/* 빛은 화면 전체에 깐다 (섹션 안에서만 끝나 경계가 보이지 않게) */
.voices::before, .deck .sc-voices { background:
    radial-gradient(34% 48% at 18% 66%, rgba(79, 214, 156, .42), transparent 70%),
    radial-gradient(30% 44% at 52% 58%, rgba(18, 114, 76, .18), transparent 72%),
    radial-gradient(30% 46% at 86% 62%, rgba(79, 214, 156, .34), transparent 70%),
    linear-gradient(180deg, #fff 0%, #eef8f2 100%); }
.deck .voices::before { display: none; }
.deck .voices { background: transparent; overflow: visible; }
/* 카드 뒤 큰 ?와 ! — 유리 너머로 흐리게 비쳐 유리 느낌이 살아난다 (TURN YOUR ? INTO !) */
.vc-list { position: relative; }
.vc-list::before, .vc-list::after { position: absolute; z-index: -1; pointer-events: none; font-family: var(--latin); font-weight: 900; line-height: .8; color: var(--accent); }
.vc-list::before { content: '?'; left: 30%; top: 50%; transform: translateY(-50%) rotate(-10deg); font-size: clamp(220px, 22vw, 380px); opacity: .22; }
.vc-list::after { content: '!'; right: 9%; top: 50%; transform: translateY(-46%) rotate(8deg); font-size: clamp(240px, 24vw, 400px); color: #4FD69C; opacity: .45; }
@media (max-width: 1100px) { .vc-list::before { left: 18%; top: 62%; } .vc-list::after { right: 12%; top: 62%; } }
/* 물음표는 빼고 느낌표만, 만족도 카드는 숫자만 크게 */
.vc-list::before { content: none; }
.vc-score { justify-content: center; gap: 14px; }
.vc-score-fig b { font-size: clamp(56px, 4.8vw, 80px); }
/* 카드 높이가 줄어 느낌표가 아래로 삐져나오지 않게 크기를 맞춘다 */
.vc-list::after { right: 13%; transform: translateY(-50%) rotate(8deg); font-size: clamp(170px, 15vw, 250px); }

/* 후기 v4: 느낌표 빼고, 등장 애니메이션과 유리 위 빛 */
.vc-list::after { content: none; }
/* 카드 뒤에서 천천히 떠도는 빛 — 유리 너머로 흐리게 움직여 보인다 */
.vc-list::before { content: ''; position: absolute; z-index: -1; left: 30%; top: 50%; width: 38%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(79, 214, 156, .55), rgba(79, 214, 156, 0)); opacity: 1; animation: vc-drift 14s ease-in-out infinite alternate; }
@keyframes vc-drift { from { transform: translate(-50%, -50%) scale(1); } to { transform: translate(90%, -40%) scale(1.15); } }
.deck-moving .vc-list::before { animation-play-state: paused; }

/* 등장: 아래에서 떠오르며 살짝 기울어졌다 바로 선다 */
.vc-ready .vc-score, .vc-ready .vc-card { opacity: 0; transform: translateY(46px) rotate(-1.5deg) scale(.96); }
.vc-ready.vc-in .vc-score, .vc-ready.vc-in .vc-card { opacity: 1; transform: none; animation: vc-rise 1s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 110ms + 80ms); }
@keyframes vc-rise { from { opacity: 0; transform: translateY(46px) rotate(-1.5deg) scale(.96); } to { opacity: 1; transform: none; } }
@media (hover: hover) { .vc-ready.vc-in .vc-card:hover { transform: translateY(-6px); } }
/* 별: 왼쪽부터 한 칸씩 채워진다 */
.vc-ready .vc-stars { display: inline-block; clip-path: inset(0 100% 0 0); }
.vc-ready.vc-in .vc-stars { animation: vc-stars .7s steps(5, end) both; animation-delay: calc(var(--i, 0) * 110ms + 620ms); }
.vc-ready.vc-in .vc-score .vc-stars { animation-delay: 1.1s; }
@keyframes vc-stars { to { clip-path: inset(0 0 0 0); } }
/* 큰 따옴표: 늦게 툭 떨어지듯 자리 잡는다 */
.vc-ready .vc-card::before { opacity: 0; transform: translateY(-14px) scale(.7); transition: opacity .6s, transform .8s var(--ease); }
.vc-ready.vc-in .vc-card::before { opacity: .12; transform: none; transition-delay: calc(var(--i, 0) * 110ms + 500ms); }
/* 유리 위로 비스듬한 빛이 한 번 지나간다 (마우스를 올리면 다시) */
.vc-card::after { content: ''; position: absolute; inset: -20% auto -20% -60%; width: 45%; pointer-events: none; transform: translateX(0) skewX(-18deg); opacity: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .85), rgba(255, 255, 255, 0)); }
.vc-ready.vc-in .vc-card::after { animation: vc-shine 1.1s ease-out both; animation-delay: calc(var(--i, 0) * 110ms + 900ms); }
@keyframes vc-shine { 0% { opacity: 0; transform: translateX(0) skewX(-18deg); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateX(420%) skewX(-18deg); } }
@media (hover: hover) { .vc-ready.vc-in .vc-card:hover::after { animation: vc-shine .9s ease-out both; animation-delay: 0s; } }
/* 만족도 카드: 반사광이 천천히 숨 쉬듯 */
.vc-score::after { animation: vc-glint 6s ease-in-out infinite alternate; }
@keyframes vc-glint { from { transform: rotate(-18deg) translateX(0); opacity: .7; } to { transform: rotate(-18deg) translateX(-18%); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .vc-list::before, .vc-score::after { animation: none; } }
/* 빛 효과는 뺀다: 지나가는 빛줄기, 떠도는 빛, 만족도 카드 반사광 */
.vc-list::before, .vc-card::after, .vc-score::after { content: none; animation: none; }

/* 현장: 숫자 설명은 숫자 줄 바로 아래로 */
.fs-merge .fs3-row + .stat-note { margin: 10px 0 clamp(20px, 2vw, 32px); text-align: right; font-size: 12.5px; }
/* 현장: 로고 아래 기록 한 줄 (반투명 띠) */
.fs-rec { margin-top: clamp(24px, 2.4vw, 36px); }
.fs-rec-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fs-rec-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; padding: 16px 18px 16px 24px; border-radius: 16px; background: rgba(0, 0, 0, .028); border: 1px solid rgba(0, 0, 0, .06); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--text); text-decoration: none; transition: background .3s, border-color .3s, transform .4s var(--ease); }
.fs-rec-k { padding-right: 20px; border-right: 1px solid rgba(0, 0, 0, .12); font: 700 12.5px/1 var(--latin); letter-spacing: .24em; color: var(--accent); white-space: nowrap; }
.fs-rec-date { font-family: var(--latin); font-size: 15px; color: var(--text-mute); }
.fs-rec-role { padding: 4px 10px; border-radius: 999px; background: var(--text); color: #fff; font-size: 12.5px; font-weight: 800; }
.fs-rec-title { font-size: clamp(17px, 1.3vw, 19px); font-weight: 700; letter-spacing: -.02em; }
.fs-rec-host { font-size: 15px; color: var(--text-mute); }
.fs-rec-host em { font-style: normal; font-weight: 700; color: var(--text-sub); margin-right: 6px; }
.fs-rec-arrow { display: grid; place-items: center; flex: none; width: 36px; height: 36px; margin-left: auto; border-radius: 50%; background: rgba(255, 255, 255, .85); box-shadow: 0 1px 4px rgba(0, 0, 0, .08); color: var(--text); font-size: 16px; font-weight: 700; transition: background .3s, color .3s; }
@media (hover: hover) { .fs-rec-row:hover { background: rgba(0, 0, 0, .05); border-color: rgba(0, 0, 0, .1); transform: translateY(-2px); } .fs-rec-row:hover .fs-rec-arrow { background: var(--text); color: #fff; } }
.fs-rec-row:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.deck-moving .fs-rec-row { -webkit-backdrop-filter: none; backdrop-filter: none; }
@media (max-width: 700px) {
  .fs-rec-row { position: relative; gap: 8px 12px; padding: 16px 60px 16px 18px; }
  .fs-rec-k { flex-basis: 100%; padding: 0; border: 0; }
  .fs-rec-title { flex-basis: 100%; font-size: 17px; }
  .fs-rec-host { font-size: 13.5px; }
  .fs-rec-host em { display: block; margin: 0 0 2px; }
  .fs-rec-date { font-size: 13.5px; }
  .fs-rec-arrow { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); }
}

/* 후기 카드: 글자를 조금 줄이고 고르게 줄바꿈, 모든 카드에서 같은 높이에서 시작 */
.vc-card { justify-content: flex-start; gap: clamp(18px, 1.6vw, 26px); padding: clamp(22px, 1.8vw, 30px) clamp(20px, 1.6vw, 28px); }
.vc-card .vc-stars { margin-bottom: 0; }
.vc-card p { margin-top: clamp(10px, 1.2vw, 22px); font-size: clamp(14.5px, .98vw, 16.5px); font-weight: 600; line-height: 1.7; letter-spacing: -.02em; text-wrap: pretty; }
