/* 노원구골프협회 — 화면 모양
   톤: 흰 바탕, 작은 고딕(Pretendard), 가는 선, 초록은 '다음' 표시에만.
   글자: 13(보조) · 15(본문) · 17 · 22 · 26 · 44(첫 화면 제목). 굵기 400 / 500 / 600.
   내용은 data/site-data.js 에서 바꿉니다. */

:root {
  --ink: #111315;
  --ink-2: #4a4f55;
  --ink-3: #6b7178;
  --line: #e6e7e8;
  --line-2: #d4d6d9;
  --soft: #f5f6f7;
  --white: #fff;
  --green: #0f7a45;
  --green-soft: #e8f3ec;
  --flag: #e0503d;
  --danger: #b3261e;
  --focus: #1a73e8;
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --wrap: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.7; letter-spacing: -0.01em;
  color: var(--ink); background: var(--white); word-break: keep-all; overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.025em; text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
ul, ol { padding: 0; list-style: none; }
strong, b { font-weight: 600; }
a { color: inherit; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
::selection { background: var(--green-soft); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 40px; }
.narrow { max-width: 840px; }

/* 깃발: '다음'을 가리키는 표시 */
.flag { display: inline-block; width: 14px; height: 17px; flex-shrink: 0; vertical-align: -3px; }
.flag-pole { stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.flag-cloth { fill: var(--flag); }

/* ---------- 버튼·링크 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 44px; padding: 0 20px; border-radius: var(--r-sm); border: 1px solid transparent;
  font-size: 15px; font-weight: 600; line-height: 1; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease), transform 120ms var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-primary, .btn-light { background: var(--ink); color: var(--white); }
.btn-primary:hover, .btn-light:hover { background: #2a2e33; }
.btn-outline, .btn-ghost-light { background: var(--white); color: var(--ink); border-color: var(--line-2); }
.btn-outline:hover, .btn-ghost-light:hover { background: var(--soft); border-color: var(--ink-3); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; background: var(--ink); color: var(--white); }
.btn-sm:hover { background: #2a2e33; }
.btn-lg, .btn-xl { height: 48px; padding: 0 24px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
/* 글자 링크: 화살표 없이 가는 밑줄. 올리면 진한 선이 왼쪽에서 그어짐 */
.text-link {
  display: inline; padding-bottom: 3px; font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none;
  background-image: linear-gradient(var(--ink), var(--ink)), linear-gradient(var(--line-2), var(--line-2));
  background-repeat: no-repeat; background-position: 0 100%, 0 100%; background-size: 0 1px, 100% 1px;
  transition: background-size 420ms var(--ease);
}
.text-link:hover { background-size: 100% 1px, 100% 1px; }

/* ---------- 머리말 ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand-logo, .brand-mark { height: 30px; width: auto; }
.brand-ko { font-size: 15px; font-weight: 600; letter-spacing: -0.02em; }
.brand-en { display: none; }
.gnb { margin-left: auto; }
.gnb ul { display: flex; gap: 4px; }
.gnb a { display: flex; align-items: center; height: 40px; padding: 0 12px; font-size: 14px; color: var(--ink-2); text-decoration: none; border-radius: var(--r-sm); transition: color 160ms var(--ease), background-color 160ms var(--ease); }
.gnb a:hover { color: var(--ink); background: var(--soft); }
.gnb a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; align-items: center; gap: 8px; height: 36px; padding: 0 10px; border-radius: var(--r-sm); background: var(--white); border: 1px solid var(--line-2); font-size: 14px; font-weight: 500; cursor: pointer; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 16px; height: 1.5px; background: currentColor; border-radius: 2px; position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -5px; }
.menu-icon::after { top: 5px; }
.menu-btn[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-icon::before { top: 0; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon::after { top: 0; transform: rotate(-45deg); }
.mobile-menu { border-top: 1px solid var(--line); background: var(--white); max-height: calc(100dvh - 64px); overflow-y: auto; }
.mobile-menu ul { padding: 8px 0 20px; }
.mobile-menu a, .m-group { display: flex; align-items: center; min-height: 48px; font-size: 16px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line); }
.m-group { min-height: 40px; margin-top: 8px; font-size: 13px; color: var(--ink-3); border-bottom: 0; }
.m-sub { padding: 0 0 4px !important; }
.m-sub a { padding-left: 14px; font-weight: 400; }
.mobile-menu a[aria-current="page"] { font-weight: 600; }
body.popup-open, body.menu-open { overflow: hidden; }

/* ---------- 메인: 첫 화면 ---------- */
.hero { padding: 88px 0 0; }
.hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 80px; align-items: center; }
.hero h1 { font-size: 44px; line-height: 1.25; letter-spacing: -0.035em; }
.hero-lead { margin-top: 20px; max-width: 30em; font-size: 16px; color: var(--ink-2); }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 32px; }
.facts { display: flex; gap: 40px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }
.facts dt { font-size: 13px; color: var(--ink-3); }
.facts dd { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.next { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; background: var(--white); }
.next-top { display: flex; justify-content: space-between; align-items: center; }
.next-top h2 { font-size: 13px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink-3); }
.dday { font-size: 12px; font-weight: 600; color: var(--green); background: var(--green-soft); padding: 3px 9px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.next-date { margin-top: 14px; font-size: 32px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.2; font-variant-numeric: tabular-nums; }
.next-date small { margin-left: 8px; font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--ink-3); }
.next-where { margin-top: 6px; color: var(--ink-2); }
.next-list { margin-top: 22px; border-top: 1px solid var(--line); }
.next-list li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.next-list li span:first-child { font-weight: 500; font-variant-numeric: tabular-nums; }
.next-list li span:last-child { color: var(--ink-3); text-align: right; }
.next-list .is-cancelled span:first-child { text-decoration: line-through; color: var(--ink-3); }
.next .text-link { display: inline-block; margin-top: 16px; font-size: 13px; }
.hero-figure { margin-top: 72px; border-radius: var(--r-lg); overflow: hidden; background: var(--soft); aspect-ratio: 21 / 8; }
.hero-figure picture, .hero-figure img { width: 100%; height: 100%; }
.hero-figure img { object-fit: cover; object-position: 60% 62%; }

/* ---------- 구역 ---------- */
.section, .section-xl { padding: 88px 0; }
.section-line { border-top: 1px solid var(--line); }
.section-soft, .section-dark { background: var(--soft); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.display { font-size: 26px; line-height: 1.35; letter-spacing: -0.03em; }
.section-title { font-size: 22px; line-height: 1.35; margin-bottom: 20px; }
.sub-title { font-size: 13px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink-3); margin-bottom: 4px; }
.sub-title:not(:first-child) { margin-top: 36px; }
.lead { margin: 12px 0 24px; font-size: 16px; color: var(--ink-2); }
.section-note { margin-top: 24px; font-size: 13px; color: var(--ink-3); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.empty { padding: 28px; font-size: 14px; color: var(--ink-3); background: var(--soft); border-radius: var(--r); }
.pending, .vacant { color: var(--ink-3); }
.tag { display: inline-block; padding: 1px 8px; border-radius: 999px; background: var(--soft); font-size: 12px; color: var(--ink-2); }
.notice-box { display: flex; gap: 10px; align-items: flex-start; margin: 24px 0 16px; padding: 14px 16px; border-radius: var(--r); background: var(--soft); font-size: 14px; color: var(--ink-2); }
.notice-box .flag { margin-top: 3px; color: var(--ink-3); }
.notice-box-top { margin: 0 0 8px; background: var(--white); border: 1px solid var(--line); }
.card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; background: var(--white); }
.card-title { font-size: 17px; margin-bottom: 8px; }
.prose { font-size: 16px; line-height: 1.85; color: var(--ink-2); }
.prose p + p { margin-top: 1.1em; }

/* 달력 띠 */
.month-cap { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--ink-3); padding-bottom: 14px; }
.days { display: grid; grid-template-columns: repeat(var(--n, 31), minmax(0, 1fr)); padding-top: 16px; border-top: 1px solid var(--line); }
.day { display: flex; flex-direction: column; align-items: center; gap: 8px; min-height: 60px; font-size: 12px; color: #b0b4b9; font-variant-numeric: tabular-nums; }
.day-n { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; }
.day.is-on .day-n { background: var(--ink); color: var(--white); font-weight: 600; }
.day.is-next .day-n { background: var(--green); color: var(--white); font-weight: 600; }
.day.is-on.is-past .day-n { background: var(--line-2); color: var(--ink-2); }
.day-place { font-size: 12px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.venues { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 40px; border-top: 1px solid var(--line); }
.venues li { display: flex; flex-direction: column; gap: 2px; padding: 20px 24px 0 0; }
.venues li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.vn-when { font-size: 13px; color: var(--ink-3); }
.vn-place { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.vn-kind { font-size: 13px; color: var(--ink-2); }

/* 사진과 글 나란히 */
.split { display: grid; gap: 72px; align-items: center; }
.split-cup { grid-template-columns: 5fr 7fr; }
.split-copy .display { margin-bottom: 4px; }
.media { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--soft); }
.media picture, .media img { display: block; width: 100%; height: 100%; }
.media img { object-fit: cover; }
.media-tall { aspect-ratio: 4 / 5; max-width: 420px; }
.media-wide { aspect-ratio: 4 / 3; }
.media-wide img { object-position: 50% 30%; }

.record-list { border-top: 1px solid var(--ink); }
.record-list li { display: grid; grid-template-columns: 72px 1fr 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; align-items: baseline; }
.rc-round { font-weight: 600; }
.rc-date { font-variant-numeric: tabular-nums; }
.rc-place { color: var(--ink-3); }
.record-list-full li { grid-template-columns: 120px 1fr 1fr; }
.rc-result { grid-column: 2 / -1; font-size: 13px; color: var(--ink-3); }
.cup-note { display: block; font-size: 12px; font-weight: 400; color: var(--ink-3); }


/* 임원 */
.avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: center 20%; flex-shrink: 0; background: var(--soft); color: var(--ink-2); font-size: 18px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.avatar-empty { background: var(--white); border: 1px dashed var(--line-2); }
.avatar-lg { width: 96px; height: 96px; font-size: 28px; }
.officer-role { font-size: 13px; font-weight: 400; color: var(--ink-3); }
.lead-person { display: grid; grid-template-columns: 200px 1fr; gap: 56px; align-items: center; }
.lp-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 15%; border-radius: var(--r-lg); background: var(--soft); }
.lp-quote { font-size: 22px; font-weight: 500; line-height: 1.5; letter-spacing: -0.03em; max-width: 24em; }
.lp-name { display: flex; align-items: baseline; gap: 10px; margin: 20px 0 6px; font-size: 15px; font-weight: 600; }
.nick { font-size: 13px; font-weight: 400; color: var(--ink-3); }

/* 소식·문의 */
.notice-list { border-top: 1px solid var(--ink); }
.notice-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.notice-title { font-weight: 500; transition: color 160ms var(--ease); }
.notice-list a:hover .notice-title { color: var(--green); }
.notice-date { flex-shrink: 0; font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.call-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); }
.call-who { font-size: 13px; color: var(--ink-3); }
.call-no { display: inline-block; font-size: 26px; font-weight: 600; letter-spacing: -0.02em; text-decoration: none; font-variant-numeric: tabular-nums; }
.call-no:hover { color: var(--green); }
.call-note { margin-top: 6px; font-size: 13px; color: var(--ink-3); }
.info-list > div { display: flex; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.info-list > div:first-child { border-top: 1px solid var(--line); }
.info-list dt { width: 96px; flex-shrink: 0; color: var(--ink-3); }
.info-list dd { flex: 1; min-width: 0; }
.info-list a { color: var(--green); }

/* 함께하는 곳 */
.section-sponsors { padding: 56px 0; border-top: 1px solid var(--line); }
.sponsor-group + .sponsor-group { margin-top: 24px; }
.sponsor-group h3 { font-size: 13px; font-weight: 500; color: var(--ink-3); margin-bottom: 10px; }
.sponsor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.sponsor { display: flex; align-items: center; justify-content: center; height: 72px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; }
.sponsor img { max-height: 40px; width: auto; object-fit: contain; filter: grayscale(1); opacity: 0.8; }
.sponsor-name { font-size: 14px; font-weight: 500; color: var(--ink-2); }

/* ---------- 하위 페이지 머리 ---------- */
.page-head { padding: 64px 0 40px; }
.page-head h1 { font-size: 32px; line-height: 1.3; letter-spacing: -0.035em; }
.page-lead { margin-top: 10px; font-size: 16px; color: var(--ink-2); }
.page-figure { margin-top: 36px; border-radius: var(--r-lg); overflow: hidden; background: var(--soft); aspect-ratio: 21 / 6; }
.page-figure picture, .page-figure img { width: 100%; height: 100%; }
.page-figure img { object-fit: cover; object-position: center 50%; }
.pf-flag img { object-position: 60% 24%; }
.pf-ball img { object-position: 50% 34%; }
.pf-hero img { object-position: 60% 60%; }
.pf-scorecard img { object-position: 50% 60%; }
.subnav { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: flex; align-items: center; height: 48px; padding: 0 14px; font-size: 14px; color: var(--ink-3); text-decoration: none; white-space: nowrap; }
.subnav a:hover { color: var(--ink); }
.subnav a[aria-current="page"] { color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--ink); }

/* 회장 인사말 */
.greeting { display: grid; grid-template-columns: 280px 1fr; gap: 72px; align-items: start; }
.greeting-photo { position: sticky; top: 96px; }
.greeting-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 15%; border-radius: var(--r-lg); }
.greeting-photo figcaption { display: flex; flex-direction: column; margin-top: 14px; }
.g-pos, .g-en { font-size: 13px; color: var(--ink-3); }
.g-name { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.g-name span { font-size: 13px; font-weight: 400; color: var(--ink-3); }
.greeting-text { max-width: 38em; font-size: 16px; line-height: 1.9; color: var(--ink-2); }
.greeting-text p + p { margin-top: 1.2em; }
.greeting-open { color: var(--ink); font-weight: 600; }
.pledge { padding: 20px 24px; border-radius: var(--r); background: var(--soft); color: var(--ink); font-weight: 500; }
.pledge strong { font-weight: 600; }
.signature { text-align: right; color: var(--ink); font-weight: 600; }
.profile-title { font-size: 26px; letter-spacing: -0.03em; }
.profile-motto { margin-top: 8px; color: var(--ink-2); }
.profile-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 36px; }
.profile-col h3 { font-size: 13px; font-weight: 500; color: var(--ink-3); padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.profile-col li { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.value { padding: 22px 24px 0 0; }
.value + .value { padding-left: 24px; border-left: 1px solid var(--line); }
.value-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.value h3 { margin-top: 12px; font-size: 16px; }
.value p { margin-top: 2px; font-size: 13px; color: var(--ink-3); }

/* 협회 소개 */
.intro { font-size: 20px; line-height: 1.7; letter-spacing: -0.025em; font-weight: 500; }
.fact-row { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 40px; border-top: 1px solid var(--ink); }
.fact-row > div { padding: 18px 24px 0 0; }
.fact-row > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.fact-row dt { font-size: 13px; color: var(--ink-3); }
.fact-row dd { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.timeline li { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.timeline li:first-child { border-top: 1px solid var(--ink); }
.tl-when { font-weight: 500; font-variant-numeric: tabular-nums; }
.tl-what { color: var(--ink-2); }
.table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); font-size: 14px; }
.table th, .table td { padding: 13px 16px 13px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table thead th { font-size: 13px; font-weight: 400; color: var(--ink-3); }
.table tbody th { font-weight: 600; white-space: nowrap; }

/* 소속 클럽 */
.club-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; margin-bottom: 20px; }
.club { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.club h2, .club h3 { font-size: 17px; }
.club-full { font-size: 13px; color: var(--ink-3); margin-bottom: 10px; }

/* 대회·월례회 */
.meet-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.meet-list li:first-child { border-top: 1px solid var(--ink); }
.meet-date { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-variant-numeric: tabular-nums; }
.meet-date .flag { color: var(--ink-3); }
.meet-place { color: var(--ink-3); text-align: right; }
.meet-list .is-cancelled .meet-date { text-decoration: line-through; color: var(--ink-3); }
.rule-list li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.rule-list li:first-child { border-top: 1px solid var(--ink); }
.rule-list strong { font-weight: 500; }
.rule-list span { color: var(--ink-3); }
.section-soft > .section { padding-top: 56px; }


/* 갤러리·지도 */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.gallery-item { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; text-align: left; }
.gallery-item img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--r); }
.gallery-cap { display: block; padding-top: 8px; font-size: 13px; color: var(--ink-3); }
.map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--soft); }
.map iframe { display: block; width: 100%; height: 400px; border: 0; }

/* ---------- 팝업 ---------- */
.popup-backdrop { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(17, 19, 21, 0.44); }
.popup { background: var(--white); border-radius: var(--r-lg); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18); }
.pop { width: 420px; max-width: 100%; padding: 24px; }
.pop-who { display: flex; gap: 16px; align-items: center; }
.pop-who img { width: 64px; height: 64px; border-radius: var(--r); object-fit: cover; object-position: center 15%; }
.pop-title { font-size: 17px; letter-spacing: -0.02em; }
.pop-title:focus { outline: none; }
.pop-name { font-size: 13px; color: var(--ink-3); }
.pop-text { margin: 18px 0 20px; font-size: 14.5px; line-height: 1.75; color: var(--ink-2); }
.pop-row { display: flex; justify-content: space-between; margin-top: 8px; }
.pop-link { height: 36px; padding: 0 4px; border: 0; background: none; font-size: 13px; color: var(--ink-3); cursor: pointer; }
.pop-link:hover { color: var(--ink); }
.lightbox-inner { display: flex; flex-direction: column; gap: 12px; width: min(960px, 100%); max-height: calc(100dvh - 40px); padding: 12px; }
.lightbox-inner img { flex: 1 1 auto; min-height: 0; width: 100%; object-fit: contain; border-radius: var(--r-sm); }
.lightbox-cap { text-align: center; font-size: 13px; color: var(--ink-3); }

/* ---------- 푸터 ---------- */
.site-footer { padding: 36px 0 28px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.ft-top { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.ft-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo { width: 34px; height: auto; }
.footer-name { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.footer-slogan { font-size: 13px; }
.ft-links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.ft-links a { display: inline-flex; align-items: center; height: 36px; color: var(--ink-2); text-decoration: none; }
.ft-links a:hover { color: var(--ink); }
.ft-bottom { display: flex; justify-content: space-between; gap: 6px 24px; flex-wrap: wrap; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.ft-meta { display: flex; flex-wrap: wrap; gap: 2px 20px; }
.ft-meta a { color: var(--ink-2); }

/* ---------- 움직임: 조용하게 ---------- */
@media (prefers-reduced-motion: no-preference) {
  @keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
  @keyframes settle { from { transform: scale(1.04); } to { transform: none; } }
  .hero-copy > *, .next { animation: rise 700ms var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: 60ms; }
  .hero-copy > :nth-child(3) { animation-delay: 120ms; }
  .hero-copy > :nth-child(4) { animation-delay: 180ms; }
  .next { animation-delay: 160ms; }
  .hero-figure { animation: fade 900ms var(--ease) 240ms both; }
  .hero-figure img, .page-figure img { animation: settle 1600ms var(--ease) both; }
  .page-head h1, .page-lead { animation: rise 600ms var(--ease) both; }
  .popup-backdrop { animation: fade 200ms var(--ease) both; }
  .pop { animation: rise 320ms var(--ease) 40ms both; }
  .popup-backdrop.is-closing { opacity: 0; transition: opacity 180ms var(--ease); }
  .js-motion .reveal-img img { transform: scale(1.04); transition: transform 1400ms var(--ease); }
  .js-motion .reveal-img.is-in img { transform: none; }
}

/* ================== 태블릿 ================== */
@media (max-width: 1000px) {
  .gnb { display: none; }
  .header-actions { margin-left: auto; }
  .menu-btn { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .split, .split-cup, .split-join, .two-col, .apply-wrap { grid-template-columns: 1fr; gap: 40px; }
  .media-tall { aspect-ratio: 16 / 9; max-width: none; }
  .greeting { grid-template-columns: 1fr; gap: 32px; }
  .greeting-photo { position: static; display: flex; gap: 20px; align-items: flex-end; }
  .greeting-photo img { width: 160px; }
  .values { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .value:nth-child(3) { padding-left: 0; border-left: 0; }
}

/* ================== 휴대폰 ================== */
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .header-inner { gap: 12px; }
  .hero { padding-top: 48px; }
  .hero h1 { font-size: 32px; }
  .hero-lead { font-size: 15px; }
  .hero-actions { margin-top: 28px; }
  .facts { margin-top: 36px; gap: 32px; }
  .next { padding: 22px; }
  .hero-figure { margin-top: 40px; aspect-ratio: 4 / 3; }
  .section, .section-xl { padding: 56px 0; }
  .section-head { margin-bottom: 24px; }
  .display { font-size: 22px; }
  .days { grid-template-columns: repeat(7, 1fr); row-gap: 6px; }
  .day:first-child { grid-column-start: var(--start, 1); }
  .month-cap { flex-direction: column; gap: 2px; }
  .venues { grid-template-columns: 1fr; margin-top: 28px; }
  .venues li, .venues li + li { padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--line); flex-direction: row; align-items: baseline; gap: 10px; }
  .vn-place { order: 1; }
  .vn-kind { order: 2; }
  .vn-when { order: 3; margin-left: auto; }
  .record-list li, .record-list-full li { grid-template-columns: 64px 1fr; }
  .rc-place, .rc-result { grid-column: 2; }
  .lead-person { grid-template-columns: 1fr; gap: 24px; }
  .lp-photo { width: 120px; }
  .lp-quote { font-size: 19px; }
  .page-head { padding: 40px 0 28px; }
  .page-head h1 { font-size: 26px; }
  .page-lead { font-size: 15px; }
  .page-figure { margin-top: 24px; aspect-ratio: 16 / 9; }
  .profile-cols { grid-template-columns: 1fr; gap: 32px; }
  .values { grid-template-columns: 1fr; row-gap: 0; }
  .value, .value + .value, .value:nth-child(3) { padding: 16px 0; border-left: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 24px 1fr; column-gap: 14px; }
  .value-icon { grid-row: span 2; }
  .value h3 { margin-top: 0; }
  .intro { font-size: 18px; }
  .fact-row { grid-template-columns: 1fr; }
  .fact-row > div, .fact-row > div + div { padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .timeline li { grid-template-columns: 1fr; gap: 0; }
  .club-grid { grid-template-columns: 1fr; }
  .meet-list li, .rule-list li { flex-direction: column; gap: 0; }
  .meet-place { text-align: left; }
  .table, .table tbody, .table tr, .table th, .table td { display: block; width: 100%; }
  .table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .table th, .table td { border: 0; padding: 2px 0; }
  .table td { display: flex; gap: 10px; }
  .table td::before { content: attr(data-label); flex: 0 0 48px; color: var(--ink-3); font-size: 13px; }
  .map iframe { height: 300px; }
  .popup-backdrop { align-items: flex-end; padding: 12px; }
  .ft-links { gap: 0 20px; }
}
@media (max-width: 380px) {
  .brand-ko { font-size: 14px; }
}

/* 마무리 손질 */
.split-cup .media img { object-position: 62% 30%; }
div.section-soft > .wrap:first-child { padding-top: 56px; }
.section-soft > .section { padding-top: 40px; }
.record-list-full li { align-items: start; row-gap: 2px; }
@media (max-width: 1000px) {
  .split-cup .media { aspect-ratio: 4 / 3; }
  .split-cup .media img { object-position: 60% 22%; }
}

/* =====================================================================
   첫 화면: 사진 가득 + 명조 협회명 + 아래 정보 띠
   ===================================================================== */
@font-face { font-family: "MaruBuri"; font-weight: 400; font-display: swap;
  src: url(https://hangeul.pstatic.net/hangeul_static/webfont/MaruBuri/MaruBuri-Regular.woff2) format("woff2"), url(https://hangeul.pstatic.net/hangeul_static/webfont/MaruBuri/MaruBuri-Regular.woff) format("woff"); }
:root { --serif: "MaruBuri", "Noto Serif KR", "Apple Myungjo", serif; --hero-ink: #0c2a1f; --on-photo: #f3f7f2; --on-photo-2: #d5e2d9; }

.hero { position: relative; padding: 0; height: 100svh; min-height: 640px; max-height: 960px; overflow: hidden; background: #e9dcc8; }
.hero-bg { position: absolute; inset: -6% 0 0 0; display: block; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 58%; will-change: transform; }
.hero-shade { position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(8, 26, 18, 0.92) 0%, rgba(8, 26, 18, 0.72) 17%, rgba(8, 26, 18, 0) 40%),
    linear-gradient(100deg, rgba(247, 239, 226, 0.9) 0%, rgba(247, 239, 226, 0.62) 30%, rgba(247, 239, 226, 0) 56%); }
.hero-inner { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding-top: 148px; padding-bottom: 36px; }
.hero-copy { will-change: transform, opacity; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 5.6vw, 84px); line-height: 1.14; letter-spacing: -0.03em; color: var(--hero-ink); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero h1 .line > span { display: inline-block; }
.hero-lead { margin-top: 22px; max-width: none; font-size: 17px; color: var(--ink); }
.hero-actions { margin-top: 30px; }
.btn-hero { height: 48px; padding: 0 24px; background: #17603f; color: var(--white); }
.btn-hero:hover { background: var(--hero-ink); }
.hero-rail { display: flex; align-items: flex-start; color: var(--white); border-top: 1px solid rgba(243, 247, 242, 0.3); padding-top: 22px; }
.rail-item { display: flex; flex-direction: column; gap: 2px; }
.rail-label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--on-photo); }
.rail-label .flag { color: var(--white); }
.rail-value { font-family: var(--serif); font-weight: 400; font-size: 36px; line-height: 1.25; letter-spacing: -0.02em; color: var(--white); font-variant-numeric: tabular-nums; }
.rail-value small { font-family: var(--font); font-size: 14px; font-weight: 500; margin-left: 4px; letter-spacing: 0; }
.rail-sub { font-size: 14px; color: var(--on-photo); }
.rail-next { text-decoration: none; padding-right: 44px; }
.rail-next:hover .rail-value { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.rail-stats { display: flex; }
.rail-stats .rail-item { padding: 0 36px; border-left: 1px solid rgba(243, 247, 242, 0.3); }
.rail-note { margin-left: auto; align-self: flex-end; font-size: 13px; color: var(--on-photo); }

/* 머리말: 메인에서는 사진 위에 투명하게, 내릴 때 숨고 올릴 때 나타남 */
.site-header { transition: transform 420ms var(--ease), background-color 320ms var(--ease), border-color 320ms var(--ease); }
.site-header.is-hidden { transform: translateY(-100%); }
body[data-page="home"] .site-header { position: fixed; left: 0; right: 0; }
body[data-page="home"] .site-header:not(.is-scrolled) { background: transparent; backdrop-filter: none; border-bottom-color: transparent; }
body.menu-open .site-header { background: var(--white) !important; transform: none; }
body[data-page="home"] .site-header:not(.is-scrolled) .gnb a { color: var(--hero-ink); }
body[data-page="home"] .site-header:not(.is-scrolled) .gnb a:hover { background: rgba(255, 255, 255, 0.5); }
.gnb a { position: relative; }

/* 메뉴 버튼: 상자 없이 */
.menu-btn { border: 0; background: none; padding: 0 4px; height: 40px; font-size: 15px; }
.menu-btn:hover { color: var(--ink-2); }

/* =====================================================================
   움직임
   ===================================================================== */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: vt-out 220ms var(--ease) both; }
  ::view-transition-new(root) { animation: vt-in 420ms var(--ease) both; }
  @keyframes vt-out { to { opacity: 0; } }
  @keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

  /* 첫 화면: 사진이 천천히 자리 잡고, 협회명이 한 줄씩 올라옴 */
  @keyframes hero-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
  @keyframes line-up { from { transform: translateY(108%); } to { transform: none; } }
  @keyframes rail-line { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
  .hero-bg { animation: hero-zoom 2600ms var(--ease) both; }
  .hero h1 .line > span { animation: line-up 1100ms var(--ease) both; }
  .hero h1 .line:nth-child(1) > span { animation-delay: 180ms; }
  .hero h1 .line:nth-child(2) > span { animation-delay: 300ms; }
  .hero .hero-lead { animation: rise 900ms var(--ease) 520ms both; }
  .hero .hero-actions { animation: rise 900ms var(--ease) 620ms both; }
  .hero-copy > * { animation-name: none; }
  .hero-copy > .hero-lead, .hero-copy > .hero-actions { animation-name: rise; }
  .hero-rail { animation: rail-line 1200ms var(--ease) 700ms both; }
  .hero-rail .rail-item, .hero-rail .rail-note { animation: rise 900ms var(--ease) both; }
  .hero-rail > .rail-item { animation-delay: 820ms; }
  .rail-stats .rail-item:nth-child(1) { animation-delay: 920ms; }
  .rail-stats .rail-item:nth-child(2) { animation-delay: 1020ms; }
  .hero-rail .rail-note { animation-delay: 1120ms; }

  /* 스크롤하면 나타나는 요소 */
  .js-motion .rv { opacity: 0; transform: translateY(22px); transition: opacity 800ms var(--ease), transform 900ms var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
  .js-motion .rv.is-in { opacity: 1; transform: none; }
  .js-motion .rv-line { overflow: hidden; }
  .js-motion .rv-line-in { display: block; transform: translateY(105%); transition: transform 1000ms var(--ease); }
  .js-motion .rv-line.is-in .rv-line-in { transform: none; }
  /* 사진은 위에서 아래로 열리듯 (가리는 것은 안쪽 picture — 바깥 틀을 가리면 화면 진입을 감지하지 못함) */
  .js-motion .rv-img:not(.is-in) { background: transparent; }
  .js-motion .rv-img picture { display: block; clip-path: inset(0 0 100% 0); transition: clip-path 1300ms var(--ease); }
  .js-motion .rv-img.is-in picture { clip-path: inset(0 0 0 0); }
  .js-motion .rv-img picture img { transform: scale(1.14); transition: transform 1700ms var(--ease); }
  .js-motion .rv-img.is-in picture img { transform: none; }
  .js-motion img.rv-img { opacity: 0; transform: translateY(22px); transition: opacity 900ms var(--ease), transform 1000ms var(--ease); }
  .js-motion img.rv-img.is-in { opacity: 1; transform: none; }

  /* 달력 띠: 선이 왼쪽에서 오른쪽으로 그어지고, 그 선이 지나가는 순서대로 날짜가 켜짐.
     월례회 날은 동그라미가 톡 찍히고, 다음 월례회는 고리가 천천히 퍼짐 */
  .js-motion .month.rv { opacity: 1; transform: none; }
  .js-motion .month .month-cap { opacity: 0; transition: opacity 700ms var(--ease); }
  .js-motion .month.is-in .month-cap { opacity: 1; }
  .js-motion .days::before { transform: scaleX(0); transition: transform 1500ms cubic-bezier(0.65, 0, 0.35, 1); }
  .js-motion .month.is-in .days::before { transform: none; }
  .js-motion .month .day { opacity: 0; transform: translateY(6px); transition: opacity 500ms var(--ease), transform 600ms var(--ease); transition-delay: calc(var(--d, 0) * 44ms + 120ms); }
  .js-motion .month.is-in .day { opacity: 1; transform: none; }
  .js-motion .month .day.is-on .day-n, .js-motion .month .day.is-next .day-n { transform: scale(0); transition: transform 700ms cubic-bezier(0.34, 1.56, 0.64, 1); transition-delay: calc(var(--d, 0) * 44ms + 260ms); }
  .js-motion .month.is-in .day.is-on .day-n, .js-motion .month.is-in .day.is-next .day-n { transform: none; }
  .js-motion .month .day-place, .js-motion .month .day-dday, .js-motion .month .day-today { opacity: 0; transform: translateY(-4px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); transition-delay: calc(var(--d, 0) * 44ms + 520ms); }
  .js-motion .month .day-dday { transition-delay: calc(var(--d, 0) * 44ms + 700ms); }
  .js-motion .month.is-in .day-place, .js-motion .month.is-in .day-dday, .js-motion .month.is-in .day-today { opacity: 1; transform: none; }
  @keyframes day-ring { 0% { transform: scale(1); opacity: 0.55; } 70%, 100% { transform: scale(2.3); opacity: 0; } }
  .js-motion .month.is-in .day.is-next .day-n::after { animation: day-ring 2800ms var(--ease) infinite; animation-delay: calc(var(--d, 0) * 44ms + 1100ms); }
  .day.is-on .day-n, .day.is-next .day-n { transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1); }
  .js-motion .month.is-in .day.is-on:hover .day-n, .js-motion .month.is-in .day.is-next:hover .day-n { transform: scale(1.14); transition-delay: 0ms; }

  /* 손이 닿을 때 */
  .media img { transition: transform 900ms var(--ease); }
  .media:hover img { transform: scale(1.04); }
  .js-motion .rv-img.is-in:hover picture img { transform: scale(1.04); }
  .notice-list a { transition: transform 400ms var(--ease); }
  .notice-list a:hover { transform: translateX(6px); }
  .btn-primary, .btn-hero, .btn-sm { position: relative; overflow: hidden; }
}

/* =====================================================================
   명조(마루 부리)를 쓰는 곳: 제목 · 인용 · 장소와 사람 이름 · 큰 숫자
   버튼, 메뉴, 본문, 라벨은 고딕 그대로 둡니다.
   ===================================================================== */
@font-face { font-family: "MaruBuri"; font-weight: 600; font-display: swap;
  src: url(https://hangeul.pstatic.net/hangeul_static/webfont/MaruBuri/MaruBuri-SemiBold.woff2) format("woff2"), url(https://hangeul.pstatic.net/hangeul_static/webfont/MaruBuri/MaruBuri-SemiBold.woff) format("woff"); }

/* 큰 글자는 가늘게 */
.display, .section-title, .page-head h1, .profile-title, .lp-quote, .intro, .call-no, .next-date, .fact-row dd, .facts dd {
  font-family: var(--serif); font-weight: 400;
}
.display { font-size: 30px; line-height: 1.4; letter-spacing: -0.03em; }
.section-title { font-size: 26px; letter-spacing: -0.03em; }
.page-head h1 { font-size: 38px; letter-spacing: -0.03em; }
.profile-title { font-size: 30px; }
.lp-quote { font-size: 26px; line-height: 1.55; letter-spacing: -0.03em; }
.intro { font-size: 22px; line-height: 1.8; letter-spacing: -0.02em; }
.call-no { font-size: 30px; letter-spacing: -0.01em; }
.fact-row dd { font-size: 26px; }

/* 작은 글자는 단단하게 */
.brand-ko, .footer-name, .vn-place, .card-title, .club h2, .club h3, .g-name, .pop-title, .pledge, .signature, .value h3, .rc-round, .lp-name, .officer-name, .sub-title-serif {
  font-family: var(--serif); font-weight: 600; letter-spacing: -0.015em;
}
.brand-ko { font-size: 17px; }
.footer-name { font-size: 15px; }
.vn-place { font-size: 20px; }
.card-title, .club h2, .club h3 { font-size: 19px; }
.g-name { font-size: 24px; }
.g-name span, .lp-name .nick, .lp-name .officer-role, .officer-name .nick { font-family: var(--font); }
.pop-title { font-size: 19px; }
.pledge { font-size: 18px; line-height: 1.7; }
.pledge strong { font-weight: 600; }
.signature { font-size: 17px; }
.value h3 { font-size: 18px; }
.lp-name { font-size: 18px; }
.rc-round { font-size: 15px; }

@media (max-width: 640px) {
  .display { font-size: 24px; }
  .section-title { font-size: 22px; }
  .page-head h1 { font-size: 30px; }
  .lp-quote { font-size: 21px; }
  .intro { font-size: 19px; }
  .call-no { font-size: 26px; }
  .brand-ko { font-size: 16px; }
}

/* 첫 화면 보조 문장: 쉼표 뒤에서 항상 두 줄로 나눕니다 */
.nb { display: inline-block; }
.hero-lead .nb { display: block; }

/* 대회 표 바로 아래에 오는 글자 링크 */
.record-list + .text-link { display: inline-block; margin-top: 24px; }

/* =====================================================================
   퍼트 버튼(메인 '클럽 현황 전체 보기'): 골프공 퍼트
   글자 오른쪽에 공·퍼트 선·홀·깃발이 있고, 공이 굴러가 홀에 들어갑니다.
   ===================================================================== */
.btn-putt { position: relative; height: 48px; padding: 0 16px 0 22px; gap: 0; overflow: hidden; }
.putt-green { position: relative; flex: none; width: 80px; height: 100%; margin-left: 16px; --px: 62px; --d: 1000ms; }
.btn-putt.is-fast .putt-green { --d: 520ms; }
.putt-green > i { position: absolute; display: block; }
.putt-line { left: 21px; right: 23px; top: 50%; margin-top: 2px; border-top: 1.5px dotted rgba(255, 255, 255, 0.36); }
.putt-cup { right: 2px; top: 50%; width: 18px; height: 8px; margin-top: -1px; border-radius: 50%; background: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4); }
.putt-cup::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.7); opacity: 0; }
.putt-flag { right: 10px; bottom: 50%; margin-bottom: -3px; width: 1.5px; height: 20px; border-radius: 1px; background: rgba(255, 255, 255, 0.88); transform-origin: 50% 100%; }
.putt-flag::after { content: ""; position: absolute; left: 1.5px; top: 0; border-left: 9px solid var(--flag); border-top: 3.5px solid transparent; border-bottom: 3.5px solid transparent; }
.putt-ball { left: 0; top: 50%; width: 14px; height: 14px; margin-top: -5px; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 36% 30%, #fff 0 34%, #e3e6e9 68%, #b8bfc5 100%); box-shadow: 0 2px 3px rgba(0, 0, 0, 0.5); }
.putt-ball::before { content: ""; position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(circle at 30% 62%, rgba(0, 0, 0, 0.2) 0 1px, transparent 1.4px),
    radial-gradient(circle at 62% 34%, rgba(0, 0, 0, 0.2) 0 1px, transparent 1.4px),
    radial-gradient(circle at 70% 70%, rgba(0, 0, 0, 0.2) 0 1px, transparent 1.4px),
    radial-gradient(circle at 44% 46%, rgba(0, 0, 0, 0.14) 0 1px, transparent 1.4px); }

@media (prefers-reduced-motion: no-preference) {
  .btn-putt.is-putt .putt-ball { animation: putt-roll var(--d) linear forwards; }
  .btn-putt.is-putt .putt-ball::before { animation: putt-spin calc(var(--d) * 0.74) cubic-bezier(0.33, 0.5, 0.35, 1) forwards; }
  .btn-putt.is-putt .putt-line { animation: putt-line calc(var(--d) * 0.74) cubic-bezier(0.33, 0.5, 0.35, 1) forwards; }
  .btn-putt.is-putt .putt-flag { animation: putt-flag 640ms ease-out calc(var(--d) * 0.82) both; }
  .btn-putt.is-putt .putt-cup::after { animation: putt-ring 600ms ease-out calc(var(--d) * 0.86) both; }
  .btn-putt.is-tee .putt-ball { animation: putt-tee 380ms cubic-bezier(0.34, 1.56, 0.64, 1) both; }
  .btn-putt.is-tee .putt-line { animation: putt-fade 380ms ease-out both; }
}
@keyframes putt-roll {
  0%   { transform: translate(0, 0) scale(1); opacity: 1; animation-timing-function: cubic-bezier(0.33, 0.5, 0.35, 1); }
  74%  { transform: translate(calc(var(--px) - 8px), 0) scale(1); opacity: 1; animation-timing-function: ease-in; }
  90%  { transform: translate(var(--px), 2px) scale(0.52); opacity: 1; animation-timing-function: ease-out; }
  100% { transform: translate(var(--px), 3px) scale(0.36); opacity: 0; }
}
@keyframes putt-spin { to { transform: rotate(560deg); } }
@keyframes putt-line { from { clip-path: inset(-3px 0 -3px 0); } to { clip-path: inset(-3px 0 -3px 100%); } }
@keyframes putt-flag { 0% { transform: rotate(0); } 25% { transform: rotate(-10deg); } 55% { transform: rotate(6deg); } 80% { transform: rotate(-2deg); } 100% { transform: rotate(0); } }
@keyframes putt-ring { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(2.3); opacity: 0; } }
@keyframes putt-tee { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes putt-fade { from { opacity: 0; } to { opacity: 1; } }

/* =====================================================================
   출처 한 줄: 숫자 바로 아래에 붙입니다
   ===================================================================== */
.source { margin-top: 12px; font-size: 13px; line-height: 1.65; color: var(--ink-3); }
.source + .source { margin-top: 4px; }
.source-k { display: inline-block; margin-right: 4px; padding: 0 6px; border: 1px solid var(--line-2); border-radius: 4px; font-size: 12px; line-height: 18px; color: var(--ink-2); }
.source-link { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); white-space: nowrap; }
.source-link:hover { color: var(--ink); text-decoration-color: currentColor; }

/* 막대: 숫자와 함께 */
.bars { border-top: 1px solid var(--ink); }
.bar-row { display: grid; grid-template-columns: 64px 1fr 150px; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.bar-name { font-weight: 600; }
.bar-track { position: relative; display: block; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.bar-fill { position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 3px; background: var(--green); }
.bar-val { text-align: right; font-variant-numeric: tabular-nums; }
.bar-val small { margin-left: 8px; font-size: 13px; color: var(--ink-3); }
@media (prefers-reduced-motion: no-preference) {
  .js-motion .bars .bar-fill { width: 0; transition: width 1100ms var(--ease) calc(var(--i, 0) * 90ms + 200ms); }
  .js-motion .bars .bar-row.is-in .bar-fill { width: var(--w); }
}

/* 메인 '클럽 현황' 요약 */
.split-cs { grid-template-columns: 5fr 7fr; align-items: start; }
.cs-golf { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.cs-golf-k { font-size: 13px; color: var(--ink-3); }
.cs-golf-v { margin-top: 2px; font-size: 40px; line-height: 1.2; letter-spacing: -0.03em; }
.cs-golf-sub { font-size: 13px; color: var(--ink-3); }
.cs-top { margin-top: 24px; border-top: 1px solid var(--line); }
.cs-top li { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.cs-top-r { color: var(--ink-3); }
.cs-top-m { font-variant-numeric: tabular-nums; }
.cs-actions { margin-top: 28px; }
.cs-regions .source { margin-top: 14px; }

/* =====================================================================
   클럽 현황 화면
   ===================================================================== */
.table .num { text-align: right; padding-right: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.region-table .dongs { line-height: 1.9; color: var(--ink-2); }
.dong { display: inline-block; margin-right: 14px; white-space: nowrap; }
.dong small { font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.region-table .share { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding-left: 24px; }
.region-table .share .bar-track { width: 72px; }
.region-table .total th, .region-table .total td { border-bottom: 0; font-weight: 600; color: var(--ink); }
.region-table .total { border-top: 1px solid var(--ink); }
.golf-stat { font-size: 30px; line-height: 1.4; letter-spacing: -0.03em; }
.rank-asof { margin: -8px 0 16px; font-size: 13px; color: var(--ink-3); }
.rank-table .rank-n { width: 56px; font-weight: 600; font-variant-numeric: tabular-nums; }
.rank-pending { border-top: 1px solid var(--line); }
.rank-table + .rank-pending { margin-top: 0; border-top: 0; }
.rank-pending li { display: grid; grid-template-columns: 1fr 1fr auto; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.rank-pending .rp-name { font-weight: 600; }
.rank-pending .rp-region { color: var(--ink-3); }
.rank-note, .top-note, .org-foot { margin-top: 16px; font-size: 13px; color: var(--ink-3); }
.top-block { margin-top: 36px; }
.top-block .sub-title { margin-bottom: 12px; }
.top-row { display: grid; grid-template-columns: 200px 1fr; gap: 16px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.top-row:last-child { border-bottom: 1px solid var(--line); }
.top-region { font-weight: 600; }
.top-region small { display: block; font-size: 12px; font-weight: 400; color: var(--ink-3); }
.slots { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.slots-grid { grid-template-columns: repeat(5, 1fr); }
.slot { display: flex; align-items: center; min-height: 52px; height: 100%; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--white); font-size: 14px; font-weight: 500; text-decoration: none; }
a.slot:hover { border-color: var(--ink); }
.slot.is-empty { border-style: dashed; background: transparent; font-weight: 400; color: var(--ink-3); }

/* =====================================================================
   조직도: 위에서 아래로, 가는 선으로 잇기 (휴대폰에서는 목록)
   ===================================================================== */
.org { --ln: var(--line-2); }
.org-tier { position: relative; display: flex; justify-content: center; gap: 16px; padding-bottom: 32px; }
.org-tier + .org-tier::before { content: ""; position: absolute; top: -32px; left: 50%; height: 32px; border-left: 1px solid var(--ln); }
.org-top { align-items: stretch; }
.org-top .org-box { flex: 0 1 380px; }
.org-box { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.org-title { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.org-count { font-weight: 400; color: var(--ink-3); }
.org-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px 16px; }
.org-chip { display: flex; align-items: center; gap: 10px; min-width: 0; }
.org-who { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.org-role { font-size: 12px; color: var(--ink-3); }
.org-name { font-size: 15px; font-weight: 600; }
.org-note { font-size: 12px; color: var(--ink-3); }
.avatar-sm { width: 40px; height: 40px; font-size: 15px; }
.avatar { display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2); font-weight: 600; }
.org-lead { display: flex; flex-direction: column; align-items: center; padding: 16px 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); text-align: center; }
.org-lead .avatar { margin-bottom: 10px; }
.org-lead .org-role { font-size: 13px; }
.org-name-lg { font-size: 19px; }
.org-branches { align-items: flex-start; gap: 32px; padding-top: 32px; padding-bottom: 0; }
.org-branches::after { content: ""; position: absolute; top: 0; left: calc(25% - 8px); right: calc(25% - 8px); border-top: 1px solid var(--ln); }
.org-branch { position: relative; flex: 1 1 0; display: grid; gap: 12px; }
.org-branch::before { content: ""; position: absolute; top: -32px; left: 50%; height: 32px; border-left: 1px solid var(--ln); }

@media (max-width: 760px) {
  .split-cs { grid-template-columns: 1fr; gap: 40px; }
  .bar-row { grid-template-columns: 56px 1fr; row-gap: 6px; }
  .bar-val { grid-column: 1 / -1; text-align: left; font-size: 14px; }
  .bar-row .bar-track { grid-column: 2; grid-row: 1; }
  .cs-golf-v { font-size: 34px; }
  .golf-stat { font-size: 24px; }
  .region-table td::before { flex-basis: 64px; }
  .region-table .dongs { display: block; }
  .region-table .dongs::before { display: block; margin-bottom: 2px; }
  .region-table .num { text-align: left; }
  .region-table .share { justify-content: flex-start; }
  .rank-pending li { grid-template-columns: 1fr auto; }
  .rank-pending .rp-region { grid-row: 2; font-size: 13px; }
  .top-row { grid-template-columns: 1fr; gap: 8px; }
  .slots-grid { grid-template-columns: 1fr 1fr; }
  /* 조직도는 같은 순서의 목록으로 */
  .org-tier { flex-direction: column; gap: 12px; padding-bottom: 12px; }
  .org-tier + .org-tier::before, .org-branches::after, .org-branch::before { display: none; }
  .org-top .org-box { flex: none; }
  .org-lead { flex-direction: row; gap: 14px; padding: 14px 18px; text-align: left; }
  .org-lead .avatar { margin: 0; width: 56px; height: 56px; font-size: 20px; }
  .org-lead p { margin: 0; }
  .org-branches { padding-top: 0; gap: 12px; align-items: stretch; }
  .org-branch { flex: none; }
  .org-people { grid-template-columns: 1fr 1fr; }
}

/* =====================================================================
   소식: 관련 기사 · 협회 활동
   ===================================================================== */
.article-list { border-top: 1px solid var(--ink); }
.article { padding: 22px 0; border-bottom: 1px solid var(--line); }
.article-meta, .act-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.article-title { margin: 6px 0 8px; font-size: 18px; line-height: 1.45; letter-spacing: -0.02em; }
.article-sum { margin-bottom: 10px; color: var(--ink-2); }
.activity-list { border-top: 1px solid var(--ink); }
.act { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.act-meta { grid-column: 1; }
.act-title { grid-column: 1; font-size: 16px; font-weight: 500; }
a.act:hover .act-title { color: var(--green); }
.act-kind { color: var(--ink); font-weight: 500; }
.act-out { grid-column: 2; grid-row: 1 / span 2; font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #000; }
.video-v { aspect-ratio: 9 / 16; max-width: 360px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.prose .source { margin-top: 28px; }
@media (max-width: 640px) {
  .act { grid-template-columns: 1fr; }
  .act-out { grid-column: 1; grid-row: auto; }
}

/* 명조: 새 화면의 제목·큰 숫자·사람 이름 */
.cs-golf-v, .golf-stat, .article-title, .org-name, .bar-name, .top-region, .rp-name, .rank-table tbody th {
  font-family: "MaruBuri", var(--font); font-weight: 600;
}
.cs-golf-v, .golf-stat { font-weight: 400; }
.org-name .nick { font-family: var(--font); font-weight: 400; font-size: 13px; color: var(--ink-3); }

/* =====================================================================
   위 메뉴 드롭다운 (협회 소개 · 소식)
   ===================================================================== */
.gnb .has-sub { position: relative; }
.gnb .caret { width: 12px; height: 12px; margin-left: 4px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; opacity: 0.6; transition: transform 200ms var(--ease); }
.gnb .has-sub.is-open .caret { transform: rotate(180deg); }
.gnb-sub { position: absolute; top: 100%; left: 0; z-index: 50; display: block !important; min-width: 168px; padding: 6px; margin-top: 4px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 12px 32px rgba(17, 19, 21, 0.08);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity 160ms var(--ease), transform 200ms var(--ease), visibility 0s linear 200ms; }
.gnb-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -9px; height: 9px; }
.gnb .has-sub.is-open .gnb-sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.gnb .gnb-sub a { display: flex; height: 38px; padding: 0 12px; color: var(--ink-2) !important; white-space: nowrap; }
.gnb .gnb-sub a:hover { color: var(--ink) !important; background: var(--soft) !important; }
.gnb .gnb-sub a[aria-current="page"] { color: var(--ink) !important; font-weight: 600; }

/* 역대 회장: 지금 회장을 맨 위에 강조, 나머지는 조금 흐리게 */
.pres-table tbody tr:not(.is-now) th, .pres-table tbody tr:not(.is-now) td { color: var(--ink-3); font-weight: 400; }
.pres-table tbody tr.is-now th, .pres-table tbody tr.is-now td { color: var(--ink); font-weight: 600; font-size: 15px; }
.pres-table tbody tr.is-now td:nth-child(2) { font-family: "MaruBuri", var(--font); font-size: 17px; }
.now-tag { display: inline-block; margin-left: 8px; padding: 0 7px; border-radius: 4px; background: var(--green-soft); color: var(--green); font-size: 12px; font-weight: 500; line-height: 20px; vertical-align: 1px; }

/* 맨 위로 버튼 */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 45; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  width: 56px; height: 56px; padding: 0; border: 1px solid var(--line-2); border-radius: 50%; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(8px);
  color: var(--ink); font-size: 11px; font-weight: 500; letter-spacing: -0.02em; cursor: pointer; box-shadow: 0 6px 20px rgba(17, 19, 21, 0.1);
  opacity: 0; transform: translateY(8px); transition: opacity 220ms var(--ease), transform 260ms var(--ease), border-color 160ms var(--ease); }
.to-top.is-on { opacity: 1; transform: none; }
.to-top:hover { border-color: var(--ink); }
.to-top svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.to-top[hidden] { display: none !important; }
body.popup-open .to-top, body.menu-open .to-top { display: none; }
@media (max-width: 640px) { .to-top { right: 14px; bottom: 14px; } }
