:root {
  --ink: #172524;
  --deep: #102f2f;
  --teal: #1d5551;
  --accent: #ef6a4b;
  --accent-light: #ff896d;
  --paper: #f4f1e9;
  --sand: #e3dccd;
  --white: #fff;
  --muted: #66716e;
  --line: rgba(23, 37, 36, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Noto Sans KR", sans-serif; line-height: 1.7; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
.site-header { position: absolute; z-index: 20; top: 0; left: 0; display: flex; width: 100%; height: 92px; align-items: center; justify-content: space-between; padding: 0 clamp(24px, 5vw, 80px); color: var(--white); border-bottom: 1px solid rgba(255,255,255,.22); }
.brand { display: inline-flex; align-items: center; gap: 13px; font-weight: 700; line-height: 1.2; }
.brand-mark { display: block; width: 48px; height: 48px; flex: 0 0 auto; overflow: hidden; background: url("assets/logo-mark.svg") center / contain no-repeat; color: transparent; font-size: 0; }
.brand-name { font-size: 17px; }
.brand-name small { display: block; margin-top: 5px; font-size: 9px; font-weight: 500; letter-spacing: .28em; opacity: .66; }
.primary-nav { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); font-size: 13px; font-weight: 600; }
.primary-nav > a:not(.nav-cta) { position: relative; }
.primary-nav > a:not(.nav-cta)::after { position: absolute; bottom: -9px; left: 0; width: 0; height: 1px; background: currentColor; content: ""; transition: width .25s; }
.primary-nav > a:hover::after { width: 100%; }
.nav-cta { padding: 11px 21px; color: var(--deep); background: var(--white); }
.menu-button { display: none; border: 0; background: transparent; }

.hero { position: relative; display: grid; min-height: min(880px, 100svh); align-items: center; overflow: hidden; color: var(--white); }
.hero-photo, .hero-shade { position: absolute; inset: 0; }
.hero-photo { background: url("https://images.unsplash.com/photo-1453738773917-9c3eff1db985?auto=format&fit=crop&w=2100&q=88") center 52% / cover; animation: photo-in 1.4s ease-out both; }
.hero-shade { background: linear-gradient(90deg, rgba(8,38,37,.94) 0%, rgba(12,47,45,.78) 43%, rgba(9,35,34,.13) 79%), linear-gradient(0deg, rgba(4,20,20,.38), transparent 42%); }
.hero-content { position: relative; z-index: 1; width: min(760px, 83%); margin-left: clamp(24px, 10vw, 170px); padding-top: 74px; animation: rise-in .8s .15s ease-out both; }
.eyebrow { margin: 0 0 20px; color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .22em; }
.eyebrow.light { color: #ff9c84; }
.hero h1, .section-title h2, .program h2, .area h2, .process h2, .consult h2 { margin: 0; font-family: "Gowun Batang", serif; font-size: clamp(38px, 4.8vw, 68px); line-height: 1.3; letter-spacing: 0; }
.hero h1 em { color: #ff9b82; font-style: normal; }
.hero-copy { max-width: 610px; margin: 27px 0 0; color: rgba(255,255,255,.8); font-size: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 30px; margin-top: 40px; }
.button { display: inline-flex; min-height: 57px; align-items: center; justify-content: space-between; gap: 40px; border: 0; padding: 0 26px; font-weight: 700; cursor: pointer; }
.button-accent { color: var(--white); background: var(--accent); }
.button-accent:hover { background: var(--accent-light); }
.phone-link { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 700; }
.phone-link small { display: block; color: rgba(255,255,255,.55); font-size: 10px; font-weight: 500; }
.phone-icon { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; font-size: 14px; }
.hero-index { position: absolute; z-index: 2; right: clamp(24px, 5vw, 80px); bottom: 45px; display: flex; align-items: center; gap: 12px; font-size: 10px; }
.hero-index span { width: 72px; height: 1px; background: rgba(255,255,255,.55); }
.hero-index strong { color: #ff9b82; font-size: 12px; }

.section { padding: 125px clamp(24px, 8vw, 140px); }
.promise { display: grid; grid-template-columns: minmax(280px, .9fr) minmax(360px, 1.1fr); column-gap: 9vw; }
.section-title h2, .area h2, .process h2, .consult h2, .program h2 { font-size: clamp(35px, 4vw, 55px); }
.promise-copy { max-width: 650px; align-self: end; color: var(--muted); }
.promise-copy .lead { margin: 0 0 17px; color: var(--ink); font-size: 20px; }
.principles { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 80px; border-top: 1px solid var(--line); }
.principle { position: relative; min-height: 285px; padding: 39px 9% 25px 0; border-right: 1px solid var(--line); }
.principle + .principle { padding-left: 9%; }
.principle:last-child { border-right: 0; }
.principle .number { position: absolute; top: 43px; right: 9%; color: #929a97; font-size: 10px; }
.symbol { display: grid; width: 54px; height: 54px; place-items: center; margin-bottom: 28px; border: 1px solid var(--teal); border-radius: 50%; color: var(--teal); font-size: 22px; }
.principle h3 { margin: 0 0 11px; font-size: 20px; }
.principle p { max-width: 320px; margin: 0; color: var(--muted); font-size: 14px; }

.program { display: grid; min-height: 760px; grid-template-columns: 1fr 1fr; background: var(--sand); }
.program-photo { min-height: 650px; background: url("https://images.unsplash.com/photo-1509228468518-180dd4864904?auto=format&fit=crop&w=1400&q=86") center / cover; }
.program-panel { align-self: center; padding: 85px clamp(32px, 7vw, 105px); }
.grade-tabs { display: flex; margin-top: 45px; border-bottom: 1px solid rgba(23,37,36,.25); }
.grade-tabs button { flex: 1; border: 0; border-bottom: 3px solid transparent; padding: 13px 5px; color: #767e7b; background: transparent; font-weight: 600; cursor: pointer; }
.grade-tabs button[aria-selected="true"] { border-color: var(--accent); color: var(--ink); }
.grade-content { min-height: 275px; padding-top: 34px; outline: 0; }
.grade-label { margin: 0 0 8px; color: #ba4933; font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.grade-content h3 { margin: 0; font-size: 22px; }
.grade-content > p:not(.grade-label) { margin: 14px 0 22px; color: var(--muted); font-size: 14px; }
.grade-content ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.grade-content li::before { margin-right: 10px; color: var(--accent); content: "✓"; }

.area-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; }
.area-heading > p { max-width: 440px; margin: 0 0 8px; color: var(--muted); }
.area-board { display: grid; grid-template-columns: minmax(260px, .75fr) 1.8fr; margin-top: 65px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.area-featured { display: flex; min-height: 355px; flex-direction: column; justify-content: center; padding: 44px; color: var(--white); background: var(--teal); }
.area-featured > span { color: #ff9b82; font-size: 10px; font-weight: 700; letter-spacing: .18em; }
.area-featured strong { margin-top: 15px; font-family: "Gowun Batang", serif; font-size: 40px; }
.area-featured p { margin: 2px 0 47px; color: rgba(255,255,255,.64); font-size: 13px; }
.area-featured a { width: max-content; border-bottom: 1px solid rgba(255,255,255,.6); padding-bottom: 5px; font-size: 12px; }
.area-featured a span { margin-left: 28px; }
.area-list { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none; }
.area-list li { min-height: 70px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-weight: 600; }
.area-list a { display: flex; min-height: 70px; align-items: center; gap: 15px; padding: 0 22px; transition: color .2s, background .2s; }
.area-list a:hover { color: var(--white); background: var(--teal); }
.area-list li:nth-child(3n) { border-right: 0; }
.area-list li:nth-last-child(-n+3) { border-bottom: 0; }
.area-list span { color: #9ba29f; font-size: 9px; }

.process { color: var(--white); background: var(--deep); }
.process-heading { text-align: center; }
.process-list { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1180px; margin: 70px auto 0; padding: 0; list-style: none; }
.process-list li { position: relative; text-align: center; }
.process-list li:not(:last-child)::after { position: absolute; top: 34px; right: -7px; color: rgba(255,255,255,.35); content: "→"; }
.process-list li > span { display: grid; width: 68px; height: 68px; place-items: center; margin: 0 auto 21px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; color: #ff9b82; font-size: 11px; }
.process-list strong { font-size: 18px; }
.process-list p { margin: 6px 0 0; color: rgba(255,255,255,.56); font-size: 13px; }

.consult { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(55px, 10vw, 150px); padding: 120px clamp(24px, 10vw, 170px); background: #e9e3d7; }
.consult-copy > p:not(.eyebrow) { max-width: 440px; margin-top: 22px; color: var(--muted); }
.consult-phone { display: block; width: max-content; margin-top: 45px; border-bottom: 1px solid var(--ink); padding-bottom: 8px; font-size: 20px; font-weight: 700; }
.consult-phone small { margin-right: 18px; color: var(--muted); font-size: 11px; font-weight: 500; }
.consult-form { display: grid; gap: 20px; align-content: center; }
.form-honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.consult-form label:not(.agreement) { display: grid; gap: 6px; color: var(--muted); font-size: 11px; font-weight: 600; }
.consult-form input, .consult-form select, .consult-form textarea { width: 100%; border: 0; border-bottom: 1px solid rgba(23,37,36,.34); border-radius: 0; padding: 11px 2px; color: var(--ink); background: transparent; outline: 0; }
.consult-form input:focus, .consult-form select:focus, .consult-form textarea:focus { border-color: var(--accent); }
.consult-form textarea { resize: vertical; }
.consult-form ::placeholder { color: #9a9f9c; }
.agreement { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 11px; cursor: pointer; }
.agreement input { width: 16px; height: 16px; accent-color: var(--accent); }
.submit-button { width: 100%; margin-top: 3px; color: var(--white); background: var(--accent); }
.submit-button:hover { background: #d9553a; }
.form-status { min-height: 22px; margin: -9px 0 0; color: #a13c2a; font-size: 12px; }

.site-footer { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 50px; padding: 50px clamp(24px, 5vw, 80px); color: rgba(255,255,255,.62); background: #0a2322; font-size: 11px; }
.site-footer .brand { color: var(--white); }
.site-footer p { margin: 2px 0; }
.floating-button { position: fixed; z-index: 10; right: 22px; bottom: 22px; display: none; width: 68px; height: 68px; place-content: center; border-radius: 50%; color: var(--white); background: var(--accent); box-shadow: 0 10px 28px rgba(0,0,0,.2); text-align: center; font-size: 12px; font-weight: 700; line-height: 1.3; }
.floating-button span { display: block; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
@keyframes photo-in { from { opacity: .65; transform: scale(1.07); } to { opacity: 1; transform: scale(1); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } .reveal { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .site-header { height: 76px; }
  .menu-button { z-index: 2; display: grid; width: 40px; height: 40px; place-content: center; gap: 5px; padding: 0; }
  .menu-button span { display: block; width: 23px; height: 1px; background: currentColor; transition: transform .2s, opacity .2s; }
  .menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .primary-nav { position: fixed; inset: 0; display: none; flex-direction: column; justify-content: center; gap: 30px; background: var(--deep); font-size: 19px; }
  .primary-nav.open { display: flex; }
  .nav-cta { font-size: 14px; }
  .promise { grid-template-columns: 1fr; }
  .promise-copy { margin-top: 40px; }
  .program { grid-template-columns: 1fr; }
  .program-photo { min-height: 480px; }
  .area-heading { align-items: start; flex-direction: column; }
  .area-board { grid-template-columns: 1fr; }
  .area-featured { min-height: 275px; }
  .process-list { grid-template-columns: repeat(2, 1fr); row-gap: 55px; }
  .process-list li:nth-child(2)::after { display: none; }
  .consult { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer > p { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .site-header { padding: 0 20px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-name { font-size: 14px; }
  .hero { min-height: 730px; align-items: end; padding-bottom: 92px; }
  .hero-photo { background-position: 62% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(8,38,37,.94), rgba(8,38,37,.52)), linear-gradient(0deg, rgba(4,20,20,.65), transparent 60%); }
  .hero-content { width: auto; margin: 0; padding: 0 23px; }
  .hero h1 { font-size: 33px; }
  .hero-copy { font-size: 14px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 19px; margin-top: 30px; }
  .button-accent { width: 100%; }
  .phone-link { justify-content: center; }
  .hero-index { display: none; }
  .section { padding: 88px 23px; }
  .section-title h2, .program h2, .area h2, .process h2, .consult h2 { font-size: 34px; }
  .promise-copy .lead { font-size: 18px; }
  .principles { grid-template-columns: 1fr; margin-top: 55px; }
  .principle, .principle + .principle { min-height: 0; padding: 33px 5px; border-right: 0; border-bottom: 1px solid var(--line); }
  .principle .number { top: 37px; right: 5px; }
  .program-photo { min-height: 320px; }
  .program-panel { padding: 74px 23px; }
  .grade-content { min-height: 310px; }
  .area-board { margin-top: 42px; }
  .area-featured { padding: 34px; }
  .area-list { grid-template-columns: repeat(2, 1fr); }
  .area-list li, .area-list li:nth-child(3n), .area-list li:nth-last-child(-n+3) { min-height: 62px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 13px; }
  .area-list a { min-height: 62px; padding: 0 13px; }
  .area-list li:nth-child(2n) { border-right: 0; }
  .area-list li:last-child { border-bottom: 0; }
  .process-list { grid-template-columns: 1fr; row-gap: 43px; }
  .process-list li:not(:last-child)::after { top: auto; right: 50%; bottom: -32px; content: "↓"; }
  .consult { gap: 52px; padding: 88px 23px; }
  .form-row { grid-template-columns: 1fr; gap: 20px; }
  .site-footer { grid-template-columns: 1fr; gap: 27px; padding-bottom: 105px; }
  .site-footer > p { grid-column: auto; }
  .floating-button { display: grid; }
}