/* ============================================================
   Neglected Parasite Initiative — site styles
   To change the site's colors, edit the values in :root below.
   ============================================================ */
:root {
  --ink: #12222e;         /* main text / dark backgrounds */
  --ink-soft: #3d4f5c;    /* secondary text */
  --brand: #0f6b6f;       /* teal — links, headings */
  --brand-dark: #0a4a4d;
  --accent: #c6006a;      /* magenta — donate buttons, emphasis */
  --accent-dark: #9e0055; /* darker shade for button hover */
  --paper: #ffffff;
  --mist: #f2f6f6;        /* light section backgrounds */
  --line: #dde5e6;
  --radius: 10px;
  --max: 1120px;
  --font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; margin: 0 0 .6em; color: var(--ink); }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section--mist { background: var(--mist); }
.section--dark { background: var(--ink); color: #e9f0f1; }
.section--dark h2, .section--dark h3 { color: #fff; }
.center { text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--accent); margin-bottom: .5em; }
.lead { font-size: 1.2rem; font-weight: 300; color: var(--ink-soft); max-width: 760px; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Top donate bar ---------- */
.topbar { background: var(--accent); text-align: center; padding: 8px 12px; font-size: .95rem; }
.topbar a { color: #fff; font-weight: 700; text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: #fff; }

/* ---------- Header / navigation ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 16px; }
.logo img { height: 56px; width: auto; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font-size: 1rem; cursor: pointer; color: var(--ink); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.nav a { display: block; padding: 8px 14px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; }
.nav a:hover { background: var(--mist); }
.nav a[aria-current="page"] { color: var(--brand); background: var(--mist); }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; padding: 8px 20px 16px; }
  .logo img { height: 46px; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-block; padding: 13px 26px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; transition: background .15s, color .15s; font-size: 1rem; cursor: pointer; }
.btn--donate { background: var(--accent); color: #fff; }
.btn--donate:hover { background: var(--accent-dark); color: #fff; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); color: #fff; }
.btn--ghost { border-color: currentColor; color: #fff; background: transparent; }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.center .btn-row { justify-content: center; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; color: #fff; background: var(--ink) center/cover no-repeat; min-height: 78vh; display: flex; align-items: center; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,20,28,.88) 0%, rgba(10,20,28,.55) 60%, rgba(10,20,28,.25) 100%); }
.hero .container { position: relative; padding-top: 80px; padding-bottom: 80px; }
.hero-title { font-family: var(--font-head); margin: 0 0 .4em; line-height: 1.02; color: #fff; }
.hero-title .t1 { display: block; font-style: italic; font-weight: 300; font-size: clamp(1.6rem, 4vw, 2.4rem); }
.hero-title .t2 { display: block; font-weight: 800; font-size: clamp(3rem, 10vw, 6rem); }
.hero-title .t3 { display: block; font-weight: 300; letter-spacing: .04em; font-size: clamp(1.6rem, 4vw, 2.4rem); }
.hero-tagline { font-size: clamp(1.1rem, 2.4vw, 1.4rem); font-weight: 600; max-width: 560px; margin-bottom: 1.4em; }
.hero-note { position: relative; font-size: .78rem; color: rgba(255,255,255,.75); max-width: 640px; margin-top: 32px; }

/* ---------- Page banner (inner pages) ---------- */
.page-banner { position: relative; background: var(--ink) center/cover no-repeat; color: #fff; padding: 110px 0 90px; }
.page-banner::before { content: ""; position: absolute; inset: 0; background: rgba(10,20,28,.6); }
.page-banner .container { position: relative; }
.page-banner h1 { color: #fff; font-size: clamp(2.2rem, 6vw, 3.6rem); }
.page-banner p { font-size: 1.2rem; font-weight: 300; max-width: 640px; }
.page-banner--plain { background: var(--ink); padding: 80px 0 64px; }

/* ---------- Video ---------- */
.video { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Grids & cards ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { font-size: 1.25rem; color: var(--brand); }
@media (max-width: 860px) {
  .split, .cards { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 56px 0; }
}

.figure img { border-radius: var(--radius); }
.figure figcaption { font-size: .95rem; color: var(--ink-soft); margin-top: 12px; }

/* ---------- Board ---------- */
.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.person { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.person img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--mist); }
.person-body { padding: 24px; }
.person h3 { font-size: 1.25rem; margin-bottom: .2em; }
.person h3 a { color: var(--ink); text-decoration: none; }
.person h3 a:hover { color: var(--brand); }
.role { text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; font-weight: 700; color: var(--accent); margin-bottom: 1em; }
.person p { font-size: .97rem; color: var(--ink-soft); }
@media (max-width: 960px) { .board { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .board { grid-template-columns: 1fr; } }

/* ---------- Engage pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.pillar img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--mist); }
.pillar-body { padding: 22px 24px 26px; }
.pillar h3 { font-size: 1.5rem; color: var(--brand); margin-bottom: .3em; }
.pillar p { font-style: italic; color: var(--ink-soft); margin: 0; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Partner logo ---------- */
.partner { display: inline-block; background: #fff; padding: 16px 24px; border-radius: var(--radius); border: 1px solid var(--line); }
.partner img { max-height: 110px; width: auto; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.form label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.form input, .form textarea { width: 100%; padding: 12px 14px; border: 1px solid #c7d3d5; border-radius: 8px; font: inherit; margin-bottom: 18px; background: #fff; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--brand); border-color: var(--brand); }
.form textarea { min-height: 150px; resize: vertical; }
.form-status { margin-top: 12px; font-weight: 600; }

/* ---------- Footer ---------- */
.footer-banner { width: 100%; max-height: 360px; object-fit: cover; }
.site-footer { background: var(--ink); color: #c9d6d8; padding: 48px 0 36px; text-align: center; }
.site-footer h2 { color: #fff; font-size: 1.6rem; }
.social { display: flex; justify-content: center; gap: 14px; margin: 18px 0 28px; flex-wrap: wrap; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; }
.social a:hover { background: var(--accent); color: #fff; }
.social svg { width: 20px; height: 20px; fill: currentColor; }
.site-footer small { display: block; font-size: .88rem; }
.site-footer small a { color: #c9d6d8; }

/* ---------- Click-to-play YouTube thumbnail ---------- */
.yt { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; margin: 0; background: #000; cursor: pointer; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .2s; }
.yt:hover img { opacity: 1; }
.yt-play { position: absolute; top: 50%; left: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--accent); box-shadow: 0 6px 20px rgba(0,0,0,.35); transition: transform .2s; }
.yt-play::after { content: ""; position: absolute; top: 50%; left: 50%; margin: -13px 0 0 -8px; border-style: solid; border-width: 13px 0 13px 22px; border-color: transparent transparent transparent #fff; }
.yt:hover .yt-play { transform: scale(1.08); }
.yt:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
