@charset "utf-8";
/* =========================================================
   (사)아리랑연합회 리뉴얼 - 공통 스타일
   색: 먹(ink) / 한지(paper) / 단청 적(red) / 쪽빛(indigo) / 금(gold)
   ========================================================= */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@400;600;700;900&display=swap");

:root {
  --ink: #1c1a17;
  --ink-2: #4a463f;
  --ink-3: #8a847a;
  --paper: #f7f3ea;
  --paper-2: #efe8d9;
  --line: #e2dacb;
  --white: #fff;
  --red: #b3332b;
  --red-d: #8e241e;
  --indigo: #1f3a5f;
  --indigo-d: #142844;
  --gold: #b8924a;
  --serif: "Noto Serif KR", serif;
  --sans: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --wrap: 1280px;
  --hd-h: 88px;
  --radius: 4px;
  --shadow: 0 10px 30px rgba(28, 26, 23, .08);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); color: var(--ink); background: var(--white); font-size: 16px; line-height: 1.7; word-break: keep-all; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }
.blind { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; top: -100px; left: 0; z-index: 999; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip:focus { top: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.serif { font-family: var(--serif); }

/* ---------- Header ---------- */
.topbar { background: var(--ink); color: rgba(255,255,255,.7); font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar a:hover { color: #fff; }
.topbar .util, .topbar .lang { display: flex; gap: 18px; }
.topbar .lang a { opacity: .75; }
.topbar .lang a:hover { opacity: 1; }

#header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
#header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.06); }
#header .wrap { display: flex; align-items: center; height: var(--hd-h); }
.logo img { height: 48px; width: auto; }
.gnb { margin-left: auto; display: flex; height: 100%; }
.gnb > li { position: relative; }
.gnb > li > a { display: flex; align-items: center; height: var(--hd-h); padding: 0 22px; font-size: 17px; font-weight: 600; letter-spacing: -.01em; position: relative; }
.gnb > li > a::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: 22px; height: 2px; background: var(--red); transform: scaleX(0); transition: transform .3s var(--ease); }
.gnb > li:hover > a::after, .gnb > li.on > a::after { transform: scaleX(1); }
.gnb > li.on > a { color: var(--red); }
.gnb .depth2 { position: absolute; top: 100%; left: 50%; min-width: 180px; transform: translate(-50%, 8px); background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--red); box-shadow: var(--shadow); padding: 10px 0; opacity: 0; visibility: hidden; transition: .25s var(--ease); }
.gnb > li:hover .depth2, .gnb > li:focus-within .depth2 { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.gnb .depth2 a { display: block; padding: 8px 22px; font-size: 15px; color: var(--ink-2); white-space: nowrap; }
.gnb .depth2 a:hover { color: var(--red); background: var(--paper); }
.hd-btns { display: flex; gap: 6px; margin-left: 18px; }
.hd-btns button { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; }
.hd-btns button:hover { background: var(--paper); }
.hd-btns svg { width: 22px; height: 22px; }
.btn-menu { display: none !important; }

/* search layer */
.search-layer { position: fixed; inset: 0; z-index: 300; background: rgba(28,26,23,.92); display: flex; align-items: flex-start; justify-content: center; padding-top: 18vh; opacity: 0; visibility: hidden; transition: .3s; }
.search-layer.open { opacity: 1; visibility: visible; }
.search-layer form { width: min(720px, 90%); display: flex; border-bottom: 2px solid #fff; }
.search-layer input { flex: 1; background: none; border: 0; color: #fff; font-size: 28px; padding: 14px 0; outline: none; font-family: var(--serif); }
.search-layer input::placeholder { color: rgba(255,255,255,.4); }
.search-layer button[type=submit] { color: #fff; padding: 0 10px; }
.search-layer .close { position: absolute; top: 30px; right: 30px; color: #fff; font-size: 34px; line-height: 1; }
.search-layer .keywords { position: absolute; top: calc(18vh + 90px); width: min(720px, 90%); display: flex; flex-wrap: wrap; gap: 8px; color: rgba(255,255,255,.6); font-size: 14px; }
.search-layer .keywords a { border: 1px solid rgba(255,255,255,.3); padding: 4px 12px; border-radius: 30px; color: #fff; }

/* mobile nav */
.m-nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 88%); background: #fff; z-index: 400; transform: translateX(100%); transition: transform .35s var(--ease); overflow-y: auto; }
.m-nav.open { transform: none; }
.m-nav-dim { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 399; opacity: 0; visibility: hidden; transition: .3s; }
.m-nav-dim.open { opacity: 1; visibility: visible; }
.m-nav .m-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.m-nav .m-head img { height: 36px; }
.m-nav .m-head button { font-size: 30px; line-height: 1; }
.m-nav .m-util { display: flex; gap: 8px; padding: 16px 20px; flex-wrap: wrap; }
.m-nav .m-util a { font-size: 13px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 30px; }
.m-nav > ul > li { border-bottom: 1px solid var(--line); }
.m-nav > ul > li > button { width: 100%; text-align: left; padding: 16px 20px; font-size: 17px; font-weight: 600; display: flex; justify-content: space-between; }
.m-nav > ul > li > button::after { content: "+"; color: var(--ink-3); transition: transform .3s; }
.m-nav > ul > li.open > button::after { transform: rotate(45deg); }
.m-nav .m-sub { display: none; background: var(--paper); padding: 8px 0; }
.m-nav li.open .m-sub { display: block; }
.m-nav .m-sub a { display: block; padding: 8px 32px; font-size: 15px; color: var(--ink-2); }

/* ---------- Buttons / common ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 28px; border: 1px solid var(--ink); font-weight: 600; font-size: 15px; transition: .25s; border-radius: var(--radius); }
.btn:hover { background: var(--ink); color: #fff; }
.btn.red { background: var(--red); border-color: var(--red); color: #fff; }
.btn.red:hover { background: var(--red-d); border-color: var(--red-d); }
.btn.line-w { border-color: rgba(255,255,255,.6); color: #fff; }
.btn.line-w:hover { background: #fff; color: var(--ink); }
.btn.sm { height: 40px; padding: 0 18px; font-size: 14px; }
.more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-2); font-weight: 500; }
.more::after { content: "→"; transition: transform .25s; }
.more:hover { color: var(--red); }
.more:hover::after { transform: translateX(4px); }

.sec { padding: 120px 0; }
.sec-hd { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; gap: 20px; }
.sec-hd .eyebrow { display: block; font-size: 13px; letter-spacing: .2em; color: var(--red); font-weight: 700; margin-bottom: 12px; text-transform: uppercase; }
.sec-hd h2 { font-family: var(--serif); font-size: 40px; font-weight: 700; line-height: 1.3; letter-spacing: -.02em; }
.sec-hd p { color: var(--ink-2); margin-top: 12px; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--red); letter-spacing: .02em; }
.chip { display: inline-block; font-size: 12px; padding: 2px 10px; border-radius: 30px; background: var(--paper-2); color: var(--ink-2); }

/* reveal animation */
.rv { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .1s; } .rv.d2 { transition-delay: .2s; } .rv.d3 { transition-delay: .3s; }

/* ---------- Main: hero ---------- */
.hero { position: relative; height: calc(100vh - var(--hd-h) - 38px); min-height: 620px; max-height: 900px; overflow: hidden; background: var(--paper); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; display: flex; align-items: center; }
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide .bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.08); transition: transform 7s linear; }
.hero-slide.active .bg { transform: scale(1); }
.hero-slide.dark .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,18,15,.85) 0%, rgba(20,18,15,.45) 60%, rgba(20,18,15,.2) 100%); }
.hero-slide .wrap { position: relative; z-index: 2; }
.hero-slide.dark { color: #fff; }
.hero .copy { max-width: 640px; }
.hero .copy .eyebrow { display: inline-block; font-size: 14px; letter-spacing: .25em; font-weight: 600; margin-bottom: 24px; color: var(--red); }
.hero-slide.dark .copy .eyebrow { color: #e8c784; }
.hero .copy h2 { font-family: var(--serif); font-size: clamp(36px, 5vw, 64px); font-weight: 700; line-height: 1.25; letter-spacing: -.03em; margin-bottom: 24px; }
.hero .copy p { font-size: 18px; color: inherit; opacity: .85; margin-bottom: 40px; }
.hero .copy > * { opacity: 0; transform: translateY(24px); transition: .9s var(--ease); }
.hero-slide.active .copy > * { opacity: 1; transform: none; }
.hero-slide.active .copy > *:nth-child(2) { transition-delay: .15s; }
.hero-slide.active .copy > *:nth-child(3) { transition-delay: .3s; }
.hero-slide.active .copy > *:nth-child(4) { transition-delay: .45s; }
.hero .calli { position: absolute; right: 8%; top: 50%; height: 88%; transform: translateY(-50%); z-index: 2; mix-blend-mode: multiply; }
.hero .calli img { height: 100%; width: auto; }
.hero-slide.paper .bg { background: radial-gradient(ellipse at 70% 50%, #fff 0%, var(--paper) 60%, var(--paper-2) 100%); }
.hero-slide.paper .bg::before { content: ""; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E"); }
.hero-ctrl { position: absolute; left: 0; right: 0; bottom: 48px; z-index: 5; }
.hero-ctrl .wrap { display: flex; align-items: center; gap: 20px; }
.hero-ctrl .num { font-family: var(--serif); font-size: 15px; min-width: 64px; }
.hero-ctrl .num b { font-size: 20px; }
.hero-ctrl .bar { width: 200px; height: 2px; background: rgba(128,128,128,.3); position: relative; overflow: hidden; }
.hero-ctrl .bar i { position: absolute; inset: 0; background: var(--red); transform-origin: left; transform: scaleX(0); }
.hero-ctrl .bar i.run { animation: bar 6s linear forwards; }
@keyframes bar { to { transform: scaleX(1); } }
.hero-ctrl button { width: 40px; height: 40px; border: 1px solid rgba(128,128,128,.4); border-radius: 50%; display: grid; place-items: center; }
.hero-ctrl button:hover { border-color: var(--red); color: var(--red); }
.hero.on-dark .hero-ctrl { color: #fff; }

/* quick links */
.quick { position: relative; z-index: 6; margin-top: -1px; background: var(--ink); color: #fff; }
.quick ul { display: grid; grid-template-columns: repeat(6, 1fr); }
.quick li a { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 30px 10px; font-size: 15px; border-right: 1px solid rgba(255,255,255,.1); transition: background .25s; }
.quick li:first-child a { border-left: 1px solid rgba(255,255,255,.1); }
.quick li a:hover { background: var(--red); }
.quick svg { width: 32px; height: 32px; stroke: #e8c784; }
.quick li a:hover svg { stroke: #fff; }

/* intro */
.intro { background: var(--paper); position: relative; overflow: hidden; }
.intro .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; }
.intro .big-year { font-family: var(--serif); font-size: 180px; line-height: 1; font-weight: 900; color: var(--red); letter-spacing: -.05em; }
.intro .big-year small { font-size: 40px; color: var(--ink); margin-left: 8px; }
.intro h2 { font-family: var(--serif); font-size: 36px; line-height: 1.4; margin: 20px 0; }
.intro p { color: var(--ink-2); margin-bottom: 16px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stats li { background: #fff; padding: 36px 32px; }
.stats strong { display: block; font-family: var(--serif); font-size: 44px; font-weight: 700; color: var(--indigo); line-height: 1.1; }
.stats strong sup { font-size: 20px; vertical-align: top; margin-left: 2px; color: var(--red); }
.stats span { font-size: 15px; color: var(--ink-2); }
.intro .bg-txt { position: absolute; right: -40px; bottom: -60px; font-family: var(--serif); font-size: 260px; font-weight: 900; color: rgba(0,0,0,.025); white-space: nowrap; pointer-events: none; }

/* news main */
.news-main { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; }
.news-feature { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--ink); color: #fff; aspect-ratio: 4/3; }
.news-feature img { width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: transform .8s var(--ease), opacity .4s; }
.news-feature:hover img { transform: scale(1.04); opacity: .6; }
.news-feature .txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px; background: linear-gradient(transparent, rgba(0,0,0,.8)); }
.news-feature h3 { font-family: var(--serif); font-size: 28px; line-height: 1.4; margin: 10px 0; }
.news-feature .tag { color: #e8c784; }
.news-feature .date { font-size: 14px; opacity: .7; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 10px; flex-wrap: wrap; }
.tabs button { padding: 12px 18px; font-size: 15px; font-weight: 600; color: var(--ink-3); position: relative; }
.tabs button.on { color: var(--ink); }
.tabs button.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--red); }
.news-list li a { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: center; }
.news-list li a:hover .tt { color: var(--red); }
.news-list .tt { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .2s; }
.news-list .tt .tag { margin-right: 8px; }
.news-list .date { font-size: 14px; color: var(--ink-3); }

/* festival band */
.fest-band { background: var(--indigo-d); color: #fff; overflow: hidden; }
.fest-band .sec-hd h2 { color: #fff; }
.fest-band .sec-hd p { color: rgba(255,255,255,.7); }
.fest-band .sec-hd .eyebrow { color: #e8c784; }
.fest-band .more { color: rgba(255,255,255,.8); }
.slider { position: relative; }
.slider-track { display: flex; gap: 24px; transition: transform .6s var(--ease); }
.slider-viewport { overflow: hidden; }
.card { flex: 0 0 calc((100% - 72px) / 4); display: block; }
.card .thumb { aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius); background: #333; margin-bottom: 18px; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .thumb img { transform: scale(1.06); }
.card h3 { font-size: 18px; font-weight: 600; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .meta { font-size: 13px; opacity: .6; margin-top: 6px; }
.slider-nav { display: flex; gap: 8px; }
.slider-nav button { width: 48px; height: 48px; border: 1px solid currentColor; border-radius: 50%; opacity: .6; display: grid; place-items: center; }
.slider-nav button:hover { opacity: 1; }

/* special */
.special-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.special-grid a { background: #fff; padding: 40px 36px; position: relative; min-height: 260px; display: flex; flex-direction: column; transition: background .3s, color .3s; }
.special-grid a:hover { background: var(--ink); color: #fff; }
.special-grid .no { font-family: var(--serif); font-size: 14px; color: var(--red); }
.special-grid h3 { font-family: var(--serif); font-size: 26px; margin: 16px 0 12px; }
.special-grid p { font-size: 15px; color: var(--ink-2); flex: 1; }
.special-grid a:hover p { color: rgba(255,255,255,.7); }
.special-grid .yr { font-family: var(--serif); font-size: 48px; font-weight: 900; color: var(--paper-2); position: absolute; right: 28px; top: 24px; transition: color .3s; }
.special-grid a:hover .yr { color: rgba(255,255,255,.08); }

/* archive band */
.acv { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.acv a { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); color: #fff; display: block; }
.acv img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.acv a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(0,0,0,.75)); }
.acv a:hover img { transform: scale(1.06); }
.acv .txt { position: absolute; left: 24px; bottom: 22px; right: 24px; z-index: 1; }
.acv .txt b { font-family: var(--serif); font-size: 22px; display: block; }
.acv .txt span { font-size: 13px; opacity: .8; }

/* banner CTA */
.cta { background: var(--red); color: #fff; padding: 80px 0; position: relative; overflow: hidden; }
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 30px; position: relative; z-index: 1; }
.cta h2 { font-family: var(--serif); font-size: 34px; line-height: 1.4; }
.cta p { opacity: .85; margin-top: 8px; }
.cta .btns { display: flex; gap: 10px; flex-shrink: 0; }
.cta::before { content: "阿里郞"; position: absolute; right: -20px; top: 50%; transform: translateY(-50%); font-family: var(--serif); font-size: 240px; font-weight: 900; color: rgba(255,255,255,.06); }

/* ---------- Footer ---------- */
#footer { background: #141310; color: rgba(255,255,255,.6); font-size: 14px; padding: 60px 0 40px; }
#footer .f-links { display: flex; flex-wrap: wrap; gap: 6px 24px; padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.1); }
#footer .f-links a { color: rgba(255,255,255,.85); }
#footer .f-links a.em { color: #e8c784; font-weight: 600; }
#footer .f-body { display: grid; grid-template-columns: auto 1fr auto; gap: 48px; align-items: start; }
#footer .f-logo img { height: 44px; filter: brightness(0) invert(1); opacity: .85; }
#footer address { font-style: normal; line-height: 1.9; }
#footer address span { display: inline-block; margin-right: 16px; }
#footer .copy { margin-top: 12px; color: rgba(255,255,255,.35); font-size: 13px; }
#footer .f-sites select { background: transparent; border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.8); padding: 10px 14px; min-width: 220px; }
#footer .f-sites option { color: var(--ink); }
.top-btn { position: fixed; right: 28px; bottom: 28px; z-index: 90; width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; opacity: 0; visibility: hidden; transition: .3s; box-shadow: var(--shadow); }
.top-btn.show { opacity: 1; visibility: visible; }
.top-btn:hover { background: var(--red); }

/* =========================================================
   Sub pages
   ========================================================= */
.sub-visual { position: relative; height: 340px; background: var(--ink) center/cover no-repeat; color: #fff; display: flex; align-items: center; overflow: hidden; }
.sub-visual::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,18,15,.88), rgba(20,18,15,.5)); }
.sub-visual .wrap { position: relative; z-index: 1; }
.sub-visual .eyebrow { font-size: 13px; letter-spacing: .25em; color: #e8c784; font-weight: 600; }
.sub-visual h1 { font-family: var(--serif); font-size: 48px; font-weight: 700; margin: 10px 0 8px; letter-spacing: -.02em; }
.sub-visual p { opacity: .75; }
.sub-visual .deco { position: absolute; right: 4%; bottom: -40px; font-family: var(--serif); font-size: 200px; font-weight: 900; color: rgba(255,255,255,.05); line-height: 1; }

.lnb { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: var(--hd-h); z-index: 50; }
.lnb .wrap { display: flex; align-items: center; height: 60px; }
.lnb .home { width: 60px; height: 60px; display: grid; place-items: center; border-right: 1px solid var(--line); border-left: 1px solid var(--line); }
.lnb .crumb { display: flex; align-items: center; height: 100%; }
.lnb .crumb > li { position: relative; height: 100%; border-right: 1px solid var(--line); }
.lnb .crumb > li > button { height: 100%; min-width: 200px; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 600; }
.lnb .crumb > li > button::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: .25s; }
.lnb .crumb > li.open > button::after { transform: rotate(-135deg); }
.lnb .crumb ul { position: absolute; top: 100%; left: -1px; right: -1px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
.lnb .crumb li.open ul { display: block; }
.lnb .crumb ul a { display: block; padding: 11px 20px; font-size: 15px; color: var(--ink-2); }
.lnb .crumb ul a:hover, .lnb .crumb ul a.on { color: var(--red); background: var(--paper); }
.lnb .share { margin-left: auto; display: flex; gap: 4px; }
.lnb .share button { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--ink-2); }
.lnb .share button:hover { background: var(--paper); }

.sub-tabs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 60px 0 0; }
.sub-tabs a { padding: 10px 24px; border: 1px solid var(--line); border-radius: 40px; font-size: 15px; color: var(--ink-2); transition: .2s; }
.sub-tabs a:hover { border-color: var(--ink); color: var(--ink); }
.sub-tabs a.on { background: var(--ink); border-color: var(--ink); color: #fff; }

.sub-cont { padding: 80px 0 140px; }
.page-title { text-align: center; margin-bottom: 64px; }
.page-title h2 { font-family: var(--serif); font-size: 40px; font-weight: 700; letter-spacing: -.02em; }
.page-title p { color: var(--ink-2); margin-top: 10px; }
.page-title::after { content: ""; display: block; width: 40px; height: 3px; background: var(--red); margin: 24px auto 0; }
.h3 { font-family: var(--serif); font-size: 28px; margin-bottom: 24px; display: flex; align-items: center; gap: 12px; }
.h3::before { content: ""; width: 8px; height: 8px; background: var(--red); transform: rotate(45deg); }
.block + .block { margin-top: 90px; }
.note { font-size: 14px; color: var(--ink-3); background: var(--paper); padding: 14px 18px; border-left: 3px solid var(--gold); margin-top: 20px; }

/* greeting */
.greeting { display: grid; grid-template-columns: 400px 1fr; gap: 80px; align-items: start; }
.greeting .photo { position: sticky; top: calc(var(--hd-h) + 90px); }
.greeting .photo .frame { aspect-ratio: 3/4; background: var(--paper) center/contain no-repeat; border: 1px solid var(--line); position: relative; }
.greeting .photo .frame img { width: 100%; height: 100%; object-fit: contain; padding: 30px; }
.greeting .photo figcaption { margin-top: 16px; font-size: 14px; color: var(--ink-3); text-align: center; }
.greeting .lead { font-family: var(--serif); font-size: 32px; line-height: 1.5; margin-bottom: 40px; letter-spacing: -.02em; }
.greeting .lead em { font-style: normal; color: var(--red); }
.greeting .body p { margin-bottom: 20px; color: var(--ink-2); font-size: 17px; line-height: 1.9; }
.greeting .sign { margin-top: 48px; text-align: right; font-size: 17px; }
.greeting .sign b { font-family: var(--serif); font-size: 28px; margin-left: 12px; letter-spacing: .2em; }
.quote { margin: 40px 0; padding: 36px 40px; background: var(--paper); font-family: var(--serif); font-size: 20px; line-height: 1.7; position: relative; }
.quote::before { content: "“"; position: absolute; left: 18px; top: -10px; font-size: 80px; color: var(--red); opacity: .3; }
.quote cite { display: block; margin-top: 14px; font-family: var(--sans); font-size: 14px; color: var(--ink-3); font-style: normal; }

/* history */
.hist-nav { display: flex; justify-content: center; gap: 0; margin-bottom: 60px; border: 1px solid var(--line); width: max-content; margin-left: auto; margin-right: auto; border-radius: 50px; overflow: hidden; }
.hist-nav a { padding: 12px 28px; font-family: var(--serif); font-weight: 600; border-right: 1px solid var(--line); }
.hist-nav a:last-child { border-right: 0; }
.hist-nav a.on, .hist-nav a:hover { background: var(--ink); color: #fff; }
.history { position: relative; }
.hist-era { display: grid; grid-template-columns: 280px 1fr; gap: 60px; padding: 60px 0; border-top: 1px solid var(--line); scroll-margin-top: 180px; }
.hist-era .era { position: sticky; top: 180px; align-self: start; }
.hist-era .era strong { font-family: var(--serif); font-size: 64px; font-weight: 900; color: var(--red); line-height: 1; display: block; }
.hist-era .era span { display: block; margin-top: 14px; color: var(--ink-2); }
.hist-list li { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.hist-list .y { font-family: var(--serif); font-weight: 700; color: var(--indigo); }
.hist-list .t { color: var(--ink-2); }

/* business (8대사업) */
.biz-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.biz-grid li { border: 1px solid var(--line); padding: 40px 30px 36px; position: relative; transition: .3s var(--ease); background: #fff; }
.biz-grid li:hover { border-color: var(--ink); transform: translateY(-6px); box-shadow: var(--shadow); }
.biz-grid .n { font-family: var(--serif); font-size: 15px; color: var(--red); font-weight: 700; }
.biz-grid .ic { width: 56px; height: 56px; margin: 18px 0 22px; stroke: var(--indigo); }
.biz-grid h3 { font-family: var(--serif); font-size: 22px; margin-bottom: 12px; }
.biz-grid p { font-size: 15px; color: var(--ink-2); }

/* organization */
.org-chart { display: flex; flex-direction: column; align-items: center; gap: 0; }
.org-chart .node { border: 1px solid var(--ink); padding: 16px 36px; text-align: center; background: #fff; min-width: 220px; position: relative; }
.org-chart .node.top { background: var(--ink); color: #fff; }
.org-chart .node.red { background: var(--red); border-color: var(--red); color: #fff; }
.org-chart .node small { display: block; font-size: 13px; opacity: .7; }
.org-chart .node b { font-family: var(--serif); font-size: 18px; }
.org-chart .vline { width: 1px; height: 36px; background: var(--ink); }
.org-chart .row { display: flex; gap: 24px; position: relative; padding-top: 36px; }
.org-chart .row::before { content: ""; position: absolute; top: 0; left: 50%; width: 1px; height: 36px; background: var(--ink); }
.org-chart .side { position: absolute; left: calc(100% + 40px); top: 50%; transform: translateY(-50%); border-style: dashed; min-width: 160px; }
.org-chart .side::before { content: ""; position: absolute; right: 100%; top: 50%; width: 40px; border-top: 1px dashed var(--ink); }
.org-branches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; width: 100%; }
.org-branches li { border: 1px solid var(--line); padding: 20px 24px; background: var(--paper); }
.org-branches h4 { font-family: var(--serif); font-size: 17px; margin-bottom: 4px; }
.org-branches p { font-size: 14px; color: var(--ink-2); }
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.people li { border: 1px solid var(--line); padding: 28px; text-align: center; }
.people .role { font-size: 13px; color: var(--red); font-weight: 700; }
.people .name { font-family: var(--serif); font-size: 22px; margin-top: 6px; }
.people .desc { font-size: 14px; color: var(--ink-3); margin-top: 6px; }
.tbl { border-top: 2px solid var(--ink); }
.tbl th, .tbl td { padding: 16px 20px; border-bottom: 1px solid var(--line); text-align: left; font-size: 15px; }
.tbl th { background: var(--paper); font-weight: 600; width: 200px; }
.tbl thead th { width: auto; text-align: center; }
.tbl td.c { text-align: center; }

/* cards generic */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.cards.c4 { grid-template-columns: repeat(4, 1fr); }
.cards .item { display: block; border: 1px solid var(--line); background: #fff; transition: .3s var(--ease); }
.cards .item:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.cards .item .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--paper-2); position: relative; }
.cards .item .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.cards .item:hover .thumb img { transform: scale(1.05); }
.cards .item .thumb .ph { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-size: 26px; color: var(--ink-3); background: linear-gradient(135deg, var(--paper), var(--paper-2)); }
.cards .item .body { padding: 22px 24px 26px; }
.cards .item h3 { font-size: 18px; font-weight: 600; margin: 6px 0; line-height: 1.5; }
.cards .item p { font-size: 14px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cards .item .meta { font-size: 13px; color: var(--ink-3); margin-top: 12px; }

/* filter bar */
.filter { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.filter .chips { display: flex; gap: 6px; flex-wrap: wrap; }
.filter .chips button { padding: 8px 18px; border: 1px solid var(--line); border-radius: 40px; font-size: 14px; color: var(--ink-2); }
.filter .chips button.on { background: var(--red); border-color: var(--red); color: #fff; }
.filter .chips button em { font-style: normal; opacity: .6; margin-left: 4px; font-size: 12px; }
.sch-box { display: flex; border: 1px solid var(--line); height: 46px; }
.sch-box input { border: 0; padding: 0 16px; width: 260px; outline: none; }
.sch-box button { width: 46px; display: grid; place-items: center; background: var(--ink); color: #fff; }
.total { font-size: 15px; color: var(--ink-2); }
.total b { color: var(--red); }

/* board list */
.board { border-top: 2px solid var(--ink); }
.board li a { display: grid; grid-template-columns: 80px 130px 1fr 120px; align-items: center; gap: 16px; padding: 22px 10px; border-bottom: 1px solid var(--line); transition: background .2s; }
.board li a:hover { background: var(--paper); }
.board .no { text-align: center; color: var(--ink-3); font-size: 14px; }
.board .cat { font-size: 13px; color: var(--red); font-weight: 600; }
.board .tt { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board .tt .n { display: inline-block; font-size: 11px; background: var(--red); color: #fff; padding: 0 6px; border-radius: 3px; margin-left: 6px; vertical-align: 2px; }
.board .date { text-align: right; font-size: 14px; color: var(--ink-3); }
.board .empty { padding: 80px 0; text-align: center; color: var(--ink-3); }
.view-mode { display: flex; gap: 4px; }
.view-mode button { width: 40px; height: 40px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-3); }
.view-mode button.on { border-color: var(--ink); color: var(--ink); }
.pager { display: flex; justify-content: center; gap: 4px; margin-top: 50px; }
.pager button { min-width: 40px; height: 40px; border: 1px solid var(--line); font-size: 14px; }
.pager button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.pager button:disabled { opacity: .3; cursor: default; }

/* article view */
.article-hd { border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); padding: 36px 0 28px; }
.article-hd h2 { font-family: var(--serif); font-size: 32px; line-height: 1.45; margin: 10px 0 16px; }
.article-hd .info { display: flex; gap: 20px; font-size: 14px; color: var(--ink-3); flex-wrap: wrap; }
.article-body { padding: 50px 0; font-size: 17px; line-height: 2; color: var(--ink-2); }
.article-body figure { margin: 0 0 40px; }
.article-body figure img { margin: 0 auto; max-height: 560px; width: auto; }
.article-body p { margin-bottom: 20px; }
.article-ft { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 30px; gap: 10px; flex-wrap: wrap; }
.prev-next { border-top: 1px solid var(--ink); margin-top: 40px; }
.prev-next a { display: grid; grid-template-columns: 100px 1fr; padding: 16px 10px; border-bottom: 1px solid var(--line); font-size: 15px; }
.prev-next a:hover { background: var(--paper); }
.prev-next span { color: var(--ink-3); }

/* festival */
.fest-item .thumb .region { position: absolute; left: 14px; top: 14px; background: rgba(28,26,23,.85); color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 3px; z-index: 1; }

/* map */
.map-wrap { display: grid; grid-template-columns: 460px 1fr; gap: 48px; align-items: start; }
.korea-map { position: sticky; top: 180px; background: var(--paper); border: 1px solid var(--line); padding: 30px; }
.korea-map svg { width: 100%; height: auto; }
.korea-map .rg { cursor: pointer; transition: .2s; }
.korea-map .rg circle { fill: var(--indigo); opacity: .85; transition: .25s; }
.korea-map .rg text { font-size: 13px; fill: var(--ink); font-weight: 600; font-family: var(--sans); }
.korea-map .rg .cnt { fill: #fff; font-size: 12px; }
.korea-map .rg:hover circle, .korea-map .rg.on circle { fill: var(--red); opacity: 1; }
.korea-map .land { fill: #fff; stroke: var(--line); stroke-width: 2; }
.korea-map .tip { font-size: 13px; color: var(--ink-3); margin-top: 12px; text-align: center; }
.group-list .grp { margin-bottom: 40px; }
.group-list .grp h3 { font-family: var(--serif); font-size: 22px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); margin-bottom: 4px; display: flex; justify-content: space-between; align-items: baseline; }
.group-list .grp h3 small { font-family: var(--sans); font-size: 14px; color: var(--ink-3); font-weight: 400; }
.group-list .grp ul { display: grid; grid-template-columns: repeat(2, 1fr); }
.group-list .grp li a { display: flex; justify-content: space-between; align-items: center; padding: 14px 6px; border-bottom: 1px solid var(--line); }
.group-list .grp li a:hover { color: var(--red); }
.group-list .grp li a::after { content: "→"; color: var(--ink-3); font-size: 13px; }
.group-list .grp.hide { display: none; }

/* archive */
.acv-cat { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 80px; }
.acv-cat a { background: #fff; padding: 32px 28px; display: flex; flex-direction: column; gap: 10px; transition: .25s; }
.acv-cat a:hover { background: var(--indigo); color: #fff; }
.acv-cat a svg { width: 36px; height: 36px; stroke: var(--red); }
.acv-cat a:hover svg { stroke: #e8c784; }
.acv-cat b { font-size: 18px; }
.acv-cat span { font-size: 14px; color: var(--ink-3); }
.acv-cat a:hover span { color: rgba(255,255,255,.7); }

/* special */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); margin-bottom: 40px; scroll-margin-top: 180px; }
.story:nth-child(even) .story-v { order: 2; }
.story-v { background: var(--ink); color: #fff; padding: 60px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; position: relative; overflow: hidden; }
.story-v .yr { font-family: var(--serif); font-size: 120px; font-weight: 900; line-height: 1; color: rgba(255,255,255,.08); position: absolute; top: 30px; right: 30px; }
.story-v .no { font-family: var(--serif); color: #e8c784; }
.story-v h3 { font-family: var(--serif); font-size: 36px; margin-top: 10px; }
.story-t { padding: 60px; display: flex; flex-direction: column; justify-content: center; }
.story-t p { color: var(--ink-2); margin-bottom: 16px; }
.story-t .kw { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.story:nth-child(3n+2) .story-v { background: var(--red-d); }
.story:nth-child(3n) .story-v { background: var(--indigo); }

/* society */
.soc-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 40px; }
.soc-intro .v { aspect-ratio: 4/3; background: var(--paper) center/cover; border-radius: var(--radius); }
.soc-intro h3 { font-family: var(--serif); font-size: 32px; line-height: 1.45; margin-bottom: 20px; }
.soc-intro p { color: var(--ink-2); margin-bottom: 14px; }
.prog { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.prog li { border-top: 3px solid var(--ink); padding: 22px 4px; }
.prog li:hover { border-color: var(--red); }
.prog b { font-family: var(--serif); font-size: 19px; display: block; margin-bottom: 6px; }
.prog p { font-size: 14px; color: var(--ink-2); }

/* contest */
.contest-list li { display: grid; grid-template-columns: 80px 1fr auto; gap: 30px; align-items: center; padding: 30px 20px; border-bottom: 1px solid var(--line); transition: background .2s; }
.contest-list { border-top: 2px solid var(--ink); }
.contest-list li:hover { background: var(--paper); }
.contest-list .n { font-family: var(--serif); font-size: 36px; color: var(--red); font-weight: 700; }
.contest-list h3 { font-family: var(--serif); font-size: 22px; }
.contest-list p { font-size: 15px; color: var(--ink-2); }

/* location */
.map-box { aspect-ratio: 21/9; background: var(--paper); border: 1px solid var(--line); margin-bottom: 40px; }
.map-box iframe { width: 100%; height: 100%; border: 0; }
.loc-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.loc-info li { background: #fff; padding: 36px; }
.loc-info b { display: block; font-size: 14px; color: var(--red); margin-bottom: 10px; letter-spacing: .05em; }
.loc-info p { font-size: 17px; }

/* form */
.form { max-width: 860px; margin: 0 auto; border-top: 2px solid var(--ink); }
.form .row { display: grid; grid-template-columns: 180px 1fr; border-bottom: 1px solid var(--line); }
.form .row > label, .form .row > .lb { background: var(--paper); padding: 20px; font-weight: 600; font-size: 15px; }
.form .row > label em, .form .row > .lb em { color: var(--red); font-style: normal; margin-left: 2px; }
.form .row > div { padding: 12px 20px; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form select, .form textarea { width: 100%; border: 1px solid var(--line); padding: 10px 14px; outline: none; background: #fff; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--ink); }
.form textarea { min-height: 200px; resize: vertical; }
.form .radios { display: flex; gap: 20px; flex-wrap: wrap; padding-top: 8px; }
.form .agree { padding: 24px 0; font-size: 14px; }
.form .agree .box { height: 120px; overflow-y: auto; border: 1px solid var(--line); padding: 16px; color: var(--ink-2); margin-bottom: 12px; background: var(--paper); }
.form .err { color: var(--red); font-size: 13px; margin-top: 4px; display: none; }
.form .invalid .err { display: block; }
.form .invalid input, .form .invalid textarea, .form .invalid select { border-color: var(--red); }
.form .submit { text-align: center; margin-top: 30px; }
.support { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.support li { padding: 40px 32px; background: var(--paper); border-top: 3px solid var(--red); }
.support h4 { font-family: var(--serif); font-size: 22px; margin-bottom: 10px; }
.support p { color: var(--ink-2); font-size: 15px; }

.toast { position: fixed; left: 50%; bottom: 40px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 16px 28px; border-radius: 40px; z-index: 500; opacity: 0; transition: .35s; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1200px) {
  .gnb > li > a { padding: 0 14px; font-size: 16px; }
  .gnb > li > a::after { left: 14px; right: 14px; }
  .biz-grid { grid-template-columns: repeat(2, 1fr); }
  .prog { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  :root { --hd-h: 70px; }
  .wrap { padding: 0 20px; }
  .topbar { display: none; }
  .gnb { display: none; }
  .hd-btns { margin-left: auto; }
  .btn-menu { display: grid !important; }
  .logo img { height: 40px; }
  .hero { height: 78vh; min-height: 520px; }
  .hero .calli { right: 4%; height: 70%; opacity: .25; }
  .quick ul { grid-template-columns: repeat(3, 1fr); }
  .quick li a { border-bottom: 1px solid rgba(255,255,255,.1); }
  .sec { padding: 80px 0; }
  .sec-hd h2 { font-size: 30px; }
  .intro .wrap, .news-main, .greeting, .map-wrap, .soc-intro { grid-template-columns: 1fr; gap: 40px; }
  .intro .big-year { font-size: 120px; }
  .card { flex-basis: calc((100% - 24px) / 2); }
  .special-grid, .cards, .cards.c4, .people, .org-branches, .support { grid-template-columns: repeat(2, 1fr); }
  .acv, .acv-cat { grid-template-columns: repeat(2, 1fr); }
  #footer .f-body { grid-template-columns: 1fr; gap: 24px; }
  .cta .wrap { flex-direction: column; align-items: flex-start; }
  .greeting .photo { position: static; max-width: 360px; }
  .korea-map { position: static; }
  .hist-era { grid-template-columns: 1fr; gap: 24px; }
  .hist-era .era { position: static; }
  .story, .story:nth-child(even) { grid-template-columns: 1fr; }
  .story:nth-child(even) .story-v { order: 0; }
  .org-chart .side { position: static; transform: none; margin-top: 16px; }
  .org-chart .side::before { display: none; }
  .lnb { top: var(--hd-h); }
  .lnb .crumb > li > button { min-width: 150px; }
}
@media (max-width: 680px) {
  body { font-size: 15px; }
  .hero .copy p { font-size: 16px; }
  .hero-ctrl .bar { width: 100px; }
  .quick li a { padding: 20px 6px; font-size: 13px; }
  .quick svg { width: 26px; height: 26px; }
  .sec-hd { flex-direction: column; align-items: flex-start; }
  .sec-hd h2, .page-title h2 { font-size: 26px; }
  .intro h2 { font-size: 26px; }
  .stats li { padding: 24px 20px; }
  .stats strong { font-size: 32px; }
  .news-feature .txt { padding: 24px; }
  .news-feature h3 { font-size: 20px; }
  .card { flex-basis: 80%; }
  .special-grid, .cards, .cards.c4, .people, .org-branches, .support, .biz-grid, .loc-info, .prog { grid-template-columns: 1fr; }
  .acv { grid-template-columns: 1fr 1fr; gap: 10px; }
  .acv .txt { left: 14px; bottom: 12px; }
  .acv .txt b { font-size: 17px; }
  .cta h2 { font-size: 24px; }
  .sub-visual { height: 240px; }
  .sub-visual h1 { font-size: 32px; }
  .lnb .crumb > li:first-child { display: none; }
  .lnb .share { display: none; }
  .lnb .crumb > li > button { min-width: 0; }
  .sub-cont { padding: 50px 0 90px; }
  .board li a { grid-template-columns: 1fr; gap: 4px; padding: 18px 6px; }
  .board .no { display: none; }
  .board .date { text-align: left; }
  .greeting .lead { font-size: 24px; }
  .hist-list li { grid-template-columns: 1fr; gap: 2px; }
  .hist-nav { width: 100%; }
  .hist-nav a { flex: 1; padding: 10px 4px; text-align: center; font-size: 13px; }
  .group-list .grp ul { grid-template-columns: 1fr; }
  .contest-list li { grid-template-columns: 50px 1fr; }
  .contest-list li .btn { grid-column: 2; justify-self: start; }
  .story-v, .story-t { padding: 36px 28px; }
  .form .row { grid-template-columns: 1fr; }
  .form .row > label, .form .row > .lb { padding: 12px 16px; }
  .sch-box input { width: 100%; }
  .sch-box { width: 100%; }
  .map-box { aspect-ratio: 4/3; }
  .tbl th { width: 110px; }
  .tbl th, .tbl td { padding: 12px; }
  .top-btn { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .rv { opacity: 1; transform: none; }
}
