/* ------------------------------------------------------------
   토큰
   모서리: 버튼 10px, 사진 12px, 둥근 알약은 문제 알약에만.
   강조색 하나: 버튼과 날짜에만.
   ------------------------------------------------------------ */
@property --draw { syntax: "<percentage>"; inherits: true; initial-value: -12%; }

:root {
  --paper: #f5f5f2;
  --panel: #ecebe7;
  --line: rgba(17, 18, 20, 0.1);
  --ink: #111214;
  --ink-2: rgba(17, 18, 20, 0.68);
  --ink-3: rgba(17, 18, 20, 0.6);
  --accent: #2b4be0;
  --on-accent: #f7f7f5;

  --e-hero: cubic-bezier(0.16, 1, 0.3, 1);
  --e-arrive: cubic-bezier(0.22, 1, 0.36, 1);
  --e-sine: cubic-bezier(0.37, 0, 0.63, 1);
  --e-std: cubic-bezier(0.4, 0, 0.2, 1);

  --f-head: "Wanted Sans Variable", "Pretendard Variable", system-ui, sans-serif;
  --f-body: "Pretendard Variable", Pretendard, system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;
  --pad: clamp(16px, 4vw, 40px);
  color-scheme: light;
}
:root[data-accent="green"] { --accent: #1d7548; }
:root[data-accent="yellow"] { --accent: #e8b400; --on-accent: #111214; }

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #101113;
    --panel: #18191c;
    --line: rgba(236, 235, 230, 0.12);
    --ink: #ecebe6;
    --ink-2: rgba(236, 235, 230, 0.72);
    --ink-3: rgba(236, 235, 230, 0.56);
    --accent: #6f86ff;
    --on-accent: #0f1013;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-size: 16px; line-height: 1.55;
  word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, dl, dd, dt { margin: 0; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; } /* display 를 지정한 요소도 hidden 이면 감춘다 */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
.br-m { display: none; }
@media (max-width: 640px) { .br-m { display: inline; } }

.h2 { font-family: var(--f-head); font-weight: 600; font-size: clamp(1.75rem, 3.4vw, 3rem); line-height: 1.15; letter-spacing: -0.03em; text-wrap: balance; }
.h2--xl { font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: 1.1; letter-spacing: -0.035em; }
.lede { margin-top: 18px; max-width: 40ch; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--on-accent);
  border-radius: 10px; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap;
  transition: background-color 0.3s var(--e-std), transform 0.2s var(--e-std);
}
.btn:hover { background: color-mix(in oklab, var(--accent) 86%, #000); }
.btn:active { transform: scale(0.98); }
.btn--sm { height: 38px; padding: 0 18px; font-size: 0.875rem; }
.btn--lg { height: 54px; padding: 0 44px; font-size: 1.0625rem; }

.lede--wide { max-width: 52ch; }

html.js .reveal { opacity: 0; transform: translateY(20px) scale(0.96); }
/* 등장이 끝나면 원래 상태로 돌아가게(backwards) 해서, 등장 뒤의 hover 움직임을 막지 않는다 */
html.js .reveal.is-in { opacity: 1; transform: none; animation: arrive 0.8s var(--e-arrive) backwards; animation-delay: calc(var(--i, 0) * 90ms); }
/* 섹션 제목은 히어로와 같은 결로: 흐림에서 선명하게 */
html.js .h2.reveal.is-in { animation: title-in 1s var(--e-hero) backwards; }
@keyframes arrive { from { opacity: 0; transform: translateY(20px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes title-in { from { opacity: 0; filter: blur(10px); transform: translateY(14px); } to { opacity: 1; filter: blur(0); transform: none; } }

/* ------------------------------------------------------------
   마감 카운트다운 (countdown.js)
   숫자는 고정폭으로 맞추고, 바뀌는 자리만 위로 굴러간다.
   ------------------------------------------------------------ */
.cd { font-variant-numeric: tabular-nums; white-space: nowrap; }
.cd__num { display: inline-flex; }
.cd__digit { position: relative; display: inline-block; width: 1ch; height: 1.2em; line-height: 1.2; overflow: hidden; vertical-align: bottom; text-align: center; }
.cd__digit b { display: block; font-weight: inherit; }
.cd__digit b.is-in { position: absolute; inset: 0; animation: cd-in 0.5s var(--e-hero) both; }
.cd__digit b.is-out { animation: cd-out 0.5s var(--e-hero) both; }
@keyframes cd-in { from { transform: translateY(90%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes cd-out { to { transform: translateY(-90%); opacity: 0; } }
.cd--block { display: flex; justify-content: center; gap: clamp(8px, 1.6vw, 16px); }
.cd--block .cd__unit { display: flex; flex-direction: column; align-items: center; }
.cd--block .cd__num {
  font-family: var(--f-head); font-weight: 600; font-size: clamp(2.4rem, 5.4vw, 4.6rem); letter-spacing: -0.02em;
  padding: 0.14em 0.22em; border-radius: 12px;
  background: color-mix(in oklab, currentColor 8%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, currentColor 16%, transparent);
}
.cd--block .cd__digit { height: 1.05em; line-height: 1.05; }
.cd--block .cd__label { margin-top: 10px; font-size: 0.875rem; font-weight: 600; opacity: 0.72; }

/* ------------------------------------------------------------
   내비: 한 줄. 첫 화면을 지나면 메뉴를 감추고 이름과 버튼만 남긴다.
   ------------------------------------------------------------ */
.nav { position: fixed; z-index: 40; top: 16px; left: 0; right: 0; padding: 0 16px; pointer-events: none; }
.nav__bar {
  pointer-events: auto; max-width: 920px; margin: 0 auto; height: 56px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 9px 0 16px;
  border-radius: 14px; border: 1px solid var(--line);
  background: color-mix(in oklab, var(--paper) 80%, transparent);
  backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 8px 30px -20px rgba(0, 0, 0, 0.35);
}
.nav__brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-head); font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.02em; }
.nav__mark { display: inline-flex; gap: 3px; align-items: flex-end; height: 18px; }
.nav__mark i { width: 4px; background: var(--ink); border-radius: 1px; }
.nav__mark i:nth-child(1) { height: 7px; background: var(--accent); }
.nav__mark i:nth-child(2) { height: 18px; }
.nav__mark i:nth-child(3) { height: 12px; }
.nav__links { display: flex; gap: 32px; font-size: 0.9375rem; font-weight: 500; transition: opacity 0.35s var(--e-std), transform 0.35s var(--e-std), visibility 0.35s; }
.nav__links a { color: var(--ink-2); transition: color 0.2s; }
.nav__links a:hover { color: var(--ink); }
.nav .btn { justify-self: end; }
.nav.is-compact .nav__links { opacity: 0; transform: translateY(-4px); visibility: hidden; }
@media (prefers-reduced-transparency: reduce) { .nav__bar { background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; } }
.nav__menu { display: none; }
@media (max-width: 720px) {
  .nav { top: 10px; padding: 0 10px; }
  .nav__links { display: none; }
  .nav__bar { position: relative; grid-template-columns: 1fr auto auto; gap: 6px; height: 52px; }
  .nav__menu { display: inline-flex; align-items: center; height: 44px; padding: 0 14px; border-radius: 10px; font-size: 0.875rem; font-weight: 600; color: var(--ink-2); }
  .nav .btn--sm { height: 44px; }
  .nav__brand { min-height: 44px; }
  .nav__menu:hover { color: var(--ink); }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; gap: 0; position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    padding: 6px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper);
    box-shadow: 0 16px 40px -20px rgba(0, 0, 0, 0.4); opacity: 1; visibility: visible; transform: none;
  }
  .nav.is-open .nav__links a { padding: 14px 12px; font-size: 1rem; color: var(--ink); }
  .nav.is-open .nav__links a + a { border-top: 1px solid var(--line); }
}

/* ------------------------------------------------------------
   첫 화면
   ------------------------------------------------------------ */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; background: #0b0c0e; color: #f5f5f2; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .hero__media img { object-position: 64% 50%; } } /* 세로 화면에서도 탑이 보이게 */
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 9, 11, 0.45) 0%, rgba(8, 9, 11, 0.38) 45%, rgba(8, 9, 11, 0.7) 100%); }
.hero__inner { text-align: center; padding: 120px var(--pad) 88px; max-width: 1100px; }
/* 접수 상태와 마감까지 남은 시간. 점은 "접수 중"이라는 실제 상태를 뜻한다 */
.hero__status {
  display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px;
  padding: 9px 16px; border-radius: 10px;
  border: 1px solid rgba(245, 245, 242, 0.22); background: rgba(10, 11, 13, 0.34);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 0.9375rem; font-weight: 600; color: rgba(245, 245, 242, 0.92);
}
.hero__live { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #8ea0ff; }
.hero__live::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: inherit; }
.hero__cd { display: inline-flex; align-items: center; gap: 6px; padding-left: 14px; border-left: 1px solid rgba(245, 245, 242, 0.22); color: rgba(245, 245, 242, 0.78); }
.hero__cd .cd { color: #f5f5f2; }
html.is-closed .hero__live { display: none; }
@media (prefers-reduced-motion: no-preference) { .hero__live::after { animation: live 2.4s var(--e-arrive) infinite; } }
@keyframes live { from { transform: scale(1); opacity: 0.7; } to { transform: scale(3); opacity: 0; } }
@media (prefers-reduced-transparency: reduce) { .hero__status { background: rgba(10, 11, 13, 0.8); backdrop-filter: none; -webkit-backdrop-filter: none; } }
.hero__title { margin-top: 18px; font-family: var(--f-head); font-weight: 600; font-size: clamp(2.2rem, 0.9rem + 4.4vw, 4.6rem); line-height: 1.1; letter-spacing: -0.04em; text-wrap: balance; }
.hero__copy { margin: 24px auto 0; max-width: 30ch; font-size: clamp(1.05rem, 1.4vw, 1.3rem); line-height: 1.5; color: rgba(245, 245, 242, 0.84); text-wrap: balance; }
.hero__ctas { margin-top: 36px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px currentColor; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); }
.label { margin-top: 28px; font-size: 0.875rem; font-weight: 700; color: var(--ink-3); }
@media (prefers-reduced-motion: no-preference) {
  .hero__media img { animation: drift 28s var(--e-sine) infinite alternate; }
  .hero__title { animation: hero-headline-in 1s var(--e-hero) both; }
  .hero__status { animation: hero-copy-in 0.8s var(--e-hero) 0.2s both; }
  .hero__copy { animation: hero-copy-in 0.8s var(--e-hero) 0.45s both; }
  .hero__ctas { animation: hero-copy-in 0.8s var(--e-hero) 0.6s both; }
}
@keyframes drift { from { transform: scale(1.03); } to { transform: scale(1.1) translate(-1.2%, -0.8%); } }
@keyframes hero-headline-in { from { opacity: 0; filter: blur(14px); transform: scale(0.98); } to { opacity: 1; filter: blur(0); transform: scale(1); } }
@keyframes hero-copy-in { from { opacity: 0; filter: blur(8px); } to { opacity: 1; filter: blur(0); } }
@media (max-width: 640px) {
  .hero { place-items: end start; }
  .hero__inner { text-align: left; padding-bottom: 56px; }
  .hero__copy { margin-left: 0; }
  .hero__ctas { justify-content: flex-start; }
  .hero__status { justify-content: flex-start; }
  .hero__cd { padding-left: 0; border-left: 0; flex-basis: 100%; }
}

/* ------------------------------------------------------------
   오퍼 숫자
   ------------------------------------------------------------ */
.offer { border-bottom: 1px solid var(--line); }
.offer__row { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.offer__row > div { padding: clamp(36px, 5vw, 64px) var(--pad) clamp(32px, 4vw, 52px); }
.offer__row > div + div { border-left: 1px solid var(--line); }
.offer dt { font-family: var(--f-head); font-weight: 600; font-size: clamp(2.2rem, 4.4vw, 3.8rem); letter-spacing: -0.04em; line-height: 1; }
.offer dd { margin-top: 12px; font-size: 0.9375rem; color: var(--ink-2); text-wrap: balance; }
@media (max-width: 760px) {
  .offer__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer__row > div:nth-child(3) { border-left: 0; }
  .offer__row > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

/* ------------------------------------------------------------
   공통: 섹션, 하위 페이지로 가는 링크
   ------------------------------------------------------------ */
.block { padding-top: clamp(104px, 13vw, 168px); }
.block--end { padding-bottom: clamp(104px, 13vw, 168px); }
.more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: clamp(24px, 3vw, 36px); font-weight: 650; font-size: 1rem; color: var(--ink); border-bottom: 1px solid color-mix(in oklab, var(--ink) 30%, transparent); padding-top: 10px; padding-bottom: 6px; transition: border-color 0.2s, gap 0.3s var(--e-arrive); }
.more span { color: var(--accent); }
.more:hover { border-color: var(--ink); gap: 12px; }

/* ------------------------------------------------------------
   3주
   ------------------------------------------------------------ */
.weeks { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); align-items: start; }
.weeks li:nth-child(2) { margin-top: clamp(0px, 6vw, 72px); }
.week__img { aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: var(--panel); }
.week__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.2s var(--e-arrive); }
.weeks li:hover .week__img img { transform: scale(1.05); }
.week__n { display: block; margin-top: 20px; font-size: 0.875rem; font-weight: 700; color: var(--accent); }
.week__title { margin-top: 6px; font-family: var(--f-head); font-weight: 600; font-size: clamp(1.25rem, 1.8vw, 1.6rem); letter-spacing: -0.025em; line-height: 1.25; }
.week__body { margin-top: 8px; color: var(--ink-2); max-width: 30ch; }
.weeks__note { margin-top: 28px; font-size: 0.875rem; color: var(--ink-3); }
/* 예시 화면은 카드 안에서 아주 천천히 떠 있다. 카드마다 주기와 시작점을 다르게 */
@media (prefers-reduced-motion: no-preference) {
  .weeks li.is-in .week__img img { animation: float-y 9s var(--e-sine) infinite alternate; animation-delay: calc(var(--i, 0) * -3s); }
  .weeks li:hover .week__img img { animation-play-state: paused; }
}
@keyframes float-y { from { transform: scale(1.04) translateY(1.2%); } to { transform: scale(1.04) translateY(-1.2%); } }
@media (max-width: 760px) {
  .weeks { grid-template-columns: 1fr; gap: 40px; }
  .weeks li:nth-child(2) { margin-top: 0; }
  .week__img { aspect-ratio: 4 / 5; }
}

/* ------------------------------------------------------------
   모집 대상과 선발 기준
   ------------------------------------------------------------ */
.criteria { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.criteria li { border-top: 1px solid color-mix(in oklab, var(--ink) 18%, transparent); padding-top: 20px; }
.criteria__n { display: block; font-size: 0.875rem; font-weight: 700; color: var(--accent); }
.criteria__title { margin-top: 10px; font-family: var(--f-head); font-weight: 600; font-size: clamp(1.25rem, 1.8vw, 1.6rem); letter-spacing: -0.025em; line-height: 1.25; }
.criteria__body { margin-top: 8px; color: var(--ink-2); max-width: 26ch; }
.criteria__note { margin-top: clamp(28px, 3vw, 40px); font-size: 0.9375rem; color: var(--ink-3); }
@media (max-width: 860px) { .criteria { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .criteria { grid-template-columns: 1fr; gap: 0; } .criteria li { padding: 20px 0 24px; } }

/* ------------------------------------------------------------
   사람
   ------------------------------------------------------------ */
.crew { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.crew li { border-top: 1px solid color-mix(in oklab, var(--ink) 18%, transparent); padding-top: 20px; }
.crew__photo { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 0; border-radius: 12px; filter: grayscale(1); margin-bottom: 18px; }
.crew__role { font-size: 0.875rem; font-weight: 700; color: var(--accent); }
.crew__name { margin-top: 8px; font-family: var(--f-head); font-weight: 600; font-size: clamp(1.4rem, 2vw, 1.8rem); letter-spacing: -0.03em; }
.crew__org { margin-top: 4px; color: var(--ink-2); }
/* 사진은 아래에서 위로 걷히며 나타난다 (사람 페이지도 같은 등장) */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal .crew__photo, html.js .person.reveal .person__photo { clip-path: inset(100% 0 0 0 round 12px); transform: scale(1.06); transition: clip-path 1.1s var(--e-hero), transform 1.4s var(--e-hero); transition-delay: calc(var(--i, 0) * 120ms); }
  html.js .reveal.is-in .crew__photo, html.js .person.reveal.is-in .person__photo { clip-path: inset(0 0 0 0 round 12px); transform: none; }
}
@media (max-width: 520px) { .crew { grid-template-columns: 1fr; gap: 0; } .crew li { padding: 20px 0 24px; } }

/* ------------------------------------------------------------
   남는 것
   ------------------------------------------------------------ */
/* 왼쪽에 성과 증명서 예시 한 장, 오른쪽에 남는 것 넷 */
.gains { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 12px; align-items: stretch; }
.gains__fig { background: var(--panel); border-radius: 12px; padding: clamp(20px, 3vw, 40px) clamp(20px, 3vw, 40px) 16px; display: flex; flex-direction: column; }
.gains__fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; box-shadow: 0 24px 48px -28px rgba(17, 18, 20, 0.45); }
.gains__fig figcaption { margin-top: 14px; font-size: 0.875rem; color: var(--ink-3); }
.gains__list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gains__list li { background: var(--panel); border-radius: 12px; padding: clamp(22px, 2.4vw, 32px); display: flex; flex-direction: column; }
.gains__title { font-family: var(--f-head); font-weight: 600; font-size: clamp(1.25rem, 1.8vw, 1.55rem); letter-spacing: -0.025em; line-height: 1.25; }
.gains__body { margin-top: 10px; color: var(--ink-2); font-size: 0.9375rem; text-wrap: pretty; }
@media (prefers-reduced-motion: no-preference) {
  .gains__fig img { transition: transform 0.9s var(--e-arrive); }
  .gains__fig:hover img { transform: translateY(-6px) rotate(-0.6deg); }
}
@media (max-width: 900px) { .gains { grid-template-columns: 1fr; } .gains__fig { max-width: 460px; } }
@media (max-width: 520px) { .gains__list { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------
   출시: 고정 화면에서 사진이 선화로
   ------------------------------------------------------------ */
.world { position: relative; height: 220vh; margin-top: clamp(104px, 13vw, 168px); --p: 0; }
.world__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--paper); }
.world__photo, .world__line { position: absolute; inset: 0; }
.world__photo picture, .world__line picture { display: contents; } /* 세로 화면은 세로 구도로 자른 사진·선화를 쓴다 */
.world__photo img, .world__line img { width: 100%; height: 100%; object-fit: cover; transform: translateY(calc(var(--p) * -2.5%)) scale(calc(1.05 + var(--p) * 0.07)); transform-origin: 50% 65%; }
.world__line { background: var(--paper); -webkit-mask-image: linear-gradient(90deg, #000 calc(var(--draw) - 12%), transparent var(--draw)); mask-image: linear-gradient(90deg, #000 calc(var(--draw) - 12%), transparent var(--draw)); }
/* 선화는 연필선처럼 옅게: 윤곽이 빽빽한 부분이 화면을 누르지 않도록 */
.world__line img { mix-blend-mode: multiply; opacity: 0.5; filter: contrast(0.9); }
.world__text { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: clamp(116px, 17vh, 168px) var(--pad) clamp(36px, 7vh, 72px); pointer-events: none; }
.world__title { text-align: center; text-shadow: 0 0 24px var(--paper), 0 0 52px var(--paper); opacity: var(--t, 0); filter: blur(calc((1 - var(--t, 0)) * 10px)); transform: scale(calc(0.98 + var(--t, 0) * 0.02)); }
/* 출시 일정: 한 줄의 진행선. --prog(0~1)만큼 선이 차오르고 지난 날짜가 켜진다 */
.world__steps {
  --prog: 0; position: relative; width: min(760px, 100%);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 22px 24px 20px; border-radius: 14px;
  background: color-mix(in oklab, var(--paper) 86%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--e-arrive), transform 0.6s var(--e-arrive);
}
.world__steps.is-on { opacity: 1; transform: none; }
.world__steps::before, .world__steps::after { content: ""; position: absolute; top: 30px; left: calc(24px + 5px); right: calc(24px + (100% - 48px) / 3 - 5px); height: 2px; border-radius: 2px; }
.world__steps::before { background: var(--line); }
.world__steps::after { background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--prog)); }
.world__steps li { position: relative; display: flex; flex-direction: column; gap: 4px; padding-top: 22px; opacity: 0.38; transition: opacity 0.5s var(--e-arrive); }
.world__steps li.is-on { opacity: 1; }
.world__dot { position: absolute; top: 3px; left: 0; z-index: 1; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px color-mix(in oklab, var(--ink) 30%, transparent); transition: background-color 0.4s, box-shadow 0.4s, transform 0.5s var(--e-hero); }
.world__steps li.is-on .world__dot { background: var(--accent); box-shadow: 0 0 0 5px color-mix(in oklab, var(--accent) 20%, transparent); transform: scale(1.1); }
.world__steps time { font-size: 0.875rem; font-weight: 700; color: var(--accent); }
.world__steps b { font-size: 1.0625rem; font-weight: 650; }
@media (prefers-color-scheme: dark) { .world__line img { mix-blend-mode: screen; filter: invert(1) contrast(0.85); opacity: 0.4; } }
@media (max-width: 720px) {
  .world { height: 170vh; }
  .world__steps { grid-template-columns: 1fr; gap: 18px; padding: 20px 20px 20px 48px; }
  .world__steps::before, .world__steps::after { top: 30px; bottom: 62px; left: 25px; right: auto; width: 2px; height: auto; }
  .world__steps::after { transform-origin: 50% 0; transform: scaleY(var(--prog)); }
  .world__steps li { padding-top: 0; }
  .world__dot { top: 4px; left: -29px; }
}

/* ------------------------------------------------------------
   마무리: 떠다니는 문제 알약
   ------------------------------------------------------------ */
.closing { position: relative; height: 150vh; background: #0b0c0e; }
.closing__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; color: #f5f5f2; isolation: isolate; }
.closing__media { position: absolute; inset: 0; z-index: -2; }
.closing__media img { width: 100%; height: 100%; object-fit: cover; }
.closing__media::after { content: ""; position: absolute; inset: 0; background: rgba(8, 9, 11, 0.55); }
.closing__dots { position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1.3px); background-size: 12px 12px; }
.closing__pills { position: absolute; inset: 0; }
.pill {
  position: absolute; white-space: nowrap; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.12);
  padding: 10px 18px; font-size: 15px; font-weight: 500; line-height: 1; color: rgba(245, 245, 242, 0.95);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transition: opacity 0.3s ease-out;
  animation-timing-function: ease-in-out; animation-iteration-count: infinite;
}
.closing.is-shown .pill { opacity: 1; transition-duration: 0.7s; transition-delay: calc(var(--i) * 70ms); }
.pill.float-a { animation-name: float-a; }
.pill.float-b { animation-name: float-b; }
.pill.float-c { animation-name: float-c; }
@keyframes float-a { 0% { transform: translate(0); } 25% { transform: translate(16px, -12px); } 50% { transform: translate(6px, -26px); } 75% { transform: translate(-14px, -10px); } to { transform: translate(0); } }
@keyframes float-b { 0% { transform: translate(0); } 25% { transform: translate(-18px, -8px); } 50% { transform: translate(-8px, 18px); } 75% { transform: translate(14px, 10px); } to { transform: translate(0); } }
@keyframes float-c { 0% { transform: translate(0); } 33% { transform: translate(22px, 12px); } 66% { transform: translate(-10px, -18px); } to { transform: translate(0); } }
.closing__inner { position: relative; height: 100%; display: flex; flex-direction: column; }
.closing__center { margin: auto; text-align: center; padding: 0 var(--pad); }
.closing__copy { margin-top: 18px; font-size: clamp(1rem, 1.3vw, 1.125rem); color: rgba(245, 245, 242, 0.78); }
.closing__cd { margin-top: clamp(28px, 4vh, 44px); }
.closing__label { font-size: 0.9375rem; font-weight: 600; color: rgba(245, 245, 242, 0.78); margin-bottom: 14px; }
.closing__cd .cd--block .cd__num { background: rgba(10, 11, 13, 0.42); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }.closing__center .hero__ctas { margin-top: 36px; }
.closing__band { display: none; overflow: hidden; }
.closing__track { display: flex; gap: 10px; width: max-content; }
.closing__track .pill { position: static; opacity: 1; animation: none; }
@media (max-width: 720px) {
  .closing { height: auto; }
  .closing__stage { position: relative; height: 100svh; min-height: 620px; }
  .closing__pills { display: none; }
  .closing__band { display: block; padding-top: 84px; }
  .closing__band:last-child { padding: 0 0 56px; }
  @media (prefers-reduced-motion: no-preference) {
    .closing__track { animation: marquee-left 78s linear infinite; }
    .closing__track--rev { animation-name: marquee-right; }
  }
}
@keyframes marquee-left { from { transform: translate(0); } to { transform: translate(-50%); } }
@keyframes marquee-right { from { transform: translate(-50%); } to { transform: translate(0); } }

/* ------------------------------------------------------------
   푸터
   ------------------------------------------------------------ */
.foot { padding: 56px 0 64px; }
.foot__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.foot__name { font-family: var(--f-head); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.02em; }
.foot__line { margin-top: 8px; color: var(--ink-2); max-width: 30ch; text-wrap: balance; }
.foot__col { display: flex; flex-direction: column; color: var(--ink-2); margin-top: -10px; }
.foot__col a { padding: 10px 0; } /* 누르는 영역 44px */
.foot__col a:hover { color: var(--ink); }
@media (max-width: 720px) { .foot__grid { grid-template-columns: 1fr 1fr; } .foot__grid > div:first-child { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal, html.js .h2.reveal.is-in { opacity: 1; transform: none; animation: none; filter: none; }
  .world__steps, .world__steps li, .world__dot { transition: none; }
  .pill { animation: none !important; }
  .week__img img { transition: none; }
}
