:root {
  --ink: #172b36;
  --cream: #faf7ef;
  --sage: #dce5d7;
  --pine: #35584d;
  --line: #d8ded3;
  --muted: #4e5d60;
  --paper: #fffdf8;
  --yellow: #eaca78;
  --sans: Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", "Noto Sans CJK KR", "Malgun Gothic", sans-serif;
}

body { font-family: var(--sans); word-break: keep-all; overflow-wrap: anywhere; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #407d68; outline-offset: 4px; }
main, section[id] { scroll-margin-top: 80px; }
.container { width: min(1216px, calc(100% - 36px)); }
.desktop-break { display: none; }

.skip-link {
  position: fixed;
  z-index: 30;
  inset: 8px auto auto 12px;
  padding: 12px 16px;
  background: var(--paper);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.site-header { background: var(--cream); }
.nav { min-height: 66px; gap: 14px; }
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Georgia, serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.04em;
}
.brand-english {
  display: block;
  margin-top: 4px;
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .22em;
}
.brand-mark {
  display: grid;
  width: 34px;
  height: 39px;
  place-items: center;
  border-radius: 50% 50% 8px 8px;
  background: var(--ink);
  color: var(--cream);
  font-size: 20px;
}
.mobile {
  display: grid;
  width: 44px;
  min-height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
}
.mobile span { width: 17px; height: 1px; background: currentColor; box-shadow: 0 -5px, 0 5px; }
.mobile[aria-expanded="true"] span { box-shadow: none; }
.navlinks {
  position: absolute;
  inset: 100% 0 auto;
  display: none;
  max-height: calc(100dvh - 66px);
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  overflow-y: auto;
  padding: 8px 18px 16px;
  background: var(--cream);
}
.navlinks.open { display: flex; box-shadow: 0 14px 28px #172b361a; }
.navlinks a { display: flex; min-height: 44px; align-items: center; gap: 6px; }
.navlinks a:hover { color: var(--pine); }
.nav-contact { border-bottom: 1px solid var(--pine); }

.brand-hero { padding: 30px 0 15px; }
.hero-layout { display: grid; gap: 22px; }
.hero-copy { align-self: center; }
.eyebrow {
  margin: 0 0 10px;
  color: var(--pine);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .12em;
  line-height: 1.5;
}
.hero-slogan { display: flex; align-items: center; gap: 10px; }
.hero-slogan::before { content: ""; width: 25px; height: 1px; background: var(--pine); }
h1, .section-title, .philosophy-card h3 {
  font-family: var(--sans);
  font-weight: 800;
  letter-spacing: -.055em;
}
h1 {
  margin: 14px 0;
  font-size: clamp(32px, 9.3vw, 55px);
  line-height: 1.2;
}
h1 em { color: var(--pine); font-style: normal; }
.lead { max-width: 36ch; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.actions { gap: 8px; margin-top: 22px; }
.btn {
  min-height: 46px;
  gap: 9px;
  padding-inline: 14px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 13px;
}
.btn.primary { background: var(--ink); color: var(--paper); }
.btn.outline { background: transparent; border-color: #a9b5aa; color: var(--ink); }
.btn.accent { background: var(--yellow); color: var(--ink); }
.btn:hover { transform: none; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .btn:hover { transform: translateY(-2px); filter: brightness(.95); }
  .service-link:hover { transform: translateY(-2px); }
  .service-link:hover > span:last-child, .small-link:hover > span { transform: translateX(3px); }
}

.media-slot { position: relative; isolation: isolate; overflow: hidden; min-width: 0; }
.media-slot > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-visual {
  width: 100%;
  min-height: 188px;
  aspect-ratio: 1.8;
  border: 1px solid #c6d3c5;
  border-radius: 14px;
  background: #dce7da;
}
.hero-art { position: absolute; inset: 0; overflow: hidden; }
.hero-art::before {
  position: absolute;
  inset: 12% 6%;
  border: 1px solid #9cad9f;
  border-radius: 100% 100% 0 0;
  content: "";
}
.hero-art span { position: absolute; box-shadow: 0 5px 26px #172b3626; }
.hero-art span:nth-child(1) {
  inset: 20% 48% 13% 16%;
  border-radius: 60% 0 0 12%;
  background: linear-gradient(145deg, #4a7162, #24463d);
  transform: skewY(-9deg);
}
.hero-art span:nth-child(2) {
  inset: 17% 15% 18% 52%;
  border-radius: 0 60% 12% 0;
  background: linear-gradient(145deg, #293f49, var(--ink));
  transform: skewY(9deg);
}
.hero-art span:nth-child(3) {
  top: 13%;
  left: 48%;
  width: 10%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--yellow);
}
.service-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.service-link {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 4px;
  min-height: 76px;
  padding: 12px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  transition: background-color .18s, border-color .18s, transform .18s;
}
.service-link:hover { border-color: #9fad9f; background: #edf2e9; }
.service-link strong, .service-link small { display: block; }
.service-link strong { font-size: 13px; line-height: 1.35; }
.service-link small { margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.service-link > span:last-child, .small-link > span { color: var(--pine); transition: transform .18s; }

.section { padding: 40px 0; }
.section-heading { display: grid; gap: 10px; margin-bottom: 18px; }
.section-title { margin: 0; font-size: clamp(27px, 7vw, 44px); line-height: 1.33; }
.sub { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.85; }
.philosophy-grid, .level-grid, .launch-grid, .platform-grid, .resource-grid { display: grid; gap: 12px; }
.philosophy-card { border: 1px solid var(--line); border-radius: 11px; padding: 18px; background: var(--paper); }
.philosophy-card h3 { margin: 0 0 8px; font-size: clamp(21px, 5vw, 28px); line-height: 1.35; }
.philosophy-card > p:last-child { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.philosophy-card.future { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.future h3 { font-size: clamp(23px, 6vw, 32px); }
.future .eyebrow, .future > p:last-child { color: #dce8df; }
.personalized { background: var(--sage); }

.philosophy-media {
  min-height: 150px;
  border-radius: 11px;
  background: #e6eae0;
}
.method-art { position: absolute; inset: 15% 12%; display: flex; align-items: center; justify-content: center; }
.method-art span {
  width: 30%;
  height: 80%;
  margin-inline: -1%;
  border: 1px solid #678176;
  border-radius: 55% 55% 8px 8px;
  transform: rotate(-12deg);
}
.method-art span:nth-child(2) { background: #789184; }
.method-art span:nth-child(3) { background: var(--pine); border-color: var(--pine); }

#clubs { border-top: 1px solid var(--line); }
.pillbar { gap: 6px; margin: 0 0 18px; }
.pill { min-height: 44px; padding: 8px 12px; border-color: #b6c1b8; background: var(--paper); }
.pill.active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.card { border: 1px solid var(--line); border-radius: 11px; background: var(--paper); box-shadow: none; }
.level-grid .card { border-top: 4px solid var(--level-ink); }
.level-grid .card-body { padding: 17px; }
.level-grid img { height: auto; max-height: 210px; aspect-ratio: 16 / 9; }
.level-grid [data-level="3"] { --level-ink: #3c6053; --level-surface: #e5eee3; }
.level-grid [data-level="4"] { --level-ink: #355472; --level-surface: #e5edf4; }
.level-grid [data-level="5"] { --level-ink: #774c34; --level-surface: #f3e8d9; }
.level-details { display: grid; gap: 8px; margin: 12px 0 5px; }
.level-details div { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px; }
.level-details dt { color: var(--level-ink); font-weight: 750; }
.level-details dd { margin: 0; color: var(--muted); }
.level-details dt, .level-details dd { font-size: 13px; line-height: 1.55; }
.level-label {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 13px;
  color: var(--level-ink);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .09em;
}
.level-label span {
  padding: 7px 9px;
  border-radius: 5px;
  background: var(--level-surface);
  font: 800 22px/1 var(--sans);
  white-space: nowrap;
  letter-spacing: -.035em;
}
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p:not(.level-label) { margin: 0; font-size: 14px; }
.small-link { display: inline-flex; min-height: 44px; align-items: center; gap: 7px; color: var(--pine); }
.small-link:hover { text-decoration: underline; }

.schedule-section { background: #e8eee3; }
.schedule-section .pillbar { margin-top: 20px; }
.empty-state {
  margin: 18px 0 0;
  padding: 16px 17px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.launch-grid:not(:empty) { margin-top: 16px; }
.class-card, .review-card { margin: 0; padding: 18px; }

.class-status {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 100px;
  background: #ecede9;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}
.status-open { background: #dbece1; color: #244e3c; }
.status-waitlist { background: #f6edcd; color: #604809; }

.review-card blockquote { margin: 0 0 10px; white-space: pre-line; }
.review-card figcaption { color: var(--pine); }

.contact-section { padding-top: 0; }
.cta { display: block; padding: 23px; border-radius: 11px; background: var(--ink); }
.cta .eyebrow { color: #e5ce92; }
.cta h2 { margin: 0; font-size: clamp(23px, 5vw, 32px); letter-spacing: -.045em; }
.cta p:not(.eyebrow) { margin: 9px 0 0; color: #d9e4df; font-size: 14px; line-height: 1.7; }
.cta a:focus-visible, .site-footer a:focus-visible { outline-color: var(--yellow); }
.platform-section { background: #e8eee3; }
.reader-card {
  display: grid;
  gap: 18px;
  align-items: center;
  margin-bottom: 12px;
  padding: 18px;
  border: 1px solid var(--ink);
  border-radius: 12px;
  background: var(--ink);
  color: var(--paper);
}
.reader-card-content { display: flex; align-items: center; gap: 13px; }
.reader-mark {
  display: grid;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: #35584d;
  color: #f4f1e4;
}
.reader-mark > span {
  width: 23px;
  height: 16px;
  border: 1px solid currentColor;
  border-radius: 3px 3px 5px 5px;
  background: linear-gradient(to right, transparent 48%, currentColor 48% 52%, transparent 52%);
}
.reader-card h3 {
  margin: 0;
  font-size: clamp(19px, 5vw, 26px);
  letter-spacing: -.035em;
}
.reader-card p { margin: 3px 0 0; color: #d9e4df; font-size: 13px; }
.reader-link:focus-visible { outline-color: var(--yellow); }
@media (min-width: 540px) {
  .reader-card { grid-template-columns: minmax(0, 1fr) auto; padding: 22px; }
}
.platform-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.platform-card, .resource-card { padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.platform-card h3, .resource-card h3 { margin: 8px 0 6px; font-size: 17px; }
.platform-card p, .resource-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.platform-card .pending-label, .resource-card .pending-label {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 5px;
  background: var(--sage);
  color: var(--pine);
  font-size: 11px;
  font-weight: 800;
}
.resource-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.site-footer { padding: 28px 0; background: var(--ink); }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 16px; }
.site-footer p { margin: 5px 0 0; }
.site-footer a { display: inline-flex; min-height: 44px; align-items: center; color: #dce8df; font-size: 14px; }

@media (min-width: 600px) {
  .container { width: min(1216px, calc(100% - 64px)); }
  .hero-visual { min-height: 230px; aspect-ratio: 2.1; }
  .section { padding-block: 49px; }
  .section-heading { margin-bottom: 26px; }
  .level-grid, .launch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platform-grid { gap: 12px; }
  .resource-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-section { padding-top: 0; }
}

@media (min-width: 900px) {
  .desktop-break { display: initial; }
  .nav { min-height: 76px; }
  .mobile { display: none; }
  .navlinks, .navlinks.open {
    position: static;
    display: flex;
    max-height: none;
    flex-direction: row;
    align-items: center;
    gap: clamp(12px, 2vw, 28px);
    overflow: visible;
    padding: 0;
    box-shadow: none;
  }
  .nav-contact { padding: 0 13px; border: 1px solid #a6b3a8; border-radius: 6px; }
  .brand-hero { padding: 34px 0 15px; }
  .hero-layout { grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 82px); }
  h1 { font-size: clamp(42px, 4.3vw, 62px); line-height: 1.17; }
  .lead { font-size: 17px; }
  .actions { margin-top: 28px; }
  .btn { padding-inline: 18px; }
  .hero-visual { min-height: 285px; aspect-ratio: 1.5; }
  .service-nav { grid-template-columns: repeat(auto-fit, minmax(185px, 1fr)); gap: 10px; }
  .service-link { padding: 14px 16px; }
  .service-link strong { font-size: 14px; }
  .section { padding-block: 54px; }
  .section-heading { grid-template-columns: 1.15fr .85fr; align-items: end; margin-bottom: 23px; }
  .section-heading > .sub { max-width: 390px; justify-self: end; }
  .philosophy-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .philosophy-card { padding: 23px; }
  .philosophy-media { min-height: 160px; }
  .level-grid, .launch-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .level-grid .card-body { padding: 20px; }
  .level-label span { font-size: 25px; }
  .contact-section { padding-top: 0; }
  .cta { display: flex; padding: 30px; }
  .cta .actions { margin: 0; flex-shrink: 0; }
  .platform-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .platform-card, .resource-card { padding: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.schedule-timezone { margin-top: 8px; }
.status-urgent { background: #f6edcd; color: #604809; }
.class-card {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 15px;
}
.class-jacket {
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 5px;
  background: #e6ece2;
}
.class-card .class-cover { width: 100%; height: 100%; object-fit: contain; }
.class-jacket-placeholder {
  border-left: 4px solid #8d9e8d;
  background: linear-gradient(135deg, #dce5d7, #f4f3e9);
  color: var(--pine);
}
.class-jacket-placeholder span {
  padding: 0 9px;
  border-block: 1px solid #8d9e8d;
  font: 24px / 1.5 Georgia, serif;
}
.class-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; }
.class-level { color: var(--pine); font-size: 12px; font-weight: 800; }
.class-identity h3 { margin: 7px 0 4px; font-size: 18px; line-height: 1.35; }
.class-card .class-name { color: var(--muted); font-size: 12px; }
.class-details { grid-column: 1 / -1; display: grid; gap: 5px; margin: 0; padding-top: 10px; border-top: 1px solid var(--line); }
.class-details div { display: grid; grid-template-columns: 2.5em minmax(0, 1fr); gap: 6px; }
.class-details dt { color: var(--pine); font-size: 13px; font-weight: 650; }
.class-details dd { margin: 0; font-size: 13px; }

@media (min-width: 390px) {
  .class-card { grid-template-columns: 82px minmax(0, 1fr); gap: 14px; }
  .class-identity h3 { font-size: 20px; }
}
.class-preview > :not(main), .class-preview main > :not(#schedule) { display: none !important; }
.class-preview #schedule { padding-block: 18px; }

.assessment-feature {
  display: grid;
  gap: 20px;
  padding: 22px;
  border-radius: 13px;
  background: var(--ink);
  color: var(--paper);
}
.assessment-intro .eyebrow { color: #e5ce92; }
.assessment-intro > p:not(.eyebrow) { max-width: 47ch; color: #e0e9e3; font-size: 14px; line-height: 1.75; }
.assessment-intro .assessment-note {
  margin: 18px 0 0;
  padding: 10px 12px;
  border-left: 2px solid var(--yellow);
  background: #29414b;
}
.assessment-skills {
  display: grid;
  gap: 9px;
  margin: 0;
}
.assessment-skills div {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
}
.assessment-skills dt { font-size: 14px; font-weight: 800; }
.assessment-skills dd { margin: 4px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.assessment-section + #reviews:not([hidden]) { padding-top: 0; }

@media (min-width: 760px) {
  .assessment-feature {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(22px, 5vw, 70px);
    padding: clamp(25px, 4vw, 48px);
  }
}

/* ------------------------------------------------------------------
   Warm & radiant colors (2026-12-01)
   사용자 요청: 기존 디자인 그대로, 따뜻하면서 화사하게(칙칙하지 않게).
   배치는 그대로 두고 색만 바꿨습니다. 갈색 상자를 맑은 코랄·버터·복숭아색
   상자로 바꾸고 글자는 짙은 색으로 두어 읽기 편하게 했습니다.
   이 블록을 지우면 원래 색으로 돌아갑니다.
------------------------------------------------------------------- */
:root {
  --ink: #3b2a22;      /* 글자 */
  --coral: #ff8f63;    /* 화사한 코랄 */
  --coral-deep: #c44a24; /* 버튼·강조 (흰 글자 대비 확보) */
  --butter: #fff0c4;
  --peach: #ffe3d3;
  --cream: #fffbf5;    /* 바탕: 밝은 흰빛 아이보리 */
  --sage: #ffeadb;     /* 보조 배경: 맑은 살구 */
  --pine: #b8441f;     /* 강조 글자 */
  --line: #f5e3d3;
  --muted: #6b574c;
  --yellow: #ffc94d;
}
:focus-visible { outline-color: var(--coral-deep); }
.navlinks.open { box-shadow: 0 14px 28px #c44a2414; }
.brand-mark { background: var(--coral-deep); color: #fff; }
.btn.primary, .pill.active { background: var(--coral-deep); border-color: var(--coral-deep); color: #fff; }
.btn.outline { border-color: #f2c7ab; }
.btn.accent { background: var(--coral-deep); color: #fff; }
.pill { border-color: #f4d3bd; }
.nav-contact { border-color: #f2c7ab !important; }

/* 첫 화면 그림 */
.hero-visual { background: #ffe8d6; border-color: #ffd4b6; }
.hero-art::before { border-color: #ffb98e; }
.hero-art span { box-shadow: 0 8px 26px #ff8f6333; }
.hero-art span:nth-child(1) { background: linear-gradient(145deg, #ffa27a, #f56b3e); }
.hero-art span:nth-child(2) { background: linear-gradient(145deg, #ffd36e, #f7a73a); }

/* 교육 철학 */
.philosophy-card.future { background: var(--coral); border-color: var(--coral); color: var(--ink); }
.future .eyebrow { color: #5a2410; }
.future > p:last-child { color: #4a2a1d; }
.personalized { background: var(--butter); border-color: #ffe39a; }
.philosophy-media { background: #fff1e6; }
.method-art span { border-color: #ffab83; }
.method-art span:nth-child(2) { background: #ffd36e; border-color: #ffd36e; }
.method-art span:nth-child(3) { background: #ff8f63; border-color: #ff8f63; }

/* 레벨 카드 */
.level-grid [data-level="3"] { --level-ink: #3f7a2a; --level-surface: #eaf6dd; }
.level-grid [data-level="4"] { --level-ink: #c44a24; --level-surface: #ffe7da; }
.level-grid [data-level="5"] { --level-ink: #8f5d05; --level-surface: #fff2cf; }

/* 독해 평가: 버터색 상자 */
.assessment-feature { background: var(--butter); color: var(--ink); }
.assessment-intro .eyebrow { color: var(--pine); }
.assessment-intro > p:not(.eyebrow) { color: var(--muted); }
.assessment-intro .assessment-note { background: #fff; border-left-color: var(--coral); color: var(--ink); }
.assessment-skills div { border-color: #ffe39a; }

/* 수강생 공간: 복숭아색 카드 */
.platform-section { background: #fff4ea; }
.reader-card { background: var(--peach); border-color: #ffd0b6; color: var(--ink); }
.reader-card p { color: var(--muted); }
.reader-mark { background: #fff; color: var(--coral-deep); }

/* 문의: 코랄 상자 */
.cta { background: var(--coral); color: var(--ink); }
.cta .eyebrow { color: #5a2410; }
.cta h2 { color: var(--ink); }
.cta p:not(.eyebrow) { color: #4a2a1d; }
.cta .btn.accent { background: var(--ink); color: #fff; }
.cta a:focus-visible { outline-color: var(--ink); }

/* 푸터 */
.site-footer { background: #fff0e3; color: var(--ink); }
.site-footer p { color: var(--muted); }
.site-footer a { color: #a83d1b; }
.site-footer a:focus-visible { outline-color: var(--coral-deep); }
