/* ─────────────────────────────────────────────
   테마 1 · 원고지 (Manuscript Grid)
   색: 종이 아이보리 + 먹 차콜 + 짙은 자주(버건디) 단일 액센트
   서체: 고운바탕(제목, 명조) / Pretendard(본문·한글 라벨) / IBM Plex Mono(숫자·라틴 전용)
   리듬: 좌측 세로 러너 + 괘선으로만 구획 + 지면 양끝을 쓰는 편집 조판
   모션: 괘선이 그어지는 것과 제목 줄이 올라오는 것 두 가지만 쓴다.
         본문 블록에는 전역 fade-up을 걸지 않는다 — 빠른 스크롤에서 빈 화면이 생기지 않게.
   ───────────────────────────────────────────── */

:root {
  --paper:   #F4F0E4;
  --paper-2: #FBF8F1;
  --ink:     #23211C;
  --ink-2:   #5E594E;
  --ink-3:   #857F6F;
  --rule:    #DAD2BE;
  --rule-2:  #C6BCA2;
  --wine:    #6E2A38;
  --wine-2:  #8E3B4B;
  --wine-tint: #EFE3E3;

  --serif: "Gowun Batang", "Nanum Myeongjo", serif;
  --sans: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", sans-serif;
  /* 숫자·라틴 전용. 한글이 섞이는 라벨에는 쓰지 않는다
     (한글이 시스템 고딕으로 떨어지고 자간이 어색하게 벌어진다). */
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  --measure: 68rem;
  --ease: cubic-bezier(.2, .7, .3, 1);
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 24px; }
.skip { background: var(--wine); color: var(--paper-2); }
.link { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: var(--rule-2); transition: color .2s var(--ease), text-decoration-color .2s var(--ease); }
.link:hover { text-decoration-color: var(--wine); color: var(--wine); }

/* ── 배지 · 라벨 ──────────────────────────
   한글이 들어가는 라벨은 본문 서체로 짜고 자간을 벌리지 않는다. */
.badge {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: 0;
  line-height: 1.7;
  padding: 0 7px;
  color: var(--wine);
  border: 1px solid #C9A3AB;
  border-radius: 1px;
  white-space: nowrap;
  vertical-align: 2px;
}
.pending { color: var(--wine-2); font-size: 14px; }

/* ── 좌측 세로 러너 ─────────────────────
   기본은 눈금+번호만. 현재 섹션이거나 마우스가 올라간 항목만 이름을 펼친다. */
.runner {
  position: fixed;
  left: 0; top: 0; bottom: 0;
  width: 74px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px 0 30px;
  border-right: 1px solid var(--rule);
  background: var(--paper);
  z-index: 40;
}
.runner__brand {
  position: absolute; top: 22px; left: 0; right: 0;
  margin: 0 auto;
  writing-mode: vertical-rl;
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: .32em;
  color: var(--ink-3);
  white-space: nowrap;
}
.runner__list { display: flex; flex-direction: column; gap: 20px; }
.runner__list a {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  color: var(--ink-3);
  transition: color .3s var(--ease);
}
.runner__list a::before {
  content: ""; width: 1px; height: 12px; background: currentColor; opacity: .5;
  transition: height .4s var(--ease), opacity .3s var(--ease);
}
.runner__list i {
  font-family: var(--mono); font-size: 11px; font-style: normal; line-height: 1;
}
.runner__list span {
  writing-mode: vertical-rl;
  font-size: 11.5px; letter-spacing: .12em;
  white-space: nowrap;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .45s var(--ease), opacity .3s var(--ease);
}
.runner__list a:hover,
.runner__list a:focus-visible { color: var(--ink); }
.runner__list a:hover::before,
.runner__list a:focus-visible::before { height: 20px; opacity: 1; }
.runner__list a:hover span,
.runner__list a:focus-visible span,
.runner__list a.is-current span { max-height: 130px; opacity: 1; }
.runner__list a.is-current { color: var(--wine); }
.runner__list a.is-current::before { height: 24px; opacity: 1; }
@media (min-width: 1180px) { .runner { display: flex; } body { padding-left: 74px; } }
.runner__prog {
  position: absolute; right: -1px; top: 0; bottom: 0; width: 2px;
  background: var(--rule);
}
.runner__prog i {
  display: block; width: 100%; height: 100%;
  background: var(--wine);
  transform: scaleY(0); transform-origin: top;
}

/* ── 상단 바 ───────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.topbar__in {
  max-width: var(--measure); margin: 0 auto; padding: 10px 24px 0;
  display: grid; grid-template-columns: auto auto;
  align-items: center; column-gap: 14px;
}
.brand { grid-column: 1; grid-row: 1; display: flex; align-items: center; gap: 10px; color: var(--wine); }
.brand__text { font-family: var(--serif); font-size: 16.5px; color: var(--ink); letter-spacing: -.01em; white-space: nowrap; }
.brand__text b { font-weight: 700; }

.dday { grid-column: 2; grid-row: 1; justify-self: end; display: flex; align-items: baseline; gap: 7px; flex-wrap: nowrap; white-space: nowrap; }
.dday__label { font-size: 12px; color: var(--ink-3); white-space: nowrap; }
@media (max-width: 460px) { .dday__label { font-size: 11px; } .brand__text { font-size: 15px; } .brand__mark svg { width: 26px; height: 26px; } }
.dday__num {
  font-family: var(--mono); font-weight: 600; font-size: 15px;
  color: var(--wine); letter-spacing: .01em;
}
.dday__flag { font-size: 11px; color: var(--ink-3); white-space: nowrap; }
@media (max-width: 700px) { .dday__flag { display: none; } }

/* 좁은 화면에서는 섹션 앵커가 가로로 흐르는 줄이 된다 — 모바일에도 이동 수단을 남긴다. */
.topnav {
  grid-column: 1 / -1; grid-row: 2;
  display: flex; gap: 18px;
  font-size: 13px; color: var(--ink-2);
  overflow-x: auto; overscroll-behavior-x: contain;
  margin: 0 -24px; padding: 9px 24px 10px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.topnav::-webkit-scrollbar { display: none; }
.topnav a { position: relative; padding-bottom: 3px; white-space: nowrap; transition: color .25s var(--ease); }
.topnav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--wine); transform: scaleX(0); transform-origin: left;
  transition: transform .32s var(--ease);
}
.topnav a:hover, .topnav a:focus-visible { color: var(--wine); }
.topnav a:hover::after, .topnav a:focus-visible::after { transform: scaleX(1); }
@media (min-width: 900px) {
  .topbar__in { grid-template-columns: auto 1fr auto; padding: 13px 24px; column-gap: 24px; }
  .topnav { grid-column: 2; grid-row: 1; justify-content: flex-end; gap: 20px; font-size: 14px; overflow: visible; margin: 0; padding: 0; }
  .dday { grid-column: 3; grid-row: 1; }
}

/* ── 히어로 ─────────────────────────────
   제목을 지면 전폭에 앉히고 괘선을 지면 끝까지 긋는다(원고지 행). */
.hero { position: relative; padding: 58px 0 78px; }
.eyebrow {
  font-size: 13px; letter-spacing: .01em;
  color: var(--wine);
  padding-left: 46px; position: relative; margin-bottom: 22px;
}
.eyebrow::before {
  content: ""; position: absolute; left: 0; top: .82em; width: 34px; height: 1px;
  background: var(--wine); transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease);
}
.eyebrow.is-in::before { transform: scaleX(1); }

.hero__h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.9rem, 5.4vw, 4.5rem);
  line-height: 1.3;
  letter-spacing: -.03em;
}
/* 제목은 줄 단위 마스크 리빌 — 관찰 대상은 .line(잘리지 않는 바깥 상자)이고,
   안쪽 span만 위로 밀려 올라온다. */
.hero__h1 .line { display: block; overflow: hidden; position: relative; }
.hero__h1 .line > span {
  display: block;
  transform: translateY(105%);
  transition: transform .85s var(--ease);
}
.hero__h1 .line.is-in > span { transform: translateY(0); }
.hero__h1 .line:last-child { color: var(--wine); }
/* 괘선은 글줄 높이(1.3em)마다 반복되는 배경으로 긋는다.
   ::after 하나로 그으면 제목이 접힐 때 마지막 글줄에만 선이 남아
   "모든 글줄에 괘선"이라는 원고지 약속이 깨진다. */
.hero__h1 .line {
  background-image: linear-gradient(to top, var(--rule-2) 1px, transparent 1px);
  background-repeat: repeat-y;
  background-position: left top;
  background-size: 0% 1.3em;
  transition: background-size 1.1s var(--ease) .2s;
}
.hero__h1 .line.is-in { background-size: 100% 1.3em; }
.hero__src { font-size: 12.5px; color: var(--ink-3); margin-top: 14px; }

.hero__grid { display: grid; gap: 30px; margin-top: 38px; }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: .8fr 1.2fr; gap: 46px; align-items: start; }
}

/* 등장 훅 — 기본값은 아무 것도 하지 않는다. 연출은 아래에서 요소별로만 건다. */
[data-reveal] { }

/* ── CTA ──────────────────────────────── */
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
@media (max-width: 899px) { .cta { display: grid; grid-template-columns: 1fr; } }
.btn {
  display: inline-flex; flex-direction: column; gap: 1px;
  padding: 13px 26px 15px;
  border: 1px solid var(--ink);
  border-radius: 1px;
  transition: background .3s var(--ease), color .3s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn span { font-size: 12px; letter-spacing: .01em; opacity: .8; }
.btn b { font-family: var(--mono); font-size: 17px; font-weight: 600; letter-spacing: .01em; }
.btn--solid { background: var(--wine); border-color: var(--wine); color: var(--paper-2); }
.btn--solid:hover { background: var(--ink); border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 6px 0 -4px rgba(35,33,28,.22); }
.btn--solid:active { transform: translateY(0); }
.btn--ghost { background: none; border-style: dashed; border-color: var(--rule-2); color: var(--ink-3); cursor: not-allowed; }
.btn--ghost b { font-family: var(--sans); font-size: 15px; font-weight: 400; }
/* 아직 살아있지 않은 버튼이 좁은 화면에서 살아있는 버튼만큼 자리를 먹지 않게 */
@media (max-width: 899px) { .btn--ghost { padding: 9px 20px 11px; } .btn--ghost b { font-size: 14px; } }
.cta__note { font-size: 12.5px; color: var(--ink-3); }

/* ── 사진 자리 ────────────────────────────
   플레이스홀더는 사선 해칭 대신 원고지 칸(격자)으로 — 테마 컨셉과 같은 언어를 쓴다. */
.photo { margin-top: 0; }
.photo__ph {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px;
  border: 1px solid var(--rule-2);
  background-color: var(--paper-2);
  background-image:
    linear-gradient(to right, #E8E1CF 1px, transparent 1px),
    linear-gradient(to bottom, #E8E1CF 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: -1px -1px;
  min-height: 250px;
}
.photo--hero .photo__ph { min-height: clamp(220px, 23vw, 302px); }
.photo__tag {
  font-size: 12px; letter-spacing: .01em;
  background: var(--paper-2); border: 1px solid var(--ink); padding: 2px 11px;
}
.photo__desc { font-size: 12.5px; color: var(--ink-2); background: var(--paper-2); padding: 0 8px; }
.photo figcaption { font-size: 11.5px; color: var(--ink-3); margin-top: 9px; }
.photo--hero { position: relative; }

/* 낙관(도장) — 로고 벡터 확정 전까지 쓰는 임시 아이덴티티 도형 */
.seal {
  position: absolute; right: -10px; bottom: 40px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  width: 68px; height: 68px;
  background: var(--wine); color: var(--paper);
  transform: rotate(-5deg);
  box-shadow: inset 0 0 0 1px rgba(244,240,228,.32);
}
.seal b { font-family: var(--serif); font-size: 15px; font-weight: 700; letter-spacing: -.02em; }
.seal i { font-family: var(--serif); font-style: normal; font-size: 10px; letter-spacing: .04em; opacity: .85; }

/* ── 섹션 공통 ──────────────────────────
   여백은 섹션 성격에 따라 다르게 준다(균일 반복 금지). */
.sec { padding: 74px 0 82px; border-top: 1px solid var(--rule); scroll-margin-top: 58px; }
.sec--alt { background: var(--paper-2); padding: 82px 0 90px; }
@media (min-width: 900px) { .sec { scroll-margin-top: 62px; } }

/* 유일한 색 반전 구간 — 외부 평가 수치만 자주색 지면 위에 올린다 */
.sec--wine { background: var(--wine); color: var(--paper); border-top-color: var(--wine); padding: 92px 0 96px; }
.sec--wine .sec__no { color: #E3BEC4; }
.sec--wine .sec__no::before { background: #C08A94; }
.sec--wine .sec__lead, .sec--wine .stats__src { color: #E4CDD1; }
.sec--wine .badge { color: var(--paper); border-color: #C08A94; }
.sec--wine .slot { border-color: #A9737D; background: rgba(0,0,0,.09); }
.sec--wine .slot__title { color: var(--paper); }
.sec--wine .slot__desc { color: #E4CDD1; }

.sec__head { max-width: 46rem; margin-bottom: 40px; }
.sec__no {
  font-family: var(--mono); font-size: 12px; letter-spacing: .18em; color: var(--wine-2);
  margin-bottom: 11px; padding-left: 34px; position: relative;
}
.sec__no::before {
  content: ""; position: absolute; left: 0; top: .72em; width: 24px; height: 1px;
  background: var(--wine-2); transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease);
}
.sec__no.is-in::before { transform: scaleX(1); }
.sec__h2 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(1.55rem, 3.6vw, 2.35rem); line-height: 1.35; letter-spacing: -.025em;
}
.sec__h2 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.sec__h2 .line > span { display: block; transform: translateY(108%); transition: transform .75s var(--ease); }
.sec__h2 .line.is-in > span { transform: translateY(0); }
.sec__lead { margin-top: 12px; color: var(--ink-2); font-size: 15px; }
.sec__foot { margin-top: 20px; font-size: 13px; color: var(--ink-3); }

/* ── 01 시스템 ──────────────────────────
   번호 / 본문 / 출처를 지면 양끝까지 벌려 괘선 폭을 정당화한다. */
.sys { position: relative; padding-top: 1px; }
.sys::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: var(--rule-2); transform: scaleX(0); transform-origin: left;
  transition: transform .9s var(--ease);
}
.sys.is-in::before { transform: scaleX(1); }
.sys__item {
  display: grid; gap: 4px;
  grid-template-columns: 1fr;
  padding: 25px 0 28px;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.sys__item::before {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%;
  background: var(--wine); opacity: .45;
  transform: scaleX(0); transform-origin: left;
  transition: transform .7s var(--ease), opacity .25s var(--ease);
}
.sys__item.is-in::before { transform: scaleX(1); }
.sys__item:hover::before { opacity: 1; }
.sys__no { font-family: var(--mono); font-size: 12px; color: var(--wine-2); letter-spacing: .16em; }
.sys__name { font-family: var(--serif); font-size: 1.45rem; font-weight: 700; letter-spacing: -.02em; transition: color .25s var(--ease); }
.sys__item:hover .sys__name { color: var(--wine); }
.sys__desc { color: var(--ink-2); max-width: 42rem; }
.sys__src { font-size: 12px; color: var(--ink-3); }
@media (min-width: 860px) {
  .sys__item {
    grid-template-columns: 62px minmax(0, 1fr) auto;
    column-gap: 28px;
    grid-template-areas: "no name src" ". desc .";
    align-items: baseline;
  }
  .sys__no { grid-area: no; }
  .sys__name { grid-area: name; }
  .sys__desc { grid-area: desc; margin-top: 4px; }
  .sys__src { grid-area: src; text-align: right; white-space: nowrap; }
}

/* ── 02 대비 ──────────────────────────── */
.duo { display: grid; gap: 0; border: 1px solid var(--rule-2); background: var(--paper); }
.duo__side { padding: 30px 26px 34px; }
.duo__side--b { background: var(--wine-tint); }
.duo__kind { font-size: 12.5px; color: var(--wine); margin-bottom: 5px; }
.duo__name { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 18px; }
.duo__dl > div { display: grid; grid-template-columns: 74px 1fr; gap: 10px; padding: 9px 0; border-top: 1px solid var(--rule); }
.duo__dl dt { font-size: 12.5px; color: var(--ink-3); padding-top: 2px; }
.duo__dl dd { font-size: 15px; }
.duo__mid {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 16px; border-top: 1px solid var(--rule-2); border-bottom: 1px solid var(--rule-2);
  background: var(--paper-2);
}
.duo__arrow { font-size: 12px; color: var(--wine); white-space: nowrap; display: flex; align-items: center; gap: 6px; }
/* 방향을 글자로 설명하지 않고 화살촉으로 보여준다 */
.duo__arrow::after {
  content: ""; width: 0; height: 0;
  border-top: 3.5px solid transparent; border-bottom: 3.5px solid transparent;
  border-left: 5px solid var(--wine);
}
.duo__arrow--back { flex-direction: row-reverse; }
.duo__arrow--back::after { border-left: 0; border-right: 5px solid var(--wine); }
.duo__axis { flex: 1; max-width: 110px; height: 1px; background: var(--rule-2); position: relative; }
.duo__axis::after {
  content: ""; position: absolute; top: -2px; left: 0; width: 5px; height: 5px; border-radius: 50%;
  background: var(--wine); opacity: 0;
}
/* 축을 도는 점은 섹션이 화면에 들어왔을 때 세 바퀴만 돌고 멈춘다(무한 반복 금지) */
.duo.is-in .duo__axis::after { opacity: 1; animation: slide 2.6s var(--ease) 3; }
@keyframes slide { 0% { left: 0; } 50% { left: calc(100% - 5px); } 100% { left: 0; } }
@media (min-width: 820px) {
  .duo { grid-template-columns: 1fr 178px 1fr; }
  .duo__mid { flex-direction: column; border: 0; border-left: 1px solid var(--rule-2); border-right: 1px solid var(--rule-2); }
  /* 세로 축을 사이에 두고 위에서는 오른쪽(오답 CLINIC)으로, 아래에서는 왼쪽(일일TEST)으로
     돌아오는 한 주기를 화살촉 방향으로 보여준다. */
  .duo__arrow { gap: 5px; }
  .duo__axis { max-width: none; width: 1px; height: 100%; flex: 1; }
  .duo__axis::after { left: -2px; }
  .duo.is-in .duo__axis::after { animation-name: slideV; }
  @keyframes slideV { 0% { top: 0; } 50% { top: calc(100% - 5px); } 100% { top: 0; } }
}

/* ── 03 원장 ──────────────────────────── */
.teacher { display: grid; gap: 32px; }
@media (min-width: 880px) { .teacher { grid-template-columns: 288px minmax(0, 1fr); gap: 48px; align-items: start; } }
.photo--portrait .photo__ph { min-height: 330px; }
.teacher__role { font-size: 12.5px; color: var(--wine-2); }
.teacher__name { font-family: var(--serif); font-size: 2.1rem; font-weight: 700; letter-spacing: -.03em; margin-bottom: 20px; }
.quote { position: relative; padding: 4px 0 4px 22px; margin-bottom: 26px; }
.quote::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--wine);
  transform: scaleY(0); transform-origin: top;
  transition: transform .8s var(--ease) .15s;
}
.teacher__body.is-in .quote::before { transform: scaleY(1); }
.quote p { font-family: var(--serif); font-size: clamp(1.15rem, 2.6vw, 1.5rem); line-height: 1.55; letter-spacing: -.02em; }
.quote cite { display: block; margin-top: 8px; font-size: 12px; font-style: normal; color: var(--ink-3); }
.spec { border-top: 1px solid var(--rule-2); margin-bottom: 22px; max-width: 30rem; }
.spec > div { display: grid; grid-template-columns: 86px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.spec dt { font-size: 12.5px; color: var(--ink-3); padding-top: 3px; }
.spec--wide { max-width: none; }
.spec--wide > div { grid-template-columns: 68px 1fr; }
.teacher__note { font-size: 14.5px; color: var(--ink-2); margin-bottom: 12px; max-width: 40rem; }
.teacher__flag { font-size: 13px; color: var(--ink-2); max-width: 40rem; }

/* ── 04 바깥 평가 ─────────────────────────
   플랫폼마다 대표 수치 하나를 크게, 보조 수치를 그 아래 작게(대성학원식 2단). */
.plat { display: grid; border-top: 1px solid #90616B; }
@media (min-width: 800px) { .plat { grid-template-columns: 1.24fr .88fr .88fr; } }
.plat__item {
  padding: 26px 26px 28px;
  border-bottom: 1px solid #90616B;
}
@media (min-width: 800px) {
  .plat__item { border-right: 1px solid #90616B; padding-left: 28px; }
  .plat__item:first-child { padding-left: 0; }
  .plat__item:last-child { border-right: 0; }
}
.plat__name { font-size: 13px; color: #E4CDD1; margin-bottom: 12px; }
.plat__fig {
  font-family: var(--mono); font-weight: 600; line-height: 1;
  font-size: clamp(2.1rem, 5.4vw, 2.9rem); letter-spacing: -.03em;
  color: var(--paper);
}
.plat__item:first-child .plat__fig { font-size: clamp(2.7rem, 7.4vw, 4.1rem); }
.plat__fig em { font-style: normal; font-size: .4em; color: #D2A6AE; margin-left: 5px; letter-spacing: 0; }
.plat__cap { font-size: 13.5px; color: #EBD9DC; margin-top: 9px; }
.plat__sub { margin-top: 18px; border-top: 1px solid rgba(255,255,255,.16); }
.plat__sub li {
  display: flex; align-items: baseline; gap: 10px;
  padding: 7px 0; font-size: 13px; color: #E4CDD1;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.plat__sub b { font-family: var(--mono); font-weight: 600; font-size: 15px; color: var(--paper); min-width: 3.6em; }
.plat__sub--tag li { display: block; }
.plat__sub--tag li::before { content: "“"; color: #C08A94; margin-right: 1px; }
.plat__sub--tag li::after { content: "”"; color: #C08A94; margin-left: 1px; }
.stats__src { font-size: 12.5px; margin-top: 14px; }

.slot {
  margin-top: 32px; padding: 22px 22px 24px;
  border: 1px dashed var(--rule-2);
}
.slot__title { font-family: var(--serif); font-size: 1.05rem; font-weight: 700; }
.slot__desc { margin-top: 8px; font-size: 13.5px; color: var(--ink-2); max-width: 44rem; }

/* ── 05 교습비 ────────────────────────── */
.tablewrap { overflow-x: auto; }
.fee { min-width: 460px; font-size: 15px; }
/* 품목은 왼쪽, 수치 두 열은 오른쪽에 붙여 장부처럼 읽히게 한다 */
.fee__c1 { width: 56%; } .fee__c2 { width: 20%; } .fee__c3 { width: 24%; }
.fee th, .fee td { text-align: left; padding: 13px 14px 13px 0; border-bottom: 1px solid var(--rule); }
.fee thead th { font-size: 12.5px; letter-spacing: .01em; color: var(--ink-3); border-bottom: 1px solid var(--ink); font-weight: 400; }
.fee thead th:nth-child(2), .fee thead th:nth-child(3) { text-align: right; }
.fee tbody th { font-weight: 400; }
.fee tbody td:last-child { font-family: var(--mono); font-weight: 600; color: var(--wine); text-align: right; }
.fee tbody td:nth-child(2) { font-family: var(--mono); color: var(--ink-2); text-align: right; }
.fee tbody tr { transition: background .25s var(--ease); }
.fee tbody tr:hover { background: var(--wine-tint); }
.fee tbody tr:hover td:last-child { color: var(--wine); }

/* ── 06 소식 ──────────────────────────── */
.news { position: relative; padding-top: 1px; }
.news::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: var(--rule-2); transform: scaleX(0); transform-origin: left;
  transition: transform .9s var(--ease);
}
.news.is-in::before { transform: scaleX(1); }
.news__item { padding: 21px 0 23px; border-bottom: 1px solid var(--rule); display: grid; gap: 4px; }
@media (min-width: 780px) {
  .news__item {
    grid-template-columns: 112px minmax(0, 1fr) auto; column-gap: 28px;
    grid-template-areas: "date title from";
    align-items: baseline;
  }
  .news__date { grid-area: date; }
  .news__title { grid-area: title; }
  .news__from { grid-area: from; text-align: right; white-space: nowrap; }
}
.news__date { font-family: var(--mono); font-size: 12.5px; color: var(--wine-2); letter-spacing: .02em; }
.news__title { font-family: var(--serif); font-size: 1.12rem; font-weight: 400; line-height: 1.6; letter-spacing: -.02em; transition: color .25s var(--ease); }
.news__from { font-size: 12px; color: var(--ink-3); }
.news__item:hover .news__title { color: var(--wine); }
.news__item--slot { border-bottom-style: dashed; }
.news__item--slot .news__title, .news__item--slot .news__date { color: var(--ink-3); }
/* 한글 라벨이 들어가는 날짜 칸은 mono를 쓰지 않는다 */
.news__item--slot .news__date { font-family: var(--sans); letter-spacing: 0; }
.news__item--slot:hover .news__title { color: var(--ink-3); }

/* ── 07 오시는 길 ─────────────────────── */
.visit { display: grid; gap: 30px; }
@media (min-width: 880px) { .visit { grid-template-columns: minmax(0, .92fr) 1.08fr; gap: 44px; align-items: start; } }
.photo--map .photo__ph { min-height: 290px; }

/* ── 푸터 ─────────────────────────────── */
.foot { border-top: 1px solid var(--ink); padding: 44px 0 64px; background: var(--paper); }
.foot__in { display: grid; gap: 26px; }
@media (min-width: 820px) {
  .foot__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 44px; }
  .foot__theme { grid-column: 1 / -1; }
}
.foot__brand { font-family: var(--serif); font-size: 1.2rem; font-weight: 700; }
.foot__addr { font-size: 14px; color: var(--ink-2); margin-top: 6px; }
.foot__tel { font-family: var(--mono); font-size: 15px; margin-top: 4px; }
.foot__links { display: flex; gap: 18px; font-size: 14px; margin-bottom: 14px; }
.foot__note { font-size: 12.5px; color: var(--ink-3); }
.foot__theme { padding-top: 18px; border-top: 1px solid var(--rule); font-size: 12.5px; color: var(--ink-3); }

/* ── 모바일 고정 전화 바 ─────────────────
   좁은 화면에는 히어로를 벗어나면 상담 수단이 사라지므로 바닥에 남긴다. */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; align-items: baseline; justify-content: center; gap: 10px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: var(--wine); color: var(--paper-2);
  border-top: 1px solid #4E1C27;
}
.callbar__label { font-size: 12px; opacity: .82; }
.callbar__num { font-family: var(--mono); font-size: 16px; font-weight: 600; letter-spacing: .02em; }
@media (min-width: 900px) { .callbar { display: none; } }
@media (max-width: 899px) { body { padding-bottom: 56px; } }

/* ── 모션 최소화 대응 ─────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .duo__axis::after { display: none; }
  .hero__h1 .line > span, .sec__h2 .line > span { transform: translateY(0) !important; }
  .hero__h1 .line::after { transform: scaleX(1) !important; }
  .eyebrow::before, .sys__item::before, .sys::before, .news::before, .sec__no::before { transform: scaleX(1) !important; }
  .quote::before { transform: scaleY(1) !important; }
}
.reduce-motion .duo__axis::after { display: none; }
