/* 테마 · 바른 영어학원 (홈페이지형 6페이지) — Variant 시안 이식(B-10).
   출처: design/variant/bareun/home.html · page-timetable.html · page-teachers.html (2026-09-27 승민 결 A).
   시안 값 그대로: 바탕 흰색 + 공책 줄(32px마다 #E8ECEF 선) · 먹 #1A1A1A · 공지 띠·번호 초록 #6AA87A · 형광펜 #FAEDB8 · 카드 면 #FEFDF9 ·
   제목 Noto Serif KR 700 · 본문 Pretendard · 카드 1px 먹 테두리 + 16px 모서리 + 4px 4px 그림자 5% · 버튼 알약(먹 바탕 / 먹 선).
   대비: 공지 띠 흰 글/초록 #6AA87A 약 2.9:1, 초록 번호 약 2.9:1 — 시안 그대로 옮김, 기준 4.5:1 미달이라 승민 확인 대기(tests 대비 제외 목록). */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@600;700&display=swap');
:root {
  --bg: #ffffff;
  --surface: #FEFDF9;
  --ink: #1A1A1A;
  --ink-2: #4A4A4A;
  --ink-3: #5c5c5c;
  --line: #1A1A1A;
  --accent: #1A1A1A;
  --accent-ink: #ffffff;
  --accent-soft: #FAEDB8;
  --hero-bg: transparent;
  --hero-ink: #1A1A1A;
  --header-bg: transparent;
  --band: transparent;
  --green: #43805A; /* 2026-09-29 taste-skill: 시안 #6AA87A(흰 글 2.9:1) → 4.7:1, 같은 초록 계열 한 단계 짙게 */
  --mark: #FAEDB8;
  --font-display: 'Noto Serif KR', serif;
  --display-weight: 700;
  --display-tracking: -0.02em;
  --radius: 99px;
  --radius-lg: 16px;
  --container: 1160px;
  --shadow: 4px 4px 0 rgba(26, 26, 26, .05);
}
html[data-theme="academy-bareun"] body {
  background-color: #fff;
  background-image: linear-gradient(transparent 96%, #E8ECEF 96%);
  background-size: 100% 32px; background-position: 0 14px;
  line-height: 1.6;
}
html[data-theme="academy-bareun"] h1, html[data-theme="academy-bareun"] h2, html[data-theme="academy-bareun"] h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; }
html[data-theme="academy-bareun"] .section + .section { border-top: 0; }
html[data-theme="academy-bareun"] .section { padding-block: 56px; }
html[data-theme="academy-bareun"] .section-head { margin-bottom: 24px; align-items: flex-end; }
html[data-theme="academy-bareun"] .section-head h2 { font-size: clamp(26px, 3vw, 32px); }
html[data-theme="academy-bareun"] .section-more { font-size: 15px; color: var(--ink); font-weight: 500; opacity: .8; text-underline-offset: 4px; }

/* 공지 띠: 초록 바탕 흰 글 14px 500 */
html[data-theme="academy-bareun"] .notice { background: var(--green); color: #fff; font-size: 14px; font-weight: 500; padding: 12px 20px; }

/* 헤더: 투명, 상호 세리프 28 700, 메뉴 15 500, 현재 메뉴 굵게 + 밑줄, 알약 먹 버튼 */
html[data-theme="academy-bareun"] .site-header { background: #fff; border-bottom: 0; }
html[data-theme="academy-bareun"] .site-header .row { min-height: 0; padding-block: 20px; }
html[data-theme="academy-bareun"] .site-header .logo { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; }
html[data-theme="academy-bareun"] .site-header nav { gap: 32px; font-size: 15px; }
html[data-theme="academy-bareun"] .site-header nav a { color: var(--ink); font-weight: 500; }
html[data-theme="academy-bareun"] .site-header nav a[aria-current="page"] { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
html[data-theme="academy-bareun"] .site-header .header-cta { padding: 12px 24px; font-size: 15px; }
@media (max-width: 899px) { html[data-theme="academy-bareun"] .site-header nav.nav--pages { gap: 20px; font-size: 14px; } }

/* 버튼: 알약, 12px 24px, 15px 600, 먹 선 */
html[data-theme="academy-bareun"] .btn { min-height: 0; padding: 12px 24px; border-radius: 99px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font-size: 15px; font-weight: 600; }
html[data-theme="academy-bareun"] .btn.ghost { background: transparent; color: var(--ink); }

/* 첫 화면(split): 글 | 사진 액자(1px 먹 선 · 16 모서리 · 그림자), 둘째 줄 형광펜 */
html[data-theme="academy-bareun"] .hero--split { background: transparent; color: var(--ink); max-width: 1240px; margin-inline: auto; }
html[data-theme="academy-bareun"] .hero.hero--split .hero__body { padding: 40px 24px 24px; gap: 0; width: auto; max-width: none; }
html[data-theme="academy-bareun"] .hero.hero--split h1 { max-width: none; }
html[data-theme="academy-bareun"] .hero .hero__eyebrow { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--ink); margin-bottom: 24px; }
html[data-theme="academy-bareun"] .hero h1 { font-size: clamp(34px, 4.4vw, 48px); line-height: 1.3; margin-bottom: 16px; }
html[data-theme="academy-bareun"] .hero h1 .hero__line:last-child { position: relative; display: inline-block; white-space: nowrap; z-index: 0; }
html[data-theme="academy-bareun"] .hero h1 .hero__line:last-child::after { content: ""; position: absolute; left: -4px; right: -4px; bottom: 4px; height: 14px; background: var(--mark); z-index: -1; border-radius: 2px; transform: rotate(-1deg); }
html[data-theme="academy-bareun"] .hero--split .hero__sub { color: var(--ink); opacity: 1; max-width: none; margin-bottom: 40px; }
html[data-theme="academy-bareun"] .hero__sub .hero__sub-line:first-child { display: block; font-size: 20px; font-weight: 600; margin-bottom: 24px; }
html[data-theme="academy-bareun"] .hero__sub .hero__sub-line + .hero__sub-line { font-size: 16px; color: var(--ink-2); }
html[data-theme="academy-bareun"] .hero__sub br { display: none; }
html[data-theme="academy-bareun"] .hero.hero--split .hero__cta .btn { background: var(--ink); color: #fff; border-color: var(--ink); }
html[data-theme="academy-bareun"] .hero.hero--split .hero__cta .btn.ghost { background: transparent; color: var(--ink); }
html[data-theme="academy-bareun"] .hero__cta { gap: 16px; margin: 0; }
html[data-theme="academy-bareun"] .hero .hours-now { display: none; }
html[data-theme="academy-bareun"] .hero--split .hero__media { position: relative; margin: 24px; border: 1px solid var(--ink); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); background: var(--surface); }
html[data-theme="academy-bareun"] .hero--split .hero__media img { aspect-ratio: 4 / 3; height: auto; }
html[data-theme="academy-bareun"] .hero--split .hero__media::after { content: ""; position: absolute; top: 24px; right: 24px; width: 12px; height: 12px; border-radius: 50%; background: var(--mark); border: 1px solid var(--ink); }
html[data-theme="academy-bareun"] .hero--split .hero__caption { position: absolute; left: 16px; bottom: 12px; padding: 4px 10px; border-radius: 99px; background: rgba(255,255,255,.92); color: var(--ink); font-size: 13px; }
@media (min-width: 900px) {
  html[data-theme="academy-bareun"] .hero--split { grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; padding: 56px 40px 32px; }
  html[data-theme="academy-bareun"] .hero.hero--split .hero__body { padding: 0; }
  html[data-theme="academy-bareun"] .hero--split .hero__media { margin: 0; }
  html[data-theme="academy-bareun"] .hero--split .hero__media img { height: auto; aspect-ratio: 4 / 3; }
}

/* 반 안내 카드: 면 #FEFDF9 · 1px 먹 선 · 16 모서리 · 그림자, 이름 20 700, 정보 15 #4A4A4A, 가격 세리프 32 */
html[data-theme="academy-bareun"] .plan-cards { gap: 24px; }
@media (min-width: 900px) { html[data-theme="academy-bareun"] .plan-cards { grid-template-columns: repeat(4, 1fr); } }
html[data-theme="academy-bareun"] .plan-card { padding: 32px 24px; border: 1px solid var(--ink); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); gap: 12px; }
html[data-theme="academy-bareun"] .plan-card h3 { font-family: var(--font-sans); font-size: 20px; }
html[data-theme="academy-bareun"] .plan-card .plan__items { font-size: 15px; color: var(--ink-2); gap: 0; margin-bottom: 12px; }
html[data-theme="academy-bareun"] .plan-card .plan__price { font-family: var(--font-display); font-size: 28px; font-weight: 700; }

/* 약속 목록: 가운데, 세리프 32 700, 초록 번호 */
html[data-theme="academy-bareun"] .process--dot { padding-block: 80px; }
html[data-theme="academy-bareun"] .process--dot .steps { display: grid; justify-content: center; gap: 40px; grid-template-columns: none; }
html[data-theme="academy-bareun"] .process--dot .steps li { display: flex; align-items: baseline; gap: 24px; padding: 0; border: 0; background: none; box-shadow: none; }
html[data-theme="academy-bareun"] .process--dot .steps .label-mono { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 36px); font-weight: 700; color: var(--green); }
html[data-theme="academy-bareun"] .process--dot .steps h3 { font-size: clamp(24px, 3vw, 32px); }

/* 수업 방식(plain): 면 상자 안 번호 동그라미 3칸 */
html[data-theme="academy-bareun"] .process--plain .container { border: 1px solid var(--ink); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); padding: 48px 24px; max-width: 1160px; }
html[data-theme="academy-bareun"] .process--plain .section-head { justify-content: center; text-align: center; margin-bottom: 40px; }
html[data-theme="academy-bareun"] .process--plain .section-head h2 { font-size: 24px; }
html[data-theme="academy-bareun"] .process--plain .steps { gap: 32px; }
html[data-theme="academy-bareun"] .process--plain .steps li { padding: 0; border: 0; background: none; justify-items: center; text-align: center; gap: 16px; }
html[data-theme="academy-bareun"] .process--plain .steps .label-mono { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--ink); background: var(--mark); color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 14px; }
html[data-theme="academy-bareun"] .process--plain .steps h3 { font-family: var(--font-sans); font-size: 17px; }

/* 공지: 위 먹 2px 선, 줄마다 날짜 세리프 700 | 제목 */
html[data-theme="academy-bareun"] .section.notices .notices__list li { padding: 20px 12px; border-bottom-color: rgba(26,26,26,.15); }
html[data-theme="academy-bareun"] .notices__date { font-family: var(--font-display); font-size: 15px; }

/* 후기: 2열 카드 */
html[data-theme="academy-bareun"] .reviews__list { max-width: none; gap: 24px; }
@media (min-width: 720px) { html[data-theme="academy-bareun"] .reviews__list { grid-template-columns: 1fr 1fr; } }
html[data-theme="academy-bareun"] .reviews .review { padding: 32px; border: 1px solid var(--ink); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); gap: 16px; }
html[data-theme="academy-bareun"] .reviews .review p, html[data-theme="academy-bareun"] .reviews .review:first-child p { font-size: 18px; font-weight: 700; line-height: 1.5; }
html[data-theme="academy-bareun"] .review footer { font-size: 14px; color: var(--ink-3); }
html[data-theme="academy-bareun"] .review footer::before { content: ""; display: inline-block; width: 1rem; height: 1px; margin-right: .5rem; vertical-align: middle; background: currentColor; }

/* 서브 페이지 제목: 가운데, 세리프 40~48 */
html[data-theme="academy-bareun"] .page-head { text-align: center; padding-block: 56px 32px; }
html[data-theme="academy-bareun"] .page-head h1 { font-size: clamp(34px, 4.4vw, 48px); margin-bottom: 16px; }
html[data-theme="academy-bareun"] .page-head .page-head__sub { max-width: 36em; margin: 0 auto; font-size: 18px; color: var(--ink-2); }

/* 주간 시간표·교습비 표: 1px 먹 선, 16 모서리 상자, 머리 행 면 색 */
html[data-theme="academy-bareun"] .week, html[data-theme="academy-bareun"] .plans-table { border: 1px solid var(--ink); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
html[data-theme="academy-bareun"] .week__table, html[data-theme="academy-bareun"] .plans-table table { font-size: 15px; }
html[data-theme="academy-bareun"] .week__h, html[data-theme="academy-bareun"] .week__time, html[data-theme="academy-bareun"] .week__cell { border: 0; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 18px 8px; }
html[data-theme="academy-bareun"] .week tr > :last-child { border-right: 0; }
html[data-theme="academy-bareun"] .week tbody tr:last-child > * { border-bottom: 0; }
html[data-theme="academy-bareun"] .week__h { background: var(--surface); font-size: 16px; }
html[data-theme="academy-bareun"] .week__time { font-family: var(--font-display); }
html[data-theme="academy-bareun"] .section.pricing .plans-table th, html[data-theme="academy-bareun"] .section.pricing .plans-table td { text-align: center; padding: 18px 12px; border-bottom: 1px solid var(--ink); border-right: 1px solid var(--ink); }
html[data-theme="academy-bareun"] .plans-table tr > :last-child { border-right: 0; }
html[data-theme="academy-bareun"] .plans-table tbody tr:last-child > * { border-bottom: 0; }
html[data-theme="academy-bareun"] .section.pricing .plans-table thead th { background: var(--surface); color: var(--ink); font-size: 16px; font-weight: 700; }
html[data-theme="academy-bareun"] .plans-table .plan__price { font-family: var(--font-display); font-size: 20px; font-weight: 700; }
html[data-theme="academy-bareun"] .plan-notes { font-size: 14px; color: var(--ink-2); }
html[data-theme="academy-bareun"] .plan-notes li::before { content: "\2022  "; color: var(--green); }

/* 선생님: 4열, 사진 액자 + 이름 세리프 + 반 초록 알약 */
@media (min-width: 900px) { html[data-theme="academy-bareun"] .staff .grid { grid-template-columns: repeat(4, 1fr); } }
html[data-theme="academy-bareun"] .person { gap: 12px; }
html[data-theme="academy-bareun"] .person img { border: 1px solid var(--ink); border-radius: 16px; box-shadow: var(--shadow); aspect-ratio: 3 / 4; }
html[data-theme="academy-bareun"] .person h3 { font-size: 22px; }
html[data-theme="academy-bareun"] .person .label-mono { justify-self: start; padding: 4px 12px; border-radius: 99px; background: #eaf4ec; color: #2f6b3f; font-size: 14px; font-weight: 700; }
html[data-theme="academy-bareun"] .person p { font-size: 15px; color: var(--ink-2); }

/* 신청 띠: 가운데 세리프 제목 + 알약 버튼 */
html[data-theme="academy-bareun"] .cta--band { background: transparent; color: var(--ink); padding-block: 72px; }
html[data-theme="academy-bareun"] .cta__text { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 3vw, 30px); }
html[data-theme="academy-bareun"] .cta--band .btn { padding: 18px 40px; font-size: 17px; }

/* 폼 */
html[data-theme="academy-bareun"] .contact .form { max-width: 640px; }
html[data-theme="academy-bareun"] .form input:not([type=checkbox]):not([type=radio]), html[data-theme="academy-bareun"] .form textarea { border: 1px solid var(--ink); border-radius: 12px; background: #fff; }
html[data-theme="academy-bareun"] .choice span { border: 1px solid var(--ink); border-radius: 99px; background: #fff; }
html[data-theme="academy-bareun"] .choice input:checked + span { background: var(--ink); color: #fff; }
html[data-theme="academy-bareun"] .form > .btn { width: 100%; padding: 16px; font-size: 16px; }
html[data-theme="academy-bareun"] .aside__lines { font-size: 15px; color: var(--ink-2); }

/* 푸터: 면 색, 가운데 한 줄 13px */
html[data-theme="academy-bareun"] .footer { background: var(--surface); border-top: 1px solid var(--ink); font-size: 13px; color: var(--ink-2); }


/* ---------- 2026-09-29 taste-skill 병합 + 연출 — 승민 "지금 강도가 제일 좋아요, 전부 샘플 사이트" ----------
   이야기 하나: "또박또박 바른 영어" — 수강료 카드가 차례로 톡, 진행 단계 점이 하나씩 켜지고, 공지는 옆에서 한 줄씩 들어온다.
   공통: 첫 화면 글이 차례로 톡 떠오름 · 섹션 제목·항목·카드가 들어오면 튀어 오르듯 · 사진은 당겨졌다 제자리.
   전부 CSS(스크롤 타임라인 view(), 안 되는 브라우저는 그냥 보임) · transform·opacity·clip-path · 모션 줄이기면 멈춤. */
@media (prefers-reduced-motion: no-preference) {
  html[data-theme="academy-bareun"] .hero .hero__body > * { animation: br-in .9s cubic-bezier(.34, 1.3, .64, 1) backwards; }
  html[data-theme="academy-bareun"] .hero .hero__body > :nth-child(2) { animation-delay: .12s; }
  html[data-theme="academy-bareun"] .hero .hero__body > :nth-child(3) { animation-delay: .24s; }
  html[data-theme="academy-bareun"] .hero .hero__body > :nth-child(4) { animation-delay: .36s; }
  html[data-theme="academy-bareun"] .hero .hero__body > :nth-child(n+5) { animation-delay: .48s; }
  @supports (animation-timeline: view()) {
    html[data-theme="academy-bareun"] .section-head, html[data-theme="academy-bareun"] .features .feat, html[data-theme="academy-bareun"] .staff .person, html[data-theme="academy-bareun"] .reviews .review, html[data-theme="academy-bareun"] .faq__item, html[data-theme="academy-bareun"] .loc__block, html[data-theme="academy-bareun"] .loc__col, html[data-theme="academy-bareun"] .pricing .plan, html[data-theme="academy-bareun"] .plan-card, html[data-theme="academy-bareun"] .menu .mrow, html[data-theme="academy-bareun"] .columns__cat, html[data-theme="academy-bareun"] .notices__list li, html[data-theme="academy-bareun"] .case, html[data-theme="academy-bareun"] .process .steps li, html[data-theme="academy-bareun"] .sched__table tbody tr, html[data-theme="academy-bareun"] .contact .form { animation: br-up linear both; animation-timeline: view(); animation-range: entry 0% entry 80%; }
    html[data-theme="academy-bareun"] .gallery img, html[data-theme="academy-bareun"] .case img { animation: br-settle linear both; animation-timeline: view(); animation-range: entry 0% cover 50%; }
  }
}
@keyframes br-in { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes br-up { from { opacity: 0; transform: translateY(40px) scale(.97); } 70% { opacity: 1; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes br-settle { from { transform: scale(1.12); } to { transform: none; } }

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    html[data-theme="academy-bareun"] .plan-card { animation-name: br-pop; }
    html[data-theme="academy-bareun"] .plan-card:nth-child(2) { animation-range: entry 10% entry 90%; }
    html[data-theme="academy-bareun"] .plan-card:nth-child(3) { animation-range: entry 20% entry 100%; }
    html[data-theme="academy-bareun"] .notices__list li { animation-name: br-side; }
    html[data-theme="academy-bareun"] .process .steps li { animation-name: br-pop; }
  }
}
@keyframes br-pop { from { opacity: 0; transform: translateY(36px) scale(.93); } 70% { opacity: 1; transform: translateY(-4px) scale(1.01); } to { opacity: 1; transform: none; } }
@keyframes br-side { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }

/* 사진이 당겨졌다 제자리로 오는 동안 칸 밖으로 나가 가로 스크롤을 만들지 않게 */
html[data-theme="academy-bareun"] .gallery__list > li, html[data-theme="academy-bareun"] .gallery .frame, html[data-theme="academy-bareun"] .case { overflow: clip; }
