:root{
  --accent:#2A3048;
  --accent-soft:#E9ECF4;
  --ink:#000000;
  --text:#22262B;
  --muted:#5B6169;
  --line:#E5E5E5;
  --serif:"Noto Serif KR",serif;
  --sans:"Pretendard","Barlow Condensed",sans-serif;
  --nav-font:"Barlow Condensed",sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--sans);color:var(--text);background:#fff;line-height:1.7;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3{font-family:var(--serif);font-weight:600;color:#111;margin:0}
.wrap{max-width:1200px;margin:0 auto;padding:0 24px}
ul{list-style:none;margin:0;padding:0}
.btn{display:inline-block;padding:14px 30px;border-radius:0;font-weight:600;font-size:15px;transition:opacity .2s}
.btn-accent{background:var(--accent);color:#fff}
.btn-accent:hover{opacity:.88}
.btn-ghost{border:1px solid #fff;color:#fff}
.btn-ghost:hover{background:rgba(255,255,255,.12)}

/* eyebrow */
.eyebrow{display:inline-flex;align-items:center;gap:6px;font-family:var(--nav-font);font-size:13px;font-weight:600;letter-spacing:.08em;color:var(--accent);text-transform:uppercase;margin-bottom:12px}
.eyebrow svg{flex-shrink:0}
.section-head{margin-bottom:44px}
.section-title{font-size:clamp(24px,3vw,34px);line-height:1.35}
.section{padding:88px 0}

/* ===== header ===== */
.site-header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid var(--line)}
.header-inner{display:flex;align-items:center;gap:28px;padding:14px 24px}
.logo{display:flex;align-items:center;gap:8px;text-decoration:none;margin-right:auto}
.logo-icon{width:32px;height:32px;flex-shrink:0;color:var(--accent)}
.logo-icon svg{width:100%;height:100%}
.logo-text{display:flex;flex-direction:column;line-height:1.15}
.logo-brand{font-size:19px;font-weight:800;letter-spacing:-0.02em;color:#000;font-family:var(--serif)}
.logo-keyword{font-size:.7rem;font-weight:400;color:var(--accent);letter-spacing:.04em}
.nav{font-family:var(--nav-font)}
.nav>ul{display:flex;align-items:center;gap:30px}
.nav>ul>li{position:relative}
.nav>ul>li>a{font-size:16px;font-weight:600;letter-spacing:-.035em;text-transform:uppercase;padding:10px 0;display:block}
.has-dropdown:hover .dropdown{display:block}
.dropdown{display:none;position:absolute;top:100%;left:0;background:#fff;border:1px solid var(--line);min-width:220px;padding:8px 0;box-shadow:0 12px 24px rgba(0,0,0,.08)}
.dropdown li a{display:block;padding:9px 18px;font-size:14px;font-weight:600;letter-spacing:-.035em;text-transform:uppercase;white-space:nowrap}
.dropdown li a:hover{background:var(--accent-soft)}
.nav-cta{white-space:nowrap;font-family:var(--sans)}
.nav-toggle{display:none;flex-direction:column;gap:5px;background:none;border:0;cursor:pointer;padding:6px}
.nav-toggle span{width:22px;height:2px;background:#000;display:block}

/* ===== hero: split-card (hero_id=1) ===== */
.hero{background:#fff}
.hero-split{display:grid;grid-template-columns:1fr 1.1fr;align-items:stretch;min-height:560px}
.hero-copy{background:var(--accent-soft);display:flex;flex-direction:column;justify-content:center;padding:64px 56px}
.hero-copy h1{font-size:clamp(32px,4vw,48px);line-height:1.3;margin-bottom:20px}
.hero-copy p.sub{font-size:16px;color:var(--muted);margin-bottom:28px;line-height:1.8}
.hero-cta{display:flex;gap:12px;margin-bottom:32px;flex-wrap:wrap}
.btn-outline{border:1px solid var(--accent);color:var(--accent);padding:14px 30px;font-weight:600}
.hero-checks{display:flex;flex-direction:column;gap:10px}
.hero-checks li{font-size:14px;color:var(--text);display:flex;align-items:center;gap:8px}
.hero-checks li:before{content:"";width:6px;height:6px;background:var(--accent);border-radius:50%;flex-shrink:0}
.hero-img{position:relative;overflow:hidden;background:#111}
.hero-img img{width:100%;height:100%;object-fit:cover;object-position:center 20%}
@media(max-width:900px){.hero-split{grid-template-columns:1fr;min-height:auto}.hero-img{height:340px}.hero-copy{padding:44px 24px}}

/* ===== why (6 cards) ===== */
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.card{background:#fff;border:1px solid var(--line);padding:32px 26px;position:relative;overflow:hidden}
.card h3{font-size:18px;margin-bottom:10px}
.card p{font-size:14px;color:var(--muted);margin:0}
/* champions city border-grow hover */
.champ{position:relative}
.champ:before,.champ:after{content:"";position:absolute;border-color:var(--ink);border-style:solid;border-width:0;transition:width .6s ease,height .6s ease}
.champ:before{top:0;left:0;width:0;height:0;border-top-width:1px;border-left-width:1px}
.champ:after{bottom:0;right:0;width:0;height:0;border-bottom-width:1px;border-right-width:1px}
.champ:hover:before,.champ:hover:after{width:100%;height:100%}

/* ===== why-us zigzag ===== */
.zigzag-item{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;margin-bottom:64px}
.zigzag-item:last-child{margin-bottom:0}
.zigzag-item:nth-child(even) .zz-text{order:2}
.zigzag-item:nth-child(even) .zz-img{order:1}
.zz-img img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px}
.zz-text h3{font-size:22px;margin-bottom:14px}
.zz-text p{color:var(--muted);font-size:15px}
@media(max-width:800px){.zigzag-item{grid-template-columns:1fr}.zigzag-item:nth-child(even) .zz-text,.zigzag-item:nth-child(even) .zz-img{order:0}}

/* ===== courses (icon cards, no photo) ===== */
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.course-card{background:#fff;border:1px solid var(--line);padding:30px 22px;color:var(--text)}
.course-icon{display:block;width:44px;height:44px;flex-shrink:0;overflow:hidden;color:var(--accent);margin-bottom:16px}
.course-icon svg{display:block;width:100%;height:100%;max-width:44px;max-height:44px}
.course-card h3{font-size:17px;margin-bottom:8px}
.course-card p{font-size:13.5px;color:var(--muted);margin:0}
@media(max-width:767px){.course-icon{width:36px;height:36px}.course-icon svg{max-width:36px;max-height:36px}}

/* ===== after: catalog-wide (section_variant=2) ===== */
.catalog-wide{display:grid;grid-template-columns:1fr 1fr;gap:0;border:1px solid var(--line)}
.catalog-wide-img{position:relative;min-height:340px}
.catalog-wide-img img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
.catalog-wide-body{padding:48px 44px;display:flex;flex-direction:column;justify-content:center}
.catalog-wide-body h3{font-size:24px;margin-bottom:18px}
.after-list{display:flex;flex-direction:column;gap:20px}
.after-list li{border-top:1px solid var(--line);padding-top:16px}
.after-list li:first-child{border-top:none;padding-top:0}
.after-list h4{font-size:15.5px;margin:0 0 6px;font-weight:700}
.after-list p{font-size:13.5px;color:var(--muted);margin:0}
@media(max-width:800px){.catalog-wide{grid-template-columns:1fr}.catalog-wide-img{min-height:220px}}

/* ===== about ===== */
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.about-grid img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px}
.about-grid p{color:var(--text);margin-bottom:16px}
.about-note{margin-top:20px;font-size:13.5px;color:var(--muted);border-top:1px solid var(--line);padding-top:14px}
@media(max-width:800px){.about-grid{grid-template-columns:1fr}}

/* ===== cases (home 3-col) ===== */
.case-card{display:block;background:#fff}
.case-card-img{aspect-ratio:1/1;overflow:hidden}
.case-card-img img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.case-card:hover .case-card-img img{transform:scale(1.05)}
.case-card-body{padding:16px 4px}
.case-card-title{font-size:15px;font-weight:600}
.section-cta{text-align:center;margin-top:36px}

/* ===== process ===== */
.process-list{display:grid;grid-template-columns:repeat(4,1fr);gap:0;border-top:1px solid #E0E0DC}
.process-item{padding:28px 20px 28px 24px;border-right:1px solid #E0E0DC}
.process-item:first-child{padding-left:0}
.process-item:last-child{border-right:none}
.pnum{display:block;font-size:13px;font-weight:700;color:var(--accent);margin-bottom:10px}
.process-item h3{font-size:16px;font-weight:800;color:#22262B;margin:0 0 8px}
.process-item p{font-size:13.5px;color:#5B6169;line-height:1.65;margin:0}
@media(max-width:767px){.process-list{grid-template-columns:1fr 1fr}.process-item{padding:22px 16px}.process-item:first-child{padding-left:16px}}

/* ===== faq ===== */
.faq-list{display:flex;flex-direction:column;gap:1px;background:var(--line);border:1px solid var(--line)}
.faq-item{background:#fff;padding:20px 24px}
.faq-item summary{cursor:pointer;font-weight:700;font-size:15.5px;list-style:none}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary:before{content:"Q. ";color:var(--accent)}
.faq-item p{margin:12px 0 0;color:var(--muted);font-size:14.5px}

/* ===== closing ===== */
.closing{height:650px;background-size:cover;background-position:center;position:relative}
.closing-overlay{position:absolute;inset:0;background:rgba(19,19,19,.55);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#fff;padding:0 20px}
.closing-head{font-family:var(--serif);font-size:clamp(24px,3.4vw,36px);font-weight:600;margin-bottom:14px}
.closing-sub{font-size:15px;margin-bottom:28px;opacity:.9}
@media(max-width:700px){.closing{height:420px}}

/* ===== footer ===== */
.site-footer{background:#fff;border-top:1px solid var(--line);padding:64px 0 0}
.footer-inner{display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px;padding-bottom:40px}
.footer-brand{font-family:var(--serif);font-weight:700;font-size:18px;margin-bottom:14px}
.footer-col p{font-size:13.5px;color:var(--muted);margin:0 0 8px}
.footer-title{font-weight:700;font-size:14px;margin-bottom:14px}
.footer-col ul{display:flex;flex-direction:column;gap:8px}
.footer-col ul a{font-size:13.5px;color:var(--muted)}
.footer-bottom{border-top:1px solid var(--line);padding:18px 0 90px;font-size:12.5px;color:var(--muted)}
@media(max-width:800px){.footer-inner{grid-template-columns:1fr}}
@media(min-width:768px){.footer-bottom{padding-bottom:18px}}

/* ===== mobile bar ===== */
.mobile-bar{position:fixed;bottom:0;left:0;right:0;display:none;z-index:60;border-top:1px solid var(--line)}
.mobile-bar-btn{flex:1;text-align:center;padding:14px 0;font-weight:700;background:#fff;color:var(--accent)}
.mobile-bar-btn.accent{background:var(--accent);color:#fff}
@media(max-width:767px){
  .mobile-bar{display:flex}
  .nav-toggle{display:flex}
  .nav{position:fixed;top:63px;left:0;right:0;bottom:0;background:#fff;transform:translateX(100%);transition:transform .25s;overflow:auto;padding:20px 0}
  .site-header.nav-open .nav{transform:translateX(0)}
  .nav>ul{flex-direction:column;align-items:flex-start;padding:0 24px;gap:4px}
  .nav>ul>li{width:100%}
  .dropdown{display:block;position:static;border:0;box-shadow:none;padding-left:12px}
  .nav-cta{display:none}
  .grid-3,.grid-4{grid-template-columns:1fr 1fr}
  .process-list{grid-template-columns:1fr 1fr}
}
@media(max-width:500px){.grid-3,.grid-4{grid-template-columns:1fr}}

/* ===== page hero (category / list / about) ===== */
.page-hero{background:var(--accent-soft);padding:70px 0 54px}
.page-hero .eyebrow{margin-bottom:16px}
.page-hero h1{font-size:clamp(28px,3.6vw,42px);margin-bottom:14px}
.page-hero p{font-size:15.5px;color:var(--muted);max-width:680px}

/* ===== category page body ===== */
.category-body{padding:56px 0 10px;max-width:820px;margin:0 auto}
.category-body h2{font-size:22px;margin:36px 0 14px}
.category-body p{margin:0 0 14px;font-size:15.5px}
.category-body table{width:100%;border-collapse:collapse;margin:20px 0}
.category-body table th,.category-body table td{border:1px solid var(--line);padding:10px 14px;font-size:14px;text-align:left}
.category-body table th{background:var(--accent-soft)}
.category-body ul{margin:0 0 14px;padding-left:20px;list-style:disc}
.category-body ul li{margin-bottom:6px;font-size:15px}
.updated-note{font-size:12.5px;color:var(--muted);margin-top:36px;text-align:right;max-width:820px;margin-left:auto;margin-right:auto;padding:0 24px}

/* ===== case list (editorial-meta-card, list_variant=2) ===== */
.case-list-grid{display:grid;grid-template-columns:1fr;gap:1px;background:var(--line);border:1px solid var(--line)}
.case-list-item{display:grid;grid-template-columns:260px 1fr;gap:24px;background:#fff;padding:22px}
.case-list-thumb{aspect-ratio:1/1;overflow:hidden;border-radius:8px}
.case-list-thumb img{width:100%;height:100%;object-fit:cover}
.case-list-tags{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}
.case-list-tag{font-size:11.5px;padding:4px 10px;background:var(--accent-soft);color:var(--accent);font-weight:600}
.case-list-item h3{font-size:19px;margin-bottom:8px}
.case-list-meta{font-size:12.5px;color:var(--muted)}
@media(max-width:600px){.case-list-item{grid-template-columns:1fr}}

/* ===== case detail ===== */
.kh-single{max-width:780px;margin:0 auto;padding:56px 24px 0}
.kh-single__thumb{max-width:720px;margin:0 auto 40px;border-radius:12px;overflow:hidden}
.kh-single__thumb img{width:100%;height:auto;max-height:520px;object-fit:contain;background:#fff;border-radius:12px;cursor:pointer}
.kh-single__index{font-size:13px;color:#888;letter-spacing:.04em;margin-bottom:14px;display:block}
.kh-single__title{font-size:28px;font-weight:800;line-height:1.35;margin:0 0 20px}
.related-courses{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:36px}
.related-courses a{font-size:13px;padding:6px 14px;border:1px solid var(--accent);color:var(--accent);font-weight:600}
.kh-single__body{font-size:15.5px;color:#333}
.kh-single__body h2{margin-top:48px;margin-bottom:16px;font-size:20px}
.kh-single__body p{margin:0 0 14px}
.kh-gallery{display:grid;grid-template-columns:1fr 1fr;gap:16px;max-width:760px;margin:32px auto}
.kh-gallery img{width:100%;height:auto;max-height:480px;object-fit:contain;background:#fff;border-radius:8px;cursor:pointer}
.related-row{max-width:1200px;margin:64px auto 0;padding:0 24px}
.related-row h2{font-size:20px;margin-bottom:20px}
.case-cta{text-align:center;padding:60px 24px}
@media(max-width:767px){.kh-gallery{grid-template-columns:1fr}.kh-single__title{font-size:22px}}

/* ===== lightbox ===== */
.lightbox{position:fixed;inset:0;background:rgba(0,0,0,.88);display:none;align-items:center;justify-content:center;z-index:200}
.lightbox.open{display:flex}
.lightbox img{max-width:92vw;max-height:88vh;object-fit:contain}
.lightbox-close{position:absolute;top:20px;right:26px;background:none;border:0;color:#fff;font-size:34px;cursor:pointer;line-height:1}
.lightbox-prev,.lightbox-next{position:absolute;top:50%;transform:translateY(-50%);background:none;border:0;color:#fff;font-size:48px;cursor:pointer;padding:0 18px}
.lightbox-prev{left:6px}
.lightbox-next{right:6px}
