/* ============================================================
   Inclusive Society — site stylesheet
   ============================================================ */

:root {
  --bg: #F7F8FC;
  --surface: #FFFFFF;
  --ink: #1A2332;
  --ink-soft: #5A6478;
  --line: #E2E6EF;
  --primary: #2B4570;
  --primary-deep: #1E3254;
  --primary-tint: #E8EEF8;
  --accent: #E07A5F;
  --accent-deep: #C45E44;
  --accent-light: #FDF0EC;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(26, 35, 50, .05), 0 12px 32px -12px rgba(26, 35, 50, .16);
  --font-display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: none; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---------- Typography ---------- */

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; letter-spacing: -0.01em; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}

.eyebrow--accent { color: var(--accent-deep); }

.lede { font-size: 19px; color: var(--ink-soft); max-width: 62ch; }

/* ---------- Announcement bar ---------- */

.announce {
  background: var(--accent);
  color: #fff;
  text-align: center;
  padding: 9px 20px;
  font-size: 14.5px;
  font-weight: 600;
}
.announce a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.announce a:hover { opacity: .85; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 248, 252, .9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand img { width: 40px; height: 40px; }
.brand span {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 21px;
  letter-spacing: -0.01em;
}

.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 15.5px;
  transition: color .15s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--primary); }
.nav-links a[aria-current="page"] { font-weight: 700; }

.nav-cta { display: flex; align-items: center; gap: 12px; }

/* mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--ink);
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 24px 24px;
    gap: 16px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-cta .btn { padding: 10px 18px; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15.5px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s, color .15s;
  font-family: var(--font-body);
}
.btn:hover { transform: translateY(-1px); }

.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px -8px rgba(43, 69, 112, .55); }
.btn--primary:hover { background: var(--primary-deep); color: #fff; }

.btn--amber { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -8px rgba(224, 122, 95, .55); }
.btn--amber:hover { background: var(--accent-deep); color: #fff; }

.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }

.btn--ghost-light { border-color: rgba(255,255,255,.45); color: #fff; background: transparent; }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  background: linear-gradient(120deg, #1C3557 0%, #24536B 52%, #28736F 100%);
  color: #fff;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  will-change: transform, opacity;
}

.hero::before {
  inset: -22%;
  background: radial-gradient(
    ellipse at 82% 50%,
    rgba(255, 203, 166, .3) 0%,
    rgba(255, 203, 166, .12) 28%,
    transparent 56%
  );
  transform-origin: 82% 50%;
  animation: impact-glow 4.8s ease-in-out infinite alternate;
}

.hero::after {
  inset: -18%;
  background: repeating-radial-gradient(
    circle at 82% 50%,
    transparent 0 64px,
    rgba(255,255,255,.11) 65px 67px,
    transparent 68px 116px
  );
  transform-origin: 82% 50%;
  animation: impact-ripple 4.8s ease-out infinite;
}

@keyframes impact-glow {
  from { transform: scale(.96); opacity: .58; }
  to { transform: scale(1.04); opacity: .92; }
}

@keyframes impact-ripple {
  0% { transform: scale(.82); opacity: 0; }
  26% { opacity: .72; }
  100% { transform: scale(1.12); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero::after {
    animation: none;
  }
}

/* Full-viewport home hero */
.hero:not(.hero--sub) {
  min-height: 100dvh;
  display: flex;
  align-items: center;
}
.hero:not(.hero--sub) .wrap {
  padding-top: 48px;
  padding-bottom: 48px;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero .wrap {
  padding-top: 96px;
  padding-bottom: 104px;
  position: relative;
  z-index: 1;
}
.hero .eyebrow { color: rgba(255, 255, 255, .72); }
.hero h1 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: -0.03em;
  line-height: 1.06;
  max-width: 14ch;
  margin-bottom: 22px;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { font-size: 18px; color: rgba(255,255,255,.82); max-width: 48ch; margin-bottom: 36px; line-height: 1.6; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* subpage hero */
.hero--sub {
  min-height: 42vh;
  display: flex;
  align-items: center;
}
.hero--sub .wrap { padding-top: 64px; padding-bottom: 72px; }
.hero--sub h1 {
  font-size: clamp(32px, 4.5vw, 48px);
  max-width: 16ch;
  margin-bottom: 0;
}
.hero--sub p { margin-top: 16px; margin-bottom: 0; font-size: 17px; max-width: 44ch; }
.hero--sub .hero-actions { margin-top: 24px; }

/* ---------- Sections ---------- */

.section { padding: 88px 0; }
.section--tight { padding: 64px 0; }
.section--teal { background: var(--primary-deep); color: #fff; }
.section--tint { background: var(--primary-tint); }

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 16px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Cards ---------- */

.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 980px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(26,35,50,.06), 0 24px 48px -16px rgba(26,35,50,.22); }

.card img { height: 210px; width: 100%; object-fit: cover; }
.card-body { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { font-size: 23px; }
.card-body p { color: var(--ink-soft); font-size: 15.5px; flex: 1; }
.card-link { font-weight: 600; font-size: 15px; }
.card-link::after { content: " →"; }

.tag {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--primary-tint);
  color: var(--primary);
}
.tag--red { background: #FBE9E4; color: #B4462B; }
.tag--amber { background: var(--accent-light); color: var(--accent-deep); }

/* ---------- Stats ---------- */

.stats { text-align: center; }
.stat h3 {
  font-size: clamp(40px, 5vw, 56px);
  color: var(--accent);
  margin-bottom: 6px;
}
.section--teal .stat p { color: rgba(255,255,255,.8); font-size: 15.5px; }
.stat p { color: var(--ink-soft); font-size: 15.5px; }

/* ---------- Split (image + text) ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }

.split h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 18px; }
.split p { color: var(--ink-soft); margin-bottom: 22px; }

.split-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.split-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }

.checklist { list-style: none; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.checklist li::before {
  content: "✓";
  flex: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--primary-tint);
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

/* ---------- Value tiles ---------- */

.value {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow);
}
.value .icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--primary-tint);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.value .icon svg { width: 26px; height: 26px; }
.value h3 { font-size: 21px; margin-bottom: 8px; }
.value p { color: var(--ink-soft); font-size: 15.5px; }

/* ---------- FAQ ---------- */

.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 14px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 54px 20px 24px;
  font-weight: 600;
  font-size: 16.5px;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--primary);
  font-weight: 400;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 24px 22px; color: var(--ink-soft); font-size: 15.5px; }
.faq details > div a { font-weight: 600; }

/* ---------- Team ---------- */

.person {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.person:hover { transform: translateY(-4px); }
.person img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: center top;
}
.person img.person-img--center { object-position: center center; }
.person-body { padding: 22px 22px 28px; }
.person-body h3 { font-size: 21px; margin-bottom: 4px; }
.person-body .role {
  color: var(--primary);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.person-body p { color: var(--ink-soft); font-size: 15px; }

/* ---------- CTA band ---------- */

.cta-band {
  background:
    radial-gradient(900px 400px at 90% -20%, rgba(224, 122, 95, .28), transparent 60%),
    linear-gradient(150deg, var(--primary-deep), var(--primary));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  box-shadow: var(--shadow);
}
.cta-band h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,.82); font-size: 17px; max-width: 46ch; }
.cta-band .hero-actions { flex: none; }

/* ---------- Forms ---------- */

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-grid { display: grid; gap: 20px; }
.form-field label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 7px; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 15.5px;
  background: var(--bg);
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(43, 69, 112, .14);
}
.form-field textarea { min-height: 140px; resize: vertical; }

/* ---------- Contact info ---------- */

.info-tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.info-tile .icon {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--primary-tint);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.info-tile .icon svg { width: 22px; height: 22px; }
.info-tile h3 { font-size: 18px; margin-bottom: 4px; font-family: var(--font-body); font-weight: 700; }
.info-tile p { color: var(--ink-soft); font-size: 15px; }

/* ---------- Pledge strip (contribute) ---------- */

.pledges { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.pledge { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 17px; }
.pledge::before {
  content: "✓";
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--primary-deep);
  color: rgba(255,255,255,.78);
  padding: 64px 0 40px;
  margin-top: 96px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 36px; } }

.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer .brand img { filter: invert(1) brightness(2); }
.footer-tag { font-size: 15px; max-width: 34ch; }

.site-footer h4 {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a { color: rgba(255,255,255,.78); font-size: 15px; }
.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
}
.socials { display: flex; gap: 14px; }
.socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.85);
  transition: background .15s, color .15s;
}
.socials a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.socials svg { width: 17px; height: 17px; }

/* ---------- Misc ---------- */

.notice {
  background: var(--primary-tint);
  border: 1px solid #C8D4E8;
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 14.5px;
  color: var(--primary-deep);
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero:not(.hero--sub) .wrap { padding-top: 32px; padding-bottom: 32px; }
  .hero--sub { min-height: 36vh; }
  .hero--sub .wrap { padding-top: 48px; padding-bottom: 56px; }
  .hero .wrap { padding-top: 64px; padding-bottom: 72px; }
  .cta-band { padding: 44px 28px; }
  .form-card { padding: 28px 22px; }
}
