@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.css");

/* =========================================================
   사단법인 나라꽃무궁화운동중앙회 — Design System
   ========================================================= */

:root {
  /* Brand — 태극 청/홍 + 무궁화 단심 */
  --navy-900: #071A33;
  --navy-800: #0C2648;
  --navy-700: #123561;
  --blue-600: #1B4F9C;
  --blue-500: #2A6FD1;
  --blue-100: #E6EEFA;
  --blue-50: #F2F6FD;

  --red-600: #C8102E;
  --rose-600: #D63C79;
  --rose-500: #E4609A;
  --rose-100: #FBE9F1;
  --rose-50: #FDF4F8;

  /* Neutrals */
  --ink: #14202F;
  --ink-2: #35465C;
  --muted: #64748B;
  --muted-2: #8B98A9;
  --line: #E3E8EF;
  --line-2: #EFF2F6;
  --bg: #FFFFFF;
  --bg-soft: #F6F8FB;
  --bg-deep: #0C2648;

  /* Type */
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "맑은 고딕", sans-serif;
  --font-serif: "Nanum Myeongjo", "Apple SD Gothic Neo", serif;

  /* Layout */
  --container: 1200px;
  --header-h: 76px;

  /* Radius */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* Shadow */
  --sh-1: 0 1px 2px rgba(12, 38, 72, .06), 0 2px 8px rgba(12, 38, 72, .05);
  --sh-2: 0 4px 12px rgba(12, 38, 72, .07), 0 12px 32px rgba(12, 38, 72, .08);
  --sh-3: 0 18px 48px rgba(12, 38, 72, .16);

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);

  /* 이 사이트는 밝은 테마 전용입니다.
     선언하지 않으면 안드로이드 크롬이 '자동 다크 테마'로 색을 강제로 뒤집어
     흰 배경이 검게, 본문이 흰 글씨로 바뀌며 디자인이 깨집니다.
     `only light` 가 그 자동 반전을 막는 공식 방법입니다. */
  color-scheme: only light;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; line-height: 1.35; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 999;
  padding: 12px 20px; background: var(--navy-800); color: #fff;
  border-radius: 0 0 var(--r-sm) var(--r-sm); font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-2);
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.site-header.is-stuck { box-shadow: var(--sh-1); border-color: var(--line); }

.header-inner {
  display: flex; align-items: center; gap: 28px;
  height: var(--header-h);
  max-width: var(--container); margin-inline: auto; padding-inline: 24px;
}

.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__ko { font-size: 17px; font-weight: 800; letter-spacing: -.045em; color: var(--navy-800); }
.brand__en { font-size: 9.5px; font-weight: 600; letter-spacing: .1em; color: var(--muted-2); text-transform: uppercase; }

/* --- Mugunghwa mark (SVG) --- */
.mark { display: block; }
.mark .mk-petals path { fill: var(--mk-petal, #E4609A); }
.mark .mk-rays path { stroke: var(--mk-ray, rgba(200, 16, 46, .55)); stroke-width: 4; stroke-linecap: round; }
.mark .mk-core { fill: var(--mk-core, #C8102E); }

.brand__mark { --mk-petal: #E4609A; --mk-ray: rgba(200, 16, 46, .5); }
.hero__motif { --mk-petal: rgba(255, 255, 255, .1); --mk-ray: rgba(255, 158, 196, .5); --mk-core: rgba(255, 158, 196, .55); }
.hero__motif--ghost, .page-hero__motif, .cta-band__motif { --mk-petal: #fff; --mk-ray: rgba(255, 255, 255, .6); --mk-core: #fff; }
.footer-brand__mark { --mk-petal: rgba(255, 255, 255, .34); --mk-ray: rgba(255, 255, 255, .5); --mk-core: #E4609A; }

/* --- Global nav (desktop) --- */
.gnb { display: flex; margin-left: auto; height: 100%; }
.gnb > ul { display: flex; height: 100%; }
.gnb__item { position: relative; display: flex; }
.gnb__link {
  display: flex; align-items: center; padding: 0 20px; height: 100%;
  font-size: 16px; font-weight: 600; letter-spacing: -.03em; color: var(--ink-2);
  position: relative; transition: color .2s var(--ease);
}
.gnb__link::after {
  content: ""; position: absolute; left: 20px; right: 20px; bottom: 18px; height: 2px;
  background: var(--red-600); border-radius: 2px;
  transform: scaleX(0); transform-origin: center; transition: transform .3s var(--ease);
}
.gnb__item:hover .gnb__link,
.gnb__item:focus-within .gnb__link,
.gnb__item.is-active .gnb__link { color: var(--navy-800); }
.gnb__item:hover .gnb__link::after,
.gnb__item:focus-within .gnb__link::after,
.gnb__item.is-active .gnb__link::after { transform: scaleX(1); }

.gnb__panel {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px);
  min-width: 232px; padding: 10px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--sh-2);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.gnb__item:hover .gnb__panel,
.gnb__item:focus-within .gnb__panel {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
}
.gnb__panel a {
  display: block; padding: 9px 14px; border-radius: var(--r-sm);
  font-size: 14.5px; font-weight: 500; color: var(--ink-2); white-space: nowrap;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.gnb__panel a:hover { background: var(--blue-50); color: var(--blue-600); }
.gnb__panel a.is-current { background: var(--blue-50); color: var(--blue-600); font-weight: 700; }

/* --- Header utilities --- */
.header-util { display: flex; align-items: center; gap: 8px; flex: none; }
.btn-support {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px; border-radius: 999px;
  background: var(--red-600); color: #fff; font-size: 14.5px; font-weight: 700;
  letter-spacing: -.02em; box-shadow: 0 4px 14px rgba(200, 16, 46, .28);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.btn-support:hover { background: #A80D26; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(200, 16, 46, .34); }

.menu-toggle {
  display: none; width: 44px; height: 44px; margin-right: -8px;
  align-items: center; justify-content: center; border-radius: var(--r-sm);
}
.menu-toggle span {
  display: block; position: relative; width: 22px; height: 2px; border-radius: 2px;
  background: var(--navy-800); transition: background .2s var(--ease);
}
.menu-toggle span::before, .menu-toggle span::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 2px; border-radius: 2px;
  background: var(--navy-800); transition: transform .3s var(--ease), top .2s var(--ease);
}
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }
.menu-toggle.is-open span { background: transparent; }
.menu-toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.menu-toggle.is-open span::after { top: 0; transform: rotate(-45deg); }

/* --- Mobile drawer --- */
.drawer {
  position: fixed; inset: var(--header-h) 0 0; z-index: 99;
  background: #fff; overflow-y: auto; overscroll-behavior: contain;
  padding: 8px 0 48px;
  transform: translateX(100%); visibility: hidden;
  transition: transform .34s var(--ease), visibility .34s;
}
.drawer.is-open { transform: none; visibility: visible; }
.drawer__group { border-bottom: 1px solid var(--line-2); }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 18px 24px; font-size: 17px; font-weight: 700; letter-spacing: -.03em; color: var(--navy-800);
}
.drawer__head svg { transition: transform .3s var(--ease); color: var(--muted-2); }
.drawer__head[aria-expanded="true"] svg { transform: rotate(180deg); }
.drawer__list { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .32s var(--ease); }
.drawer__head[aria-expanded="true"] + .drawer__list { grid-template-rows: 1fr; }
.drawer__list > div { overflow: hidden; }
.drawer__list a {
  display: block; padding: 11px 24px 11px 38px; font-size: 15px; color: var(--ink-2);
  position: relative;
}
.drawer__list a::before {
  content: ""; position: absolute; left: 24px; top: 50%; width: 4px; height: 4px;
  border-radius: 50%; background: var(--muted-2); transform: translateY(-50%);
}
.drawer__list a.is-current { color: var(--blue-600); font-weight: 700; }
.drawer__list a.is-current::before { background: var(--red-600); }
.drawer__foot { padding: 24px; }
.drawer__foot .btn-support { width: 100%; justify-content: center; padding: 14px; font-size: 16px; }

body.no-scroll { overflow: hidden; }

/* =========================================================
   HOME — HERO
   ========================================================= */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 78% 18%, rgba(42, 111, 209, .55) 0%, rgba(12, 38, 72, 0) 58%),
    radial-gradient(90% 80% at 12% 92%, rgba(214, 60, 121, .34) 0%, rgba(12, 38, 72, 0) 55%),
    linear-gradient(160deg, #0C2648 0%, #071A33 48%, #10305A 100%);
  color: #fff;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(80% 70% at 50% 40%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 40%, #000 20%, transparent 78%);
}
.hero__motif {
  position: absolute; right: -8%; top: 50%; transform: translateY(-50%);
  width: min(700px, 62vw); opacity: .95;
  animation: floaty 11s ease-in-out infinite;
  pointer-events: none;
}
.hero__motif--ghost {
  right: auto; left: -12%; top: 78%; width: min(420px, 46vw); opacity: .09;
  animation-duration: 15s; animation-direction: reverse;
}
@keyframes floaty {
  0%, 100% { transform: translateY(-50%) rotate(0deg); }
  50% { transform: translateY(-55%) rotate(-4deg); }
}
.hero__inner {
  position: relative; z-index: 2;
  max-width: var(--container); margin-inline: auto; padding: clamp(72px, 12vw, 148px) 24px clamp(84px, 11vw, 132px);
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 16px 7px 9px; margin-bottom: 26px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px; font-size: 13.5px; font-weight: 600; letter-spacing: .01em;
  backdrop-filter: blur(6px);
}
.hero__eyebrow b {
  padding: 3px 10px; border-radius: 999px; background: var(--red-600);
  font-size: 11.5px; font-weight: 800; letter-spacing: .06em;
}
.hero__title {
  font-size: clamp(38px, 7vw, 76px); font-weight: 800; line-height: 1.14; letter-spacing: -.045em;
  margin-bottom: 26px;
}
.hero__title .line { display: block; }
.hero__title em {
  font-style: normal;
  background: linear-gradient(100deg, #FF9EC4 0%, #FFC9DC 42%, #9EC5FF 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead {
  max-width: 30em; font-size: clamp(15.5px, 1.7vw, 18.5px); line-height: 1.85;
  color: rgba(255, 255, 255, .8); margin-bottom: 38px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 30px; border-radius: 999px;
  font-size: 16px; font-weight: 700; letter-spacing: -.02em;
  transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease);
}
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: #fff; color: var(--navy-800); box-shadow: 0 8px 26px rgba(0, 0, 0, .22); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(0, 0, 0, .28); }
.btn--ghost { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .26); }
.btn--ghost:hover { background: rgba(255, 255, 255, .16); transform: translateY(-2px); }
.btn--outline { border: 1.5px solid var(--line); color: var(--ink-2); background: #fff; }
.btn--outline:hover { border-color: var(--blue-500); color: var(--blue-600); }
.btn--sm { padding: 11px 22px; font-size: 14.5px; }

/* Hero stats strip */
.hero__stats {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, .14);
  max-width: var(--container); margin-inline: auto;
}
.hero__stats div { padding: 26px 24px; border-left: 1px solid rgba(255, 255, 255, .1); }
.hero__stats div:first-child { border-left: 0; padding-left: 24px; }
.hero__stats dt { font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .6); letter-spacing: .01em; }
.hero__stats dd {
  margin: 4px 0 0; font-size: clamp(21px, 2.6vw, 29px); font-weight: 800; letter-spacing: -.035em;
}
.hero__stats dd span { font-size: .55em; font-weight: 600; margin-left: 3px; color: rgba(255, 255, 255, .68); }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--soft { background: var(--bg-soft); }
.section--tint {
  background: linear-gradient(180deg, var(--rose-50) 0%, #fff 100%);
}

.section-head { max-width: 720px; margin-bottom: clamp(34px, 4.5vw, 54px); }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--red-600); border-radius: 2px; }
.section-head--center .eyebrow::before { display: none; }
.section-title {
  font-size: clamp(26px, 3.7vw, 40px); font-weight: 800; letter-spacing: -.04em; color: var(--navy-800);
}
.section-lead { margin-top: 16px; font-size: clamp(15px, 1.5vw, 17px); color: var(--muted); line-height: 1.85; }

/* --- Quick cards --- */
/* ※ 그리드 열은 반드시 `minmax(0, 1fr)` 로 씁니다.
      그냥 `1fr` 은 `minmax(auto, 1fr)` 이라서, 칸 안에 줄바꿈 안 되는 긴 글이나
      큰 이미지가 있으면 칸이 화면보다 넓어지고 페이지 전체가 가로로 스크롤됩니다. */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--sh-1);
  transition: transform .32s var(--ease), box-shadow .32s var(--ease), border-color .32s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--sh-2); border-color: #D6DEE9; }
.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--blue-50); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card__en { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rose-600); }
.card__title { margin-top: 7px; font-size: 19px; font-weight: 700; letter-spacing: -.035em; color: var(--navy-800); }
.card__desc { margin-top: 10px; font-size: 14.5px; line-height: 1.75; color: var(--muted); flex: 1; }
.card__more {
  margin-top: 18px; display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 700; color: var(--blue-600);
}
.card__more svg { transition: transform .25s var(--ease); }
.card:hover .card__more svg { transform: translateX(4px); }

/* --- Feature split --- */
.split {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center;
}
.split--rev .split__media { order: 2; }
.split__media { position: relative; }
.split__media img {
  width: 100%; border-radius: var(--r-lg); box-shadow: var(--sh-2);
}
.split__badge {
  position: absolute; left: -18px; bottom: -18px;
  padding: 18px 24px; background: var(--navy-800); color: #fff;
  border-radius: var(--r-md); box-shadow: var(--sh-3);
}
.split__badge strong { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.split__badge span { font-size: 12.5px; color: rgba(255, 255, 255, .68); }

.bullets { margin-top: 26px; display: grid; gap: 14px; }
.bullets li { position: relative; padding-left: 30px; font-size: 15.5px; color: var(--ink-2); line-height: 1.8; }
.bullets li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--rose-100);
  box-shadow: inset 0 0 0 4px var(--rose-500);
}

/* --- Notice / news block --- */
.board-block { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3.5vw, 44px); }
.board-panel {
  min-width: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 30px 12px; box-shadow: var(--sh-1);
}
.board-panel__head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 18px; border-bottom: 2px solid var(--navy-800);
}
.board-panel__head h3 { font-size: 20px; letter-spacing: -.035em; color: var(--navy-800); }
.board-panel__head a { font-size: 13px; font-weight: 600; color: var(--muted); }
.board-panel__head a:hover { color: var(--blue-600); }
.board-list li { border-bottom: 1px solid var(--line-2); min-width: 0; }
.board-list li:last-child { border-bottom: 0; }
.board-list a {
  display: flex; align-items: center; gap: 16px; padding: 15px 2px; min-width: 0;
  transition: color .2s var(--ease);
}
.board-list a:hover .board-list__title { color: var(--blue-600); text-decoration: underline; text-underline-offset: 3px; }
.board-list__title {
  flex: 1 1 0; min-width: 0; font-size: 15.5px; color: var(--ink-2);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  transition: color .2s var(--ease);
}
.board-list__date { flex: none; font-size: 13px; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.tag-new {
  flex: none; padding: 2px 7px; border-radius: 4px; background: var(--rose-100);
  color: var(--rose-600); font-size: 10.5px; font-weight: 800; letter-spacing: .04em;
}
.board-empty { padding: 40px 0; text-align: center; color: var(--muted-2); font-size: 14.5px; }

/* --- CTA band --- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--navy-800) 0%, var(--navy-900) 55%, #16386B 100%);
  color: #fff;
}
.cta-band__motif { position: absolute; right: 4%; top: -30%; width: 380px; opacity: .12; pointer-events: none; }
.cta-band__inner {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  padding: clamp(48px, 6.5vw, 76px) 24px;
  max-width: var(--container); margin-inline: auto;
}
.cta-band h2 { font-size: clamp(24px, 3.2vw, 36px); letter-spacing: -.04em; }
.cta-band p { margin-top: 12px; color: rgba(255, 255, 255, .72); font-size: 15.5px; line-height: 1.8; }

/* =========================================================
   SUB PAGE
   ========================================================= */
.page-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(140deg, var(--navy-800) 0%, #0A2140 55%, #16386B 100%);
  color: #fff;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 100% at 30% 50%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(70% 100% at 30% 50%, #000, transparent 80%);
}
.page-hero__motif {
  position: absolute; right: 3%; top: 50%; transform: translateY(-50%);
  width: 260px; opacity: .16; pointer-events: none;
}
.page-hero__inner {
  position: relative; z-index: 2;
  max-width: var(--container); margin-inline: auto; padding: clamp(48px, 7vw, 84px) 24px clamp(40px, 6vw, 68px);
}
.page-hero__en {
  font-size: 12.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--rose-500); margin-bottom: 12px;
}
.page-hero__title { font-size: clamp(28px, 4.4vw, 46px); font-weight: 800; letter-spacing: -.045em; }
.page-hero__desc { margin-top: 14px; max-width: 40em; color: rgba(255, 255, 255, .72); font-size: 15.5px; line-height: 1.8; }

/* Breadcrumb */
.breadcrumb-bar { border-bottom: 1px solid var(--line-2); background: #fff; }
.breadcrumb {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px;
  max-width: var(--container); margin-inline: auto; padding: 14px 24px;
  font-size: 13.5px; color: var(--muted);
}
.breadcrumb li { display: flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: "›"; color: var(--muted-2); margin-right: 2px; }
.breadcrumb a:hover { color: var(--blue-600); }
.breadcrumb [aria-current] { color: var(--navy-800); font-weight: 600; }

/* Body grid */
.page-body {
  display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px);
  max-width: var(--container); margin-inline: auto; padding: clamp(40px, 6vw, 76px) 24px clamp(64px, 9vw, 112px);
}

/* Side nav */
.side-nav { position: sticky; top: calc(var(--header-h) + 28px); align-self: start; }
.side-nav__title {
  padding-bottom: 18px; margin-bottom: 14px; border-bottom: 2px solid var(--navy-800);
  font-size: 21px; font-weight: 800; letter-spacing: -.04em; color: var(--navy-800);
}
.side-nav__list li { border-bottom: 1px solid var(--line-2); }
.side-nav__list a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 13px 14px 13px 4px; font-size: 15px; color: var(--ink-2);
  border-radius: var(--r-sm); transition: all .2s var(--ease);
}
.side-nav__list a:hover { background: var(--blue-50); color: var(--blue-600); padding-left: 12px; }
.side-nav__list a svg { opacity: 0; transition: opacity .2s var(--ease), transform .2s var(--ease); }
.side-nav__list a:hover svg { opacity: .6; }
.side-nav__list a.is-current {
  background: var(--navy-800); color: #fff; font-weight: 700; padding-left: 14px;
}
.side-nav__list a.is-current svg { opacity: 1; }
.side-nav__contact {
  margin-top: 26px; padding: 22px; border-radius: var(--r-md);
  background: var(--bg-soft); border: 1px solid var(--line);
}
.side-nav__contact strong { display: block; font-size: 14.5px; color: var(--navy-800); letter-spacing: -.03em; }
.side-nav__contact p { margin-top: 8px; font-size: 13px; color: var(--muted); line-height: 1.7; }
.side-nav__contact b { display: block; margin-top: 10px; font-size: 19px; font-weight: 800; color: var(--blue-600); letter-spacing: -.02em; }

/* =========================================================
   CONTENT TYPOGRAPHY (article.prose)
   ========================================================= */
.prose { font-size: 16px; line-height: 1.9; color: var(--ink-2); }
.prose > * + * { margin-top: 22px; }

.prose h2 {
  margin-top: 56px; padding-left: 16px; position: relative;
  font-size: clamp(21px, 2.4vw, 26px); font-weight: 800; letter-spacing: -.04em; color: var(--navy-800);
}
.prose h2::before {
  content: ""; position: absolute; left: 0; top: .28em; bottom: .28em; width: 5px;
  border-radius: 3px; background: linear-gradient(180deg, var(--blue-500), var(--rose-500));
}
.prose > h2:first-child { margin-top: 0; }
.prose h3 {
  margin-top: 40px; font-size: clamp(17.5px, 2vw, 20px); font-weight: 700;
  letter-spacing: -.035em; color: var(--navy-700);
}
.prose h3::before { content: "· "; color: var(--rose-500); font-weight: 800; }
.prose h4 { margin-top: 30px; font-size: 16.5px; color: var(--navy-700); }

.prose p { margin-top: 20px; }
.prose strong { font-weight: 700; color: var(--navy-800); }
.prose em { font-style: normal; color: var(--rose-600); font-weight: 600; }
.prose a:not(.btn) {
  color: var(--blue-600); font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
}
.prose a:not(.btn):hover { color: var(--red-600); }

.prose .lead {
  font-size: clamp(17px, 2vw, 19.5px); line-height: 1.85; color: var(--navy-700); font-weight: 500;
  letter-spacing: -.03em;
}

.prose ul.dot { display: grid; gap: 11px; margin-top: 20px; }
.prose ul.dot > li { position: relative; padding-left: 20px; }
.prose ul.dot > li::before {
  content: ""; position: absolute; left: 2px; top: .78em; width: 6px; height: 6px;
  border-radius: 50%; background: var(--rose-500);
}
.prose ol.num { display: grid; gap: 11px; margin-top: 20px; counter-reset: n; }
.prose ol.num > li { position: relative; padding-left: 36px; counter-increment: n; }
.prose ol.num > li::before {
  content: counter(n); position: absolute; left: 0; top: .3em;
  width: 24px; height: 24px; display: grid; place-items: center;
  border-radius: 50%; background: var(--navy-800); color: #fff;
  font-size: 12.5px; font-weight: 700; line-height: 1;
}

/* Figures */
.prose figure { margin: 32px 0; }
.prose figure img {
  width: 100%; border-radius: var(--r-md); border: 1px solid var(--line-2); background: #fff;
}
.prose figure.plain img { border: 0; border-radius: 0; }
.prose figcaption {
  margin-top: 12px; font-size: 13.5px; color: var(--muted); text-align: center; line-height: 1.7;
}
.prose .figure-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 32px 0; }
.prose .figure-row figure { margin: 0; }
.prose .figure-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.prose .figure-float {
  float: left; width: min(300px, 42%); margin: 6px 28px 20px 0;
}
.prose .figure-float img { border-radius: var(--r-md); }
.clearfix::after { content: ""; display: block; clear: both; }

/* Info table */
.prose .table-wrap { overflow-x: auto; margin: 28px 0; border-radius: var(--r-md); border: 1px solid var(--line); }
.prose table.info { font-size: 15px; min-width: 480px; }
.prose table.info th, .prose table.info td {
  padding: 16px 20px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top;
}
.prose table.info tr:last-child th, .prose table.info tr:last-child td { border-bottom: 0; }
.prose table.info th {
  width: 168px; background: var(--bg-soft); font-weight: 700; color: var(--navy-800);
  letter-spacing: -.03em; white-space: nowrap;
}
.prose table.info td { color: var(--ink-2); }

/* Callout / quote */
.prose .callout {
  padding: 24px 28px; border-radius: var(--r-md);
  background: var(--blue-50); border-left: 4px solid var(--blue-500);
  font-size: 15.5px; color: var(--navy-700);
}
.prose .callout--rose { background: var(--rose-50); border-left-color: var(--rose-500); }
.prose blockquote {
  margin: 34px 0; padding: 30px 34px; border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--navy-800), #12365F); color: #fff;
  font-size: clamp(16.5px, 2vw, 19px); line-height: 1.85; letter-spacing: -.03em; font-weight: 500;
  position: relative; overflow: hidden;
}
.prose blockquote::before {
  content: "\201C"; position: absolute; right: 22px; top: -14px;
  font-size: 110px; line-height: 1; color: rgba(255, 255, 255, .1); font-family: Georgia, serif;
}
.prose blockquote cite { display: block; margin-top: 16px; font-size: 14px; font-style: normal; color: rgba(255, 255, 255, .66); }

/* Definition cards */
.def-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin: 30px 0; }
.def-card {
  padding: 24px; border-radius: var(--r-md); background: #fff;
  border: 1px solid var(--line); box-shadow: var(--sh-1);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.def-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.def-card__num {
  display: inline-grid; place-items: center; width: 30px; height: 30px; margin-bottom: 14px;
  border-radius: 9px; background: var(--navy-800); color: #fff; font-size: 13px; font-weight: 800;
}
.def-card h4 { margin: 0 0 8px; font-size: 16.5px; color: var(--navy-800); letter-spacing: -.035em; }
.def-card h4::before { content: none; }
.def-card p { font-size: 14.5px; color: var(--muted); line-height: 1.75; }

/* Variety (품종) chips */
.variety-group { margin: 28px 0; }
.variety-group__head {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--line);
}
.variety-group__head h3 { margin: 0; font-size: 19px; }
.variety-group__head h3::before { content: none; }
.variety-group__head span { font-size: 14px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  display: inline-flex; align-items: baseline; gap: 6px;
  padding: 8px 15px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-size: 14px; color: var(--ink-2);
  transition: border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
}
.chip:hover { border-color: var(--rose-500); background: var(--rose-50); transform: translateY(-2px); }
.chip b { font-weight: 700; color: var(--navy-800); letter-spacing: -.03em; }
.chip span { font-size: 12.5px; color: var(--muted); }

/* Timeline (연혁) */
.timeline { position: relative; margin: 36px 0; padding-left: 34px; }
.timeline::before {
  content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(180deg, var(--blue-500), var(--rose-500) 70%, transparent);
}
.timeline__era {
  position: relative; margin: 0 0 10px -34px; padding: 6px 18px;
  display: inline-block; border-radius: 999px;
  background: var(--navy-800); color: #fff; font-size: 14px; font-weight: 800; letter-spacing: -.02em;
}
.timeline__era:not(:first-child) { margin-top: 44px; }
.timeline__item { position: relative; padding: 0 0 22px 0; }
.timeline__item::before {
  /* 세로선(.timeline::before)이 left:8px / width:2px 이므로 중심은 9px.
     점(12px)의 중심을 거기에 맞추려면 -34 + 3 = -31px. */
  content: ""; position: absolute; left: -31px; top: 9px; width: 12px; height: 12px;
  border-radius: 50%; background: #fff; border: 3px solid var(--rose-500);
  box-shadow: 0 0 0 3px #fff;
}
.timeline__date {
  display: block; font-size: 13px; font-weight: 800; letter-spacing: .02em; color: var(--blue-600);
  font-variant-numeric: tabular-nums;
}
.timeline__text { margin-top: 3px; font-size: 15.5px; color: var(--ink-2); line-height: 1.75; }
.timeline__text b { color: var(--navy-800); font-weight: 700; }

/* Prev / next nav */
.page-nav {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 64px; padding-top: 30px; border-top: 1px solid var(--line);
}
.page-nav a {
  display: inline-flex; align-items: center; gap: 10px; max-width: 48%;
  font-size: 14.5px; font-weight: 600; color: var(--ink-2);
}
.page-nav a:hover { color: var(--blue-600); }
.page-nav span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* =========================================================
   BOARD PAGES
   ========================================================= */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.tab {
  padding: 10px 22px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 14.5px; font-weight: 600; color: var(--muted); background: #fff;
  transition: all .2s var(--ease);
}
.tab:hover { border-color: var(--blue-500); color: var(--blue-600); }
.tab.is-active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }

.post-list { border-top: 2px solid var(--navy-800); }
.post-list__item { border-bottom: 1px solid var(--line-2); }
.post-list__link {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 20px; align-items: center;
  padding: 22px 8px; transition: background .2s var(--ease);
}
.post-list__link:hover { background: var(--bg-soft); }
.post-list__no { font-size: 14px; color: var(--muted-2); text-align: center; font-variant-numeric: tabular-nums; }
.post-list__title { display: block; font-size: 16.5px; font-weight: 600; color: var(--ink); letter-spacing: -.03em; }
.post-list__link:hover .post-list__title { color: var(--blue-600); }
.post-list__excerpt {
  margin-top: 5px; font-size: 14px; color: var(--muted); line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.post-list__meta { display: flex; gap: 14px; font-size: 13px; color: var(--muted-2); white-space: nowrap; }

.post-view__head { padding-bottom: 26px; border-bottom: 2px solid var(--navy-800); }
.post-view__title { font-size: clamp(22px, 3vw, 30px); letter-spacing: -.04em; color: var(--navy-800); }
.post-view__meta { margin-top: 14px; display: flex; gap: 18px; font-size: 13.5px; color: var(--muted); }
.post-view__body { padding: 34px 0 48px; border-bottom: 1px solid var(--line); }

.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 40px; }
.pagination button, .pagination a {
  min-width: 40px; height: 40px; display: inline-grid; place-items: center; padding: 0 12px;
  border-radius: var(--r-sm); border: 1px solid var(--line); font-size: 14px; color: var(--ink-2);
  background: #fff; transition: all .2s var(--ease);
}
.pagination button:hover { border-color: var(--blue-500); color: var(--blue-600); }
.pagination .is-active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; font-weight: 700; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .62); font-size: 14px; }
.footer-top { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer-nav {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px;
  max-width: var(--container); margin-inline: auto; padding: 54px 24px;
}
.footer-nav h3 { font-size: 14.5px; font-weight: 700; color: #fff; letter-spacing: -.03em; margin-bottom: 16px; }
.footer-nav li + li { margin-top: 9px; }
.footer-nav a { font-size: 13.5px; transition: color .2s var(--ease); }
.footer-nav a:hover { color: #fff; }

.footer-main {
  display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  max-width: var(--container); margin-inline: auto; padding: 44px 24px 30px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer-brand__mark { width: 40px; height: 40px; }
.footer-brand__text b { display: block; font-size: 17px; font-weight: 800; color: #fff; letter-spacing: -.045em; }
.footer-brand__text span { font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .42); }
.footer-info { display: grid; gap: 6px; font-size: 13.5px; line-height: 1.7; }
.footer-info dl { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; }
.footer-info dt { color: rgba(255, 255, 255, .4); }
.footer-info dd { margin: 0; }
.footer-contact { display: grid; gap: 10px; align-content: start; min-width: 230px; }
.footer-contact div { display: flex; align-items: center; gap: 10px; }
.footer-contact svg { flex: none; opacity: .5; }
.footer-contact b { font-size: 19px; font-weight: 800; color: #fff; letter-spacing: -.02em; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.footer-bottom__inner {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  max-width: var(--container); margin-inline: auto; padding: 22px 24px;
  font-size: 12.5px; color: rgba(255, 255, 255, .42);
}
.footer-links { display: flex; gap: 18px; }
.footer-links a:hover { color: #fff; }

/* Back to top */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: 50%; background: var(--navy-800); color: #fff; box-shadow: var(--sh-2);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all .3s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--red-600); }

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .cards, .cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .gnb, .header-util .btn-support { display: none; }
  .menu-toggle { display: flex; margin-left: auto; }
  .page-body { grid-template-columns: minmax(0, 1fr); }
  .side-nav { position: static; }
  .side-nav__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0 14px; }
  .side-nav__contact { display: none; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .split--rev .split__media { order: 0; }
  .board-block { grid-template-columns: minmax(0, 1fr); }
  .hero__motif { right: -22%; opacity: .45; }
  .hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__stats div:nth-child(3) { border-left: 0; }
  .hero__stats div { border-top: 1px solid rgba(255, 255, 255, .1); }
  .hero__stats div:nth-child(-n+2) { border-top: 0; }
}

@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .container, .header-inner, .hero__inner, .page-hero__inner, .page-body,
  .footer-nav, .footer-main, .footer-bottom__inner, .breadcrumb, .cta-band__inner { padding-inline: 18px; }
  .cards, .cards--3 { grid-template-columns: minmax(0, 1fr); }
  .prose .figure-row, .prose .figure-row--3 { grid-template-columns: minmax(0, 1fr); }
  /* ※ 기본 규칙이 `.prose .figure-float`(특이도 0,2,0)이므로 여기서도 같은 형태로 써야
        재정의가 먹습니다. `.figure-float`(0,1,0)로 쓰면 미디어쿼리여도 무시됩니다. */
  .prose .figure-float { float: none; width: 100%; margin: 0 0 20px; }
  .prose table.info th { width: 108px; padding: 13px 14px; font-size: 14px; }
  .prose table.info td { padding: 13px 14px; font-size: 14.5px; }
  .post-list__link { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 18px 4px; }
  .header-inner { gap: 12px; }
  .post-list__no { display: none; }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* 좁은 화면에서는 제목을 잘라내지 말고 아래로 흘려보냅니다. */
  .board-list a { flex-wrap: wrap; gap: 4px 10px; padding: 13px 2px; }
  .board-list__title { flex: 1 1 100%; white-space: normal; overflow: visible; line-height: 1.55; }
  .board-list__date { font-size: 12.5px; }
  .brand__ko { font-size: 15px; }
  .brand__en { display: none; }
  .split__badge { left: 12px; bottom: 12px; padding: 14px 18px; }
  .to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }

  /* 좁은 화면에서 눌리는 여백 완화 */
  .hero__eyebrow { flex-wrap: wrap; max-width: 100%; font-size: 12.5px; padding: 6px 14px 6px 8px; }
  .hero__stats div, .hero__stats div:first-child { padding: 20px 18px; }
  .board-panel { padding: 22px 20px 8px; }
  .prose blockquote { padding: 24px 22px; }
  .prose blockquote::before { font-size: 84px; right: 14px; }
  .prose .callout { padding: 20px 20px; }
  .prose h2 { margin-top: 44px; }
}

@media (max-width: 560px) {
  /* 좌측 메뉴가 2열이 되면 항목명이 잘게 줄바꿈되어 읽기 어려우므로 1열로 되돌립니다. */
  .side-nav__list { grid-template-columns: minmax(0, 1fr); }
  .tabs .tab { flex: 1; text-align: center; }
  .variety-group__head { gap: 4px; }
  .variety-group__head h3 { font-size: 17.5px; }
}

@media print {
  .site-header, .drawer, .side-nav, .to-top, .page-nav, .site-footer, .page-hero__motif { display: none !important; }
  .page-body { grid-template-columns: minmax(0, 1fr); padding: 0; }
  .page-hero { background: none !important; color: #000; }
  body { font-size: 11pt; }
}
