/* ============================================================
   EDU-DETL-073 · 패스브릭 · BRU 브루탈리즘
   메인 컬러 #A26CF9 (H 263°) — 먹지(L 6.1%) 위 전기 보라 + 순백.
   라운드 0, 두꺼운 보더, 모노 디스플레이, 어긋난 그리드.
   ============================================================ */

:root {
  --brand:       #a26cf9;
  --brand-ink:   #140e1e;
  --accent:      #ffffff;
  --accent-ink:  #0e0b14;
  --surface:     #0e0b14;
  --surface-alt: #171122;

  /* 다크 지면 — SPEC 4절 v1.2 항목에 따라 중립색 5개 재정의 */
  --ink:         #f5f2fb;
  --ink-2:       #cac3dc;
  --ink-3:       #a49cba;
  --line:        #2c2440;
  --line-strong: #453a61;

  --font-display: var(--font-mono);
  --r: var(--r-none);
}

body { background: var(--surface); }

/* ── 공통 타입 ─────────────────────────────────────────────── */

.mono {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
}
.label { color: var(--brand); }
.label--ink { color: var(--ink-3); }

.h2 {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-tighter);
  line-height: 1.06;
  text-transform: uppercase;
}
.h2-ko { font-size: var(--fs-2xl); letter-spacing: var(--ls-tighter); line-height: 1.12; }
.h3 { font-size: var(--fs-lg); letter-spacing: var(--ls-tight); }

.body-lg { font-size: var(--fs-md); color: var(--ink-2); max-width: 50ch; }
.body-lg b { color: var(--brand); font-weight: var(--fw-bold); }
.body-sm { font-size: var(--fs-sm); color: var(--ink-2); }

@media (min-width: 1024px) { .h2, .h2-ko { font-size: var(--fs-3xl); } }

/* ── 버튼 ──────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-4) var(--sp-6);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  border: 2px solid var(--accent);
  border-radius: 0;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.btn--solid { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); box-shadow: 6px 6px 0 var(--accent); }
.btn--solid:hover { box-shadow: 2px 2px 0 var(--accent); transform: translate(4px, 4px); }
.btn--line { background: transparent; color: var(--accent); }
.btn--line:hover { background: var(--accent); color: var(--accent-ink); }
.btn--sm { padding: var(--sp-3) var(--sp-5); box-shadow: 4px 4px 0 var(--accent); }
.btn--sm:hover { box-shadow: 1px 1px 0 var(--accent); transform: translate(3px, 3px); }

/* ── 헤더 ──────────────────────────────────────────────────── */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-header);
  background: var(--surface);
  border-bottom: 2px solid var(--accent);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-block: var(--sp-3);
  padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: var(--fw-black);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}
.nav__mark { width: 14px; height: 14px; background: var(--brand); flex: none; }
.nav__menu { display: none; gap: var(--sp-6); }
.nav__menu a {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--ink-2);
}
.nav__menu a:hover { color: var(--brand); }

@media (min-width: 1024px) { .nav__menu { display: flex; } }

/* ── 히어로 ────────────────────────────────────────────────── */
/* 다크 지면. 모바일에서는 사진을 전면에 깔고 --surface 톤 스크림으로 덮는다. */

.hero {
  --header-h: 64px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 100svh;
  padding-top: var(--header-h);
  border-bottom: 2px solid var(--accent);
}

.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media .img-slot { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.hero__media::after {
  content: "";
  position: absolute; inset: 0; z-index: 3;
  background: linear-gradient(180deg,
    color-mix(in oklab, var(--surface) 93%, transparent) 0%,
    color-mix(in oklab, var(--surface) 86%, transparent) 52%,
    color-mix(in oklab, var(--surface) 46%, transparent) 100%);
}

.hero__text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--sp-4);
  padding: var(--sp-6) var(--gutter) var(--sp-7);
}

.hero__badge {
  align-self: flex-start;
  padding: var(--sp-2) var(--sp-4);
  background: var(--brand);
  color: var(--brand-ink);
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}

.hero__title {
  font-size: var(--fs-4xl);
  line-height: 0.98;
  letter-spacing: var(--ls-tighter);
  text-transform: uppercase;
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
}
.hero__title em { font-style: normal; color: var(--brand); }
.hero__sub { font-size: var(--fs-xl); letter-spacing: var(--ls-tighter); line-height: 1.15; }

.hero__lead { font-size: var(--fs-md); color: var(--ink-2); max-width: 36ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-top: var(--sp-3); }

.hero__spec {
  display: flex; flex-wrap: wrap; gap: 0;
  margin-top: var(--sp-4);
  border: 2px solid var(--accent);
}
.hero__spec div {
  flex: 1 1 120px;
  min-width: 0;
  padding: var(--sp-3) var(--sp-4);
  border-right: 2px solid var(--accent);
}
.hero__spec div:last-child { border-right: 0; }
.hero__spec dt { font-family: var(--font-display); font-size: var(--fs-xs); color: var(--ink-3); text-transform: uppercase; letter-spacing: var(--ls-wide); }
.hero__spec dd { font-family: var(--font-display); font-size: var(--fs-md); font-weight: var(--fw-bold); color: var(--accent); margin-top: 2px; }

@media (min-width: 1024px) {
  .hero { grid-template-columns: minmax(0, 56%) minmax(0, 1fr); }
  /* ★ grid-column 만 주면 자동 배치(sparse)가 뒤 아이템을 다음 줄로 밀어낸다.
     텍스트가 2행으로 내려가면서 히어로 이미지 행이 62px 로 찌그러졌다. 행까지 못박는다. */
  .hero__media { position: relative; grid-area: 1 / 2 / 2 / 3; border-left: 2px solid var(--accent); }
  .hero__media::after {
    background: linear-gradient(90deg,
      color-mix(in oklab, var(--surface) 88%, transparent) 0%,
      color-mix(in oklab, var(--surface) 18%, transparent) 44%,
      transparent 100%);
  }
  .hero__text {
    grid-area: 1 / 1 / 2 / 2;
    padding-top: calc(var(--header-h) + var(--sp-7));
    padding-bottom: var(--sp-8);
    padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2));
    padding-right: var(--sp-8);
  }
  /* 5xl 로 키우면 모노 대문자 헤드라인이 4줄이 되며 스펙 표와 CTA가 밀려난다. */
  .hero__title { font-size: var(--fs-4xl); }
}

/* ── 티커 ──────────────────────────────────────────────────── */

.ticker {
  overflow: hidden;
  background: var(--brand);
  color: var(--brand-ink);
  border-bottom: 2px solid var(--accent);
  padding-block: var(--sp-3);
}
.ticker__track { display: flex; align-items: center; gap: var(--sp-6); width: max-content; animation: ticker 30s linear infinite; }
.ticker__track span {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker__track i { width: 8px; height: 8px; background: var(--brand-ink); flex: none; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ── 지표 ──────────────────────────────────────────────────── */

.stats { border-bottom: 2px solid var(--accent); }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.stat {
  padding: var(--sp-6) var(--sp-5);
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
}
.stat:nth-child(2n) { border-right: 0; }
.stat:nth-last-child(-n+2) { border-bottom: 0; }
.stat dt { font-family: var(--font-display); font-size: var(--fs-xs); letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--ink-3); margin-bottom: var(--sp-3); }
.stat dd {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-tighter);
  line-height: 1;
  color: var(--brand);
}
.stat dd span { font-size: var(--fs-sm); color: var(--ink-2); margin-left: 3px; }
.stat__note { font-size: var(--fs-xs); color: var(--ink-3); margin-top: var(--sp-2); }

@media (min-width: 768px) {
  .stats__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stat { border-bottom: 0; }
  .stat:nth-child(2n) { border-right: 2px solid var(--accent); }
  .stat:last-child { border-right: 0; }
}

/* ── 섹션 공통 ─────────────────────────────────────────────── */

.sec { padding-block: var(--section-y); border-bottom: 2px solid var(--accent); }
.sec--alt { background: var(--surface-alt); }
.sec__head { display: grid; gap: var(--sp-4); margin-bottom: var(--sp-7); }

/* ── 문제 정의 (비대칭 2단 + 스티키) ───────────────────────── */

.why__inner { display: grid; gap: var(--sp-6); }
.why__head { display: grid; gap: var(--sp-4); align-content: start; }
.why__list { display: grid; gap: 0; border-top: 2px solid var(--line-strong); }
.why__item {
  display: grid;
  gap: var(--sp-3);
  padding-block: var(--sp-5);
  border-bottom: 2px solid var(--line-strong);
}
.why__num {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: var(--fw-black);
  color: var(--brand);
  line-height: 1;
}
.why__item p { font-size: var(--fs-sm); color: var(--ink-2); }

@media (min-width: 1024px) {
  .why__inner { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: var(--sp-9); }
  .why__head { position: sticky; top: calc(var(--sp-9) + var(--sp-2)); }
}

/* ── 커리큘럼 (풀블리드 + 겹침 카드) ───────────────────────── */

.curri { position: relative; border-bottom: 2px solid var(--accent); }
.curri__media { border-radius: 0; aspect-ratio: 4 / 5; }
.curri__card {
  position: relative;
  margin-top: calc(var(--sp-8) * -1);
  margin-bottom: var(--section-y);
  padding: var(--sp-6);
  background: var(--surface);
  border: 2px solid var(--accent);
  display: grid;
  gap: var(--sp-4);
}
.weeks { display: grid; border-top: 2px solid var(--line-strong); margin-top: var(--sp-2); }
.week {
  display: grid;
  gap: var(--sp-1) var(--sp-4);
  padding-block: var(--sp-4);
  border-bottom: 2px solid var(--line-strong);
}
.week__tag { font-family: var(--font-display); font-size: var(--fs-xs); font-weight: var(--fw-bold); color: var(--brand); letter-spacing: var(--ls-wide); }
.week__title { font-size: var(--fs-md); font-weight: var(--fw-semibold); }
.week__desc { font-size: var(--fs-sm); color: var(--ink-2); }

@media (min-width: 768px) {
  .curri__media { aspect-ratio: 21 / 9; }
  .curri__card { margin-top: calc(var(--sp-10) * -1); margin-right: auto; max-width: 680px; padding: var(--sp-8); }
  .week { grid-template-columns: minmax(0, 90px) minmax(0, 1fr); align-items: baseline; }
  .week__desc { grid-column: 2; }
}

/* ── 인용 ──────────────────────────────────────────────────── */

.shout { background: var(--brand); color: var(--brand-ink); padding-block: var(--section-y); border-bottom: 2px solid var(--accent); }
.shout p {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-tighter);
  line-height: 1.08;
  text-transform: uppercase;
}
.shout__ko { font-size: var(--fs-lg); font-weight: var(--fw-semibold); margin-top: var(--sp-5); max-width: 44ch; }
.shout footer { margin-top: var(--sp-5); font-family: var(--font-display); font-size: var(--fs-xs); letter-spacing: var(--ls-wide); text-transform: uppercase; }

@media (min-width: 1024px) { .shout p { font-size: var(--fs-4xl); } }

/* ── 실기 대비 2단 ─────────────────────────────────────────── */

.pair__inner { display: grid; gap: var(--sp-6); align-items: center; }
.pair__body { display: grid; gap: var(--sp-4); justify-items: start; }
.pair__media { border-radius: 0; border: 2px solid var(--accent); }

@media (min-width: 768px) {
  .pair__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--sp-8); }
  .pair--flip .pair__media { order: 2; }
}

/* ── 가격 ──────────────────────────────────────────────────── */

.price__inner { display: grid; gap: var(--sp-6); }
.plan {
  display: grid;
  gap: var(--sp-4);
  padding: var(--sp-6);
  border: 2px solid var(--line-strong);
}
.plan--main { border-color: var(--accent); background: var(--surface-alt); box-shadow: 10px 10px 0 var(--brand); }
.plan__name { font-family: var(--font-display); font-size: var(--fs-sm); font-weight: var(--fw-bold); letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--brand); }
.plan__price {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-tighter);
  line-height: 1;
}
.plan__price span { font-size: var(--fs-sm); font-weight: var(--fw-medium); color: var(--ink-3); margin-left: var(--sp-2); }
.plan__old { font-size: var(--fs-sm); color: var(--ink-3); text-decoration: line-through; }
.plan__list { display: grid; gap: var(--sp-3); }
.plan__list li {
  display: flex; gap: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--ink-2);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--line);
}
.plan__list li::before { content: "▸"; color: var(--brand); flex: none; }

@media (min-width: 768px) { .price__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-6); align-items: start; } }

/* ── FAQ ───────────────────────────────────────────────────── */

.faq__list { display: grid; border-top: 2px solid var(--line-strong); }
.qa { border-bottom: 2px solid var(--line-strong); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-5);
  padding-block: var(--sp-5);
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  cursor: pointer;
  list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--brand); }
.qa summary::after {
  content: "";
  width: 14px; height: 14px; flex: none;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 100% 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 100% no-repeat;
  transition: transform var(--dur) var(--ease);
}
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { padding-bottom: var(--sp-5); font-size: var(--fs-sm); color: var(--ink-2); max-width: 68ch; }

/* ── 신청 ──────────────────────────────────────────────────── */

.apply { position: relative; overflow: hidden; padding-block: var(--section-y); border-bottom: 2px solid var(--accent); }
.apply__bg { position: absolute; inset: 0; z-index: 0; }
.apply__bg .img-slot { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.apply__bg::after {
  content: "";
  position: absolute; inset: 0; z-index: 3;
  background: color-mix(in oklab, var(--surface) 88%, transparent);
}
.apply__inner { position: relative; z-index: 1; display: grid; gap: var(--sp-5); }
.apply__title { font-family: var(--font-display); font-size: var(--fs-2xl); font-weight: var(--fw-bold); letter-spacing: var(--ls-tighter); line-height: 1.06; text-transform: uppercase; }
.apply__form { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-top: var(--sp-3); max-width: 560px; }
.apply__form input {
  flex: 1 1 220px;
  min-width: 0;
  padding: var(--sp-4) var(--sp-5);
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
}
.apply__form input::placeholder { color: var(--ink-3); }
.apply__form input:focus-visible { border-color: var(--brand); }
.apply__note { font-size: var(--fs-xs); color: var(--ink-3); max-width: 52ch; }

@media (min-width: 1024px) { .apply__title { font-size: var(--fs-3xl); } }

/* ── 고정 신청 바 ──────────────────────────────────────────── */

.bar {
  position: sticky;
  bottom: 0;
  z-index: var(--z-sticky);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3) var(--sp-5);
  padding: var(--sp-4) var(--gutter);
  background: var(--surface-alt);
  border-top: 2px solid var(--accent);
}
.bar__price { font-family: var(--font-display); font-size: var(--fs-lg); font-weight: var(--fw-black); letter-spacing: var(--ls-tight); }
.bar__price span { font-size: var(--fs-xs); font-weight: var(--fw-medium); color: var(--ink-3); display: block; letter-spacing: var(--ls-wide); text-transform: uppercase; }

/* ── 푸터 ──────────────────────────────────────────────────── */

.foot { padding-block: var(--sp-8) var(--sp-6); }
.foot__inner { display: grid; gap: var(--sp-5); }
.foot__brand {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  font-family: var(--font-display); font-size: var(--fs-sm); font-weight: var(--fw-black);
  letter-spacing: var(--ls-wide); text-transform: uppercase;
}
.foot__addr { font-style: normal; font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.9; }
.foot__nav { display: flex; flex-wrap: wrap; gap: var(--sp-5); }
.foot__nav a { font-family: var(--font-display); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: var(--ls-wide); color: var(--ink-2); }
.foot__nav a:hover { color: var(--brand); }
.foot__copy {
  grid-column: 1 / -1;
  padding-top: var(--sp-5);
  border-top: 2px solid var(--line-strong);
  font-size: var(--fs-xs);
  color: var(--ink-3);
}

@media (min-width: 768px) { .foot__inner { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-7); } }

/* ===== 인터랙션 보강 (EDU 상향) ===== */
/* ============================================================
   SPEC 4-C — 브랜드 마크 · 아이콘 · 반응 하한 상향
   BRU 무드라 라운드 0 · 두꺼운 보더가 장치다. 반응도 각지게 준다.
   ============================================================ */

/* ── 아이콘 ─────────────────────────────────────────────────── */

.ico { width: 1em; height: 1em; flex: none; vertical-align: -0.125em; display: inline-block; }

.week__tag, .stat__note, .plan__list li,
.foot__addr span { display: inline-flex; align-items: center; gap: var(--sp-2); }
.plan__list li { display: flex; align-items: flex-start; gap: var(--sp-3); }
.plan__list li::before { content: none; }   /* 텍스트 마커(▸)를 아이콘으로 교체 */

.week__tag .ico, .plan__list .ico, .foot__addr .ico { color: var(--brand); }
.stat__note .ico { color: var(--ink-2); }
.plan__list .ico { font-size: 1.15em; margin-top: .18em; }
.foot__addr .ico { font-size: var(--fs-md); }
.btn .ico { font-size: 1.25em; }

/* ── 브랜드 마크 ────────────────────────────────────────────── */
/* 패스브릭 — 엇갈려 쌓은 벽돌 세 장. 라운드 0 무드에 맞춰 모서리를 각지게 뒀다. */

.nav__mark {
  width: auto; height: auto;
  flex: none;
  background: none;
  color: var(--brand);
  transition: transform var(--dur) var(--ease-out), color var(--dur) var(--ease);
}
.nav__logo:hover .nav__mark,
.foot__brand:hover .nav__mark { transform: translateY(-2px); color: var(--accent); }

/* ── 내비 — 밑줄이 각지게 그어진다 ─────────────────────────── */

.nav__menu a { position: relative; padding-block: 3px; transition: color var(--dur) var(--ease); }
.nav__menu a::after {
  content: "";
  position: absolute; inset: auto 0 -2px 0; height: 3px;
  background: var(--brand);
  transform: scaleX(0); transform-origin: right;
  transition: transform var(--dur) var(--ease-out);
}
.nav__menu a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ── 버튼 ───────────────────────────────────────────────────── */

.btn { transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur-fast) var(--ease), box-shadow var(--dur) var(--ease); }
.btn__arrow { transition: transform var(--dur) var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--line:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--brand); }

/* ── 지표 ───────────────────────────────────────────────────── */

.stat { transition: background var(--dur) var(--ease); }
.stat:hover { background: var(--surface-alt); }
.stat dd { transition: transform var(--dur) var(--ease-out); }
.stat:hover dd { transform: translateY(-3px); }
.stat__note { transition: color var(--dur) var(--ease); }
.stat:hover .stat__note { color: var(--brand); }

/* ── 티커 — 올리면 멈춘다 ───────────────────────────────────── */

.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__track { transition: opacity var(--dur) var(--ease); }
.ticker:hover .ticker__track { opacity: 1; }

/* ── 문제 목록 ──────────────────────────────────────────────── */

.why__item { position: relative; transition: padding-left var(--dur) var(--ease-out); }
.why__item::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0;
  background: var(--brand);
  transition: width var(--dur) var(--ease-out);
}
.why__item:hover { padding-left: var(--sp-4); }
.why__item:hover::before { width: 4px; }
.why__num { display: inline-block; transition: color var(--dur) var(--ease), transform var(--dur) var(--ease-out); }
.why__item:hover .why__num { color: var(--accent); transform: translateX(2px); }

/* ── 커리큘럼 — 주차 블록이 밀려 나온다 ────────────────────── */

.week { transition: transform var(--dur) var(--ease-out), border-color var(--dur) var(--ease), background var(--dur) var(--ease); }
.week:hover { transform: translateX(6px); background: var(--surface-alt); }
.week__title { transition: color var(--dur) var(--ease); }
.week:hover .week__title { color: var(--brand); }
.week__tag { transition: background var(--dur) var(--ease), color var(--dur) var(--ease); }
.week:hover .week__tag .ico { transform: scale(1.15); }
.week__tag .ico { transition: transform var(--dur) var(--ease-out); }

/* ── 요금표 — 그림자가 튀어나온다 ──────────────────────────── */

.plan { transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease); }
.plan:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--brand); }
.plan__price { transition: color var(--dur) var(--ease); }
.plan:hover .plan__price { color: var(--brand); }
.plan__list li { transition: color var(--dur) var(--ease); }
.plan__list li:hover { color: var(--ink); }

/* ── 사진 ───────────────────────────────────────────────────── */

.pair__media { overflow: hidden; }
.pair__media img { transition: transform var(--dur-slow) var(--ease-out), filter var(--dur) var(--ease); }
.pair__media:hover img { transform: scale(1.05); }

/* ── FAQ ────────────────────────────────────────────────────── */

@keyframes qaOpen { from { opacity: 0; transform: translateX(-8px); } }
.qa[open] p { animation: qaOpen var(--dur) var(--ease-out) both; }
.qa summary { transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease-out); }
.qa summary:hover { color: var(--brand); padding-left: var(--sp-3); }

/* ── 신청 폼 ────────────────────────────────────────────────── */

.apply__form input { transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease); }
.apply__form input:hover { border-color: var(--brand); }
.apply__form input:focus { background: var(--surface-alt); }

/* ── 스크롤 신호 — 브랜드색 블록이 깜빡인다 ────────────────── */

@keyframes blockBlink {
  0%, 100% { opacity: 1; }
  50%      { opacity: .35; }
}
.mono.label::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  margin-right: var(--sp-2);
  background: var(--brand);
  animation: blockBlink 2.6s steps(1, end) infinite;
}

/* ── 외침 섹션의 선이 그어진다 ─────────────────────────────── */

@keyframes ruleIn { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.shout footer { position: relative; padding-top: var(--sp-4); }
.shout footer::before {
  content: ""; position: absolute; left: 0; top: 0; width: 96px; height: 3px;
  background: var(--brand); transform-origin: left;
  animation: ruleIn var(--dur-slow) var(--ease-out) both;
}

/* ── 푸터 링크 ──────────────────────────────────────────────── */

.foot__nav a { position: relative; transition: color var(--dur) var(--ease); }
.foot__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform var(--dur) var(--ease-out);
}
.foot__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.foot__addr span .ico { transition: transform var(--dur) var(--ease-out); }
.foot__addr span:hover .ico { transform: scale(1.16); }

/* ── 형제 계단식 지연 ───────────────────────────────────────── */

html.js .weeks .reveal:nth-child(2) { transition-delay: 70ms; }
html.js .weeks .reveal:nth-child(3) { transition-delay: 140ms; }
html.js .weeks .reveal:nth-child(4) { transition-delay: 210ms; }
html.js .weeks .reveal:nth-child(5) { transition-delay: 280ms; }
html.js .stats__grid .reveal:nth-child(2) { transition-delay: 60ms; }
html.js .stats__grid .reveal:nth-child(3) { transition-delay: 120ms; }
html.js .stats__grid .reveal:nth-child(4) { transition-delay: 180ms; }
html.js .why__list .reveal:nth-child(2) { transition-delay: 70ms; }
html.js .why__list .reveal:nth-child(3) { transition-delay: 140ms; }
html.js .why__list .reveal:nth-child(4) { transition-delay: 210ms; }
html.js .price__inner .reveal:nth-child(2) { transition-delay: 100ms; }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { transition-delay: 0s !important; }
  .nav__logo:hover .nav__mark,
  .foot__brand:hover .nav__mark,
  .btn--line:hover,
  .stat:hover dd,
  .why__item:hover .why__num,
  .week:hover,
  .week:hover .week__tag .ico,
  .plan:hover,
  .pair__media:hover img,
  .foot__addr span:hover .ico { transform: none; }
  .mono.label::before { animation: none; }
  .shout footer::before { animation: none; transform: none; }
  .ticker__track { animation: none; }
}


/* ===== 획일성 제거 — BRU 무드 어휘 =====================================
   160작품이 레퍼런스의 밑줄 draw·카드 리프트·대문자 킥커를 그대로 복사해
   같은 사이트 리스킨으로 보였다. 반응 방식을 무드에 맞게 갈아끼운다.
   ==================================================================== */
/* 세로 카덴스를 작품마다 다르게 — 전부 같은 --section-y 를 쓰는 게 구조적 tell 이었다 */
:root { --section-y: clamp(3.75rem, 2.3313rem + 6.0817vw, 7.50rem); }

/* 브루탈리즘 — 하드 오프셋은 이 양식의 진짜 어휘다. 남긴다. 대신 밑줄은 블록 반전으로. */
/* padding+음수마진 대신 box-shadow spread 를 쓴다 — 레이아웃에 영향이 없다 */
.nav__menu a::after, .foot__nav a::after { display: none !important; }
.foot__nav a, .nav__menu a { transition: color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.foot__nav a, .nav__menu a:hover { color: var(--surface); box-shadow: 0 0 0 5px var(--ink); background: var(--ink); }

/* webit-touch */
@media (max-width: 767px) {
  .nav__inner { flex-wrap: wrap; overflow: visible; }
  .hero__actions, .hero__acts { flex-wrap: wrap; }
}
html.tier-premium .btn--solid { border-radius: 0; }
html.tier-premium .img-slot { border-radius: 0; }
