:root {
  color-scheme: light;
  --ink: #18211d;
  --muted: #66716b;
  --paper: #f4f7f5;
  --white: #ffffff;
  --line: #d7dfda;
  --school: #0d563d;
  --school-soft: #dfeee5;
  --baechi: #0b1f33;
  --baechi-soft: #e1e9f1;
  --signal: #a7d85a;
}
* { box-sizing: border-box; }
html { min-width: 320px; background: var(--paper); scroll-behavior: smooth; }
body { min-height: 100vh; margin: 0; background: var(--paper); color: var(--ink); font-family: Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif; }
a { color: inherit; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 10; transform: translateY(-150%); padding: 10px 14px; border-radius: 6px; background: var(--ink); color: white; }
.skip-link:focus { transform: none; }
.site-header { width: min(1180px, calc(100% - 48px)); height: 78px; display: flex; align-items: center; justify-content: space-between; margin: 0 auto; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: baseline; color: var(--ink); font-size: 18px; font-weight: 850; letter-spacing: -.04em; text-decoration: none; }
.wordmark i { padding: 0 2px; color: var(--signal); font-size: 25px; font-style: normal; line-height: 0; }
.header-note { color: var(--muted); font-size: 13px; font-weight: 650; }
main { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.hero { position: relative; padding: clamp(72px, 10vw, 132px) 0 88px; overflow: hidden; }
.eyebrow, .section-heading > p { margin: 0 0 14px; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(48px, 8vw, 92px); font-weight: 820; line-height: .98; letter-spacing: -.075em; }
.hero-copy { max-width: 520px; margin: 30px 0 0; color: var(--muted); font-size: clamp(16px, 2vw, 20px); line-height: 1.7; }
.route-line { position: absolute; right: 0; bottom: 95px; width: min(340px, 30vw); display: grid; grid-template-columns: 1fr 14px 1fr; align-items: center; }
.route-line span { height: 1px; background: var(--line); }
.route-line i { width: 14px; height: 14px; border: 4px solid var(--paper); border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 1px #8cab5d; }
.services, .principles { padding: 70px 0; border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: minmax(170px, .6fr) 1.4fr; align-items: start; margin-bottom: 30px; }
.section-heading h2 { max-width: 620px; margin: 0; font-size: clamp(25px, 4vw, 42px); line-height: 1.12; letter-spacing: -.05em; word-break: keep-all; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.service-card { min-height: 380px; display: flex; flex-direction: column; padding: clamp(25px, 4vw, 42px); border: 1px solid var(--line); border-radius: 18px; background: var(--white); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(24,33,29,.09); }
.service-card:focus-visible { outline: 3px solid var(--signal); outline-offset: 4px; }
.service-card.schoolmap:hover { border-color: #8bb39e; }
.service-card.baechi:hover { border-color: #8da3b8; }
.service-kind { align-self: flex-start; padding: 6px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.schoolmap .service-kind { background: var(--school-soft); color: var(--school); }
.baechi .service-kind { background: var(--baechi-soft); color: var(--baechi); }
.service-title { display: flex; align-items: center; gap: 13px; margin-top: 32px; }
.service-title img { width: 46px; height: 46px; object-fit: contain; }
.service-title h3 { margin: 0; font-size: clamp(30px, 4vw, 44px); letter-spacing: -.055em; }
.service-card > p { max-width: 470px; margin: 22px 0 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.service-meta { margin-top: 18px; color: var(--muted); font-size: 12px; font-weight: 750; }
.service-card > strong { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 38px; font-size: 15px; }
.schoolmap > strong { color: var(--school); }
.baechi > strong { color: var(--baechi); }
.service-card > strong span { font-size: 22px; }
.principle-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.principle-list article { padding: 25px 28px 10px 0; }
.principle-list article + article { padding-left: 28px; border-left: 1px solid var(--line); }
.principle-list b { font-size: 16px; }
.principle-list p { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
footer { width: min(1180px, calc(100% - 48px)); display: flex; justify-content: space-between; gap: 24px; margin: 20px auto 0; padding: 35px 0 50px; border-top: 1px solid var(--line); }
footer div { display: grid; gap: 4px; }
footer b { font-size: 14px; }
footer span, footer a { color: var(--muted); font-size: 12px; }
footer nav { display: flex; gap: 18px; }
footer a { text-underline-offset: 3px; }
.document-body { background: white; }
.document-page { width: min(720px, calc(100% - 48px)); min-height: calc(100vh - 78px); padding: 80px 0; }
.document-page h1 { margin: 0; font-size: clamp(34px, 6vw, 54px); letter-spacing: -.055em; }
.document-lead { margin: 22px 0 48px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.document-page section { padding: 25px 0; border-top: 1px solid var(--line); }
.document-page h2 { margin: 0 0 10px; font-size: 19px; letter-spacing: -.025em; }
.document-page section p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.document-page section a { color: var(--school); font-weight: 750; }
.contact-link { display: inline-flex; margin-top: 14px; text-underline-offset: 3px; }
.document-date { margin: 25px 0 0; color: var(--muted); font-size: 13px; }
.back-link { display: inline-flex; margin-top: 34px; color: var(--ink); font-size: 14px; font-weight: 800; text-underline-offset: 4px; }
@media (max-width: 720px) {
  .site-header, main, footer { width: min(100% - 32px, 1180px); }
  .header-note { display: none; }
  .hero { padding: 62px 0 70px; }
  .hero h1 { font-size: clamp(45px, 15vw, 68px); }
  .route-line { display: none; }
  .section-heading { grid-template-columns: 1fr; gap: 4px; }
  .service-grid, .principle-list { grid-template-columns: 1fr; }
  .service-card { min-height: 340px; }
  .principle-list article { padding: 23px 0; }
  .principle-list article + article { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  footer { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .service-card { transition: none; }
}
