@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@600;700;800&family=Public+Sans:wght@400;500;600;700&display=swap');

:root {
  --ink: #17231f;
  --forest: #174f3d;
  --deep: #0f352a;
  --coral: #ef765f;
  --paper: #f4f1e8;
  --white: #fff;
  --line: #d7d8cf;
  --muted: #626c67;
  --serif: "Noto Serif KR", serif;
  --sans: "Public Sans", "Noto Sans KR", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.7; word-break: keep-all; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin-top: 0; }
.wrap { width: min(1140px, calc(100% - 48px)); margin: auto; }
.eyebrow { margin-bottom: 18px; font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.eyebrow.dark { color: var(--forest); }

nav { position: absolute; z-index: 10; top: 0; width: 100%; color: var(--white); border-bottom: 1px solid rgba(255,255,255,.22); }
.nav-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand { font-family: var(--serif); font-size: 21px; font-weight: 800; }
.nav-links { display: flex; gap: 30px; font-size: 14px; font-weight: 600; }

.hero { position: relative; min-height: 700px; display: flex; align-items: center; overflow: hidden; color: var(--white); background: var(--deep); }
.hero::before { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(9,42,32,.94) 0%, rgba(9,42,32,.72) 48%, rgba(9,42,32,.15) 100%), url('https://images.unsplash.com/photo-1434030216411-0b793f4b4173?auto=format&fit=crop&w=2200&q=86') center/cover; }
.hero::after { position: absolute; right: 8%; bottom: -80px; width: 220px; height: 220px; content: ""; border: 1px solid rgba(255,255,255,.35); transform: rotate(45deg); }
.hero-inner { position: relative; z-index: 1; padding-top: 90px; }
h1, h2 { font-family: var(--serif); letter-spacing: 0; }
h1 { max-width: 760px; margin-bottom: 26px; font-size: clamp(50px, 7vw, 86px); line-height: 1.17; }
.hero-copy { max-width: 650px; margin-bottom: 36px; color: rgba(255,255,255,.84); font-size: 18px; }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 0 23px; border: 0; border-radius: 4px; background: var(--coral); color: var(--ink); font-weight: 700; }
.text-link { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.55); font-weight: 600; }
.text-link span { margin-left: 18px; }
.hero-note { position: absolute; right: 4%; bottom: 32px; z-index: 1; margin: 0; text-align: right; color: rgba(255,255,255,.62); font-size: 12px; letter-spacing: .06em; }

.proof { position: relative; z-index: 2; margin-top: -1px; background: var(--white); }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.proof-grid > div { display: grid; grid-template-columns: 44px 1fr; gap: 16px; min-height: 180px; align-content: center; padding: 28px 34px; border-right: 1px solid var(--line); }
.proof-grid > div:last-child { border-right: 0; }
.proof-grid strong { color: var(--coral); font-size: 13px; }
.proof-grid p { margin: 0; color: var(--muted); font-size: 14px; }
.proof-grid b { display: block; margin-bottom: 5px; color: var(--ink); font-size: 17px; }

section { padding: 110px 0; }
h2 { margin-bottom: 0; font-size: clamp(34px, 5vw, 54px); line-height: 1.3; }
.process-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; }
.process-copy .lead { margin-bottom: 48px; color: var(--muted); font-size: 18px; }
.process-copy ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.process-copy li { display: grid; grid-template-columns: 100px 1fr; padding: 22px 0; border-bottom: 1px solid var(--line); }
.process-copy li span { color: var(--forest); font-weight: 700; }
.process-copy li p { margin: 0; color: var(--muted); }

.grades { background: #e6eadf; }
.section-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: end; margin-bottom: 50px; }
.section-head > p { max-width: 520px; margin: 0 0 8px; color: var(--muted); }
.grade-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #bfc7bb; border-left: 1px solid #bfc7bb; }
.grade { min-height: 265px; padding: 30px; border-right: 1px solid #bfc7bb; border-bottom: 1px solid #bfc7bb; }
.grade > span { color: var(--coral); font-size: 12px; font-weight: 700; }
.grade h3 { margin: 35px 0 14px; font-family: var(--serif); font-size: 21px; }
.grade p { margin: 0; color: var(--muted); font-size: 14px; }

.regions { color: var(--white); background: var(--forest); }
.regions .section-head > p { color: rgba(255,255,255,.7); }
.region-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.24); border-left: 1px solid rgba(255,255,255,.24); }
.region-link { position: relative; min-height: 116px; display: flex; flex-direction: column; justify-content: center; padding: 22px; border-right: 1px solid rgba(255,255,255,.24); border-bottom: 1px solid rgba(255,255,255,.24); transition: background .2s ease; }
.region-link:hover { background: rgba(255,255,255,.09); }
.region-link strong { font-family: var(--serif); font-size: 19px; }
.region-link span { margin-top: 6px; color: rgba(255,255,255,.55); font-size: 12px; }
.region-link b { position: absolute; right: 20px; top: 20px; color: var(--coral); }

.philosophy { display: grid; grid-template-columns: 1fr 1fr; padding: 0; background: var(--white); }
.photo { min-height: 650px; background: url('https://images.unsplash.com/photo-1453738773917-9c3eff1db985?auto=format&fit=crop&w=1400&q=84') center/cover; }
.philosophy-copy { display: flex; flex-direction: column; justify-content: center; padding: 90px max(7vw, 46px); }
.philosophy-copy > p:not(.eyebrow) { margin: 30px 0; color: var(--muted); }
.philosophy-copy ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.philosophy-copy li { padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 600; }

.local { background: var(--paper); }
.local-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; }
.local-grid > div:last-child { color: var(--muted); font-size: 17px; }

footer { padding: 55px 0 90px; color: rgba(255,255,255,.72); background: var(--ink); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: start; }
footer .brand { color: var(--white); }
footer p { margin: 7px 0 0; font-size: 13px; }
.footer-inner > div:nth-child(2) { display: flex; gap: 24px; font-size: 13px; }
footer small { grid-column: 1 / -1; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.14); }
.mobile-bar { display: none; }
.not-found { min-height: 78vh; display: grid; place-items: center; padding: 120px 24px; text-align: center; }
.not-found h1 { color: var(--ink); font-size: clamp(42px, 7vw, 72px); }
.not-found .button { margin-top: 18px; }

@media (max-width: 900px) {
  .proof-grid { grid-template-columns: 1fr; }
  .proof-grid > div { min-height: 130px; border-right: 0; border-bottom: 1px solid var(--line); }
  .process-grid, .local-grid { grid-template-columns: 1fr; gap: 44px; }
  .grade-grid { grid-template-columns: repeat(2, 1fr); }
  .region-grid { grid-template-columns: repeat(3, 1fr); }
  .philosophy { grid-template-columns: 1fr; }
  .photo { min-height: 470px; }
}

@media (max-width: 600px) {
  .wrap { width: min(100% - 28px, 1140px); }
  .nav-inner { height: 64px; }
  .nav-links { display: none; }
  .hero { min-height: 650px; }
  .hero::before { background: linear-gradient(180deg, rgba(9,42,32,.58), rgba(9,42,32,.95)), url('https://images.unsplash.com/photo-1434030216411-0b793f4b4173?auto=format&fit=crop&w=1000&q=82') 60% center/cover; }
  .hero::after, .hero-note { display: none; }
  .hero-inner { padding-top: 70px; }
  h1 { font-size: 48px; }
  .hero-copy { font-size: 16px; }
  section { padding: 74px 0; }
  .section-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 34px; }
  .grade-grid { grid-template-columns: 1fr; }
  .grade { min-height: auto; }
  .region-grid { grid-template-columns: repeat(2, 1fr); }
  .region-link { min-height: 96px; padding: 16px; }
  .region-link b { right: 14px; top: 14px; }
  .photo { min-height: 330px; }
  .philosophy-copy { padding: 70px 24px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-inner > div:nth-child(2) { flex-wrap: wrap; }
  .mobile-bar { position: fixed; z-index: 20; bottom: 0; left: 0; width: 100%; height: 60px; display: block; }
  .mobile-bar a { height: 100%; display: grid; place-items: center; background: var(--coral); color: var(--ink); font-weight: 700; }
}