/* ═══════════════════════════════════════════
   I Belong — Shared Stylesheet
   Brand: Purple #CC77FF | White | Black
   ═══════════════════════════════════════════ */

@font-face {
  font-family: 'Bugaki';
  src: url('fonts/Bugaki-Regular.woff') format('woff'),
       url('fonts/Bugaki-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

h2 { font-family: "Bugaki", serif; }

:root {
  --purple: #C77DFF;
  --purple-dark: #a855d8;
  --purple-light: #f3e8ff;
  --blue:   #0096E1;
  --green:  #3a7e00;
  --green-dark: #2f6500;
  --green-light: #ecfdf5;
  --yellow: #F0A500;
  --text:   #1a1a1a;
  --muted:  #666;
  --radius: 12px;
}

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
a[href]:not([class]) { color: var(--blue); }
a[href]:not([class]):hover { color: #007bbf; }
img { max-width: 100%; display: block; }

h2 {
  font-family: 'Bugaki', serif;
  font-weight: normal;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ── HEADER ── */
.site-header {
  background: #fff;
  border-bottom: 2px solid var(--purple-light);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 0;
  background: #c8c8c8;
  border-radius: 0;
}
.site-logo { height: 84px; width: auto; }
.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.site-nav a {
  padding: 7px 11px;
  border-radius: 6px;
  font-weight: 600;
  font-size: .88rem;
  color: var(--blue);
  transition: background .18s, color .18s;
}
.site-nav a:hover, .site-nav a.active {
  background: #e0f2fe;
  color: #0369a1;
}
.nav-donate {
  background: var(--blue) !important;
  color: #fff !important;
  border-radius: 6px;
  padding: 7px 14px !important;
  font-weight: 700 !important;
}
.nav-donate:hover { background: #007bbf !important; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--purple-dark);
  margin-left: auto;
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    border-bottom: 2px solid var(--purple-light);
    padding: 12px 20px;
    gap: 4px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 10px 14px; }
}

/* ── FOOTER ── */
.site-footer {
  background: #1a1a1a;
  color: #ccc;
  text-align: center;
  padding: 40px 20px;
}
.footer-inner { max-width: 700px; margin: 0 auto; }
.footer-mission {
  color: var(--purple);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 12px;
}
.site-footer p { margin-bottom: 8px; font-size: .9rem; }
.site-footer a { color: var(--blue); text-decoration: underline; }
.site-footer a:hover { color: #38bdf8; }
.footer-copy { font-size: .8rem; color: #666; margin-top: 16px; }

/* ── UTILITY ── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}


/* ── Playful wavy hero treatment ── */
.hero-wave {
  position: relative;
  overflow: visible;
  padding-bottom: 96px !important;
}
.hero-wave::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 80px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 140' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0,70 C120,130 260,10 400,70 C540,130 680,10 820,70 C960,130 1100,10 1240,70 C1320,105 1390,55 1440,75 L1440,140 L0,140 Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
  pointer-events: none;
  z-index: 4;
}
.hero-mascot {
  position: absolute;
  right: clamp(18px, 6vw, 86px);
  bottom: 22px;
  z-index: 5;
  font-size: 5.25rem;
  line-height: 1;
  transform: rotate(7deg);
  user-select: none;
}
img.hero-mascot {
  width: auto;
  height: 126px;
  font-size: unset;
  bottom: -20px;
}
@media (max-width: 700px) {
  .hero-wave { padding-bottom: 80px !important; }
  .site-logo { height: 60px; }
  .hero-mascot { font-size: 3.5rem; right: 16px; bottom: 18px; }
  img.hero-mascot { width: auto; height: 80px; bottom: -12px; }
}
