/* 11/28 대표 「역동적인 모션그래픽」 — motionsites.ai 「Smoothie Slider」 기법: 색 판이 밀려 들어오며 큰 글자 앞에 도구가 서는 장면 */
.cs-hero {
  position: relative;
  height: clamp(560px, calc(100svh - 4.55rem), 860px);
  overflow: hidden;
  background: #bfe2d4;
  color: #fff;
  isolation: isolate;
}
.cs-stage { position: absolute; inset: 0; }
.cs-slide {
  position: absolute; inset: 0;
  background: var(--bg);
  clip-path: inset(0 0 0 100%);
  z-index: 1;
}
.cs-slide.is-on { clip-path: inset(0 0 0 0); z-index: 2; }
.cs-slide.is-in { z-index: 3; }
.cs-word {
  position: absolute; left: 50%; top: 52%;
  transform: translate(-50%, -50%);
  font-size: clamp(9rem, 27vw, 26rem);
  font-weight: 900; letter-spacing: -.04em; line-height: 1;
  color: #fff; white-space: nowrap;
  text-shadow: 0 .02em .12em rgba(0, 0, 0, .06);
  user-select: none;
}
.cs-word span { display: inline-block; }
.cs-obj {
  position: absolute; left: 50%; top: 54%;
  width: auto; height: min(var(--oh, 64%), 560px); max-width: var(--ow, 46vw);
  margin-left: var(--ox, 0);
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 34px 30px rgba(0, 0, 0, .18)) drop-shadow(0 6px 8px rgba(0, 0, 0, .1));
  z-index: 2;
}
.cs-cap {
  position: absolute; right: max(20px, calc((100% - 1160px) / 2)); bottom: 108px;
  width: min(300px, 40vw); margin: 0;
  color: var(--ink); font-size: .95rem; line-height: 1.6;
  z-index: 3;
}
.cs-cap b { display: block; font-size: 1.05rem; margin-bottom: .2rem; }
.cs-bub {
  position: absolute; left: var(--x); top: var(--y);
  width: var(--s); aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,.95) 0 9%, rgba(255,255,255,0) 22%),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0) 56%, rgba(255,255,255,.55) 68%, rgba(255,255,255,.9) 71%, rgba(255,255,255,0) 72%),
    radial-gradient(circle at 60% 70%, rgba(255,255,255,.18), rgba(255,255,255,.05) 60%);
  filter: blur(var(--b));
  z-index: var(--z);
  will-change: transform;
  pointer-events: none;
}
.cs-bub i { position: absolute; inset: 0; border-radius: 50%; animation: cs-float var(--t) ease-in-out infinite alternate; }
@keyframes cs-float { to { transform: translateY(-14px); } }
.cs-top {
  position: absolute; left: 0; right: 0; top: 26px; z-index: 6;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 24px;
  pointer-events: none;
}
.cs-top > * { pointer-events: auto; }
.cs-title { color: var(--cs-ink, #1f5b4c); transition: color .6s; max-width: 30rem; }
.cs-kicker { margin: 0 0 .35rem; font-size: .9rem; font-weight: 700; opacity: .85; }
.cs-title h1 { margin: 0; font-size: clamp(1.4rem, 2.3vw, 2.05rem); line-height: 1.3; letter-spacing: -.02em; }
.cs-tabs { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.35); backdrop-filter: blur(8px); }
.cs-tabs button {
  border: 0; background: none; cursor: pointer; font: inherit; font-weight: 700; font-size: .95rem;
  padding: .5rem 1rem; border-radius: 999px; color: var(--cs-ink, #1f5b4c); transition: background .3s, color .3s;
}
.cs-tabs button[aria-current="true"] { background: #fff; }
.cs-bottom {
  position: absolute; left: 0; right: 0; bottom: 30px; z-index: 6;
  display: flex; justify-content: space-between; align-items: center;
}
.cs-arrow {
  width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.85);
  background: rgba(255,255,255,.18); color: #fff; font-size: 1.3rem; cursor: pointer; transition: background .25s, transform .25s;
}
.cs-arrow:hover { background: #fff; color: var(--cs-ink, #1f5b4c); transform: scale(1.06); }
.cs-cta {
  color: #fff; text-decoration: none; font-weight: 800; letter-spacing: .14em; font-size: .92rem;
  padding: .9rem 1.6rem; border-radius: 999px; background: var(--cs-ink, #1f5b4c); transition: background .6s, transform .25s;
}
.cs-cta:hover { transform: translateY(-2px); }
.cs-bar { position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; z-index: 6; background: rgba(255,255,255,.3); }
.cs-bar i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: #fff; }
@media (max-width: 760px) {
  .cs-hero { height: clamp(600px, calc(100svh - 56px), 760px); }
  .cs-top { flex-direction: column; top: 18px; gap: 12px; }
  .cs-tabs { align-self: stretch; justify-content: space-between; }
  .cs-tabs button { flex: 1; padding: .45rem .3rem; }
  .cs-word { top: 37%; font-size: 34vw; }
  .cs-obj { top: 56%; height: calc(var(--oh, 64%) * .62); max-width: 70vw; margin-left: 0; }
  .cs-cap { left: 20px; right: 20px; width: auto; bottom: 100px; text-align: center; font-size: .88rem; }
  .cs-cap b { font-size: .98rem; }
  .cs-arrow { width: 44px; height: 44px; }
  .cs-cta { letter-spacing: .06em; padding: .8rem 1.2rem; }
}
@media (prefers-reduced-motion: reduce) { .cs-bub i { animation: none; } }
