@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@500;600;700;800;900&display=swap');
/* =========================================================
 *  대한창업지원협회(KSSA) 데모 — 디자인 시스템 v2
 *  레퍼런스: 국민체육진흥공단(ksponco) 식 공공기관 포털
 *  → 라이트/화이트 인스티튜셔널 베이스 + 블루(신뢰)·그린(성장)
 *  → 솔리드 GNB · 메인비주얼 롤링배너 · 통합검색 · 공지보드 우선
 *  ※ 운송포탈 데모와 의도적으로 다른 톤·구조·폰트(Archivo)·인터랙션
 * =======================================================*/

:root {
  /* Brand — institutional blue + growth green */
  --blue: #1657c4;
  --blue-2: #0f43a0;
  --blue-deep: #0a2c6b;
  --green: #0f9d6e;
  --green-2: #0b7c57;
  --mint: #19b889;

  --ink: #17223c;
  --ink-soft: #56627d;
  --muted: #8995ad;
  --line: #e3e9f3;
  --line-2: #d2dae8;

  --bg: #ffffff;
  --bg-soft: #f4f7fc;
  --bg-tint: #eaf1fb;          /* institutional band */
  --bg-tint-2: #e9f6f0;        /* green tint */
  --navy: #102036;             /* reserved: admin/map/overlay only */
  --navy-2: #16243c;

  --grad: linear-gradient(120deg, var(--blue) 0%, var(--green) 100%);
  --grad-r: linear-gradient(120deg, var(--green) 0%, var(--blue) 100%);
  --grad-soft: linear-gradient(135deg, rgba(22,87,196,.12), rgba(15,157,110,.12));

  --shadow-card: 0 22px 50px -30px rgba(13, 38, 92, .42);
  --shadow-soft: 0 14px 32px -22px rgba(13, 38, 92, .24);
  --shadow-bar: 0 6px 26px -16px rgba(13, 38, 92, .40);

  --maxw: 1220px;
  --header-h: 102px;
  --r: 14px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  --font-ko: "Pretendard", system-ui, -apple-system, "Segoe UI", "Malgun Gothic", sans-serif;
  --font-en: "Archivo", var(--font-ko);
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  font-family: var(--font-ko);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; margin: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.en { font-family: var(--font-en); font-weight: 800; letter-spacing: -.01em; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* =========================================================
 *  Header — solid white GNB (always light)
 * =======================================================*/
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: #fff; border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.header .util {
  height: 38px; display: flex; align-items: center; justify-content: flex-end; gap: 20px;
  font-size: 12.5px; color: var(--ink-soft); border-bottom: 1px solid var(--line);
}
.header .util a { display: inline-flex; align-items: center; gap: 5px; }
.header .util a:hover { color: var(--blue); }
.header .util .sep { color: var(--line-2); }
.header .bar { height: calc(var(--header-h) - 38px); display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.header .logo { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.header .logo .mark { width: 44px; height: 44px; flex: none; }
.header .logo b { font-family: var(--font-en); font-weight: 800; font-size: 21px; letter-spacing: .01em; display: block; line-height: 1; }
.header .logo small { display: block; font-size: 12px; letter-spacing: .01em; color: var(--ink-soft); font-weight: 600; margin-top: 3px; }
.header nav { display: flex; gap: 38px; }
.header nav > a { color: var(--ink); font-weight: 700; font-size: 17px; position: relative; padding: 12px 0; }
.header nav > a::after { content: ""; position: absolute; left: 0; bottom: 4px; width: 0; height: 3px; background: var(--grad); border-radius: 3px; transition: width .3s var(--ease); }
.header nav > a:hover { color: var(--blue); }
.header nav > a:hover::after, .header nav > a.on::after { width: 100%; }
.header .head-cta { display: flex; align-items: center; gap: 10px; }
.header.solid { box-shadow: var(--shadow-bar); }
.menu-toggle { display: none; background: none; border: none; width: 42px; height: 42px; color: var(--ink); }

/* =========================================================
 *  Buttons
 * =======================================================*/
.btn-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: 999px;
  font-weight: 700; font-size: 14px; border: 1.5px solid transparent; transition: .26s var(--ease); white-space: nowrap;
}
.btn-pill.solid { background: var(--grad); color: #fff; box-shadow: 0 12px 24px -14px rgba(22,87,196,.8); }
.btn-pill.solid:hover { transform: translateY(-2px); box-shadow: 0 18px 30px -14px rgba(22,87,196,.9); }
.btn-pill.ghost { border-color: var(--line-2); color: var(--ink); background: #fff; }
.btn-pill.ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-pill .arr { transition: transform .26s var(--ease); }
.btn-pill:hover .arr { transform: translateX(4px); }

.more { display: inline-flex; align-items: center; gap: 9px; padding: 11px 22px; border-radius: 999px; border: 1.5px solid var(--line-2); color: var(--blue); font-weight: 700; font-size: 14px; transition: .26s var(--ease); background: #fff; }
.more:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.more.light { border-color: rgba(255,255,255,.6); color: #fff; background: transparent; }
.more.light:hover { background: #fff; color: var(--blue-2); }
.more .arr { transition: transform .26s; }
.more:hover .arr { transform: translateX(4px); }

.btn-primary { background: var(--grad); color: #fff; border: none; padding: 15px 30px; border-radius: 12px; font-weight: 700; font-size: 16px; box-shadow: 0 14px 26px -16px rgba(22,87,196,.8); transition: .24s var(--ease); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-line { background: #fff; border: 1.5px solid var(--line-2); color: var(--ink); padding: 14px 26px; border-radius: 12px; font-weight: 700; transition: .24s; display: inline-block; }
.btn-line:hover { border-color: var(--blue); color: var(--blue); }
.btn-sm { padding: 8px 16px; font-size: 13px; border-radius: 9px; font-weight: 700; border: 1px solid var(--line-2); background: #fff; transition: .2s; }
.btn-sm:hover { border-color: var(--blue); color: var(--blue); }

/* =========================================================
 *  Hero — contained main-visual rolling banner
 * =======================================================*/
.hero { position: relative; margin-top: var(--header-h); height: clamp(500px, 70vh, 660px); overflow: hidden; background: var(--navy); }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility .9s; }
.hero-slide.on { opacity: 1; visibility: visible; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img, .hero-bg video { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(8,19,42,.82) 0%, rgba(8,19,42,.55) 40%, rgba(8,19,42,.12) 78%, rgba(8,19,42,.04) 100%),
  linear-gradient(0deg, rgba(8,19,42,.42), transparent 36%); }
.hero-slide .inner { position: relative; z-index: 2; height: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; display: flex; flex-direction: column; justify-content: center; }
.hero .eyebrow { color: #6ff0c2; }
.hero-kw { font-family: var(--font-en); font-weight: 900; color: #fff; font-size: clamp(44px, 7.4vw, 104px); line-height: .96; letter-spacing: -.02em; margin: 12px 0 0;
  opacity: 0; transform: translateY(34px); }
.hero-slide.on .hero-kw { animation: heroUp .8s var(--ease) .12s forwards; }
.hero-kw .accent { display: inline-block; font-size: clamp(20px, 2.4vw, 34px); font-weight: 700; font-family: var(--font-ko); color: #cfe0ff; letter-spacing: 0; margin-left: 8px; }
.hero-copy { color: #fff; font-size: clamp(18px, 2vw, 26px); font-weight: 700; margin-top: 22px; max-width: 660px;
  opacity: 0; transform: translateY(34px); }
.hero-slide.on .hero-copy { animation: heroUp .8s var(--ease) .28s forwards; }
.hero-copy small { display: block; color: #cdd9ef; font-weight: 500; font-size: 15.5px; margin-top: 11px; line-height: 1.7; }
.hero-cta { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; opacity: 0; transform: translateY(34px); }
.hero-slide.on .hero-cta { animation: heroUp .8s var(--ease) .42s forwards; }
.hero .btn-pill.ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); color: #fff; }
.hero .btn-pill.ghost:hover { background: #fff; color: var(--blue-2); border-color: #fff; }
@keyframes heroUp { to { opacity: 1; transform: none; } }

/* banner controls */
.hero-controls { position: absolute; left: 0; right: 0; bottom: 78px; z-index: 5; display: flex; align-items: center; justify-content: center; gap: 16px; }
.hero-dots { display: flex; gap: 9px; }
.hero-dots button { width: 34px; height: 4px; border-radius: 4px; border: none; background: rgba(255,255,255,.35); padding: 0; transition: .3s; position: relative; overflow: hidden; }
.hero-dots button.on { width: 56px; }
.hero-dots button.on i { position: absolute; inset: 0; width: 0; background: #fff; }
.hero-dots button.on.run i { animation: dotFill 6s linear forwards; }
@keyframes dotFill { to { width: 100%; } }
.hero-num { color: #fff; font-family: var(--font-en); font-weight: 700; font-size: 13px; letter-spacing: .1em; }
.hero-num b { font-size: 17px; }
.hero-pp { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; }
.hero-pp svg { width: 13px; height: 13px; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(10,20,40,.3); color: #fff; display: grid; place-items: center; transition: .25s; }
.hero-arrow:hover { background: var(--grad); border-color: transparent; }
.hero-arrow.prev { left: 24px; } .hero-arrow.next { right: 24px; }
.hero-arrow svg { width: 22px; height: 22px; }

/* =========================================================
 *  Quick access — 통합검색 + 아이콘 숏컷 (overlaps banner)
 * =======================================================*/
.quick { position: relative; z-index: 6; margin-top: -52px; }
.quick-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-card); overflow: hidden; }
.quick-search { display: flex; align-items: center; gap: 12px; padding: 18px 24px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.quick-search .qs-label { font-family: var(--font-en); font-weight: 800; font-size: 13px; letter-spacing: .12em; color: var(--blue); white-space: nowrap; }
.quick-search form { flex: 1; display: flex; gap: 10px; }
.quick-search input { flex: 1; border: 1px solid var(--line-2); background: #fff; border-radius: 999px; padding: 12px 20px; font-size: 15px; font-family: inherit; color: var(--ink); }
.quick-search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22,87,196,.12); }
.quick-search button { border: none; background: var(--grad); color: #fff; border-radius: 999px; padding: 0 22px; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 7px; }
.quick-search button svg { width: 17px; height: 17px; }
.quick-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.quick-item { display: flex; flex-direction: column; align-items: center; gap: 13px; padding: 30px 16px; text-align: center; border-right: 1px solid var(--line); transition: .28s var(--ease); }
.quick-item:last-child { border-right: none; }
.quick-item .qi { width: 58px; height: 58px; border-radius: 50%; background: var(--grad-soft); display: grid; place-items: center; transition: .32s var(--ease); }
.quick-item .qi svg { width: 28px; height: 28px; stroke: var(--blue); transition: .32s; fill: none; }
.quick-item span { font-weight: 700; font-size: 15.5px; }
.quick-item small { color: var(--ink-soft); font-size: 12.5px; }
.quick-item:hover { background: var(--bg-soft); }
.quick-item:hover .qi { background: var(--grad); transform: translateY(-3px); }
.quick-item:hover .qi svg { stroke: #fff; }

/* =========================================================
 *  Section scaffolding
 * =======================================================*/
section { position: relative; }
.section-pad { padding: clamp(64px, 9vh, 116px) 0; }
.section-pad.tint { background: var(--bg-soft); }
.eyebrow { font-family: var(--font-en); font-weight: 800; letter-spacing: .2em; font-size: 13px; color: var(--blue); text-transform: uppercase; }
.section-head { max-width: 760px; margin: 0 0 40px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head h2 { font-size: clamp(28px, 3.8vw, 44px); font-weight: 800; letter-spacing: -.02em; margin: 14px 0 12px; }
.section-head p { color: var(--ink-soft); font-size: 16.5px; line-height: 1.75; margin: 0; }
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.sec-head-row .section-head { margin-bottom: 0; }

/* =========================================================
 *  Notice / news board (front-and-center, ksponco style)
 * =======================================================*/
.board-tabs { display: flex; gap: 8px; margin-bottom: 26px; flex-wrap: wrap; }
.board-tabs button { padding: 10px 24px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; font-weight: 700; font-size: 15px; color: var(--ink-soft); transition: .24s var(--ease); }
.board-tabs button.on { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 12px 22px -14px rgba(22,87,196,.7); }
.board-list { border-top: 2px solid var(--ink); }
.board-list a, .board-list .row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 20px 14px; border-bottom: 1px solid var(--line); transition: .18s; }
.board-list a:hover { background: var(--bg-soft); padding-left: 22px; }
.board-list .bl-cat { font-size: 12px; font-weight: 700; color: var(--blue); background: var(--bg-tint); padding: 5px 13px; border-radius: 999px; white-space: nowrap; }
.board-list .bl-title { font-weight: 600; font-size: 16.5px; display: flex; align-items: center; gap: 10px; min-width: 0; }
.board-list .bl-title b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.board-list .bl-new { font-family: var(--font-en); font-size: 10px; font-weight: 800; color: #fff; background: var(--green); border-radius: 4px; padding: 2px 5px; }
.board-list .bl-date { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.preview-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.press-card { display: grid; grid-template-columns: 124px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.press-card .thumb { width: 124px; height: 84px; border-radius: 10px; overflow: hidden; background: var(--bg-tint); }
.press-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.press-card h4 { margin: 0 0 8px; font-size: 16px; line-height: 1.45; }
.press-card p { margin: 0; color: var(--ink-soft); font-size: 13.5px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.press-card .date { color: var(--muted); font-size: 12.5px; margin-top: 8px; }

/* =========================================================
 *  Programs — 사업안내 card grid
 * =======================================================*/
.prog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.prog-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-soft); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; display: flex; flex-direction: column; }
.prog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: rgba(22,87,196,.35); }
.prog-card .thumb { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.prog-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.prog-card:hover .thumb img { transform: scale(1.07); }
.prog-card .thumb .tag { position: absolute; left: 14px; top: 14px; font-family: var(--font-en); font-weight: 800; letter-spacing: .1em; color: #fff; font-size: 11px; background: rgba(10,20,40,.55); backdrop-filter: blur(4px); padding: 5px 11px; border-radius: 999px; }
.prog-card .pc-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.prog-card h3 { font-size: 19px; font-weight: 800; margin: 0 0 10px; }
.prog-card p { color: var(--ink-soft); line-height: 1.7; margin: 0 0 16px; font-size: 14px; }
.prog-card .feat { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.prog-card .feat span { font-size: 12px; color: var(--blue-2); background: var(--bg-tint); border-radius: 999px; padding: 5px 11px; font-weight: 600; }
.prog-card .more { margin-top: auto; align-self: flex-start; padding: 9px 18px; font-size: 13px; }

/* =========================================================
 *  Stats — light institutional band
 * =======================================================*/
.stats { background: var(--bg-tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat { padding: 8px 0; }
.stat .v { font-family: var(--font-en); font-weight: 900; font-size: clamp(36px, 5vw, 56px); line-height: 1; color: var(--blue); }
.stat .v span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .l { margin-top: 10px; font-size: 15px; color: var(--ink-soft); font-weight: 600; }

/* =========================================================
 *  Partners
 * =======================================================*/
.partner-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.partner-grid .p { height: 84px; background: #fff; border: 1px solid var(--line); border-radius: 12px; display: grid; place-items: center; color: var(--muted); font-weight: 800; font-family: var(--font-en); letter-spacing: .02em; font-size: 15px; transition: .28s; }
.partner-grid .p:hover { color: var(--blue); border-color: rgba(22,87,196,.4); transform: translateY(-3px); box-shadow: var(--shadow-soft); }

/* =========================================================
 *  Contact CTA (colored band — accent)
 * =======================================================*/
.contact { background: linear-gradient(120deg, var(--blue-2) 0%, var(--blue) 45%, var(--green-2) 100%); color: #fff; position: relative; overflow: hidden; }
.contact .iso { position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px); background-size: 46px 46px; transform: perspective(600px) rotateX(56deg) scale(1.6); transform-origin: bottom; }
.contact .c-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.contact h2 { font-family: var(--font-en); font-weight: 800; font-size: clamp(30px, 5vw, 60px); margin: 0; letter-spacing: -.01em; }
.contact p { color: rgba(255,255,255,.92); margin: 12px 0 0; font-size: 17px; }
.contact .btn-pill.ghost { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); color: #fff; }
.contact .btn-pill.ghost:hover { background: #fff; color: var(--blue-2); border-color: #fff; }

/* =========================================================
 *  Footer — light institutional
 * =======================================================*/
.footer { background: var(--bg-soft); color: var(--ink-soft); padding: 60px 0 34px; border-top: 1px solid var(--line); }
.footer .f-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.footer .logo { color: var(--ink); margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.footer .logo .mark { width: 42px; height: 42px; }
.footer .logo b { font-family: var(--font-en); font-weight: 800; font-size: 20px; display: block; line-height: 1; }
.footer .logo small { display: block; font-size: 11px; letter-spacing: .03em; color: var(--ink-soft); margin-top: 3px; }
.footer .f-info { font-size: 14px; line-height: 1.9; color: var(--ink-soft); }
.footer h5 { color: var(--ink); font-size: 15px; margin: 0 0 16px; }
.footer ul li { margin-bottom: 11px; font-size: 14px; }
.footer ul li a:hover { color: var(--blue); }
.footer .f-bottom { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); flex-wrap: wrap; gap: 12px; }
.footer .f-bottom .badges { display: flex; gap: 8px; }
.footer .f-bottom .badges span { border: 1px solid var(--line-2); border-radius: 6px; padding: 5px 10px; font-size: 11px; color: var(--ink-soft); }

/* =========================================================
 *  Floating buttons
 * =======================================================*/
.floats { position: fixed; right: 20px; bottom: 22px; z-index: 900; display: flex; flex-direction: column; gap: 11px; }
.fab { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow-card); border: none; transition: transform .25s var(--ease); position: relative; }
.fab:hover { transform: translateY(-4px) scale(1.05); }
.fab.kakao { background: #FEE500; }
.fab.tel { background: var(--grad); }
.fab.top { background: #fff; border: 1px solid var(--line); opacity: 0; pointer-events: none; }
.fab.top.show { opacity: 1; pointer-events: auto; }
.fab.top svg { stroke: var(--ink); }
.fab svg { width: 25px; height: 25px; }
.fab .tip { position: absolute; right: 64px; top: 50%; transform: translateY(-50%); background: var(--navy); color: #fff; padding: 7px 13px; border-radius: 8px; font-size: 12px; white-space: nowrap; opacity: 0; pointer-events: none; transition: .2s; }
.fab:hover .tip { opacity: 1; }

/* =========================================================
 *  Reveal
 * =======================================================*/
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* =========================================================
 *  Sub-page generic
 * =======================================================*/
.page-hero { background: linear-gradient(180deg, var(--bg-tint), #fff); color: var(--ink); padding: calc(var(--header-h) + 56px) 0 52px; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 88% -20%, rgba(22,87,196,.10), transparent 55%), radial-gradient(46% 90% at 0% 120%, rgba(15,157,110,.10), transparent 60%); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--blue); }
.page-hero h1 { font-size: clamp(30px, 4.6vw, 50px); font-weight: 800; margin: 12px 0 0; letter-spacing: -.02em; }
.page-hero p { color: var(--ink-soft); margin: 14px 0 0; font-size: 16.5px; max-width: 720px; line-height: 1.7; }
.crumb { color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.crumb a:hover { color: var(--blue); }
.page-hero .wm { position: absolute; right: -6px; bottom: -42px; font-family: var(--font-en); font-weight: 900; font-size: clamp(90px, 16vw, 170px); color: rgba(22,87,196,.05); z-index: 0; pointer-events: none; }

/* sticky sub tab strip */
.subnav { position: sticky; top: var(--header-h); z-index: 500; background: #fff; border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 6px; overflow-x: auto; }
.subnav a { padding: 17px 22px; font-weight: 700; font-size: 15px; color: var(--ink-soft); border-bottom: 3px solid transparent; white-space: nowrap; }
.subnav a.on, .subnav a:hover { color: var(--blue); border-color: var(--blue); }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 34px; box-shadow: var(--shadow-soft); }

/* forms */
input.f, select.f, textarea.f { width: 100%; padding: 13px 15px; border: 1px solid var(--line-2); border-radius: 10px; font-size: 15px; font-family: inherit; color: var(--ink); background: #fff; transition: .2s; }
input.f:focus, select.f:focus, textarea.f:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22,87,196,.12); }
textarea.f { resize: vertical; min-height: 140px; }
.flabel { font-size: 14px; font-weight: 600; margin-bottom: 7px; display: block; }
.flabel .req { color: #e2483d; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
.fhelp { font-size: 12.5px; color: var(--ink-soft); margin-top: 6px; }
.checkrow { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink); }
.checkrow input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--blue); }

/* generic board table (sub-page) */
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.search-box { display: flex; gap: 8px; }
.search-box select.f { width: auto; }
.search-box input.f { width: 260px; }
.tbl { width: 100%; border-collapse: collapse; }
.tbl thead th { background: var(--bg-soft); color: var(--ink-soft); font-size: 13.5px; font-weight: 700; padding: 16px; text-align: left; border-top: 2px solid var(--ink); }
.tbl td { padding: 16px; border-bottom: 1px solid var(--line); font-size: 14.5px; vertical-align: middle; }
.tbl tbody tr { transition: .15s; cursor: pointer; }
.tbl tbody tr:hover { background: var(--bg-soft); }
.tbl .c-num { color: var(--muted); width: 70px; font-variant-numeric: tabular-nums; }
.tbl .c-date { color: var(--muted); width: 130px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl .c-views { color: var(--muted); width: 80px; text-align: center; }
.tbl .t-cat { font-size: 12px; font-weight: 700; color: var(--blue); }
.lock { color: var(--ink-soft); }
.tag-badge { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; display: inline-block; }
.tag-notice { background: #fdeceb; color: #d83a2c; }
.tag-info { background: var(--bg-tint); color: var(--blue); }
.tag-press { background: var(--bg-tint-2); color: var(--green-2); }

/* status pills */
.pill { padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; display: inline-block; }
.pill-wait { background: #fff5e6; color: #c47d12; }
.pill-done { background: var(--bg-tint-2); color: var(--green-2); }
.pill-active { background: var(--bg-tint); color: var(--blue); }
.pill-stop { background: #eef0f4; color: #6a7488; }
.pill-secret { background: #f2effb; color: #6d4bd0; }

/* detail accordion */
.bd-detail { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.bd-detail .inner { padding: 26px 16px; }
.bd-detail .meta { color: var(--ink-soft); font-size: 13px; margin-bottom: 14px; display: flex; gap: 16px; flex-wrap: wrap; }
.bd-detail .body { line-height: 1.85; color: var(--ink); font-size: 15px; }
.bd-detail .files { margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--line-2); }
.bd-detail .files a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--blue); margin-right: 18px; }
.bd-answer { margin-top: 18px; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--green); border-radius: 12px; padding: 20px; }
.bd-answer .who { font-weight: 700; color: var(--green-2); font-size: 14px; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }

/* pagination */
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 30px; }
.pager button { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; font-weight: 700; color: var(--ink-soft); transition: .2s; }
.pager button.on { background: var(--grad); color: #fff; border-color: transparent; }
.pager button:hover:not(.on) { border-color: var(--blue); color: var(--blue); }

/* faq accordion */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { display: flex; align-items: center; gap: 14px; padding: 22px 6px; font-weight: 700; font-size: 16.5px; cursor: pointer; }
.faq-q .qmark { font-family: var(--font-en); font-weight: 800; color: var(--blue); }
.faq-q .chev { margin-left: auto; transition: transform .3s; color: var(--ink-soft); }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a .inner { padding: 0 6px 24px 36px; color: var(--ink-soft); line-height: 1.8; }

/* ---------- About specifics ---------- */
.greet { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: center; }
.greet .photo { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-card); aspect-ratio: 4/3; }
.greet .photo img { width: 100%; height: 100%; object-fit: cover; }
.greet h3 { font-size: clamp(23px, 3.2vw, 34px); font-weight: 800; line-height: 1.4; margin: 0 0 20px; }
.greet p { color: var(--ink-soft); line-height: 1.9; font-size: 16px; margin: 0 0 16px; }
.greet .sign { margin-top: 24px; font-size: 15px; color: var(--ink); }
.greet .sign b { font-size: 22px; font-family: var(--font-en); }

.history { position: relative; max-width: 820px; margin: 0 auto; }
.history::before { content: ""; position: absolute; left: 120px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--blue), var(--green)); }
.hi-row { display: grid; grid-template-columns: 120px 1fr; gap: 36px; padding-bottom: 36px; position: relative; }
.hi-row .yr { font-family: var(--font-en); font-weight: 800; font-size: 26px; color: var(--blue); text-align: right; padding-right: 28px; }
.hi-row .ev { position: relative; }
.hi-row .ev::before { content: ""; position: absolute; left: -41px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--green); }
.hi-row .ev p { margin: 0 0 8px; line-height: 1.6; }
.hi-row .ev p b { color: var(--blue); font-family: var(--font-en); margin-right: 10px; }

.vision-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vision-card { text-align: center; padding: 40px 28px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.vision-card .ico { width: 70px; height: 70px; border-radius: 20px; background: var(--grad-soft); display: grid; place-items: center; margin: 0 auto 20px; }
.vision-card .ico svg { width: 34px; height: 34px; stroke: var(--blue); fill: none; }
.vision-card h3 { font-size: 20px; margin: 0 0 10px; }
.vision-card p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.7; margin: 0; }

.map-box { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: stretch; }
.map-vis { border-radius: 18px; overflow: hidden; min-height: 360px; background: var(--navy-2); position: relative; }
.map-vis .pin { position: absolute; left: 50%; top: 46%; transform: translate(-50%,-50%); }
.map-info h3 { font-size: 24px; margin: 0 0 20px; }
.map-info .row { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.map-info .row .k { width: 90px; flex: none; color: var(--ink-soft); font-weight: 700; font-size: 14px; }
.map-info .row .v { font-size: 15px; line-height: 1.6; }

/* ---------- Member (login/signup/mypage) ---------- */
.auth-wrap { max-width: 460px; margin: 0 auto; }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 40px; box-shadow: var(--shadow-card); }
.auth-card h2 { font-size: 26px; margin: 0 0 6px; text-align: center; }
.auth-card .sub { text-align: center; color: var(--ink-soft); font-size: 14px; margin-bottom: 28px; }
.auth-tabs { display: flex; background: var(--bg-soft); border-radius: 12px; padding: 5px; margin-bottom: 28px; }
.auth-tabs button { flex: 1; padding: 12px; border: none; background: none; border-radius: 9px; font-weight: 700; color: var(--ink-soft); transition: .24s; }
.auth-tabs button.on { background: #fff; color: var(--blue); box-shadow: var(--shadow-soft); }
.field { margin-bottom: 16px; }
.auth-foot { text-align: center; margin-top: 20px; font-size: 13.5px; color: var(--ink-soft); }
.divider { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 13px; margin: 24px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.mp-grid { display: grid; grid-template-columns: 250px 1fr; gap: 30px; align-items: start; }
.mp-side { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow-soft); }
.mp-side .avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 24px; font-family: var(--font-en); margin-bottom: 14px; }
.mp-side .name { font-weight: 800; font-size: 18px; }
.mp-side .email { color: var(--ink-soft); font-size: 13px; margin-top: 2px; }
.mp-side nav { margin-top: 22px; display: flex; flex-direction: column; gap: 4px; }
.mp-side nav a { padding: 12px 14px; border-radius: 10px; font-weight: 600; font-size: 14.5px; color: var(--ink-soft); transition: .2s; }
.mp-side nav a.on, .mp-side nav a:hover { background: var(--bg-soft); color: var(--blue); }

/* ---------- Admin backoffice ---------- */
body.admin { background: var(--bg-soft); }
.admin-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.admin-side { background: var(--navy); color: #c3d0e6; padding: 26px 18px; position: sticky; top: 0; height: 100vh; }
.admin-side .brand { display: flex; align-items: center; gap: 10px; color: #fff; padding: 0 8px 24px; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 18px; }
.admin-side .brand .mark { width: 36px; height: 36px; }
.admin-side .brand b { font-family: var(--font-en); font-size: 16px; display: block; }
.admin-side .brand small { font-size: 10px; color: #7d90b0; letter-spacing: .1em; }
.admin-side nav a { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 10px; font-weight: 600; font-size: 14.5px; color: #aab8d4; transition: .2s; margin-bottom: 3px; }
.admin-side nav a svg { width: 19px; height: 19px; stroke: currentColor; fill: none; }
.admin-side nav a.on, .admin-side nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
.admin-side nav a.on { background: var(--grad); }
.admin-side .back { position: absolute; bottom: 24px; left: 18px; right: 18px; font-size: 13px; color: #7d90b0; }
.admin-main { padding: 30px 36px 60px; }
.admin-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.admin-top h1 { font-size: 24px; margin: 0; }
.admin-top .who { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-soft); }
.admin-top .who .av { width: 36px; height: 36px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 800; font-family: var(--font-en); }

.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 26px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: var(--shadow-soft); }
.kpi .top { display: flex; align-items: center; justify-content: space-between; }
.kpi .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--grad-soft); display: grid; place-items: center; }
.kpi .ico svg { width: 22px; height: 22px; stroke: var(--blue); fill: none; }
.kpi .v { font-family: var(--font-en); font-weight: 800; font-size: 34px; margin: 14px 0 2px; }
.kpi .l { color: var(--ink-soft); font-size: 13.5px; }
.kpi .delta { font-size: 12px; font-weight: 700; }
.kpi .delta.up { color: var(--green-2); } .kpi .delta.down { color: #d83a2c; }

.admin-cols { display: grid; grid-template-columns: 1.5fr 1fr; gap: 22px; }
.acard { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: var(--shadow-soft); }
.acard h3 { font-size: 17px; margin: 0 0 18px; display: flex; align-items: center; justify-content: space-between; }
.acard h3 .more-link { font-size: 13px; color: var(--blue); font-weight: 600; }
.bars { display: flex; align-items: flex-end; gap: 12px; height: 180px; padding-top: 10px; }
.bars .bar { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; justify-content: flex-end; }
.bars .bar i { width: 100%; max-width: 38px; background: var(--grad); border-radius: 8px 8px 0 0; transition: height 1s var(--ease); display: block; }
.bars .bar span { font-size: 12px; color: var(--ink-soft); }
.mini-list li { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.mini-list li:last-child { border: none; }
.mini-list .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
.mini-list .mt { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-list .md { color: var(--muted); font-size: 12.5px; }

.admin-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.seg { display: flex; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 4px; }
.seg button { padding: 9px 16px; border: none; background: none; border-radius: 7px; font-weight: 700; font-size: 13.5px; color: var(--ink-soft); transition: .2s; }
.seg button.on { background: var(--grad); color: #fff; }

/* editor mock */
.editor-toolbar { display: flex; gap: 4px; flex-wrap: wrap; padding: 10px; border: 1px solid var(--line); border-bottom: none; border-radius: 10px 10px 0 0; background: var(--bg-soft); }
.editor-toolbar button { width: 34px; height: 34px; border-radius: 7px; border: none; background: #fff; color: var(--ink-soft); font-weight: 800; font-size: 14px; }
.editor-toolbar button:hover { color: var(--blue); }
.editor-area { border: 1px solid var(--line); border-radius: 0 0 10px 10px; min-height: 240px; padding: 18px; font-size: 15px; line-height: 1.8; }
.editor-area:focus { outline: none; border-color: var(--blue); }

/* modal */
.modal-back { position: fixed; inset: 0; background: rgba(8,18,40,.5); backdrop-filter: blur(3px); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal-back.on { display: flex; }
.modal { background: #fff; border-radius: 18px; width: 100%; max-width: 560px; max-height: 88vh; overflow: auto; box-shadow: var(--shadow-card); }
.modal .mhead { padding: 22px 26px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.modal .mhead h3 { margin: 0; font-size: 19px; }
.modal .mbody { padding: 26px; }
.modal .mfoot { padding: 18px 26px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 10px; }
.x-btn { background: none; border: none; font-size: 22px; color: var(--ink-soft); line-height: 1; }

/* toast */
.toast { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 14px 24px; border-radius: 12px; font-size: 14.5px; font-weight: 600; box-shadow: var(--shadow-card); opacity: 0; pointer-events: none; transition: .3s var(--ease); z-index: 3000; }
.toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }

/* =========================================================
 *  Responsive
 * =======================================================*/
@media (max-width: 1080px) {
  .prog-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 980px) {
  .header nav, .header .head-cta { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .vision-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-item:nth-child(odd) { border-right: 1px solid var(--line); }
  .quick-item { border-bottom: 1px solid var(--line); }
  .preview-cols, .greet, .map-box, .mp-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer .f-top { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: relative; height: auto; display: none; }
  .admin-cols { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .history::before { left: 70px; }
  .hi-row { grid-template-columns: 70px 1fr; gap: 24px; }
  .hi-row .yr { font-size: 20px; padding-right: 14px; }
  .hi-row .ev::before { left: -31px; }
  .subnav { top: 60px; }
}
@media (max-width: 600px) {
  :root { --header-h: 96px; }
  .stats-grid, .prog-grid, .partner-grid { grid-template-columns: 1fr; }
  .quick-grid { grid-template-columns: 1fr; }
  .quick-item { border-right: none !important; }
  .quick-search { flex-wrap: wrap; }
  .form-grid, .kpi-grid { grid-template-columns: 1fr; }
  .footer .f-top { grid-template-columns: 1fr; }
  .hero-arrow { display: none; }
  .search-box input.f { width: 150px; }
  .board-list a, .board-list .row { grid-template-columns: 1fr auto; }
  .board-list .bl-cat { display: none; }
  .auth-card, .panel { padding: 26px 20px; }
}
