/* 하이버피시 리뉴얼 — 검수용 퍼블리싱
   토큰 이름은 요청서 3-2와 같다 (navy-600 → --navy-600). 모든 화면이 이 파일 하나를 쓴다. */

/* ---------- tokens ---------- */
:root {
  --navy-50: #f1f3fb;
  --navy-100: #dee5f7;
  --navy-200: #bac7ee;
  --navy-400: #3b61ce;
  --navy-600: #1e3c94;
  --navy-700: #172e72;
  --navy-900: #0b1637;
  --red-50: #feeced;
  --red-500: #ed1c24;
  --red-600: #cb1017;
  --red-700: #aa0d13;
  --gray-900: #222222;
  --gray-700: #444444;
  --gray-500: #666666;
  --gray-400: #999999;
  --gray-300: #cccccc;
  --gray-200: #e2e2e2;
  --gray-100: #f4f4f4;
  --white: #ffffff;
  --success: #1f7a4d;
  --error: #cb1017;

  --font-ko: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --font-en: "Archivo", "Pretendard Variable", Pretendard, sans-serif;

  /* 타입 스케일: Display / H1 / H2 / H3 / Body / Small */
  --fs-display: clamp(4.25rem, 1rem + 13vw, 13rem);
  --fs-h1: clamp(2.25rem, 1.3rem + 3.6vw, 4.5rem);
  --fs-h2: clamp(1.75rem, 1.2rem + 2.2vw, 3rem);
  --fs-h3: clamp(1.25rem, 1.05rem + 0.7vw, 1.625rem);
  --fs-body: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --fs-small: 0.875rem;

  --max: 1200px;
  --margin: clamp(1rem, 3vw, 2.5rem);
  --gutter: clamp(1rem, 2.4vw, 2.5rem);
  --section: clamp(6rem, 11vw, 11rem);
  --header-h: 80px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 260ms;
}
@media (max-width: 767px) { :root { --header-h: 64px; } }

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; max-width: 1920px; margin-inline: auto; background: var(--white); color: var(--gray-700); font-family: var(--font-ko); font-size: var(--fs-body); line-height: 1.65; word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
img, video, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--gray-900); font-weight: 700; line-height: 1.25; letter-spacing: -0.02em; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--navy-600); color: var(--white); }
:focus-visible { outline: 2px solid var(--navy-400); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 200; padding: 0.75rem 1rem; background: var(--navy-900); color: var(--white); }
.skip:focus { top: 1rem; }
.en { font-family: var(--font-en); }
.nums { font-variant-numeric: tabular-nums; }
.icon { width: 1.5em; height: 1.5em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: calc(var(--max) + var(--margin) * 2); margin-inline: auto; padding-inline: var(--margin); }
.section { padding-block: calc(var(--section) / 2); }
.section--tint { background: var(--navy-50); }
.section--dark { background: var(--navy-900); color: var(--navy-100); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 1rem var(--gutter); margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-head h2 { font-size: var(--fs-h2); }
.sec-head h2 .en { display: block; font-size: var(--fs-h1); line-height: 1; letter-spacing: -0.035em; color: var(--navy-600); margin-bottom: 0.15em; }
.section--dark .sec-head h2 .en { color: var(--white); }
.sec-head p { max-width: 34rem; }
@media (max-width: 1023px) { .sec-head { grid-template-columns: 1fr; align-items: start; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 3.25rem; padding: 0 1.5rem; border: 1px solid transparent; font-weight: 600; white-space: nowrap; transition: background-color var(--t-hover) ease, color var(--t-hover) ease, border-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.btn:active { transform: scale(0.97); }
.btn .icon { width: 1.25em; height: 1.25em; transition: transform var(--t-ui) var(--ease-out); }
.btn:hover .icon--arrow { transform: translateX(4px); }
.btn--cta { background: var(--red-600); color: var(--white); }
.btn--cta:hover { background: var(--red-700); }
.btn--primary { background: var(--navy-600); color: var(--white); }
.btn--primary:hover { background: var(--navy-700); }
.btn--secondary { background: var(--white); color: var(--gray-700); border-color: var(--gray-300); }
.btn--secondary:hover { border-color: var(--navy-600); color: var(--navy-600); }
.btn--text { min-height: 2.75rem; padding: 0; color: var(--navy-400); }
.btn--text:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.btn--l { min-height: 3.75rem; padding: 0 2rem; font-size: 1.0625rem; }
.btn--s { min-height: 2.75rem; padding: 0 1rem; font-size: var(--fs-small); }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--gray-100); color: var(--gray-400); border-color: var(--gray-200); cursor: not-allowed; transform: none; }
.link { color: var(--navy-400); text-underline-offset: 0.2em; }
.link:hover { text-decoration: underline; }

/* ---------- badge ---------- */
.badge { display: inline-flex; align-items: center; min-height: 1.5rem; padding: 0 0.5rem; font-size: 0.8125rem; font-weight: 600; line-height: 1; background: var(--navy-100); color: var(--navy-700); white-space: nowrap; }
.badge--new { background: var(--red-600); color: var(--white); }
.badge--done { background: var(--navy-600); color: var(--white); }
.badge--wait { background: var(--gray-100); color: var(--gray-700); }
.badge--patent { background: var(--navy-600); color: var(--white); }
.badge--export { background: var(--red-50); color: var(--red-700); }
.badge--org { background: var(--gray-100); color: var(--gray-700); }

/* ---------- header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); background: var(--white); transition: transform var(--t-ui) var(--ease-out), background-color var(--t-hover) ease; }
.header.is-hidden { transform: translateY(-100%); }
.header.is-hidden:focus-within { transform: none; }
.header__inner { display: flex; align-items: center; gap: var(--gutter); height: 100%; max-width: 1920px; margin-inline: auto; padding-inline: var(--margin); }
.header__logo img { width: 150px; height: auto; }
.gnb { display: flex; align-self: stretch; margin-left: auto; }
.gnb__item { position: relative; display: flex; }
.gnb__link { display: flex; align-items: center; padding-inline: clamp(1rem, 1.6vw, 1.75rem); font-size: 1.0625rem; font-weight: 600; color: var(--gray-900); transition: color var(--t-hover) ease; }
.gnb__item:hover .gnb__link, .gnb__item:focus-within .gnb__link, .gnb__link[aria-current] { color: var(--navy-600); }
.gnb__sub { position: absolute; top: 100%; left: 50%; display: none; min-width: 13rem; padding: 0.5rem 0; background: var(--white); box-shadow: 0 12px 32px rgba(11, 22, 55, 0.14); transform: translateX(-50%); }
.gnb__item:hover .gnb__sub, .gnb__item:focus-within .gnb__sub { display: block; animation: drop-in var(--t-ui) var(--ease-out); }
@keyframes drop-in { from { opacity: 0; transform: translate(-50%, -6px); } }
.gnb__sub a { display: block; padding: 0.6rem 1.25rem; color: var(--gray-700); white-space: nowrap; transition: color var(--t-hover) ease, background-color var(--t-hover) ease; }
.gnb__sub a:hover, .gnb__sub a[aria-current] { color: var(--navy-600); background: var(--navy-50); }
.header__util { display: flex; align-items: center; gap: 1rem; }
.lang { display: flex; font-family: var(--font-en); font-size: var(--fs-small); font-weight: 600; }
.lang a { display: grid; place-items: center; min-width: 2.75rem; min-height: 2.75rem; color: var(--gray-500); }
.lang a[aria-current] { color: var(--navy-600); }
.lang a:hover { color: var(--navy-600); }
.menu-btn { display: none; width: 2.75rem; height: 2.75rem; place-items: center; color: var(--gray-900); }
.menu-btn .icon { width: 1.75rem; height: 1.75rem; }
@media (max-width: 1023px) {
  .gnb, .header__util .lang, .header__util .btn { display: none; }
  .header__util { margin-left: auto; }
  .menu-btn { display: grid; }
  .header__logo img { width: 128px; }
}

/* mobile menu */
.mnav { position: fixed; inset: 0; z-index: 150; display: none; flex-direction: column; background: var(--white); }
.mnav.is-open { display: flex; animation: fade-in var(--t-ui) ease; }
@keyframes fade-in { from { opacity: 0; } }
.mnav__top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); padding-inline: var(--margin); }
.mnav__top img { width: 128px; }
.mnav__body { flex: 1; overflow-y: auto; padding: 1rem var(--margin) 2rem; }
.mnav__group + .mnav__group { margin-top: 1.75rem; }
.mnav__group h2 { font-size: 1.375rem; color: var(--navy-600); margin-bottom: 0.5rem; }
.mnav__group a { display: flex; align-items: center; min-height: 2.75rem; font-size: 1.0625rem; color: var(--gray-900); }
.mnav__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem var(--margin) calc(1rem + env(safe-area-inset-bottom)); background: var(--navy-50); }

/* ---------- floating ---------- */
.floating { position: fixed; right: var(--margin); bottom: var(--margin); z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem; }
.floating__quote { flex-direction: column; gap: 0.35rem; width: 5.5rem; height: 5.5rem; padding: 0; font-size: 0.875rem; line-height: 1.2; text-align: center; box-shadow: 0 8px 24px rgba(203, 16, 23, 0.28); }
.floating__quote .icon { width: 1.75rem; height: 1.75rem; }
.floating__quote, .floating__top { opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity var(--t-ui) ease, transform var(--t-ui) var(--ease-out), visibility 0s linear var(--t-ui), background-color var(--t-hover) ease, color var(--t-hover) ease; }
.floating.is-on .floating__quote, .floating.is-on .floating__top { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.floating__top { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; background: var(--white); color: var(--gray-900); box-shadow: 0 6px 18px rgba(11, 22, 55, 0.14); }
.floating__top:hover { color: var(--navy-600); }
.mbar { display: none; }
@media (max-width: 767px) {
  .floating { bottom: calc(4.5rem + env(safe-area-inset-bottom)); }
  .floating__quote { display: none; }
  .mbar { position: fixed; inset: auto 0 0; z-index: 90; display: grid; grid-template-columns: 1fr 1.6fr; padding-bottom: env(safe-area-inset-bottom); background: var(--white); box-shadow: 0 -4px 16px rgba(11, 22, 55, 0.08); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 3.5rem; font-weight: 600; }
  .mbar a:first-child { color: var(--navy-600); }
  body { padding-bottom: calc(3.5rem + env(safe-area-inset-bottom)); }
}

/* ---------- footer ---------- */
.footer { background: var(--navy-900); color: var(--navy-200); padding-top: clamp(4rem, 8vw, 7rem); overflow: hidden; }
.footer__name { font-family: var(--font-en); font-size: clamp(4rem, 1rem + 15vw, 16rem); font-weight: 700; line-height: 0.8; letter-spacing: -0.05em; color: var(--white); white-space: nowrap; }
.footer__row { display: grid; grid-template-columns: 5fr 7fr; gap: 3rem var(--gutter); margin-top: clamp(3rem, 6vw, 4.5rem); }
.footer__reach a { display: flex; align-items: center; gap: 0.75rem; width: fit-content; font-family: var(--font-en); font-size: clamp(1.5rem, 1rem + 1.6vw, 2.25rem); font-weight: 600; line-height: 1.5; letter-spacing: -0.02em; color: var(--white); transition: color var(--t-hover) ease; }
.footer__reach a:hover { color: var(--navy-200); }
.footer__reach a .icon { width: 0.8em; height: 0.8em; color: var(--navy-400); }
.footer__map { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem var(--gutter); }
.footer__map h2 { margin-bottom: 0.75rem; font-size: 1rem; color: var(--white); }
.footer__map a { display: block; padding-block: 0.3rem; font-size: 0.9375rem; color: var(--navy-200); transition: color var(--t-hover) ease; }
.footer__map a:hover { color: var(--white); }
.footer__info { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; margin-top: clamp(3rem, 6vw, 5rem); font-size: var(--fs-small); color: var(--navy-200); }
.footer__info span b { font-weight: 600; color: var(--white); margin-right: 0.35rem; }
.footer__legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; padding-block: 1.5rem 2.5rem; font-size: var(--fs-small); }
.footer__legal nav { display: flex; gap: 1.5rem; }
.footer__legal button { min-height: 2.75rem; color: var(--white); font-weight: 600; }
.footer__legal button:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.footer__legal small { font-family: var(--font-en); font-size: inherit; letter-spacing: 0.01em; }
@media (max-width: 1023px) { .footer__row { grid-template-columns: 1fr; } }
@media (max-width: 767px) { .footer__map { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__info { flex-direction: column; } .footer__legal { padding-bottom: 5rem; } }

/* ---------- layer popup ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: none; place-items: center; padding: var(--margin); }
.modal.is-open { display: grid; animation: fade-in var(--t-ui) ease; }
.modal__dim { position: absolute; inset: 0; background: rgba(11, 22, 55, 0.6); }
.modal__box { position: relative; display: flex; flex-direction: column; width: min(860px, 100%); max-height: min(86svh, 900px); background: var(--white); box-shadow: 0 24px 64px rgba(11, 22, 55, 0.3); animation: rise-in var(--t-ui) var(--ease-out); }
@keyframes rise-in { from { transform: translateY(16px); } }
.modal__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem; background: var(--navy-50); }
.modal__head h2 { font-size: var(--fs-h3); }
.modal__close { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; color: var(--gray-900); }
.modal__close:hover { color: var(--navy-600); }
.modal__body { overflow-y: auto; padding: 1.5rem; font-size: 0.9375rem; color: var(--gray-700); }
.modal__body h3 { margin: 1.75rem 0 0.5rem; font-size: 1.0625rem; color: var(--navy-600); }
.modal__body p + p { margin-top: 0.5rem; }
.modal__body ul { margin: 0.5rem 0; padding-left: 1.25rem; }
.modal--image .modal__box { width: auto; max-width: min(900px, 100%); background: var(--navy-900); }
.modal--image .modal__head { background: var(--navy-900); }
.modal--image .modal__head h2 { color: var(--white); font-size: 1rem; }
.modal--image .modal__close { color: var(--white); }
.modal--image .modal__body { display: grid; place-items: center; padding: 0 1.5rem 1.5rem; }
.modal--image img { max-height: 74svh; width: auto; }
@media (max-width: 767px) {
  .modal { padding: 0; }
  .modal__box { width: 100%; height: 100%; max-height: none; }
  .modal--image .modal__box { height: auto; }
}

/* ---------- sub visual · 소메뉴 · 경로 ---------- */
.subvis { padding-top: var(--header-h); background: var(--navy-900); color: var(--navy-200); }
.subvis__text { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 1.5rem var(--gutter); padding-block: clamp(3rem, 7vw, 6rem) clamp(2rem, 4vw, 3rem); }
.subvis h1 { font-size: var(--fs-h1); color: var(--white); letter-spacing: -0.03em; }
.subvis__copy { margin-top: 0.75rem; font-family: var(--font-en); font-size: var(--fs-h3); font-weight: 500; color: var(--navy-200); letter-spacing: -0.01em; }
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.5rem; font-size: var(--fs-small); color: var(--navy-200); }
.crumb a:hover { color: var(--white); }
.crumb .icon { width: 1em; height: 1em; }
.crumb [aria-current] { color: var(--white); font-weight: 600; }
.subvis__img { height: clamp(180px, 28svh, 320px); overflow: hidden; }
.subvis__img img { width: 100%; height: 100%; object-fit: cover; }
.subtabs { position: sticky; top: 0; z-index: 50; background: var(--white); box-shadow: 0 1px 0 var(--gray-200); transition: top var(--t-ui) var(--ease-out); }
.header:not(.is-hidden) ~ main .subtabs { top: var(--header-h); }
.subtabs ul { margin: 0; padding: 0; list-style: none; display: flex; overflow-x: auto; scrollbar-width: none; }
.subtabs ul::-webkit-scrollbar { display: none; }
.subtabs a { position: relative; display: flex; align-items: center; min-height: 4rem; padding-inline: 1.5rem; font-weight: 600; color: var(--gray-500); white-space: nowrap; transition: color var(--t-hover) ease; }
.subtabs li:first-child a { padding-left: 0; }
.subtabs a:hover { color: var(--gray-900); }
.subtabs a[aria-current] { color: var(--navy-600); }
.subtabs a[aria-current]::after { content: ""; position: absolute; left: 1.5rem; right: 1.5rem; bottom: 0; height: 3px; background: var(--navy-600); }
.subtabs li:first-child a[aria-current]::after { left: 0; }
@media (max-width: 767px) {
  .subvis__text { grid-template-columns: 1fr; }
  .subtabs a { min-height: 3.25rem; padding-inline: 1rem; }
  .subtabs a[aria-current]::after { left: 1rem; right: 1rem; }
}

/* ---------- tabs (공통) ---------- */
.tabs__list { display: flex; gap: 0.5rem; overflow-x: auto; scrollbar-width: none; }
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__btn { flex: none; min-height: 3.25rem; padding: 0 1.5rem; font-weight: 600; color: var(--gray-700); background: var(--white); white-space: nowrap; transition: background-color var(--t-hover) ease, color var(--t-hover) ease; }
.tabs__btn:hover { color: var(--navy-600); }
.tabs__btn[aria-selected="true"] { background: var(--navy-600); color: var(--white); }
.tabs__panel[hidden] { display: none; }

/* ---------- 지도 + 국가 칩 (메인·제품종류 공용) ---------- */
.export { display: grid; grid-template-columns: 7fr 5fr; gap: var(--gutter); align-items: stretch; }
.export__map { position: relative; display: grid; place-items: center; padding: clamp(1rem, 3vw, 2.5rem); background: var(--white); }
.export__map img { width: 100%; }
.export__side { display: flex; flex-direction: column; gap: 2rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1rem; font-weight: 600; font-size: 0.9375rem; background: var(--white); color: var(--gray-900); transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.chip:hover { background: var(--navy-100); }
.chip:active { transform: scale(0.96); }
.chip[aria-pressed="true"] { background: var(--navy-600); color: var(--white); }
.chips--plain .chip { cursor: default; }
.flight { padding: clamp(1.25rem, 2.5vw, 2rem); background: var(--navy-900); color: var(--navy-200); }
.flight__route { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.75rem; color: var(--white); font-size: var(--fs-h3); font-weight: 700; }
.flight__route .icon { width: 1em; height: 1em; color: var(--navy-400); align-self: center; }
.flight__hours { margin-top: 1.25rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.75rem; }
.flight__hours strong { white-space: nowrap; }
.flight__hours strong { font-family: var(--font-en); font-size: clamp(3rem, 2rem + 3vw, 4.5rem); line-height: 1; letter-spacing: -0.04em; color: var(--white); }
.flight__bar { position: relative; height: 0.75rem; margin-top: 1.25rem; background: var(--navy-700); }
.flight__bar span { position: absolute; inset: 0 auto 0 0; width: var(--w, 30%); background: var(--red-500); transition: width 600ms var(--ease-out); }
.flight__scale { display: flex; justify-content: space-between; margin-top: 0.5rem; font-family: var(--font-en); font-size: var(--fs-small); }
.flight__note { margin-top: 1rem; font-size: var(--fs-small); color: var(--navy-200); }
@media (max-width: 1023px) { .export { grid-template-columns: 1fr; } }

/* ---------- 장점 3개 (메인·생산공정 공용) ---------- */
.merits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.merit { display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 1.25rem; align-items: start; }
.merit__icon { grid-row: span 2; display: grid; place-items: center; width: 4rem; height: 4rem; background: var(--navy-600); color: var(--white); }
.merit__icon .icon { width: 2rem; height: 2rem; }
.merit h3 { font-size: var(--fs-h3); }
.merit p { color: var(--gray-700); }
.section--dark .merit p, .flight p { color: var(--navy-200); }
@media (max-width: 767px) { .merits { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- 게시판 공통 ---------- */
.board-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.board-top p { font-size: var(--fs-small); color: var(--gray-500); }
.board-top b { color: var(--navy-600); }
.board-search { display: flex; }
.board-search input { width: min(16rem, 52vw); min-height: 2.75rem; padding: 0 0.875rem; border: 1px solid var(--gray-300); border-right: 0; }
.board-search input:focus { outline: none; border-color: var(--navy-600); }
.board-search button { display: grid; place-items: center; width: 2.75rem; background: var(--navy-600); color: var(--white); }
.board-search .icon { width: 1.25rem; height: 1.25rem; }
.tbl { width: 100%; border-collapse: collapse; border-top: 2px solid var(--gray-900); font-size: 0.9375rem; }
.tbl th { padding: 1rem 0.75rem; font-weight: 600; color: var(--gray-900); border-bottom: 1px solid var(--gray-300); white-space: nowrap; }
.tbl td { padding: 1.125rem 0.75rem; border-bottom: 1px solid var(--gray-200); text-align: center; color: var(--gray-500); white-space: nowrap; }
.tbl td.tbl__title { width: 100%; text-align: left; color: var(--gray-900); white-space: normal; }
.tbl__title a { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 500; transition: color var(--t-hover) ease; }
.tbl__title a:hover { color: var(--navy-600); text-decoration: underline; text-underline-offset: 0.2em; }
.tbl__title .icon { width: 1.1em; height: 1.1em; color: var(--gray-500); }
.tbl tr.is-notice td { background: var(--navy-50); }
@media (max-width: 767px) {
  .tbl thead { display: none; }
  .tbl, .tbl tbody, .tbl tr { display: block; }
  .tbl tr { display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 0.75rem; padding: 1rem 0; border-bottom: 1px solid var(--gray-200); }
  .tbl td { padding: 0; border: 0; font-size: var(--fs-small); text-align: left; }
  .tbl td.tbl__title { grid-column: 1 / -1; order: -1; font-size: 1rem; }
  .tbl td[data-m="hide"] { display: none; }
  .tbl tr.is-notice { background: var(--navy-50); padding-inline: 0.75rem; }
  .tbl tr.is-notice td { background: none; }
}
.pager { display: flex; justify-content: center; gap: 0.25rem; margin-top: 3rem; font-family: var(--font-en); }
.pager a, .pager span { display: grid; place-items: center; min-width: 2.75rem; height: 2.75rem; color: var(--gray-700); transition: background-color var(--t-hover) ease, color var(--t-hover) ease; }
.pager a:hover { background: var(--navy-50); color: var(--navy-600); }
.pager [aria-current] { background: var(--navy-600); color: var(--white); font-weight: 600; }
.pager .icon { width: 1.1rem; height: 1.1rem; }
.pager [aria-disabled="true"] { color: var(--gray-300); pointer-events: none; }
.board-btns { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; margin-top: 2rem; }
.board-btns div { display: flex; gap: 0.5rem; }

/* 글 보기 */
.view-head { padding-bottom: 1.5rem; border-top: 2px solid var(--gray-900); padding-top: 2rem; border-bottom: 1px solid var(--gray-200); }
.view-head h2 { font-size: var(--fs-h2); }
.view-meta { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; margin-top: 1rem; font-size: var(--fs-small); color: var(--gray-500); }
.view-meta b { font-weight: 600; color: var(--gray-700); margin-right: 0.35rem; }
.view-file { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; padding: 1rem 1.25rem; margin-top: 1.5rem; background: var(--gray-100); font-size: var(--fs-small); }
.view-file a { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.75rem; color: var(--navy-400); }
.view-file a:hover { text-decoration: underline; }
.view-file .icon { width: 1.1rem; height: 1.1rem; }
.view-body { padding-block: 2.5rem 3rem; border-bottom: 1px solid var(--gray-200); color: var(--gray-700); max-width: 52rem; }
.view-body p + p { margin-top: 1em; }
.view-body img { margin-block: 1.5rem; }
.view-nav { border-bottom: 1px solid var(--gray-200); }
.view-nav a { display: grid; grid-template-columns: 6rem 1fr auto; align-items: center; gap: 1rem; min-height: 3.5rem; padding-inline: 0.5rem; font-size: 0.9375rem; transition: background-color var(--t-hover) ease; }
.view-nav a + a { border-top: 1px solid var(--gray-200); }
.view-nav a:hover { background: var(--navy-50); }
.view-nav span:first-child { display: flex; align-items: center; gap: 0.35rem; color: var(--gray-500); }
.view-nav span:last-child { font-family: var(--font-en); font-size: var(--fs-small); color: var(--gray-500); }
.view-nav .icon { width: 1rem; height: 1rem; }
@media (max-width: 767px) { .view-nav a { grid-template-columns: 4.5rem 1fr; } .view-nav span:last-child { display: none; } }

/* ---------- 폼 ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem var(--gutter); }
.form-grid .full { grid-column: 1 / -1; }
.field label, .field .label { display: flex; align-items: center; gap: 0.25rem; margin-bottom: 0.5rem; font-weight: 600; color: var(--gray-900); font-size: 0.9375rem; }
.req { color: var(--red-600); }
.input, .textarea, .select { width: 100%; min-height: 3.25rem; padding: 0.75rem 1rem; background: var(--white); border: 1px solid var(--gray-300); border-radius: 0; font-size: 1rem; color: var(--gray-900); transition: border-color var(--t-hover) ease, box-shadow var(--t-hover) ease; }
.input::placeholder, .textarea::placeholder { color: var(--gray-500); }
.input:hover, .textarea:hover { border-color: var(--gray-500); }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 3px var(--navy-100); }
.input:disabled { background: var(--gray-100); color: var(--gray-400); }
.textarea { min-height: 14rem; resize: vertical; line-height: 1.6; }
.field.is-error .input, .field.is-error .textarea { border-color: var(--error); }
.field.is-error .input:focus { box-shadow: 0 0 0 3px var(--red-50); }
.help { display: flex; align-items: center; gap: 0.35rem; margin-top: 0.5rem; font-size: var(--fs-small); color: var(--gray-500); }
.help--error { color: var(--error); }
.help .icon { width: 1.1em; height: 1.1em; }
.check { display: inline-flex; align-items: center; gap: 0.625rem; min-height: 2.75rem; cursor: pointer; font-size: 0.9375rem; color: var(--gray-900); }
.check input { appearance: none; display: grid; place-items: center; width: 1.375rem; height: 1.375rem; margin: 0; border: 1px solid var(--gray-300); background: var(--white); transition: background-color var(--t-hover) ease, border-color var(--t-hover) ease; }
.check input::after { content: ""; width: 0.45rem; height: 0.75rem; margin-top: -0.2rem; border: solid var(--white); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform var(--t-hover) var(--ease-out); }
.check input:checked { background: var(--navy-600); border-color: var(--navy-600); }
.check input:checked::after { transform: rotate(45deg) scale(1); }
.check input:disabled { background: var(--gray-100); border-color: var(--gray-200); }
.check input:disabled + span { color: var(--gray-400); }
@media (max-width: 767px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- 모션 (스크립트가 없어도 내용은 보인다) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .shutter[data-reveal] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1100ms var(--ease-in-out); }
  .js .shutter[data-reveal] img { transform: scale(1.1); transition: transform 1500ms var(--ease-soft); }
  .js .shutter[data-reveal].is-in { clip-path: inset(0); }
  .js .shutter[data-reveal].is-in img { transform: none; }
}
.shutter { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
}
