@font-face {
  font-family: Pretendard;
  src: url("/img/home/PretendardVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Misaeng;
  src: url("/img/home/SDMiSaeng.woff2") format("woff2");
  font-display: swap;
}
:root {
  --paper: #fffaf0;
  --cream: #fff2c9;
  --blue: #1b21d7;
  --brown: #482421;
  --lime: #d9f265;
  --soft: #6a4d45;
  --rule: #4824212f;
  --gutter: clamp(22px, 6.25vw, 100px);
  --space: clamp(78px, 8vw, 125px);
}
* { box-sizing: border-box; }
html { scroll-padding-top: 86px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--brown);
  font: 400 16px/1.6 Pretendard, "Apple SD Gothic Neo", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3, p, dd, summary { word-break: keep-all; overflow-wrap: break-word; }
h2 {
  font-size: clamp(34px, 4vw, 59px);
  font-weight: 650;
  line-height: 1.13;
  letter-spacing: -.048em;
}
h3 { font-size: clamp(19px, 1.75vw, 24px); font-weight: 670; line-height: 1.35; letter-spacing: -.025em; }
a { color: inherit; }
button { color: inherit; font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.hero :focus-visible, .consult :focus-visible { outline-color: white; }
.skip-link {
  position: fixed;
  z-index: 20;
  top: 10px;
  left: 14px;
  padding: 9px 14px;
  background: var(--paper);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }
.wrap { width: min(100%, 1580px); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--space); }
.section-label { margin-bottom: 15px; color: var(--blue); font-size: 15px; font-weight: 720; }
.section-heading > p:last-child { margin-top: 17px; color: var(--soft); max-width: 42em; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 10px 21px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 690;
  text-align: center;
  text-decoration: none;
  line-height: 1.1;
  white-space: nowrap;
}
.button-lime { color: #302019; background: var(--lime); }
.button-lime:hover { background: #e4f88d; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--paper);
  border-bottom: 1px solid #48242112;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(15px, 2.8vw, 42px);
  min-height: 78px;
}
.brand { flex: 0 0 auto; display: inline-block; }
.brand img { width: clamp(128px, 13vw, 178px); height: auto; }
#main-nav { display: flex; gap: clamp(14px, 2.25vw, 34px); align-items: center; margin-left: auto; }
#main-nav a { font-size: 15px; text-decoration: none; font-weight: 580; white-space: nowrap; }
#main-nav a:hover { color: var(--blue); }
.header-cta { min-height: 46px; }
.menu-button {
  display: none;
  width: 44px;
  min-height: 44px;
  place-content: center;
  gap: 6px;
  border: 0;
  background: transparent;
}
.menu-button span { width: 20px; height: 2px; background: currentColor; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: end;
  min-height: clamp(580px, 77svh, 850px);
  background: #4a3025;
  color: var(--paper);
}
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 53% 52%;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, #1a100dda, #21131066 55%, #20130b0a),
    linear-gradient(0deg, #1f120caa, transparent 62%);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  padding-block: 78px 72px;
}
.hero-label {
  display: flex;
  align-items: baseline;
  gap: 5px 13px;
  flex-wrap: wrap;
  margin-bottom: 21px;
}
.hero-label strong { font-size: clamp(20px, 2.1vw, 29px); font-weight: 750; }
.hero-label span { color: #fff3df; font-weight: 580; font-size: 15px; }
.hero h1 {
  font-size: clamp(49px, 5.45vw, 89px);
  font-weight: 620;
  letter-spacing: -.06em;
  line-height: 1.14;
}
.hero h1 em { display: inline-block; font: normal 1.31em/.76 Misaeng, Pretendard, sans-serif; color: var(--cream); }
.hero h1 > span { color: var(--lime); }
.hero-copy { max-width: 32em; margin: 24px 0 25px; color: #fff3df; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.55; text-wrap: pretty; }
.hero-opening { align-self: end; justify-self: end; text-align: right; }
.hero-opening > p { color: var(--lime); font-size: 15px; font-weight: 720; }
.hero-opening > time { display: block; margin: 5px 0 8px; font-size: clamp(36px, 3.8vw, 60px); font-weight: 720; line-height: 1.06; letter-spacing: -.045em; }
.hero-opening > time span { font-size: .45em; font-weight: 620; letter-spacing: 0; }

.about { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(35px, 8vw, 120px); align-items: start; }
.about-copy { max-width: 33em; color: var(--soft); }
.about-copy .lead { color: var(--brown); font-size: clamp(21px, 2vw, 27px); font-weight: 660; line-height: 1.42; }
.about-copy p + p { margin-top: 15px; }

.who { padding-block: clamp(58px, 6.5vw, 100px); background: var(--blue); color: var(--paper); }
.who-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  column-gap: clamp(30px, 5vw, 76px);
}
.who h2 { text-wrap: balance; }
.who-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
}
.who-list {
  display: grid;
  gap: 13px;
  margin: 23px 0 0;
  padding: 0;
  list-style: none;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.48;
}
.who-list li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  word-break: keep-all;
}
.who-list li::before { content: "✓"; color: var(--lime); font-weight: 750; }

.study { background: var(--cream); }
.study-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.46fr) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 82px);
  align-items: center;
  margin-top: clamp(24px, 3.2vw, 42px);
}
.planner { margin: 0; min-width: 0; }
.planner-paper {
  position: relative;
  container-type: inline-size;
  background: white;
  border: 1px solid var(--rule);
  box-shadow: 0 12px 24px #563d2313;
}
.planner-paper img { width: 100%; height: auto; }
.planner-writing { position: absolute; inset: 0; color: #182a82; }
.planner-writing span {
  position: absolute;
  top: 78.2%;
  transform: translateY(-50%);
  font: 600 clamp(12px, 4.3cqw, 36px)/1 Misaeng, Pretendard, sans-serif;
  white-space: nowrap;
}
.planner-writing .written-date { left: 12%; top: 34.9%; font-size: clamp(11px, 3.7cqw, 29px); }
.written-subject { left: 4.2%; }
.written-task { left: 21.1%; }
.written-goal { left: 64.3%; }
.written-done { left: 78.2%; }
.planner figcaption { margin-top: 13px; color: var(--soft); font-size: 14px; }
.study-steps { counter-reset: study; list-style: none; margin: 0; padding: 0; display: grid; }
.study-steps li { display: grid; grid-template-columns: 28px 1fr; gap: 11px; }
.study-steps li + li {
  border-top: 1px solid #48242124;
  margin-top: clamp(12px, 1.5vw, 22px);
  padding-top: clamp(12px, 1.5vw, 22px);
}
.study-steps li::before { counter-increment: study; content: counter(study, decimal-leading-zero); color: var(--blue); font-size: 15px; font-weight: 700; padding-top: 2px; }
.study-steps p { margin-top: 5px; color: var(--soft); }
.study-support {
  --support-padding: clamp(18px, 2.7vw, 34px);
  display: grid;
  grid-template-columns: minmax(0, 1.07fr) minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 2.7vw, 42px);
  margin-top: clamp(38px, 5.5vw, 72px);
  margin-inline: calc(-1 * var(--support-padding));
  padding: var(--support-padding);
  background: #f7e7b7;
}
.study-support img { width: 100%; height: auto; }
.study-support h3 { font-size: 18px; }
.study-support p { color: var(--soft); margin-top: 5px; }
.apps { background: #eef0fb; }
.app-pair {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: clamp(25px, 7vw, 94px);
  margin: 38px auto 0;
  max-width: 670px;
}
.app-panel { min-width: 0; }
.app-caption { margin-bottom: 13px; }
.app-caption p { color: var(--soft); margin-top: 3px; }
.app-frame { margin: 0; }
.app-screen {
  display: block;
  width: 100%;
  max-width: 268px;
}
.app-screen img {
  width: 100%;
  height: auto;
  aspect-ratio: 390 / 844;
  object-fit: cover;
  object-position: center top;
  border: 1px solid #41324a3b;
  border-radius: 11px;
  background: #fbfaef;
}
.app-footnote { margin-top: 30px; color: var(--soft); }
.app-tabs { display: none; }

.why {
  padding-block: clamp(46px, 5vw, 78px);
  background: #f3eee6;
}
.why-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  grid-template-areas: "photo copy" "photo points";
  gap: 18px clamp(26px, 4.5vw, 70px);
}
.why-copy { grid-area: copy; align-self: end; }
.why-copy h2 { font-size: clamp(32px, 3.5vw, 49px); }
.why-copy p { max-width: 34em; margin-top: 12px; color: var(--soft); }
.why-photo {
  position: relative;
  grid-area: photo;
  width: 100%;
  aspect-ratio: 4 / 3;
  align-self: stretch;
}
.why-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 63% center;
}
.why-points {
  grid-area: points;
  align-self: start;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px clamp(17px, 2.4vw, 32px);
  margin: 0;
  padding: 15px 0 0;
  border-top: 1px solid var(--rule);
  list-style: none;
}
.why-points h3 { font-size: clamp(17px, 1.5vw, 21px); }
.why-points p { margin-top: 4px; color: var(--soft); line-height: 1.52; }

.space-heading { margin-bottom: 36px; }
.space-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}
.space-grid figure { min-width: 0; }
.space-grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.space-grid .space-main img { object-position: 55% 58%; }
.space-grid figcaption { padding-top: 11px; }
.space-grid h3 { font-size: 18px; }
.space-grid p { color: var(--soft); margin-top: 3px; }

.information { background: #f1eee7; }
.visit-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(25px, 6vw, 88px);
}
.reception-photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: center; }
.address { margin-top: 18px; color: var(--soft); }
.operating-hours { margin-top: 21px; }
.operating-hours h3 { font-size: 17px; }
.operating-hours dl { margin-top: 8px; }
.operating-hours dl > div {
  display: grid;
  grid-template-columns: 6.2em minmax(0, 1fr);
  gap: 7px;
  margin-top: 4px;
}
.operating-hours dt { font-weight: 580; }
.operating-hours dd { font-variant-numeric: tabular-nums; }
.visit-links {
  display: flex;
  flex-wrap: wrap;
  column-gap: 20px;
  margin-top: 13px;
}
.visit-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  color: var(--blue);
  font-weight: 640;
  text-underline-offset: 4px;
}
.visit-links span { text-decoration: none; }
.information .timetable { margin-top: 31px; border-block: 1px solid var(--rule); scroll-margin-top: 13px; }
.timetable > summary, .faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  list-style: none;
  min-height: 56px;
  padding: 12px 0;
  font-weight: 650;
}
.timetable > summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.timetable > summary::after, .faq summary::after { content: "+"; font-size: 24px; color: var(--blue); line-height: 1; font-weight: 600; }
.timetable[open] > summary::after, .faq details[open] summary::after { content: "−"; }
.schedule-details { padding: 10px 0 24px; }
.schedule-tabs { display: flex; border: 1px solid var(--rule); }
.schedule-tabs button { border: 0; background: transparent; min-height: 44px; padding: 8px 19px; font-weight: 620; }
.schedule-tabs button[aria-selected=true] { background: var(--blue); color: white; }
.questions { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(25px, 8vw, 100px); }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq p { color: var(--soft); padding: 0 24px 16px 0; }
.faq a { color: var(--blue); }

.site-footer { background: var(--paper); }
.footer-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "brand details contact" "copyright copyright copyright";
  align-items: center;
  gap: 24px clamp(25px, 4vw, 56px);
  padding-block: 34px 18px;
}
.footer-brand { grid-area: brand; justify-self: start; }
.footer-brand img { width: clamp(112px, 11vw, 142px); height: auto; }
.footer-details { grid-area: details; }
.footer-name { font-size: 16px; font-weight: 660; line-height: 1.4; }
.footer-details address {
  margin-top: 5px;
  color: var(--soft);
  font-size: 14px;
  font-style: normal;
  line-height: 1.5;
  word-break: keep-all;
}
.footer-details address span { display: inline-block; }
.footer-contact {
  grid-area: contact;
  display: grid;
  gap: 2px;
  align-content: center;
  min-height: 44px;
  text-decoration: none;
  white-space: nowrap;
}
.footer-contact span { color: var(--soft); font-size: 13px; line-height: 1.2; }
.footer-contact strong { font-size: 18px; font-weight: 670; line-height: 1.3; }
.footer-contact:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.footer-copyright {
  grid-area: copyright;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
  color: var(--soft);
  font-size: 12px;
  line-height: 1.4;
}

@media (max-width: 880px) {
  html { scroll-padding-top: 71px; }
  .header-inner { min-height: 68px; gap: 6px; }
  .header-cta { margin-left: auto; min-height: 44px; padding-inline: 14px; font-size: 14px; }
  .menu-button { display: grid; }
  #main-nav { display: none; position: absolute; inset: 100% 0 auto; padding: 11px var(--gutter) 15px; margin-left: 0; background: var(--paper); border-bottom: 1px solid var(--rule); }
  #main-nav.is-open { display: grid; gap: 0; }
  #main-nav a { min-height: 44px; display: flex; align-items: center; }
}
@media (max-width: 700px) {
  :root { --space: 51px; }
  body { line-height: 1.58; }
  h2 { font-size: clamp(31px, 8.4vw, 42px); }
  .hero { min-height: min(605px, 92svh); }
  .hero-photo { object-position: 56% center; }
  .hero::after { background: linear-gradient(90deg,#1a100dbc,#21131044 95%),linear-gradient(0deg,#1a100dc0,transparent 78%); }
  .hero-inner { grid-template-columns: 1fr; gap: 28px; padding-block: 66px 28px; }
  .hero-label { margin-bottom: 15px; gap: 1px 10px; }
  .hero-label strong { font-size: 21px; }
  .hero-label span { font-size: 13px; }
  .hero h1 { font-size: clamp(41px, 10vw, 60px); max-width: 10em; }
  .hero-copy { margin: 18px 0 18px; font-size: 16px; }
  .hero-copy br { display: none; }
  .hero-opening > time { margin: 2px 0 4px; }
  .hero-opening > p { font-size: 13px; }
  .about, .study-grid, .app-pair, .visit-info, .questions { grid-template-columns: 1fr; }
  .about { gap: 17px; }
  .about-copy .lead { font-size: 20px; }
  .about-copy p + p { margin-top: 10px; }
  .who { padding-block: 43px; }
  .who-layout { grid-template-columns: 1fr; gap: 22px; }
  .who h2 { text-wrap: wrap; }
  .who-list { gap: 9px; margin-top: 15px; }
  .section-label { margin-bottom: 11px; font-size: 14px; }
  .section-heading > p:last-child { margin-top: 12px; }
  .study-grid { margin-top: 21px; gap: 16px; }
  .planner figcaption { margin-top: 8px; font-size: 13px; }
  .study-steps { margin-top: 8px; }
  .study-steps h3 { font-size: 18px; }
  .study-support {
    --support-padding: clamp(10px, calc(var(--gutter) - 8px), 15px);
    margin-top: 29px;
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .study-support img { max-width: 470px; margin-bottom: 2px; }
  .study-support h3 { font-size: 17px; }
  .app-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-top: 23px; border-bottom: 1px solid var(--rule); }
  .app-tabs button { border: 0; border-bottom: 2px solid transparent; padding: 10px 3px; min-height: 44px; font-weight: 650; background: none; }
  .app-tabs button[aria-selected=true] { border-bottom-color: var(--blue); color: var(--blue); }
  .app-pair { margin-top: 16px; gap: 19px; }
  .app-caption h3 { display: none; }
  .app-caption p { font-size: 15px; }
  .apps[data-active=student] .app-panel[data-app=guardian], .apps[data-active=guardian] .app-panel[data-app=student] { display: none; }
  .app-screen { width: min(76%, 245px); margin-inline: auto; }
  .app-footnote { margin-top: 13px; font-size: 15px; }
  .why { padding-block: 39px; }
  .why-layout {
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "photo" "points";
    gap: 18px;
  }
  .why-points { grid-template-columns: 1fr; padding-top: 0; border-top: 0; }
  .why-photo { aspect-ratio: 3 / 2; }
  .why-photo img { object-position: center 29%; }
  .space-heading { margin-bottom: 22px; }
  .space-grid { grid-template-columns: 1fr 1fr; gap: 16px 12px; }
  .space-grid .space-main { grid-column: 1/-1; }
  .space-grid h3 { font-size: 16px; }
  .space-grid p { font-size: 14px; }
  .visit-info { gap: 17px; }
  .visit-info > div { order: -1; }
  .reception-photo img { aspect-ratio: 16 / 10; }
  .operating-hours { margin-top: 16px; }
  .information .timetable { margin-top: 18px; }
  .schedule-tabs button { padding-inline: 11px; }
  .questions { gap: 21px; }
  .faq summary { min-height: 52px; padding-block: 10px; }
  .footer-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand contact" "details details" "copyright copyright";
    gap: 15px 14px;
    padding-block: 24px 16px;
  }
  .footer-contact { text-align: right; }
  .footer-contact strong { font-size: 16px; }
  .footer-name { font-size: 15px; }
}
@media (max-width: 360px) {
  :root { --gutter: 18px; }
  .brand img { width: 120px; }
  .hero-inner { padding-top: 47px; }
  .hero h1 { font-size: 37px; }
}
