/* ══════════════════════════════════════════════════════════════════════════
   sections.css — 섹션 뷰(스크롤텔링) 전용 스타일
   2026-08-15(밤) 신설 → 같은 날 리서치 취합본(확정 문법)으로 재작성.

   ── 역할 분담 (지키지 않으면 다시 한 덩어리가 된다) ──────────────────────────
     home.css     히어로 · 셸(#stage/#hero/#topnav/#viewSky) · 나브 · 푸터 · 전환 와이프
     sections.css 섹션 안쪽 콘텐츠 레이아웃 · 스크롤텔링 · 패럴랙스   ← 이 파일
   섹션의 '모드 전환'(#stage 를 롱스크롤로 바꾸는 규칙, .vnav-view 의 흐름 전환)은 셸이므로
   home.css 에 남아 있다. 여기로 옮기지 말 것.

   ── ⚠️ 정적 파일이다 ────────────────────────────────────────────────────────
   /css/ 아래라 재빌드·VS 재시작 없이 하드 새로고침만으로 반영된다. 대신 캐시 헤더가 없어
   휴리스틱 캐시가 붙으므로 수정 시 Index.cshtml 의 ?v= 를 반드시 올릴 것.

   ══════════════════════════════════════════════════════════════════════════
   확정 문법 (리서치 4곳 취합 — 리드 확정. 임의로 바꾸지 말 것)
   ══════════════════════════════════════════════════════════════════════════
     sticky 스택   트랙 250vh · 내부 sticky top:0 · height:100svh
     패럴랙스      중간층 **1개만**, 0.72×
     진입 문법     perspective(520px) rotateX(90deg) → 0 / transform-origin: bottom center
     진입 임계     entry 15%(일반) · entry 35%(무게 있는 헤딩) · entry 0%(이미지)
     분할 단위     줄(line)
     시그니처 이징 cubic-bezier(.22,1,.36,1) — 롱 슬라이드만 cubic-bezier(.16,1,.3,1)
     지속시간      마이크로 .3/.4/.6s · 리빌 1.1/1.4s · 롱 슬라이드 1.5s
     스태거        .06s(줄) / .2s(블록)

   ⛔ **패럴랙스 층을 2개 이상 만들지 말 것.** 리서치 4곳 중 3층 이상을 쌓는 곳이 한 곳도
      없었다(produx 1층 / lxl 없음 / s0 정적 오프셋 / haoqi 0.72× 하나). haoqi 담당 문장:
      "나머지 깊이감은 전부 고정(0×)과 동기(1×)의 대비에서 나온다."
      직전 판의 depth 0.55/0.35/0.25 3층은 그 판정에 따라 폐기했다 — 되살리지 말 것.
      우리 구조의 세 극(pole)은 이렇게 배분돼 있다:
        0×    .sc-stick (sticky 로 고정된 스테이지)
        0.72× .sc-par   (트랙의 배경 필드 — 이 파일에서 유일한 패럴랙스 층)
        1×    .sc-lead / .sc-panel / .sc-outro (일반 흐름 블록)

   ⚠️ **prefers-reduced-motion 은 필수다.** 레퍼런스(produx)는 번들·CSS 통틀어 0건이었다.
      따라하면 안 된다. 이 파일 맨 아래 블록이 그것이며 지우지 말 것.

   ⚠️ 2026-08-19 — 콘텐츠 교체가 **진행 중**이다. VOTE·FEATURES 가 확정 콘텐츠로 바뀌었고,
      나머지 3개(Universe/Store/About)는 아직 임시 테스트 콘텐츠다. 그래서 이 파일에는 두 벌이
      공존한다: 확정용(.sc-shot-img / .sc-mark / .fx-*)과 임시용(빈 .sc-shot 격자 / .sc-tmp).
      ⛔ 임시용 규칙을 지우지 말 것 — 남은 3개가 아직 쓰고 있다. 다섯 개가 전부 교체된 뒤에 뺀다.
   ⚠️ FEATURES 만 뼈대가 한 겹 더 깊다(핀 안에서 장면이 5번 바뀐다). 그 블록은 **이 파일 맨
      아래**에 `.fx-*` 로 따로 모여 있고, 확정 문법 대비 이탈(트랙 550vh · opacity 크로스페이드)의
      근거도 그 블록 머리말에 있다. VOTE 뼈대(.sc-*)를 FEATURES 때문에 고치지 말 것.
   ⛔ 어워즈(시상식)는 미런칭이다. 어떤 섹션에도 존재를 암시하는 문구를 넣지 말 것.
   ⛔ 링(레이더형 원) 금지 — 오너가 전환 연출에서 명시적으로 삭제시킨 어휘다.
   ══════════════════════════════════════════════════════════════════════════ */

/* ── 토큰 ───────────────────────────────────────────────────────────────────
   ⚠️ 이징을 '하나로 통일한다'는 규칙 자체가 이식 대상이다. 레퍼런스 4곳 모두 시그니처
      이징이 사이트당 딱 하나였다(produx 24회 / lxl 43회 / s0 주력 / haoqi 전역).
      이 파일 안에서는 아래 두 토큰 외의 이징을 쓰지 않는다. 새 곡선을 추가하지 말 것. */
:root{
  --rp-ease:cubic-bezier(.22,1,.36,1);        /* 시그니처 — 기본값 */
  --rp-ease-long:cubic-bezier(.16,1,.3,1);    /* 롱 슬라이드 전용 */
  --rp-ease-inout:cubic-bezier(.65,0,.35,1);  /* easeInOutCubic — 이미지 반전 전용(확정 문법 지정) */

  --rp-d-micro-s:.3s; --rp-d-micro-m:.4s; --rp-d-micro-l:.6s;
  --rp-d-reveal:1.1s; --rp-d-reveal-l:1.4s;  --rp-d-slide:1.5s;

  --rp-stagger-line:.06s;
  --rp-stagger-block:.2s;

  --rp-persp:520px;                            /* 진입 문법의 원근 거리 */
  --sc-track-h:250vh;                          /* sticky 스택 트랙 — 감축모션·저사양에서 축소된다 */
  /* FEATURES 만 트랙이 길다 — 핀 안에서 장면이 5번 바뀌기 때문이다(승인된 이탈).
     유도: 장면 5 × 90vh(전환 구간) + 뷰포트 1장 = 550vh. 계산 정본은 파일 끝 .fx-cue 블록. */
  --fx-rail-h:550vh;
}

/* ── 스크롤텔링 루트 ────────────────────────────────────────────────────────
   폭 상한만 담당한다. 세로 리듬은 각 블록이 자기 min-height 로 갖는다.
   ⚠️ 섹션 총 길이 = 리드 100dvh + 트랙 250vh + 패널 88vh + 마무리 60vh ≈ **뷰포트 5.0장**.
      트랙 250vh 는 확정 문법이라 고정이고, 나머지로 총량을 조절한다. */
.sc{ max-width:1180px; margin-inline:auto; }

/* ── ① 리드(첫 화면) — 1× 동기 ─────────────────────────────────────────────
   기존 .vnav-copy(승인된 카피 카드)를 그대로 쓴다. 다중 시안 금지 — 새 카드를 만들지 않는다.
   ⚠️ .vnav-view 가 display:grid;place-items:center 를 잃었으므로(문서 흐름 전환) 여기서
      중앙 정렬을 다시 세운다. */
.sc-lead{
  min-height:calc(100vh - 190px);
  min-height:calc(100dvh - 190px);
  display:grid;place-items:center;
}
.sc-lead .vnav-copy{margin-inline:auto}

/* 스크롤 유도 — 화살표가 아니라 빛줄기 한 가닥(이 페이지의 어휘: .hl-beam 과 같은 문법). */
.sc-cue{
  width:1px;height:clamp(38px,6vh,64px);
  margin:clamp(22px,4vh,44px) auto 0;
  background:linear-gradient(180deg, rgba(63,235,246,0), rgba(63,235,246,.8) 45%, rgba(63,235,246,0));
  transform-origin:50% 0;
}

/* ══ ② sticky 스택 — 0× 고정 ═══════════════════════════════════════════════
   확정 문법: 트랙 250vh · 내부 sticky top:0 · height:100svh.
   (produx 원본은 GSAP `+=550%` 였다. 12MB 히어로 영상과 공존해야 하므로 250vh 로 줄인 값이
    리드 확정본이다.)
   ⚠️ GSAP `pin:` 은 레퍼런스 4곳 전부 0건이었다 — 고정은 전부 CSS position:sticky 다.
      JS 로 고정을 흉내내지 말 것.
   ⚠️ 100svh 를 쓴다(dvh 아님): 모바일 툴바가 접혔다 펴질 때 dvh 는 값이 변해 pin 구간이
      스크롤 도중에 늘었다 줄었다 한다. svh(작은 쪽 고정)여야 pin 이 흔들리지 않는다. */
.sc-track{
  position:relative;
  height:var(--sc-track-h);
  /* 패럴랙스 층이 넘겨 잡은 부분을 잘라 문서 가로/세로로 새지 않게 한다.
     ⚠️ overflow:clip 이다(hidden 아님) — hidden 은 스크롤 컨테이너를 만들어 안의
        position:sticky(.sc-stick)를 죽인다. home.css 의 #stage 와 같은 이유다. */
  overflow:clip;
}
@supports not (overflow: clip){
  /* clip 미지원 → 자르기를 포기한다(넘침보다 sticky 가 중요하다). .sc-par 는 트랙 안쪽으로만
     움직이므로 실제 노출 위험은 낮다. */
  .sc-track{overflow:visible}
}
.sc-stick{
  position:sticky;top:0;
  height:100svh;
  display:grid;place-items:center;
  z-index:1;
}
.sc-stage{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-items:center;
  gap:clamp(24px,5vw,72px);
  width:100%;
  padding:clamp(16px,4vh,40px) 0;
}
@media (max-width:860px){
  .sc-stage{grid-template-columns:1fr;gap:clamp(18px,3vh,28px)}
  .sc-shot{max-width:min(70vw,360px);margin-inline:auto}
}

/* ── 유일한 패럴랙스 층 (0.72×) ────────────────────────────────────────────
   ⚠️⚠️ 수치 유도 — 값을 바꾸려면 이 계산을 다시 할 것:
     트랙 높이 T = 250vh, 뷰포트 V = 100vh
     view() cover 구간 동안의 스크롤 이동량 = V + T = 350vh
     0.72× → 뒤처지는 양 = (1 − 0.72) × 350vh = **98vh**
     대칭 배분 → translate −49vh → +49vh
     가장자리 노출 0 조건 = 위아래로 정확히 49vh 씩 넘겨 잡기 → inset:-49vh 0
       검산: t=−49 일 때 덮는 범위 [−98, 250] ⊇ [0,250] ✔
             t=+49 일 때 덮는 범위 [   0, 348] ⊇ [0,250] ✔  (두 극단에서 정확히 맞물린다)
   ⚠️ 이 층 하나가 **한 섹션의** 패럴랙스 전부다. 한 섹션에 두 번째 층을 추가하지 말 것.
      FEATURES 는 트랙 길이가 달라(550vh) 자기 층 .fx-par 를 따로 갖는다 — 여기서는
      '외형'(그라디언트·블렌드·정지 규칙)만 승계하고 이동량은 그쪽에서 다시 유도했다.
      ⛔ 그래도 **섹션당 층은 여전히 하나**다. .sc-par 와 .fx-par 가 같은 섹션에 공존하지 않는다. */
.sc-par,
.fx-par{
  position:absolute;left:0;right:0;top:-49vh;bottom:-49vh;
  z-index:0;pointer-events:none;
  background:
    radial-gradient(52% 30% at 28% 24%, rgba(111,228,242,.16) 0%, rgba(111,228,242,0) 70%),
    radial-gradient(56% 34% at 74% 62%, rgba(139,123,255,.18) 0%, rgba(139,123,255,0) 72%),
    radial-gradient(40% 24% at 50% 88%, rgba(232,134,200,.12) 0%, rgba(232,134,200,0) 68%);
  background-blend-mode:screen;
}
@keyframes rpPar072{
  from{translate:0 -49vh}
  to  {translate:0  49vh}
}
@supports (animation-timeline: view()){
  @media (prefers-reduced-motion:no-preference){
    .sc-par{
      animation:rpPar072 linear both;
      animation-timeline:view(block);
      animation-range:cover 0% cover 100%;
    }
  }
}

/* ── 스테이지 콘텐츠 ───────────────────────────────────────────────────────
   ⚠️ 이미지 정책이 2026-08-19 에 바뀌었다. 임시 콘텐츠 시절의 "외부 이미지 로드 금지 · 순수
      CSS/SVG"는 **확정 콘텐츠가 없던 동안의 조건**이었다. 확정 콘텐츠에는 실제 사진이 들어간다.
        · 규약  .sc-shot 에 sc-shot-img 를 더하고 그 안에 <img> 하나(아래 .sc-shot-img 블록).
        · 자산  wwwroot/images/Home/ 의 webp. 4:5 로 미리 잘라 내보낸다(예: 988×1235).
        · 🚨 /images/ 에는 Program.cs:605 가 1년 immutable 을 건다 → 참조에 ?v= 세대 필수.
        · CLS  aspect-ratio 4/5 + img width/height 로 잡는다. 로드는 loading="lazy".
      아직 이미지가 없는 섹션은 종전대로 빈 .sc-shot(그라데이션 + 격자)이 그대로 남는다. */
.sc-shot{
  position:relative;margin:0;
  aspect-ratio:4/5;
  border-radius:18px;
  overflow:hidden;
  background:
    linear-gradient(152deg, rgba(111,228,242,.30) 0%, rgba(139,123,255,.26) 46%, rgba(232,134,200,.22) 100%),
    linear-gradient(0deg, #0A0420, #0A0420);
}
/* 옅은 격자 — 반전 진입이 '무엇이 뒤집혔는지' 눈이 붙잡을 기준선. 없으면 그라데이션만
   남아 반전이 색 변화로만 읽힌다. */
.sc-shot::after{
  content:"";position:absolute;inset:0;
  background:
    repeating-linear-gradient(0deg,  rgba(255,255,255,.07) 0 1px, rgba(255,255,255,0) 1px 40px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, rgba(255,255,255,0) 1px 40px);
  -webkit-mask-image:radial-gradient(78% 78% at 50% 44%, #000 0%, transparent 82%);
          mask-image:radial-gradient(78% 78% at 50% 44%, #000 0%, transparent 82%);
}
/* ── 확정 이미지가 들어간 shot (2026-08-19 · VOTE 부터) ─────────────────────
   ⚠️ 위의 격자(::after)는 '빈 도형' 시절에 반전 진입의 기준선을 만들려던 장치다. 실사 사진이
      들어오면 사진 자체가 그 기준선이므로 격자는 노이즈일 뿐이다 → 이미지 shot 에서만 끈다.
      깊이는 앱 문법(그림자 0 · 1px 헤어라인)대로 헤어라인 하나로만 준다.
   ⚠️ 판정을 :has(img) 가 아니라 **마크업 모디파이어 클래스**로 한 이유: 이 뼈대는 5개 섹션이
      복제해 쓰는 템플릿이라 브라우저 지원 여부가 변수로 남으면 안 된다.
   ⚠️ ::after 는 생성 순서상 <img> 위에 그려진다 — 헤어라인이 사진 위에 얹히는 게 맞다.
   ⚠️ 이미지는 4:5 로 **미리 잘라서** 내보냈다(988×1235). 컨테이너도 4/5 라 cover 가 추가로
      자르지 않는다 = object-position 을 조율할 필요가 없다. 다른 섹션도 4:5 로 잘라 올 것.
   ⚠️ 반전 진입(filter:invert)은 부모 .sc-shot 에 걸린다 — img 에 따로 걸지 말 것(이중 반전). */
.sc-shot-img::after{
  border-radius:inherit;
  background:none;
  -webkit-mask-image:none;
          mask-image:none;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.10);
}
.sc-shot-img img{
  position:absolute;inset:0;
  display:block;
  width:100%;height:100%;
  object-fit:cover;
}
.sc-caption{max-width:44ch}
.sc-step{
  margin:0 0 clamp(10px,1.6vh,16px);
  font-size:clamp(9.5px,1vw,12px);font-weight:600;
  letter-spacing:.2em;text-transform:uppercase;
  color:var(--beam,#3FEBF6);
}
.sc-title{
  margin:0;
  font-size:clamp(19px,2.4vw,32px);font-weight:700;line-height:1.3;letter-spacing:-.01em;
  color:var(--ink,#fff);
  text-shadow:0 0 62px rgba(5,1,15,.6);
}
.sc-text{
  margin:clamp(10px,1.6vh,18px) 0 0;
  font-size:clamp(13px,1.3vw,16px);font-weight:500;line-height:1.75;
  color:rgba(255,255,255,.82);
  text-shadow:0 0 62px rgba(5,1,15,.55);
}

/* ── ③ 일반 흐름 블록 — 1× 동기 ───────────────────────────────────────────
   고정(sticky)과의 '대비'가 깊이를 만든다. 여기에 패럴랙스를 걸지 말 것. */
.sc-panel{
  min-height:88vh;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-items:center;
  gap:clamp(24px,5vw,72px);
  padding:clamp(20px,5vh,56px) 0;
}
@media (max-width:860px){
  .sc-panel{grid-template-columns:1fr;gap:clamp(18px,4vh,32px)}
}
.sc-outro{
  min-height:60vh;
  display:grid;place-items:center;
  text-align:center;
}
.sc-outro p{
  margin:0;max-width:44ch;
  font-size:clamp(13px,1.3vw,16px);font-weight:500;line-height:1.75;
  color:rgba(255,255,255,.72);
  text-shadow:0 0 62px rgba(5,1,15,.55);
}
/* 임시 콘텐츠 표식 — 오너가 화면만 보고도 '확정 카피가 아니다'를 알 수 있어야 한다. */
.sc-tmp{
  display:inline-block;
  margin:0 0 clamp(12px,2vh,20px);
  padding:5px 12px;
  border:1px solid rgba(169,163,214,.28);
  border-radius:999px;
  font-size:10.5px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;
  color:rgba(169,163,214,.62);
}
/* ── 마무리 킥커 — 확정 콘텐츠용(2026-08-19) ───────────────────────────────
   .sc-tmp 가 있던 자리에 들어가는 '공식 문구' 알약이다. 임시 표식은 회색 저채도로 눈에서
   빠지는 게 목적이었지만, 이건 읽히라고 두는 것이므로 .sc-step 과 같은 빔 액센트를 쓴다.
   ⚠️ 위의 .sc-tmp 규칙을 지우지 말 것 — 아직 확정 콘텐츠가 안 들어간 나머지 4개 섹션이 쓴다.
      (다섯 섹션이 전부 교체되면 그때 .sc-tmp 를 제거한다.) */
.sc-mark{
  display:inline-block;
  margin:0 0 clamp(12px,2vh,20px);
  padding:5px 12px;
  border:1px solid rgba(63,235,246,.32);
  border-radius:999px;
  font-size:10.5px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;
  color:var(--beam,#3FEBF6);
}

/* ══ 진입 문법 ═════════════════════════════════════════════════════════════
   확정 문법: perspective(520px) rotateX(90deg) → 0 / transform-origin: bottom center.
   글자·이미지·카드 전부 같은 문법으로 통일한다(s0 문법).
   ⚠️ 트리거는 scrolly.js 의 IntersectionObserver 가 .rp-in 을 붙이는 것으로 끝난다.
      임계값(entry 15% / 35% / 0%)은 마크업의 data-rp-at 이 정본이고, threshold 매핑 근거는
      scrolly.js 헤더에 있다. 여기서는 '리빌 자체'만 정의한다.
   ⚠️⚠️ 숨김 초기값은 반드시 html.sc-js 아래에만 둔다. scrolly.js 가 죽으면 콘텐츠가
      opacity:0 인 채 남는다 — 이 페이지가 두 번 겪은 '투명하게 배포' 사고와 같은 형태다. */
@keyframes rpRise{
  from{opacity:0; transform:perspective(var(--rp-persp)) rotateX(90deg)}
  to  {opacity:1; transform:perspective(var(--rp-persp)) rotateX(0deg)}
}
/* 이미지 진입 = 네거티브 → 포지티브 **하나로**.
   ⛔ 마스크·와이프·스케일을 병용하지 말 것(원본 haoqi 도 반전 단독이다). */
@keyframes rpInvert{
  from{filter:invert(1)}
  to  {filter:invert(0)}
}
@keyframes rpCuePulse{
  0%  {opacity:.25;transform:scaleY(.6)}
  50% {opacity:1;  transform:scaleY(1)}
  100%{opacity:.25;transform:scaleY(.6)}
}

.rp-line{display:block}
.rp-line,[data-rp="block"],[data-rp="image"]{transform-origin:bottom center}

/* 숨김 초기값 — JS 가 살아 있을 때만 */
html.sc-js [data-rp="lines"] .rp-line,
html.sc-js [data-rp="block"]{opacity:0}
html.sc-js [data-rp="image"]{filter:invert(1)}   /* ⚠️ opacity 는 건드리지 않는다(반전 단독) */

/* 리빌 */
html.sc-js [data-rp="lines"].rp-in .rp-line{
  animation:rpRise var(--rp-d-reveal) var(--rp-ease) both;
  animation-delay:calc(var(--rp-i,0) * var(--rp-stagger-line));
}
html.sc-js [data-rp="lines"][data-rp-weight="heavy"].rp-in .rp-line{
  animation-duration:var(--rp-d-reveal-l);       /* 무게 있는 헤딩 = 1.4s */
}
html.sc-js [data-rp="block"].rp-in{
  animation:rpRise var(--rp-d-reveal) var(--rp-ease) both;
  animation-delay:calc(var(--rp-i,0) * var(--rp-stagger-block));
}
html.sc-js [data-rp="image"].rp-in{
  animation:rpInvert .8s var(--rp-ease-inout) both;   /* 확정 문법: 0.8s easeInOutCubic */
}
/* 롱 슬라이드 — 이징이 다른 유일한 경우(확정 문법). 현재 임시 콘텐츠에서는 마무리 블록에만 쓴다. */
html.sc-js [data-rp="block"][data-rp-long].rp-in{
  animation-duration:var(--rp-d-slide);
  animation-timing-function:var(--rp-ease-long);
}

@media (prefers-reduced-motion:no-preference){
  .sc-cue{animation:rpCuePulse 2.6s ease-in-out infinite}
}

/* ══ 저사양 자동 강등 (data-lite) ═══════════════════════════════════════════
   s0 의 장치를 이식했다. 판정은 warp-gl.js 의 **기존 렌더 루프**가 프레임 델타로 하고
   (80프레임 창에서 26ms 초과가 35% 초과), 여기서는 결과만 받는다.
   ⚠️ 새 rAF 루프를 만들지 않는다 — 그게 이 방식을 고른 유일한 이유다.
   강등 내용(확정 문법): sticky 침강 축소 · 롱 슬라이드 비활성 · 패럴랙스 정지. */
html[data-lite]{--sc-track-h:120vh}
html[data-lite] .sc-par{animation:none;translate:none}
html[data-lite] [data-rp="block"][data-rp-long].rp-in{
  animation-duration:var(--rp-d-micro-l);
  animation-timing-function:var(--rp-ease);
}

/* ══ 감축모션 — 레퍼런스에 없던 것. 반드시 유지할 것 ════════════════════════ */
@media (prefers-reduced-motion:reduce){
  html.sc-js [data-rp="lines"] .rp-line,
  html.sc-js [data-rp="block"],
  html.sc-js [data-rp="image"],
  html.sc-js [data-rp].rp-in,
  html.sc-js [data-rp].rp-in .rp-line{
    animation:none!important;
    transform:none!important;
    opacity:1!important;
    filter:none!important;
  }
  .sc-par{animation:none!important;translate:none!important}
  .sc-cue{animation:none;opacity:.6}
  /* 250vh 트랙은 '움직임이 있을 때'만 의미가 있다. 정지 상태에서는 빈 스크롤일 뿐이라 접는다. */
  :root{--sc-track-h:100svh}
}

/* ══════════════════════════════════════════════════════════════════════════
   FEATURES 전용 — 5장면 핀 스토리 (2026-08-19 신설)
   ══════════════════════════════════════════════════════════════════════════
   VOTE 는 '한 장면을 핀으로 붙잡는' 구조였다. FEATURES 는 **핀 안에서 장면이 5번
   바뀐다**. 그래서 트랙이 길고(550vh) 스테이지 전환이 스크롤 연동이다.

   ── 확정 문법 대비 이탈(승인분) ────────────────────────────────────────────
     · 트랙 550vh (확정 문법 250vh) — 5장면 × 90vh + 도입/여유. 값의 유도는 아래 .fx-cue.
     · 스테이지 전환은 opacity 크로스페이드 — 진입 문법(rotateX 90deg)을 5번 반복하면
       같은 어휘가 닳는다. 리빌 문법은 **카피에만** 남겨 둔다.
     · 이징은 전환 구간만 `linear`(스크롤 연동에는 '초'가 없다 — .sc-par 와 같은 처리).
   ⛔ **새 이징 토큰 0개 / 새 지속시간 토큰 0개.** 카피 리빌은 기존 rpRise·rpInvert 를
      그대로 쓰고, 스태거·지속시간도 :root 토큰 그대로다.
   ⛔ 패럴랙스 층은 이 섹션에서도 **하나뿐**이다(.fx-par).
   ⚠️ 마크업은 **문서 순서 = 장면 순서**다(1→5). 이게 지켜지는 한 아래 강등 경로 3종은
      "핀만 풀면" 그대로 세로 목록이 된다 — 폴백용 별도 마크업이 없는 이유다.
   ══════════════════════════════════════════════════════════════════════════ */

/* ── 트랙 ──────────────────────────────────────────────────────────────────
   ⚠️ overflow:clip 이다(hidden 아님) — hidden 은 스크롤 컨테이너를 만들어 .fx-stick 의
      position:sticky 를 죽인다. .sc-track 과 같은 이유다. */
.fx-rail{
  position:relative;
  height:var(--fx-rail-h);
  overflow:clip;
  /* 스테이지 전환의 기준 타임라인. 이름이 있어야 핀 안쪽 자손이 참조할 수 있다
     (view() 익명 타임라인은 '자기 자신'의 진행도라 자손에 쓸 수 없다). */
  view-timeline-name:--fxrail;
  view-timeline-axis:block;
}
@supports not (overflow: clip){
  .fx-rail{overflow:visible}
}
.fx-stick{
  position:sticky;top:0;
  height:100svh;
  display:flex;flex-direction:column;justify-content:center;
  gap:clamp(14px,2.4vh,26px);
  z-index:1;
}

/* ── 유일한 패럴랙스 층 (0.72×) ────────────────────────────────────────────
   ⚠️⚠️ 수치 재유도 (트랙 길이가 달라 .sc-par 의 49vh 를 그대로 쓸 수 없다):
     트랙 높이 T = 550vh, 뷰포트 V = 100vh
     view() cover 구간 동안의 스크롤 이동량 = V + T = **650vh**
     0.72× → 뒤처지는 양 = (1 − 0.72) × 650vh = **182vh**
     대칭 배분 → translate −91vh → +91vh
     가장자리 노출 0 조건 = 위아래로 정확히 91vh 씩 넘겨 잡기 → inset:-91vh 0
       검산: t=−91 일 때 덮는 범위 [−182, 550] ⊇ [0,550] ✔
             t=+91 일 때 덮는 범위 [   0, 732] ⊇ [0,550] ✔
   외형(그라디언트 3겹 · background-blend-mode:screen)과 정지 규칙은 .sc-par 승계 —
   위쪽 `.sc-par,.fx-par{…}` 블록이 정본이고 여기서는 이동량만 덮어쓴다. */
.fx-par{top:-91vh;bottom:-91vh}
@keyframes fxPar072{
  from{translate:0 -91vh}
  to  {translate:0  91vh}
}
@supports (animation-timeline: view()){
  @media (prefers-reduced-motion:no-preference){
    .fx-par{
      animation:fxPar072 linear both;
      /* ⚠️ animation 단축은 animation-timeline·animation-range 를 초기값으로 되돌린다.
            반드시 단축 **뒤에** 선언할 것(.sc-par 와 같은 순서).
         ⚠️ 타임라인이 view(block)(자기 자신)이 아니라 **레일의 이름 있는 타임라인**이다.
            .sc-par 는 view(block) 이라 subject 가 자기 자신(트랙+넘겨 잡은 만큼)이었고,
            그래서 cover 구간이 위 계산의 650vh 보다 길었다(= 실효 배율이 0.72 보다 컸다).
            여기서는 --fxrail 을 참조해 **유도값과 실제 구간을 일치**시킨다.
            ⛔ 새 층이 아니다 — 층은 여전히 .fx-par 하나뿐이다. */
      animation-timeline:--fxrail;
      animation-range:cover 0% cover 100%;
    }
  }
}

/* ── 0높이 센티넬 — 핀 안쪽 카피 리빌의 트리거 ──────────────────────────────
   ⚠️⚠️ **카피 리빌을 스크롤 연동으로 바꾸지 말 것.** 확정 문법이 주는 지속시간
      (1.1/1.4s)과 스태거(.06s/.2s)는 스크롤 타임라인에는 '초' 개념이 없어 전부 버려진다.
      그래서 리빌은 종전대로 IO + 시간 기반이고, 핀 안에서 IO 가 못 하는 '진입 판정'만
      일반 흐름 좌표의 센티넬에 위임한다(scrolly.js 의 data-rp-for).

   ⚠️⚠️ top 값 유도 — 값을 바꾸려면 이 계산을 다시 할 것:
     핀 구간(= animation-range `contain`) 길이 = T − V = 550 − 100 = **450vh**
     s = 핀이 걸린 뒤 스크롤한 양(0 ~ 450vh), 전환 진행도 p = s / 450vh
     장면 k(1..5)의 페이드 인 시작 = p = 0.20(k−1) → s = 90(k−1) vh
     여기에 리빌이 '막 보이기 시작할 때' 걸리도록 +2%p(= 9vh) 리드를 준다
       → 목표 트리거 s = 90(k−1) + 9 vh
     센티넬은 **뷰포트 하단을 넘는 순간** 교차 보고된다. 레일 안 좌표 X 의 센티넬은
     s = X − 100vh 에서 교차한다 → X = 90(k−1) + 109 vh
       k=1 109vh · k=2 199 · k=3 289 · k=4 379 · k=5 469
     top 은 레일 높이(550vh) 기준 백분율이므로 X / 550vh × 100%:
       19.82% / 36.18% / 52.55% / 68.91% / 85.27%
   ⚠️ '−100vh' 항을 빠뜨리면 장면이 **보이기 100vh 전에** 리빌이 끝나 버린다
      (연출이 통째로 안 보인다). 이 항이 이 계산의 전부다.

   ⚠️ 센티넬은 **6개**다. 위 5개(장면 카피) 앞에 '도입' 하나가 더 있다:
     도입 = 폰의 반전 진입(data-rp="image", 0.8s 1회) + 도입 한 줄. 이건 핀이 걸리기 **전**,
     레일이 화면 아래에서 올라오는 동안 일어나야 한다. 늦추면 폰이 **네거티브인 채로 한참
     보이다가** 뒤늦게 뒤집힌다(= 고장으로 읽힌다).
       .fx-stick 은 100svh 이고 폰은 그 안에서 세로 중앙이다(.fx-device 높이 ≈ 62svh)
       → 폰의 윗변은 스틱 상단에서 약 19vh 아래
       → 폰의 윗변이 뷰포트 하단에 닿는 순간 = 레일 안 좌표 19vh 인 센티넬이 교차하는 순간
       → 19 / 550 × 100 = **3.4%**
     (VOTE 의 .sc-shot 이 data-rp-at="0.01" 로 '보이자마자' 반전을 시작하는 것과 같은 타이밍.)
   ⚠️ 시각 요소가 아니다 — 폭 1px·높이 0·pointer-events:none. */
.fx-cue{
  position:absolute;left:0;
  width:1px;height:0;
  pointer-events:none;
}
.fx-cue:nth-of-type(1){top:3.4%}    /* 도입 — 폰 반전 진입 + 도입 한 줄 */
.fx-cue:nth-of-type(2){top:19.82%}  /* 장면 1 카피 */
.fx-cue:nth-of-type(3){top:36.18%}  /* 장면 2 */
.fx-cue:nth-of-type(4){top:52.55%}  /* 장면 3 */
.fx-cue:nth-of-type(5){top:68.91%}  /* 장면 4 */
.fx-cue:nth-of-type(6){top:85.27%}  /* 장면 5 */

/* ── 도입 한 줄 (핀이 걸리는 순간 1회 리빌, 이후 5장면 내내 유지) ─────────── */
.fx-intro{
  margin:0;
  text-align:center;
  font-size:clamp(11px,1.15vw,14px);font-weight:600;
  letter-spacing:.04em;line-height:1.6;
  color:rgba(255,255,255,.66);
  text-shadow:0 0 62px rgba(5,1,15,.6);
}

/* ── 스테이지 5장 — 같은 격자 칸에 겹쳐 두고 opacity 로 교대 ───────────────
   ⚠️ 겹치기를 grid-area:1/1 로 한다(absolute 아님). 다섯 장 중 가장 큰 것이 높이를
      결정하므로 장면이 바뀌어도 폰과 그래프가 **한 픽셀도 움직이지 않는다**.
      강등 시 grid-area 를 풀면 그대로 세로 목록이 된다. */
.fx-frame{
  display:grid;
  width:100%;
  min-height:0;
}
.fx-stage{
  grid-area:1/1;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1.7fr);
  align-items:center;
  gap:clamp(16px,3vw,48px);
  min-width:0;
}

/* 좌: 빔 그래프 — 어휘는 .sc-cue 와 같다(빛줄기 한 가닥). 링(레이더형 원) 금지. */
.fx-graph{
  display:block;
  width:100%;height:auto;
  max-height:min(56svh,440px);
  overflow:visible;
}
.fx-base{fill:none;stroke:rgba(255,255,255,.13);stroke-width:1.2}
.fx-lit{
  fill:none;stroke:var(--beam,#3FEBF6);stroke-width:1.6;stroke-linecap:round;
  filter:drop-shadow(0 0 6px rgba(63,235,246,.5));
}
.fx-dot{fill:var(--beam,#3FEBF6);filter:drop-shadow(0 0 6px rgba(63,235,246,.6))}

/* 중: 폰 1대 — 5장이 **같은 캔버스(1210×2141)** 라 같은 상자에 겹치면 정합이 보장된다.
   ⚠️ VOTE 의 4:5 슬롯(.sc-shot)을 쓰면 안 된다. 기기 컷아웃 전용 비율이다.
   ⚠️ 베젤이 위·아래·오른쪽으로 블리드 크롭돼 있다(원본 확인: 화면 x218~1171 / 좌측 흰 베젤
      x180~217 + 그 바깥은 기기 그림자). 상자 밖으로 잘려 나가는 게 **의도된 블리드**다.
   ⚠️ 그림자 0 · 헤어라인 0 — 컷아웃 자체에 기기 그림자가 들어 있어 테두리를 더하면 이중이 된다. */
.fx-device{
  position:relative;margin:0;
  aspect-ratio:1210/2141;
  height:min(62svh,540px);
  width:auto;
  justify-self:center;
}
.fx-device img{
  position:absolute;inset:0;
  display:block;
  width:100%;height:100%;
  object-fit:contain;
}

/* 우: 카피 5벌 */
.fx-say{max-width:46ch;min-width:0}
.fx-say .sc-step{margin-bottom:clamp(8px,1.2vh,14px)}
.fx-note{
  margin:clamp(8px,1.2vh,14px) 0 0;
  font-size:clamp(12px,1.15vw,14.5px);font-weight:600;line-height:1.7;
  color:var(--beam,#3FEBF6);
}
.fx-link{
  display:inline-block;
  margin:clamp(10px,1.6vh,18px) 0 0;
  font-size:clamp(11.5px,1.05vw,13.5px);font-weight:600;
  letter-spacing:.02em;
  color:var(--beam,#3FEBF6);
  text-decoration:none;
  border-bottom:1px solid rgba(63,235,246,.4);
  padding-bottom:2px;
}
.fx-link:hover,.fx-link:focus-visible{border-bottom-color:var(--beam,#3FEBF6)}

/* O·N·E 라벨 — 블록 스태거 .2s 로 순차 점등(확정 문법 그대로).
   ⛔ 큐브가 합쳐지는 도형 애니메이션을 만들지 말 것 — 어휘가 늘어난다. 분기는 빔이 맡는다. */
.fx-one{
  display:flex;flex-wrap:wrap;
  gap:clamp(8px,1.2vw,16px);
  margin:clamp(12px,1.8vh,20px) 0 0;
  padding:0;list-style:none;
}
.fx-one li{
  display:flex;align-items:center;gap:8px;
  font-size:clamp(11.5px,1.05vw,13.5px);font-weight:600;
  color:rgba(255,255,255,.80);
}
.fx-one b{
  display:grid;place-items:center;
  width:22px;height:22px;
  border:1px solid rgba(63,235,246,.42);
  border-radius:6px;
  font-size:10.5px;font-weight:700;letter-spacing:.02em;
  color:var(--beam,#3FEBF6);
}

/* ── 스테이지 전환 — 스크롤 연동 크로스페이드 ──────────────────────────────
   구간: S1 0~20% / S2 20~40% / S3 40~60% / S4 60~80% / S5 80~100%
   (각 경계에서 4%p 겹치며 교대한다. 겹침 구간의 미세한 밝기 저하는 크로스페이드의
    고유 성질이고, 승인된 이탈이다.)
   ⚠️ animation 단축이 animation-timeline / animation-range 를 초기값으로 되돌리므로
      순서를 바꾸지 말 것. */
@keyframes fxS1{ 0%,18%{opacity:1} 22%,100%{opacity:0} }
@keyframes fxS2{ 0%,18%{opacity:0} 22%,38%{opacity:1} 42%,100%{opacity:0} }
@keyframes fxS3{ 0%,38%{opacity:0} 42%,58%{opacity:1} 62%,100%{opacity:0} }
@keyframes fxS4{ 0%,58%{opacity:0} 62%,78%{opacity:1} 82%,100%{opacity:0} }
@keyframes fxS5{ 0%,78%{opacity:0} 82%,100%{opacity:1} }

@supports (animation-timeline: view()){
  @media (prefers-reduced-motion:no-preference){
    .fx-stick [data-fx="1"]{animation:fxS1 linear both;animation-timeline:--fxrail;animation-range:contain 0% contain 100%}
    .fx-stick [data-fx="2"]{animation:fxS2 linear both;animation-timeline:--fxrail;animation-range:contain 0% contain 100%}
    .fx-stick [data-fx="3"]{animation:fxS3 linear both;animation-timeline:--fxrail;animation-range:contain 0% contain 100%}
    .fx-stick [data-fx="4"]{animation:fxS4 linear both;animation-timeline:--fxrail;animation-range:contain 0% contain 100%}
    .fx-stick [data-fx="5"]{animation:fxS5 linear both;animation-timeline:--fxrail;animation-range:contain 0% contain 100%}
  }
}

/* ── ③ 포크 패널 — 핀 해제. 0×(고정)과 1×(동기)의 대비를 회수하는 자리 ────── */
.fx-fork{
  min-height:88vh;
  display:grid;align-content:center;
  gap:clamp(16px,2.6vh,28px);
  padding:clamp(20px,5vh,56px) 0;
}
.fx-fork-head{
  margin:0;
  font-size:clamp(17px,2.1vw,28px);font-weight:700;line-height:1.35;letter-spacing:-.01em;
  color:var(--ink,#fff);
  text-shadow:0 0 62px rgba(5,1,15,.6);
}
/* ⚠️ 비교표는 실제로 표라서 <table> 이다 — scope 로 행/열 헤더 관계가 그대로 읽힌다. */
.fx-tab{
  width:100%;
  border-collapse:collapse;
  text-align:left;
}
.fx-tab th,.fx-tab td{
  padding:clamp(10px,1.6vh,18px) clamp(10px,1.4vw,20px);
  border-bottom:1px solid rgba(255,255,255,.10);
  vertical-align:top;
  font-size:clamp(12px,1.2vw,15px);line-height:1.65;
}
.fx-tab thead th{
  border-bottom:1px solid rgba(63,235,246,.30);
  font-size:clamp(9.5px,1vw,12px);font-weight:600;
  letter-spacing:.2em;text-transform:uppercase;
  color:var(--beam,#3FEBF6);
}
.fx-tab tbody th{
  width:1%;white-space:nowrap;
  font-weight:600;
  color:rgba(169,163,214,.72);
}
.fx-tab tbody td{
  font-weight:500;
  color:rgba(255,255,255,.82);
}
.fx-tab tbody tr:last-child th,
.fx-tab tbody tr:last-child td{border-bottom:0}
/* 🚧 실사 이미지가 아직 없다. 마크업·자리는 잡아 두되 **빈 상자를 노출하지 않는다**
      (빈 액자가 보이면 '깨진 화면'으로 읽힌다). 이미지가 들어오면 아래 display:none 만
      지우고 <figure class="fx-slot"> 안에 <img> 를 넣으면 된다 — 폭은 이미 예약돼 있다. */
.fx-slot{
  margin:0;
  aspect-ratio:16/9;
  border-radius:18px;
  overflow:hidden;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.10);
  display:none;
}
.fx-slot img{display:block;width:100%;height:100%;object-fit:cover}

/* ══ 좁은 화면 ═════════════════════════════════════════════════════════════
   빔 그래프는 장식이라 먼저 접는다(aria-hidden 이므로 정보 손실 0).
   폰 + 카피만 세로로 쌓고 100svh 안에 들어가게 크기를 줄인다. */
@media (max-width:960px){
  .fx-stage{grid-template-columns:auto minmax(0,1.5fr);gap:clamp(14px,2.6vw,28px)}
  .fx-graph{display:none}
  .fx-device{height:min(52svh,420px)}
}
@media (max-width:700px){
  .fx-stage{grid-template-columns:1fr;justify-items:center;text-align:center;gap:clamp(12px,2vh,20px)}
  .fx-device{height:min(38svh,320px)}
  .fx-say{max-width:38ch}
  .fx-one{justify-content:center}
  .fx-tab tbody th{white-space:normal}
  .fx-tab th,.fx-tab td{padding:clamp(8px,1.2vh,12px) clamp(6px,1.4vw,10px)}
}

/* ══════════════════════════════════════════════════════════════════════════
   강등 경로 3종 — 공통 결과: **핀 해제 + 5장면이 opacity:1 인 세로 목록**
   ⚠️ 마크업이 문서 순서(1→5)라서 별도 폴백 마크업이 필요 없다. 순서를 바꾸지 말 것.

   ⚠️⚠️ 핀을 풀면 **센티넬도 같이 죽는다**(top 백분율의 기준인 550vh 가 사라진다). 그러면
      위임 리빌이 영영 안 걸리고, html.sc-js 의 숨김 초기값(opacity:0 / invert(1))에 갇힌
      **핀 안 콘텐츠가 통째로 안 보인다**. 이 페이지가 두 번 겪은 '투명하게 배포' 사고와
      똑같은 형태다. 그래서 강등 블록마다 숨김 초기값을 명시적으로 되돌린다.
      ⛔ 이 세 덩어리(.fx-restore 주석이 붙은 규칙)를 지우지 말 것.
   ══════════════════════════════════════════════════════════════════════════ */
/* ① 스크롤 연동 타임라인 미지원 (Safari 등) — 크로스페이드 자체가 성립하지 않는다 */
@supports not (animation-timeline: view()){
  .fx-rail{height:auto}
  .fx-stick{position:static;height:auto;display:block}
  .fx-frame{display:block}
  .fx-stage{
    grid-area:auto;
    padding:clamp(24px,6vh,64px) 0;
  }
  .fx-cue{display:none}
  .fx-par{top:0;bottom:0}
  /* .fx-restore — 위 ⚠️⚠️ 참조 */
  html.sc-js .fx-stick [data-rp="lines"] .rp-line{opacity:1}
  html.sc-js .fx-stick [data-rp="block"]{opacity:1}
  html.sc-js .fx-stick [data-rp="image"]{filter:none}
}
/* ② 감축모션 — 리빌 무효화는 위쪽 공통 블록이 이미 처리한다(여기서는 구조만) */
@media (prefers-reduced-motion:reduce){
  .fx-rail{height:auto}
  .fx-stick{position:static;height:auto;display:block}
  .fx-frame{display:block}
  .fx-stage{
    grid-area:auto;
    opacity:1!important;
    animation:none!important;
    padding:clamp(24px,6vh,64px) 0;
  }
  .fx-cue{display:none}
  .fx-par{top:0;bottom:0;animation:none!important;translate:none!important}
  .fx-graph{display:none}
}
/* ③ 저사양 자동 강등 — 판정은 warp-gl.js 의 기존 렌더 루프가 한다(새 rAF 없음) */
html[data-lite] .fx-rail{height:auto}
html[data-lite] .fx-stick{position:static;height:auto;display:block}
html[data-lite] .fx-frame{display:block}
html[data-lite] .fx-stage{
  grid-area:auto;
  opacity:1!important;
  animation:none!important;
  padding:clamp(24px,6vh,64px) 0;
}
html[data-lite] .fx-cue{display:none}
html[data-lite] .fx-par{top:0;bottom:0;animation:none;translate:none}
html[data-lite] .fx-graph{display:none}
/* .fx-restore — 위 ⚠️⚠️ 참조. 감축모션은 공통 블록의 !important 가 이미 되돌리므로 여기뿐이다. */
html[data-lite].sc-js .fx-stick [data-rp="lines"] .rp-line{opacity:1}
html[data-lite].sc-js .fx-stick [data-rp="block"]{opacity:1}
html[data-lite].sc-js .fx-stick [data-rp="image"]{filter:none}
