/* =========================================================
   GeoMind Society — 지오마인드학회 Design System
   ========================================================= */

:root {
  --navy-950: #04121a;
  --navy-900: #071f2b;
  --navy-800: #0c2f3d;
  --navy-700: #12424f;
  --brand: #0e6b78;
  --brand-ink: #0a525c;
  --accent: #f0b429;
  --accent-soft: #fdf4dd;
  --accent-ink: #a87400;
  --gold: #c8a45a;

  --ink: #0b1f27;
  --text: #34474f;
  --muted: #66787f;
  --line: #e2eaeb;
  --line-strong: #cbd9db;
  --bg: #ffffff;
  --bg-soft: #f4f8f8;
  --bg-tint: #e9f3f3;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(4, 18, 26, .06), 0 1px 3px rgba(4, 18, 26, .04);
  --shadow: 0 10px 30px -12px rgba(4, 18, 26, .18), 0 2px 6px rgba(4, 18, 26, .05);
  --shadow-lg: 0 30px 60px -20px rgba(4, 18, 26, .35);

  --header-h: 76px;
  --container: 1200px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", system-ui, sans-serif;
  --font-en: "Space Grotesk", "Pretendard Variable", Pretendard, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--accent-ink); }
h1, h2, h3, h4, h5 { color: var(--ink); line-height: 1.35; letter-spacing: -0.02em; margin: 0 0 .6em; font-weight: 700; }
p { margin: 0 0 1em; }
hr { border: 0; height: 1px; background: var(--line); margin: 2.5rem 0; }
::selection { background: rgba(240, 180, 41, .25); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 960px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-en); font-size: .78rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--accent-ink);
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.6em; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; line-height: 1.2; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn svg { width: 1.05em; height: 1.05em; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(14, 107, 120, .6); }
.btn-primary:hover { background: var(--brand-ink); color: #fff; transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: var(--navy-950); box-shadow: 0 8px 24px -8px rgba(240, 180, 41, .7); }
.btn-accent:hover { background: #f7c44c; color: var(--navy-950); transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; background: rgba(255, 255, 255, .04); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .1); }
.btn-outline { border-color: var(--line-strong); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }

/* =========================================================
   Header / Navigation
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
/* 유리 효과는 가상요소에 — header에 backdrop-filter를 직접 주면 모바일 메뉴(fixed)가 header 안에 갇혀 잘림 */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
}
.nav-open .site-header::before { background: #fff; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(4, 18, 26, .35); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand img { height: 46px; width: auto; display: block; }
.brand:hover { color: var(--ink); }

.gnb { display: flex; align-items: stretch; height: 100%; }
.gnb > ul { display: flex; list-style: none; margin: 0; padding: 0; height: 100%; }
.gnb-item { position: relative; display: flex; align-items: center; }
.gnb-link {
  display: flex; align-items: center; height: 100%;
  padding: 0 22px; font-size: 1.02rem; font-weight: 600; color: var(--ink);
  background: none; border: 0; cursor: pointer; font-family: inherit; position: relative;
}
.gnb-link::after {
  content: ""; position: absolute; left: 22px; right: 22px; bottom: 0; height: 2px;
  background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.gnb-item:hover .gnb-link, .gnb-item.is-active .gnb-link { color: var(--brand); }
.gnb-item:hover .gnb-link::after, .gnb-item.is-active .gnb-link::after { transform: scaleX(1); }
.gnb-sub {
  position: absolute; top: calc(100% - 6px); left: 50%; min-width: 190px;
  transform: translate(-50%, 8px); opacity: 0; visibility: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 8px; list-style: none; margin: 0;
  transition: opacity .2s var(--ease), transform .25s var(--ease), visibility .2s;
}
.gnb-item:hover .gnb-sub, .gnb-item:focus-within .gnb-sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.gnb-sub a {
  display: block; padding: 10px 14px; border-radius: var(--radius-sm);
  color: var(--text); font-size: .95rem; font-weight: 500; white-space: nowrap;
}
.gnb-sub a:hover, .gnb-sub a.is-current { background: var(--bg-tint); color: var(--brand); }

.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .btn { padding: .65em 1.25em; font-size: .9rem; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; cursor: pointer; align-items: center; justify-content: center; padding: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative;
  transition: transform .3s var(--ease), background .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .gnb-link { padding: 0 14px; }
  .gnb-link::after { left: 14px; right: 14px; }
  .header-cta .btn-text { display: none; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .brand img { height: 38px; }
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .gnb {
    display: block; position: fixed; inset: var(--header-h) 0 0 0; height: auto;
    background: #fff; overflow-y: auto; padding: 8px 20px 40px;
    opacity: 0; transform: translateY(-12px); visibility: hidden; pointer-events: none;
    transition: opacity .3s var(--ease), transform .35s var(--ease), visibility .3s;
  }
  .nav-open .gnb { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
  .gnb > ul { flex-direction: column; height: auto; }
  .gnb-item { display: block; border-bottom: 1px solid var(--line); }
  .gnb-link { height: auto; padding: 22px 4px 12px; font-size: 1.25rem; font-weight: 800; pointer-events: none; }
  .gnb-link::after { display: none; }
  .gnb-sub {
    position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0;
    padding: 0 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  }
  .gnb-item:hover .gnb-sub { transform: none; }
  .gnb-sub a { padding: 14px 16px; font-size: 1.02rem; font-weight: 600; color: var(--ink); background: var(--bg-soft); border-radius: 12px; white-space: normal; }
  .gnb-mobile-cta { display: flex !important; gap: 10px; margin-top: 24px; }
  .gnb-mobile-cta .btn { flex: 1; }
  body.nav-open { overflow: hidden; }
}
.gnb-mobile-cta { display: none; }

/* =========================================================
   Sub-page hero
   ========================================================= */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 140% at 85% 0%, #0f4f5c 0%, var(--navy-900) 45%, var(--navy-950) 100%);
  color: #fff; padding: 72px 0 0;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    radial-gradient(1px 1px at 12% 30%, rgba(255,255,255,.7) 50%, transparent 51%),
    radial-gradient(1px 1px at 32% 70%, rgba(255,255,255,.5) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 58% 22%, rgba(255,255,255,.8) 50%, transparent 51%),
    radial-gradient(1px 1px at 72% 62%, rgba(255,255,255,.4) 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 40%, rgba(255,255,255,.6) 50%, transparent 51%),
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: auto, auto, auto, auto, auto, 56px 56px, 56px 56px;
  mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
}
.page-hero .orbit {
  position: absolute; right: -140px; top: -220px; width: 620px; height: 620px; z-index: -1;
  border-radius: 50%; border: 1px solid rgba(240, 180, 41, .25);
  box-shadow: inset 0 0 80px rgba(240, 180, 41, .08);
}
.page-hero .orbit::after {
  content: ""; position: absolute; inset: 70px; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .14);
}
.page-hero .eyebrow { color: var(--accent); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; margin: 14px 0 10px; letter-spacing: -0.03em; }
.page-hero .lead { color: rgba(255, 255, 255, .72); font-size: 1.05rem; max-width: 640px; margin: 0; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0;
  font-size: .85rem; color: rgba(255, 255, 255, .6);
}
.breadcrumb a { color: rgba(255, 255, 255, .6); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: "›"; margin-right: 8px; opacity: .6; }
.page-hero-inner { padding-bottom: 56px; }

.subnav { background: rgba(255, 255, 255, .06); border-top: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(8px); }
.subnav ul { display: flex; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  display: block; padding: 18px 26px; white-space: nowrap; color: rgba(255, 255, 255, .7);
  font-weight: 600; font-size: .98rem; position: relative;
}
.subnav a:hover { color: #fff; }
.subnav a.is-current { color: #fff; }
.subnav a.is-current::after {
  content: ""; position: absolute; left: 26px; right: 26px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--accent);
}

.page-body { padding: 72px 0 110px; }
@media (max-width: 700px) {
  .page-hero { padding-top: 48px; }
  .page-hero-inner { padding-bottom: 36px; }
  .page-body { padding: 44px 0 80px; }
  .subnav a { padding: 15px 18px; }
  .subnav a.is-current::after { left: 18px; right: 18px; }
}

/* Section heading inside pages */
.section-head { margin-bottom: 36px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); font-weight: 800; margin: 12px 0 10px; }
.section-head p { color: var(--muted); margin: 0; font-size: 1.05rem; }
.section-head.center { text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 1.5px; background: currentColor; }

/* =========================================================
   Home
   ========================================================= */
.hero {
  position: relative; overflow: hidden; isolation: isolate; color: #fff;
  background: radial-gradient(90% 120% at 80% 10%, #105a66 0%, #082a36 42%, var(--navy-950) 100%);
  min-height: min(760px, calc(100vh - var(--header-h)));
  display: flex; align-items: center;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg .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: 64px 64px;
  mask-image: radial-gradient(80% 70% at 70% 40%, #000 20%, transparent 80%);
}
.hero-bg .stars { position: absolute; inset: 0; }
.hero-bg .stars i {
  position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #fff;
  animation: twinkle 4s ease-in-out infinite;
}
@keyframes twinkle { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }
.hero-visual { position: absolute; right: -8%; top: 50%; width: min(820px, 70vw); aspect-ratio: 1; transform: translateY(-50%); }
.hero-visual svg { width: 100%; height: 100%; overflow: visible; }
.hero-visual .spin { transform-origin: 400px 400px; animation: spin 80s linear infinite; }
.hero-visual .spin-rev { transform-origin: 400px 400px; animation: spin 120s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-content { position: relative; padding: 96px 0 120px; max-width: 700px; }
.hero .eyebrow { color: var(--accent); }
.hero h1 {
  color: #fff; font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; line-height: 1.12;
  letter-spacing: -0.04em; margin: 22px 0 22px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #ffd36b 0%, #f0b429 50%, #4fd1c5 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-en { font-family: var(--font-en); font-size: .95rem; letter-spacing: .12em; color: rgba(255,255,255,.55); text-transform: uppercase; margin-bottom: 26px; }
.hero p.lead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: rgba(255,255,255,.78); max-width: 560px; margin-bottom: 40px; }
.hero p.lead strong { color: #fff; font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-scroll {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  font-family: var(--font-en); font-size: .7rem; letter-spacing: .3em; color: rgba(255,255,255,.45);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hero-scroll::after { content: ""; width: 1px; height: 36px; background: linear-gradient(rgba(255,255,255,.5), transparent); animation: drop 2s ease-in-out infinite; }
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero-visual { right: -45%; width: 130vw; opacity: .55; }
  .hero-content { padding: 72px 0 96px; }
}

/* Quick links ribbon */
.quick {
  position: relative; z-index: 2; margin-top: -64px;
}
.quick-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
  border: 1px solid var(--line);
}
.quick-item {
  display: flex; gap: 16px; align-items: center; justify-content: center; padding: 30px 24px; color: var(--ink);
  position: relative; transition: background .3s var(--ease);
}
.quick-item + .quick-item { border-left: 1px solid var(--line); }
.quick-item:hover { background: var(--bg-soft); color: var(--ink); }
.quick-icon {
  flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--bg-tint); color: var(--brand); transition: background .3s, color .3s;
}
.quick-item:hover .quick-icon { background: var(--brand); color: #fff; }
.quick-icon svg { width: 24px; height: 24px; }
.quick-item strong { display: block; font-size: 1.08rem; font-weight: 700; margin-bottom: 2px; }
.quick-item div > span { display: block; font-size: .88rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 900px) {
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-item:nth-child(3) { border-left: 0; }
  .quick-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .quick { margin-top: -40px; }
  .quick-item { flex-direction: column; gap: 12px; padding: 24px 14px; text-align: center; }
}

.home-section { padding: 110px 0; }
.home-section.soft { background: var(--bg-soft); }
@media (max-width: 700px) { .home-section { padding: 72px 0; } }

/* News + event split */
.news-split { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 960px) { .news-split { grid-template-columns: 1fr; } }
.panel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.panel-head h2 { font-size: 1.75rem; font-weight: 800; margin: 8px 0 0; }
.more-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--ink); white-space: nowrap; }
.more-link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.more-link:hover svg { transform: translateX(3px); }

.news-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list a {
  display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center;
  padding: 20px 4px; color: var(--ink); transition: padding .3s var(--ease), background .3s;
}
.news-list a:hover { padding-left: 14px; padding-right: 14px; background: #fff; }
.news-list .title { font-weight: 600; font-size: 1.04rem; line-height: 1.5; }
.news-list a:hover .title { color: var(--brand); }
.news-list .date { font-family: var(--font-en); font-size: .88rem; color: var(--muted); white-space: nowrap; }
.news-list .is-new {
  display: inline-block; margin-left: 8px; padding: 1px 7px; font-size: .68rem; font-weight: 700; letter-spacing: .05em;
  color: #fff; background: #ef4444; border-radius: 999px; vertical-align: 2px; font-family: var(--font-en);
}
@media (max-width: 600px) {
  .news-list a { grid-template-columns: 1fr; gap: 6px; }
  .news-list .badge { justify-self: start; }
}

.badge {
  display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 999px;
  font-size: .78rem; font-weight: 600; white-space: nowrap; line-height: 1.4;
  background: var(--bg-tint); color: var(--brand);
}
.badge[data-cat="워크샵"] { background: #fdf4dd; color: #a87400; }
.badge[data-cat="교육"] { background: #f1ecff; color: #5b3fc4; }
.badge[data-cat="세미나"] { background: #fff4e0; color: #a96800; }
.badge[data-cat="공지"] { background: #eef1f6; color: #3d4a66; }
.badge[data-cat="행사"] { background: #e9f8ef; color: #1c7d48; }

.event-card {
  position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; color: #fff;
  background: var(--navy-900); box-shadow: var(--shadow-lg); isolation: isolate;
}
.event-card:hover { color: #fff; }
.event-card .poster { aspect-ratio: 4 / 3.3; overflow: hidden; }
.event-card .poster img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform .8s var(--ease); }
.event-card:hover .poster img { transform: scale(1.04); }
.event-card .meta { padding: 22px 26px 24px; background: linear-gradient(160deg, var(--navy-900), var(--navy-800)); border-top: 1px solid rgba(255,255,255,.08); }
.event-card .label {
  display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 700; letter-spacing: .14em;
  color: var(--navy-950); background: var(--accent); padding: 4px 10px; border-radius: 999px; font-family: var(--font-en); text-transform: uppercase;
}
.event-card h3 { color: #fff; font-size: 1.3rem; margin: 12px 0 8px; }
.event-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; font-size: .9rem; color: rgba(255,255,255,.8); }
.event-card dt { color: var(--accent); font-weight: 600; }
.event-card dd { margin: 0; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
@media (max-width: 960px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }
.about-visual { position: relative; }
.about-visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); display: block; width: 100%; }
.about-visual::before {
  content: ""; position: absolute; inset: -18px 18px 18px -18px; border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong); z-index: -1;
}
.about-copy h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; margin: 14px 0 20px; }
.about-copy h2 em { font-style: normal; color: var(--brand); }
.about-copy p { color: var(--text); font-size: 1.05rem; }
.pillars { display: grid; gap: 14px; margin: 30px 0 34px; }
.pillar { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.pillar .num { font-family: var(--font-en); font-weight: 700; color: var(--accent-ink); font-size: .95rem; padding-top: 2px; }
.pillar strong { display: block; color: var(--ink); font-size: 1.02rem; }
.pillar span { font-size: .93rem; color: var(--muted); }

/* Mission statement band */
.statement {
  position: relative; overflow: hidden; isolation: isolate; color: #fff; text-align: center;
  background: linear-gradient(120deg, var(--navy-950) 0%, var(--navy-800) 55%, #0f4f5c 100%);
  padding: 110px 0;
}
.statement::before {
  content: ""; position: absolute; left: 50%; top: 100%; width: 1400px; height: 1400px; transform: translate(-50%, -18%); z-index: -1;
  border-radius: 50%; border: 1px solid rgba(240, 180, 41, .25);
  background: radial-gradient(circle at 50% 0%, rgba(240, 180, 41, .18), transparent 40%);
}
.statement .small { font-size: 1.05rem; color: rgba(255,255,255,.7); margin-bottom: 14px; }
.statement h2 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.8rem); font-weight: 800; margin: 0 0 36px; letter-spacing: -0.03em; }
.statement h2 em { font-style: normal; color: var(--accent); }

/* =========================================================
   Content typography (공지·정관 등 본문)
   ========================================================= */
.prose { color: var(--text); font-size: 1.02rem; line-height: 1.85; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: 1.6rem; margin: 2.2em 0 .8em; }
.prose h3 { font-size: 1.3rem; margin: 2em 0 .7em; }
.prose h4 {
  display: flex; align-items: center; gap: 8px;
  font-size: 1.22rem; font-weight: 700; margin: 2.4em 0 1em; padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.prose p { margin: 0 0 1.1em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.4em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--accent-ink); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a:not(.btn):not(.button) { text-decoration: underline; text-decoration-color: rgba(14, 107, 120,.3); text-underline-offset: 3px; }
.prose a:not(.btn):not(.button):hover { text-decoration-color: currentColor; }
.prose img { border-radius: var(--radius); }
.prose blockquote { margin: 1.6em 0; padding: 18px 24px; border-left: 3px solid var(--accent); background: var(--bg-soft); border-radius: 0 var(--radius) var(--radius) 0; }
.prose hr { margin: 2.4rem 0; }
.prose br + br { display: block; content: ""; margin-top: .4em; }

.table-wrap { width: 100%; overflow-x: auto; margin: 0 0 1.6em; border-radius: var(--radius); -webkit-overflow-scrolling: touch; }
.prose table:not([class]) { width: 100%; font-size: .95rem; line-height: 1.6; }
.prose table:not([class]) {
  border-collapse: separate !important; border-spacing: 0; border: 1px solid var(--line-strong);
  border-radius: var(--radius); overflow: hidden; background: #fff;
}
.prose table:not([class]) th, .prose table:not([class]) td {
  border: 0 !important; border-bottom: 1px solid var(--line) !important; padding: 14px 16px !important; vertical-align: middle;
}
.prose table:not([class]) td + td, .prose table:not([class]) th + th, .prose table:not([class]) tr > * + * { border-left: 1px solid var(--line) !important; }
.prose table:not([class]) tbody tr:last-child > * { border-bottom: 0 !important; }
.prose table:not([class]) thead th, .prose table:not([class]) thead tr {
  background: var(--navy-800) !important; color: #fff; font-weight: 600; border-color: rgba(255,255,255,.12) !important;
}
.prose table:not([class]) thead tr + tr th { border-top: 1px solid rgba(255,255,255,.12) !important; }

/* 공지 본문 속 버튼(사전등록 등) — 가운데 정렬, 넓게 */
.prose .button, .button {
  display: flex !important; align-items: center; justify-content: center; gap: .5em;
  width: 100%; max-width: 560px !important; min-height: 64px;
  padding: 1.1em 2em !important; margin: 24px auto !important;
  border-radius: 999px !important; border: 0 !important;
  background: var(--brand) !important; color: #fff !important; text-align: center;
  font-family: var(--font) !important; font-size: 1.12rem !important; font-weight: 700; letter-spacing: -0.01em; text-decoration: none !important;
  box-shadow: 0 10px 22px -10px rgba(14, 107, 120, .7);
  transition: transform .25s var(--ease), background .25s var(--ease);
}
.prose .button:hover, .button:hover { background: var(--brand-ink) !important; transform: translateY(-2px); color: #fff !important; }

/* Legacy inner header — hidden in favor of layout hero */
.gayheader { display: none; }

/* =========================================================
   Notice board
   ========================================================= */
.board-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.board-count { color: var(--muted); font-size: .95rem; }
.board-count strong { color: var(--brand); }
.board-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff;
  font: inherit; font-size: .9rem; font-weight: 600; color: var(--text); cursor: pointer; transition: all .2s var(--ease);
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.board-search { position: relative; }
.board-search input {
  width: 260px; max-width: 100%; padding: 10px 16px 10px 40px; border-radius: 999px; border: 1px solid var(--line-strong);
  font: inherit; font-size: .93rem; background: #fff; transition: border-color .2s, box-shadow .2s;
}
.board-search input:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(14, 107, 120,.1); }
.board-search svg { position: absolute; left: 14px; top: 50%; width: 17px; height: 17px; transform: translateY(-50%); color: var(--muted); }

.board { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); }
.board th { font-size: .88rem; font-weight: 600; color: var(--muted); padding: 16px 12px; border-bottom: 1px solid var(--line-strong); text-align: center; }
.board td { padding: 22px 12px; border-bottom: 1px solid var(--line); text-align: center; color: var(--muted); font-size: .95rem; }
.board td.subject { text-align: left; }
.board td.subject a { color: var(--ink); font-weight: 600; font-size: 1.05rem; display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.board tr:hover td.subject a { color: var(--brand); }
.board tr { transition: background .2s; }
.board tbody tr:hover { background: var(--bg-soft); }
.board .num { font-family: var(--font-en); width: 80px; }
.board .cat { width: 120px; }
.board .date { font-family: var(--font-en); width: 140px; }
.board tr.pinned td { background: #f5fafa; }
.board .pin { color: var(--brand); font-weight: 700; font-size: .85rem; }
.board-empty { text-align: center; padding: 60px 0; color: var(--muted); }
@media (max-width: 700px) {
  .board thead { display: none; }
  .board, .board tbody, .board tr, .board td { display: block; width: 100%; }
  .board tr { padding: 18px 4px; border-bottom: 1px solid var(--line); position: relative; }
  .board td { padding: 0; border: 0; text-align: left; }
  .board .num { display: none; }
  .board .cat { width: auto; margin-bottom: 8px; }
  .board .date { width: auto; margin-top: 6px; font-size: .85rem; }
  .board-search input { width: 100%; }
  .board-search { width: 100%; }
}

/* Notice detail */
.article-head { padding-bottom: 28px; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.article-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; margin: 16px 0 14px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; color: var(--muted); font-size: .92rem; }
.article-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line-strong); }
.article-image { margin: 0 0 40px; text-align: center; }
.article-image img { border-radius: var(--radius); box-shadow: var(--shadow); max-height: none; }
.attachments { margin: 48px 0 0; padding: 22px 24px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.attachments h3 { font-size: 1rem; margin: 0 0 10px; }
.attachments ul { list-style: none; margin: 0; padding: 0; }
.attachments a { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; padding: 4px 0; }
.attachments svg { width: 18px; height: 18px; }
.article-nav { margin-top: 64px; border-top: 2px solid var(--ink); }
.article-nav a, .article-nav span.none { display: grid; grid-template-columns: 90px 1fr; gap: 18px; padding: 18px 8px; border-bottom: 1px solid var(--line); color: var(--ink); }
.article-nav span.none { color: var(--muted); }
.article-nav a:hover { background: var(--bg-soft); color: var(--brand); }
.article-nav .dir { color: var(--muted); font-size: .9rem; font-weight: 600; }
.article-nav .t { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.article-actions { display: flex; justify-content: center; margin-top: 40px; }

/* =========================================================
   About pages
   ========================================================= */
.greeting { display: grid; grid-template-columns: 320px 1fr; gap: 64px; align-items: start; }
@media (max-width: 860px) { .greeting { grid-template-columns: 1fr; gap: 36px; } }
.greeting-photo { position: sticky; top: calc(var(--header-h) + 32px); }
@media (max-width: 860px) { .greeting-photo { position: static; max-width: 300px; } }
.greeting-photo .frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--bg-soft); }
.greeting-photo img { display: block; width: 100%; }
.greeting-photo figcaption { margin-top: 18px; }
.greeting-photo figcaption strong { display: block; font-size: 1.25rem; color: var(--ink); }
.greeting-photo figcaption span { color: var(--muted); font-size: .95rem; }
.greeting-text .quote {
  font-size: clamp(1.4rem, 2.6vw, 1.85rem); font-weight: 700; color: var(--ink); line-height: 1.5; letter-spacing: -0.03em;
  margin: 0 0 36px; padding-bottom: 32px; border-bottom: 1px solid var(--line);
}
.greeting-text .quote em { font-style: normal; color: var(--brand); }
.greeting-text p { font-size: 1.05rem; line-height: 1.95; margin-bottom: 1.3em; }
.greeting-text ol.focus { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 12px; counter-reset: f; }
.greeting-text ol.focus li { counter-increment: f; display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px 20px; background: var(--bg-soft); border-radius: var(--radius); border: 1px solid var(--line); }
.greeting-text ol.focus li::before { content: "0" counter(f); font-family: var(--font-en); font-weight: 700; color: var(--accent-ink); font-size: 1.1rem; }
.greeting-text ol.focus strong { display: block; color: var(--ink); margin-bottom: 2px; }
.signature { margin-top: 48px; text-align: right; color: var(--muted); }
.signature strong { display: block; font-size: 1.35rem; color: var(--ink); letter-spacing: .1em; margin-top: 4px; }

.vision-hero { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); margin-bottom: 64px; background: var(--navy-900); }
.vision-hero img { display: block; width: 100%; }
.vision-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .vision-grid { grid-template-columns: 1fr; } }
.v-card {
  position: relative; padding: 36px 32px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.v-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.v-card .k { font-family: var(--font-en); font-size: .78rem; letter-spacing: .2em; font-weight: 600; color: var(--accent-ink); text-transform: uppercase; }
.v-card h3 { font-size: 1.5rem; margin: 8px 0 16px; }
.v-card p { margin: 0; color: var(--text); }
.v-card .ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px; color: #fff; background: linear-gradient(135deg, var(--brand), var(--accent)); }
.v-card .ico svg { width: 26px; height: 26px; }
.v-card ol { margin: 0; padding: 0; list-style: none; counter-reset: b; }
.v-card ol li { counter-increment: b; display: grid; grid-template-columns: 26px 1fr; gap: 8px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .96rem; line-height: 1.6; }
.v-card ol li:last-child { border-bottom: 0; }
.v-card ol li::before { content: counter(b); font-family: var(--font-en); font-weight: 700; color: var(--brand); }

/* Bylaws */
.bylaw-layout { display: grid; grid-template-columns: 220px 1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .bylaw-layout { grid-template-columns: 1fr; gap: 24px; } }
.bylaw-toc { position: sticky; top: calc(var(--header-h) + 28px); padding: 22px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
@media (max-width: 900px) { .bylaw-toc { position: static; } .bylaw-toc ul { display: flex; flex-wrap: wrap; gap: 6px; } .bylaw-toc a { background: #fff; } }
.bylaw-toc h3 { font-size: .8rem; letter-spacing: .18em; color: var(--muted); font-family: var(--font-en); margin: 0 0 10px; }
.bylaw-toc ul { list-style: none; margin: 0; padding: 0; }
.bylaw-toc a { display: block; padding: 8px 12px; border-radius: var(--radius-sm); color: var(--text); font-size: .95rem; font-weight: 500; }
.bylaw-toc a:hover, .bylaw-toc a.is-current { background: #fff; color: var(--brand); }
.bylaw-dates { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.bylaw-dates span { padding: 8px 16px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.bylaw-dates strong { color: var(--ink); margin-left: 6px; }
.chapter { scroll-margin-top: calc(var(--header-h) + 24px); margin-bottom: 56px; }
.chapter > h3 {
  display: flex; align-items: baseline; gap: 14px; font-size: 1.45rem; font-weight: 800;
  padding-bottom: 16px; margin: 0 0 8px; border-bottom: 2px solid var(--ink);
}
.chapter > h3 small { font-family: var(--font-en); font-size: .82rem; font-weight: 600; letter-spacing: .14em; color: var(--accent-ink); }
.article { padding: 22px 0; border-bottom: 1px solid var(--line); }
.article h4 { font-size: 1.05rem; margin: 0 0 8px; color: var(--brand-ink); }
.article p { margin: 0 0 .5em; }
.article ol, .article ul { margin: 6px 0 0; padding-left: 1.4em; }
.article li { margin: 4px 0; }
.article .rev { font-size: .82rem; color: var(--muted); background: var(--bg-soft); padding: 2px 8px; border-radius: 6px; margin-left: 6px; }

/* Officers */
.officer-lead {
  display: grid; grid-template-columns: 200px 1fr; gap: 40px; align-items: center;
  padding: 36px; border-radius: var(--radius-lg); margin-bottom: 56px;
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700)); color: #fff; box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden; isolation: isolate;
}
.officer-lead::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; border: 1px solid rgba(240, 180, 41,.3); z-index: -1; }
.officer-lead img { width: 200px; height: 240px; object-fit: cover; border-radius: var(--radius); display: block; }
.officer-lead .role { color: var(--accent); font-weight: 700; letter-spacing: .1em; font-size: .9rem; }
.officer-lead h3 { color: #fff; font-size: 2rem; margin: 6px 0 4px; }
.officer-lead p { color: rgba(255,255,255,.75); margin: 0 0 18px; }
@media (max-width: 640px) { .officer-lead { grid-template-columns: 1fr; padding: 28px; } .officer-lead img { width: 160px; height: 192px; } }
.officer-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.officer-group { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 28px; background: #fff; transition: box-shadow .3s, transform .3s; }
.officer-group:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.officer-group h3 { font-size: .95rem; color: var(--brand); margin: 0 0 14px; display: flex; align-items: center; gap: 8px; }
.officer-group h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.officer-group ul { list-style: none; margin: 0; padding: 0; }
.officer-group li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.officer-group li:first-child { border-top: 0; }
.officer-group .name { font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.officer-group .org { font-size: .93rem; color: var(--muted); text-align: right; }

/* Membership */
.intro-text { font-size: 1.08rem; line-height: 1.95; max-width: 820px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 56px 0; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }
.plan { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px; background: #fff; position: relative; transition: transform .3s, box-shadow .3s; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan.featured { background: linear-gradient(160deg, var(--navy-900), var(--navy-700)); color: #fff; border-color: transparent; box-shadow: var(--shadow-lg); }
.plan .tier { font-size: .82rem; letter-spacing: .16em; font-family: var(--font-en); font-weight: 600; color: var(--accent-ink); text-transform: uppercase; }
.plan.featured .tier { color: var(--accent); }
.plan h3 { font-size: 1.4rem; margin: 6px 0 22px; }
.plan.featured h3 { color: #fff; }
.plan .price { font-size: 2.4rem; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; line-height: 1; }
.plan.featured .price { color: #fff; }
.plan .price small { font-size: .95rem; font-weight: 500; color: var(--muted); margin-left: 4px; letter-spacing: 0; }
.plan.featured .price small { color: rgba(255,255,255,.65); }
.plan .price.text { font-size: 1.35rem; line-height: 1.4; }
.plan .desc { margin: 22px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: .93rem; color: var(--muted); line-height: 1.7; }
.plan.featured .desc { border-color: rgba(255,255,255,.15); color: rgba(255,255,255,.7); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: s; margin-bottom: 56px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 12px; } }
.step { counter-increment: s; padding: 26px 24px; border-top: 2px solid var(--line); position: relative; }
.step::before { content: "STEP 0" counter(s); font-family: var(--font-en); font-size: .78rem; letter-spacing: .14em; font-weight: 700; color: var(--accent-ink); display: block; margin-bottom: 8px; }
.step::after { content: ""; position: absolute; left: 0; top: -2px; width: 48px; height: 2px; background: var(--brand); }
.step strong { display: block; font-size: 1.1rem; color: var(--ink); margin-bottom: 4px; }
.step span { color: var(--muted); font-size: .95rem; }

.cta-panel {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
  padding: 40px 44px; border-radius: var(--radius-lg); background: var(--bg-soft); border: 1px solid var(--line);
}
.cta-panel h3 { font-size: 1.4rem; margin: 0 0 6px; }
.cta-panel p { margin: 0; color: var(--muted); }
.info-rows { display: grid; gap: 0; margin-top: 28px; border-top: 1px solid var(--line); }
.info-row { display: grid; grid-template-columns: 160px 1fr; gap: 20px; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.info-row dt { font-weight: 600; color: var(--ink); }
.info-row dd { margin: 0; }
@media (max-width: 600px) { .info-row { grid-template-columns: 1fr; gap: 4px; } .cta-panel { padding: 28px; } }
.copy-btn { margin-left: 8px; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; font: inherit; font-size: .8rem; cursor: pointer; color: var(--text); }
.copy-btn:hover { border-color: var(--brand); color: var(--brand); }

/* Event page */
.poster-frame { max-width: 920px; margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--bg-soft); }
.poster-frame img { display: block; width: 100%; }
.event-head { text-align: center; margin-bottom: 40px; }
.event-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 10px 0 0; }
.event-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--muted); font-weight: 600; font-size: .9rem; }
.status-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

/* 404 */
.notfound { text-align: center; padding: 40px 0; }
.notfound .code { font-family: var(--font-en); font-size: clamp(5rem, 14vw, 9rem); font-weight: 700; line-height: 1; background: linear-gradient(135deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.65); padding: 72px 0 36px; font-size: .93rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr; gap: 32px; } }
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.footer-brand img { width: 52px; height: 52px; border-radius: 50%; background: #fff; }
.footer-brand strong { display: block; color: #fff; font-size: 1.15rem; }
.footer-brand span { display: block; font-family: var(--font-en); font-size: .74rem; letter-spacing: .08em; color: rgba(255,255,255,.5); }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .18em; font-family: var(--font-en); text-transform: uppercase; margin: 6px 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 8px 0; }
.site-footer a { color: rgba(255,255,255,.75); }
.site-footer a:hover { color: var(--accent); }
.contact-list li { display: grid; grid-template-columns: 56px 1fr; gap: 8px; }
.contact-list span { color: rgba(255,255,255,.4); }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 26px; font-size: .84rem; color: rgba(255,255,255,.4); }

/* =========================================================
   Motion
   ========================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; cursor: pointer;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand); }
.to-top svg { width: 20px; height: 20px; }
.board tr[hidden] { display: none !important; }
.prose .button.secondary { background: #fff !important; color: var(--brand) !important; border: 1.5px solid var(--brand) !important; box-shadow: none; }
.prose .button.secondary:hover { background: var(--bg-tint) !important; }
.board-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 16px; margin-top: 28px; }
.board-hint { color: var(--muted); font-size: .85rem; }
.board-actions .btn svg { width: 1em; height: 1em; }
.board-actions .btn:hover svg { transform: none; }

/* =========================================================
   행사 공지 양식 (notice-template.html)
   ========================================================= */
.prose .ev-title {
  display: flex; align-items: center; gap: 10px; margin: 2.6em 0 1em; padding-bottom: 12px;
  border-bottom: 2px solid var(--navy-800); color: var(--navy-800); font-size: 1.3rem; font-weight: 800;
}
.prose .ev-title::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--accent); flex: none; }
.ev-intro { font-size: 1.05rem; line-height: 1.9; }
.ev-center { text-align: center; color: var(--muted); }
.ev-info, .ev-program, .ev-fees { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; background: #fff; font-size: .98rem; line-height: 1.6; }
.ev-info th, .ev-info td { padding: 16px 20px; border-bottom: 1px solid var(--line); text-align: left; }
.ev-info tr:last-child > * { border-bottom: 0; }
.ev-info th { width: 20%; min-width: 96px; background: var(--navy-800); color: #fff; font-weight: 700; text-align: center; border-bottom-color: rgba(255,255,255,.12); }

.ev-day {
  display: flex; align-items: baseline; gap: 10px; margin: 28px 0 10px; padding: 14px 20px;
  background: linear-gradient(90deg, var(--navy-800), var(--brand)); color: #fff; border-radius: var(--radius-sm); font-weight: 800; font-size: 1.1rem;
}
.ev-day span { font-weight: 500; font-size: .95rem; color: rgba(255,255,255,.75); }
.ev-program { table-layout: fixed; }
.ev-program col.c-time { width: 19%; }
.ev-program col.c-speaker { width: 24%; }
.ev-program thead th { background: var(--bg-tint); color: var(--navy-800); font-weight: 700; padding: 13px 12px; border-bottom: 1px solid var(--line-strong); text-align: center; }
.ev-program td { padding: 14px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; text-align: center; }
.ev-program td + td { border-left: 1px solid var(--line); }
.ev-program tbody tr:last-child td { border-bottom: 0; }
.ev-program .ev-time { font-family: var(--font-en); font-weight: 600; color: var(--ink); white-space: nowrap; }
.ev-program .ev-time span { display: block; font-size: .82rem; color: var(--muted); font-weight: 500; }
.ev-program .ev-content strong { color: var(--ink); font-weight: 700; }
.ev-program .ev-sub { display: block; font-size: .88rem; color: var(--muted); margin-top: 4px; }
.ev-program .ev-speaker strong { display: block; color: var(--ink); }
.ev-program .ev-speaker span { display: block; font-size: .85rem; color: var(--muted); }
.ev-program .ev-opening td { background: #f1f8f8; }
.ev-program .ev-lecture td { background: #f4fafa; }
.ev-program .ev-lecture .ev-content strong { color: var(--brand); font-size: 1.05rem; }
.ev-program .ev-session td { background: #dff0f0; }
.ev-program .ev-session .ev-content strong { color: var(--navy-800); font-size: 1.05rem; }
.ev-program .ev-talk td.ev-content { text-align: left; }
.ev-program .ev-break td { background: #f7f8fa; color: var(--muted); font-size: .92rem; padding-top: 10px; padding-bottom: 10px; }
.ev-program .ev-meal td { background: #fff8e8; }
.ev-program .ev-field td { background: #eef8f1; }
@media (max-width: 640px) {
  .ev-program { table-layout: auto; min-width: 560px; }
  .ev-info th { width: 30%; }
}

.ev-fees th, .ev-fees td { padding: 14px 12px; text-align: center; border-bottom: 1px solid var(--line); }
.ev-fees td + td, .ev-fees th + td, .ev-fees th + th { border-left: 1px solid var(--line); }
.ev-fees thead th { background: var(--navy-800); color: #fff; font-weight: 700; border-left-color: rgba(255,255,255,.12); }
.ev-fees tbody th { background: var(--bg-soft); color: var(--ink); font-weight: 700; }
.ev-fees tbody tr:last-child > * { border-bottom: 0; }
.ev-fees td { font-weight: 600; color: var(--ink); }

.ev-box { margin: 18px 0 8px; padding: 20px 24px; border-left: 4px solid var(--navy-800); background: var(--bg-soft); border-radius: 0 var(--radius) var(--radius) 0; }
.ev-box ul { margin: 0; }
.ev-section { margin-bottom: 1em; }
.ev-sponsors { display: flex; flex-wrap: wrap; gap: 12px; }
.ev-sponsors span { flex: 1 1 200px; text-align: center; padding: 18px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg-soft); font-weight: 700; color: var(--ink); }
.prose .ev-closing { margin-top: 3em; padding-top: 28px; border-top: 1px solid var(--line); text-align: center; color: var(--text); }
.prose .ev-closing strong { display: block; margin-top: 6px; color: var(--navy-800); }
.board-actions[hidden] { display: none !important; }

/* =========================================================
   GeoMind hero — 지구 와이어프레임 + 금색 신경망 애니메이션
   ========================================================= */
.gm-hero .hero-visual .spin { transform-origin: 420px 400px; }
.gm-hero .hero-visual .spin-rev { transform-origin: 420px 400px; }
.gm-net path { stroke-dasharray: 600; stroke-dashoffset: 600; opacity: .9; animation: gm-draw 6s var(--ease) infinite; }
.gm-net path.d2 { animation-delay: .6s; }
.gm-net path.d3 { animation-delay: 1.2s; }
.gm-net path.d4 { animation-delay: 1.8s; }
@keyframes gm-draw {
  0% { stroke-dashoffset: 600; opacity: 0; }
  10% { opacity: .9; }
  45%, 75% { stroke-dashoffset: 0; opacity: .9; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
.gm-node { transform-box: fill-box; transform-origin: center; animation: gm-pulse 2.4s ease-in-out infinite; filter: drop-shadow(0 0 6px rgba(240, 180, 41, .8)); }
.gm-node.n2 { animation-delay: .4s; }
.gm-node.n3 { animation-delay: .8s; }
.gm-node.n4 { animation-delay: 1.2s; }
@keyframes gm-pulse { 0%, 100% { transform: scale(1); opacity: .95; } 50% { transform: scale(1.45); opacity: .6; } }
@media (prefers-reduced-motion: reduce) {
  .gm-net path { stroke-dashoffset: 0; opacity: .9; }
}

.gm-hero .hero-content { max-width: 820px; }
