:root {
  --bg-dark: #0d1117;
  --bg-card-dark: #161b22;
  --line-dark: #21262d;
  --line-mid: #30363d;
  --text-dark: #e6edf3;
  --text-muted: #8b949e;
  --green: #238636;
  --green-light: #3fb950;
  --blue: #1f66d1;
  --cream: #f4ead2;
  --cream-deep: #fbf5e8;
  --gray-bg: #f7f7f5;
  --body: #1a1a1a;
}

html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", sans-serif;
  background: #fff;
  color: var(--body);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
section[id] { scroll-margin-top: 86px; }
.section-inner { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 40px;
  border-bottom: 0.5px solid #e5e5e5;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--body);
}
.logo-img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.nav-logo-text { display: grid; line-height: 1.1; }
.nav-logo-text strong { font-size: 17px; font-weight: 600; }
.nav-logo-text small { font-size: 10px; color: #666; margin-top: 2px; }
.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a { font-size: 13px; color: #666; text-decoration: none; }
.nav-links a:hover { color: var(--body); }
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0.5px solid #d8d8d8;
  border-radius: 999px;
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle span { width: 18px; height: 2px; background: #333; border-radius: 999px; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: stretch;
  background: #0b1118;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    url("assets/images/hero-background.jpg") center/cover no-repeat,
    radial-gradient(circle at 80% 20%, rgba(63,185,80,.2), transparent 28%),
    radial-gradient(circle at 15% 10%, rgba(255,255,255,.08), transparent 22%),
    linear-gradient(120deg, rgba(10,15,22,.96) 0%, rgba(12,16,22,.92) 45%, rgba(16,28,22,.9) 100%);
  background-blend-mode: overlay, screen, normal, normal;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.22) 55%, transparent 100%);
}
.hero-layout {
  position: relative;
  z-index: 1;
  display: block;
  align-items: center;
  padding: 56px 0;
}
.hero-copy { max-width: 620px; }
.hero-eyebrow {
  font-size: 11px;
  color: var(--green-light);
  letter-spacing: .1em;
  margin-bottom: 14px;
  font-weight: 500;
}
.hero h1 {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 18px;
}
.hero-desc {
  font-size: clamp(14px, 2vw, 15px);
  color: rgba(255,255,255,.74);
  line-height: 1.9;
  margin-bottom: 20px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.social-inline { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.social-inline.contact-socials { margin-top: 18px; }
.icon-link {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.icon-link:hover { transform: translateY(-2px); }
.icon-link svg { width: 19px; height: 19px; }
.hero .icon-link {
  background: rgba(255,255,255,.1);
  border: 0.5px solid rgba(255,255,255,.35);
  color: #fff;
}
.hero .icon-link:hover {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.55);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  max-width: 100%;
  border-radius: 999px;
  padding: 0 24px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: #2ea043; }
.btn-ghost {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.85);
  border: 0.5px solid rgba(255,255,255,.35);
}
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn-admin {
  background: rgba(255,255,255,.7);
  color: #61573f;
  border: 0.5px solid rgba(115,97,55,.18);
  min-height: 40px;
  padding: 0 18px;
}
.btn-outline-round {
  background: transparent;
  color: #555;
  border: 0.5px solid #ccc;
  margin-top: 18px;
}

.vision-section {
  background: var(--bg-dark);
  padding: 80px 0;
  border-top: 0.5px solid var(--line-dark);
}
.vision-inner { max-width: 760px; }
.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.section-label.light { color: var(--green-light); }
.section-label.dark { color: #999; }
.vision-core {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 40px;
  border-left: 3px solid var(--green);
  padding-left: 24px;
}
.vision-body { display: flex; flex-direction: column; gap: 20px; margin-bottom: 52px; }
.vision-body p { font-size: 15px; color: var(--text-muted); line-height: 1.95; }
.vision-body strong { color: #c9d1d9; font-weight: 500; }
.vision-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.pillar {
  background: var(--bg-card-dark);
  border: 0.5px solid var(--line-dark);
  border-radius: 22px;
  padding: 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.pillar-num {
  font-size: 13px;
  font-weight: 600;
  color: var(--green-light);
  flex-shrink: 0;
  padding-top: 2px;
}
.pillar h4 { font-size: 15px; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; }
.pillar p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

.pie-section {
  padding: 0 0 8px;
  background: var(--cream);
}
.pie-card { border-radius: 0; background: var(--cream); padding: 0; }
.pie-stats {
  background: var(--cream-deep);
  padding: 42px 32px 46px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}
.pie-stat-label {
  font-size: 14px;
  font-weight: 700;
  color: #373737;
  margin-bottom: 10px;
}
.pie-stat-value {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -.03em;
}
.pie-main {
  padding: 40px 32px 34px;
  display: grid;
  grid-template-columns: minmax(320px, 430px) minmax(360px, 1fr);
  gap: 32px;
  align-items: start;
}
.pie-chart-wrap { display: flex; justify-content: center; align-items: center; }
.pie-chart {
  width: min(100%, 390px);
  aspect-ratio: 1;
  border-radius: 50%;
  position: relative;
  margin: 0 auto;
  box-shadow: 0 18px 40px rgba(88,67,22,.08);
}
.pie-chart::after {
  content: "";
  position: absolute;
  inset: 31%;
  border-radius: 50%;
  background: var(--cream);
}
.pie-chart-label {
  position: absolute;
  font-size: 13px;
  line-height: 1.35;
  color: #fff;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0,0,0,.18);
  width: 92px;
  transform: translate(-50%, -50%);
}
.pie-chart-label.small { font-size: 11px; width: 72px; }
.pie-copy h3 {
  font-size: clamp(26px, 2.6vw, 40px);
  color: #39352b;
  margin-bottom: 10px;
  line-height: 1.25;
}
.pie-date {
  display: inline-block;
  margin-bottom: 24px;
  padding: 6px 10px;
  background: rgba(255,255,255,.62);
  border: 0.5px solid rgba(115,97,55,.18);
  font-size: 13px;
  color: #61573f;
}
.pie-admin-panel {
  display: none;
  margin: 0 0 18px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(115,97,55,.18);
  background: rgba(255,255,255,.68);
}
.pie-admin-panel.is-open { display: block; }
.pie-admin-note, .pie-admin-status {
  font-size: 12px;
  color: #6b624e;
  line-height: 1.8;
}
.pie-admin-note { margin-bottom: 12px; }
.admin-inline { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.admin-code {
  min-width: 180px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(115,97,55,.18);
  background: #fff;
  color: #4f4633;
}
.pie-admin-file {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 10px 14px;
  border: 1px dashed rgba(63,161,47,.4);
  background: #fafcf7;
  color: #3f5137;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.pie-admin-file input { display: none; }
.pie-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 2px;
}
.pie-metric {
  padding-top: 10px;
  border-top: 3px solid #4f4b43;
}
.pie-metric-value {
  display: block;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1;
  font-weight: 800;
  color: #2f3130;
  margin-bottom: 8px;
}
.pie-metric-label {
  font-size: 14px;
  color: #534e44;
  line-height: 1.5;
}
.stats-cards {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.stat-card {
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(115,97,55,.12);
  border-radius: 16px;
  padding: 14px 16px;
}
.stat-card-value {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: #2f3130;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-card-label {
  font-size: 13px;
  color: #615744;
}

.section { padding: 56px 0; }
.section.gray, .gallery-section, .join-section { background: var(--gray-bg); }
.section-title { font-size: clamp(22px, 3vw, 30px); font-weight: 600; color: var(--body); margin-bottom: 8px; }
.section-sub { font-size: 14px; color: #666; line-height: 1.8; margin-bottom: 28px; max-width: 760px; }

.activity-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.act-card, .join-card {
  border-radius: 22px;
  overflow: hidden;
  border: 0.5px solid #e5e5e5;
  background: #fff;
  box-shadow: 0 18px 35px rgba(0,0,0,.04);
}
.act-photo { height: 200px; overflow: hidden; background: #1a2030; }
.act-photo img { width: 100%; height: 100%; object-fit: cover; }
.analysis-graph {
  height: 100%;
  padding: 18px 16px 14px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.analysis-graph-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.analysis-graph-title { font-size: 12px; font-weight: 700; color: #24415f; }
.analysis-graph-note { font-size: 10px; color: #68819d; white-space: nowrap; }
.analysis-bars {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-items: end;
  min-height: 0;
}
.analysis-bar {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
}
.analysis-bar-value {
  font-size: 10px;
  font-weight: 700;
  color: #24415f;
  line-height: 1;
}
.analysis-bar-fill {
  width: 100%;
  max-width: 28px;
  height: calc(var(--value) * 18px);
  min-height: 12px;
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, #7fc4ff 0%, #4b8fd1 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45);
}
.analysis-bar-label {
  font-size: 9px;
  color: #4f6174;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: .04em;
}
.act-body, .jc-body { padding: 18px 20px; }
.tag {
  display: inline-block;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  margin-bottom: 8px;
  font-weight: 600;
}
.tag-g { background: #eaf3de; color: #27500a; }
.tag-b { background: #e6f1fb; color: #0c447c; }
.tag-a { background: #faeeda; color: #633806; }
.tag-p { background: #eeedfe; color: #3c3489; }
.act-body h3, .jc-body h3 { font-size: 17px; font-weight: 600; color: var(--body); margin-bottom: 8px; }
.act-body p, .jc-body p { font-size: 13px; color: #555; line-height: 1.75; }
.analysis-link {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #0969da;
  text-decoration: none;
  font-weight: 700;
}
.analysis-link:hover { text-decoration: underline; }

.gallery-section { padding: 56px 0; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.g-photo {
  background: #1a2030;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.g-photo.h1 { height: 180px; }
.g-photo.h2 { height: 368px; grid-row: span 2; }
.g-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.g-coming-soon {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  background:
    radial-gradient(circle at top, rgba(63,185,80,.12), transparent 42%),
    linear-gradient(135deg, #111821 0%, #1b2230 100%);
  text-align: center;
  z-index: 1;
}
.g-coming-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(63,185,80,.16);
  border: 1px solid rgba(63,185,80,.34);
  color: #9be9a8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.g-coming-soon strong {
  font-size: clamp(24px, 3vw, 34px);
  color: #fff;
  line-height: 1.1;
  font-weight: 800;
}
.g-coming-soon small {
  font-size: 13px;
  color: rgba(255,255,255,.72);
  line-height: 1.7;
}
.g-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 14px;
  background: linear-gradient(to top, rgba(0,0,0,.72), transparent);
  font-size: 12px;
  color: rgba(255,255,255,.88);
  z-index: 2;
}
.gallery-action { margin-top: 22px; }

.cf-section {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.cf-section-plain {
  min-height: auto;
  margin: 26px auto 0;
  max-width: 1280px;
  padding: 0 18px;
}
.cf-bg-wrap, .cf-bg, .cf-overlay {
  position: absolute;
  inset: 0;
}
.cf-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cf-overlay { background: rgba(0,0,0,.62); }
.cf-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 56px;
  padding-bottom: 56px;
}
.cf-section-plain .cf-content {
  background: #fff;
  border-radius: 32px;
  padding: 56px 44px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.08);
}
.cf-label {
  font-size: 11px;
  color: var(--green-light);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 500;
}
.cf-title {
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 600;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 14px;
  max-width: 620px;
}
.cf-section-plain .cf-title {
  color: #1f2937;
}
.cf-desc {
  font-size: 14px;
  color: rgba(255,255,255,.78);
  line-height: 1.85;
  margin-bottom: 24px;
  max-width: 560px;
}
.cf-section-plain .cf-desc {
  color: #5b6470;
}

@media (max-width: 720px) {
  .cf-section-plain {
    padding: 0 14px;
  }

  .cf-section-plain .cf-content {
    border-radius: 26px;
    padding: 34px 24px;
  }
}

.news-section { padding: 56px 0; }
.news-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 36px;
  align-items: start;
}
.news-item {
  padding: 20px 0;
  border-bottom: 0.5px solid #e5e5e5;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.news-item:first-child { padding-top: 0; }
.news-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.nbadge {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
}
.nb-rep { background: #eaf3de; color: #27500a; }
.nb-app { background: #e6f1fb; color: #0c447c; }
.nb-cf { background: #faeeda; color: #633806; }
.nb-map { background: #eeedfe; color: #3c3489; }
.nb-act { background: #ececec; color: #4a4a4a; }
.news-date { font-size: 12px; color: #999; }
.news-title { font-size: 16px; font-weight: 600; color: var(--body); }
.news-body { font-size: 13px; color: #555; line-height: 1.8; }
.news-read { font-size: 13px; color: #0969da; text-decoration: none; font-weight: 600; }
.news-read:hover { text-decoration: underline; }
.sb-label { font-size: 13px; font-weight: 600; color: var(--body); margin-bottom: 10px; }
.sidebar-block { margin-bottom: 24px; }
.cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  background: var(--gray-bg);
  border-radius: 12px;
  margin-bottom: 6px;
}
.cat-left { display: flex; align-items: center; gap: 8px; }
.cat-dot { width: 8px; height: 8px; border-radius: 50%; }
.cat-name { font-size: 13px; color: var(--body); }
.cat-count, .arch-count { font-size: 12px; color: #999; }
.arch-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 0.5px solid #e5e5e5;
  font-size: 13px;
  color: #555;
}
.arch-item:last-child { border-bottom: none; }

.join-section { padding: 56px 0; }
.join-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.jc-photo { height: 150px; background: #1a2030; overflow: hidden; }
.jc-photo img { width: 100%; height: 100%; object-fit: cover; }
.join-list {
  margin: 10px 0 0 18px;
  display: grid;
  gap: 6px;
  color: #555;
  font-size: 13px;
}
.join-subtitle {
  font-size: 13px;
  font-weight: 700;
  color: #333;
  margin-top: 16px;
}

.sponsor-section {
  padding: 56px 0;
  background: #fff;
}
.sponsor-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
}
.sponsor-card {
  background: #fff;
  border: 0.5px solid #e7e2d5;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 18px 48px rgba(33, 30, 22, 0.06);
}
.sponsor-card h3 {
  font-size: 24px;
  line-height: 1.4;
  margin-bottom: 12px;
  color: #1f2328;
}
.sponsor-card p {
  font-size: 14px;
  line-height: 1.9;
  color: #5b6168;
}
.sponsor-card-label {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: #edf7e8;
  color: #2d6a33;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
}
.sponsor-card-lead .btn { margin-top: 18px; }
.sponsor-card-empty {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 250px;
}
.sponsor-placeholder {
  width: 100%;
  min-height: 110px;
  border-radius: 20px;
  border: 1px dashed #cfd6cd;
  background: linear-gradient(135deg, rgba(241, 244, 238, 0.95), rgba(252, 250, 245, 0.95));
  display: grid;
  place-items: center;
  color: #7f887b;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

.contact-section {
  background: var(--bg-dark);
  padding: 72px 0;
  border-top: 0.5px solid var(--line-dark);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-title {
  font-size: clamp(22px, 3.5vw, 28px);
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: 16px;
}
.contact-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 28px;
}
.contact-info-row {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.contact-section .icon-link {
  background: var(--bg-card-dark);
  border: 0.5px solid var(--line-mid);
  color: var(--text-dark);
}
.contact-section .icon-link:hover {
  background: #1d2430;
  border-color: var(--green-light);
}
.social-caption, .topics-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 20px;
  margin-bottom: 10px;
}
.topics-list { display: flex; flex-wrap: wrap; gap: 7px; }
.topic-badge {
  font-size: 12px;
  background: var(--bg-card-dark);
  border: 0.5px solid var(--line-mid);
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: 999px;
}
.contact-form {
  background: var(--bg-card-dark);
  border: 0.5px solid var(--line-dark);
  border-radius: 22px;
  padding: 32px;
}
.form-row { margin-bottom: 18px; }
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.form-required {
  font-size: 10px;
  color: #f85149;
  background: #2a1010;
  padding: 1px 5px;
  border-radius: 3px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--bg-dark);
  border: 0.5px solid var(--line-mid);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--text-dark);
  font-family: inherit;
  outline: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: #484f58; }
.form-select { appearance: none; cursor: pointer; }
.form-textarea { min-height: 120px; resize: vertical; }
.form-note {
  font-size: 12px;
  color: #6c7681;
  line-height: 1.7;
  margin-bottom: 20px;
}
.form-submit {
  width: 100%;
  background: var(--green);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s ease, transform .2s ease;
}
.form-submit:hover { background: #2ea043; transform: translateY(-1px); }
.form-result {
  font-size: 13px;
  line-height: 1.7;
  margin-top: 14px;
  color: var(--text-muted);
}
.form-result.success { color: #9be9a8; }
.form-result.error { color: #ffb4aa; }

.site-footer {
  border-top: 0.5px solid #e5e5e5;
  padding: 20px 0;
  background: #fff;
}
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
}
.footer-brand { font-size: 14px; font-weight: 600; color: #666; }
.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  font-size: 12px;
  color: #999;
  text-decoration: none;
}
.footer-links a:hover { color: #555; }
.footer-copy { font-size: 12px; color: #999; }

@media (max-width: 980px) {
  .site-nav { padding: 14px 16px; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 18px 30px rgba(0,0,0,.08);
  }
  .nav-links.is-open { display: flex; }
  .pie-main,
  .news-layout,
  .contact-inner,
  .join-grid,
  .sponsor-grid { grid-template-columns: 1fr; }
  .vision-pillars,
  .activity-grid,
  .stats-cards,
  .form-row-2 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .g-photo.h2 { grid-row: auto; height: 220px; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .hero { min-height: auto; }
}

@media (max-width: 640px) {
  section[id] { scroll-margin-top: 74px; }
  .section-inner { width: min(1120px, calc(100% - 24px)); }
  .hero-layout { gap: 22px; padding: 38px 0 32px; }
  .hero h1 { font-size: 32px; }
  .hero-desc, .section-sub, .vision-body p { font-size: 14px; }
  .vision-core { font-size: 24px; padding-left: 16px; }
  .pie-main { padding: 28px 18px 26px; gap: 24px; }
  .pie-stats { padding: 30px 18px; }
  .pie-chart { width: min(100%, 330px); }
  .pie-chart-label { width: 76px; font-size: 12px; }
  .pie-chart-label.small { width: 60px; font-size: 10px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .g-photo.h1, .g-photo.h2 { height: 220px; }
  .contact-form { padding: 22px; }
}
