/* ============================================================
   Дотик серця — styles
   Brand palette from client's brand book (11.png)
   Fonts: Unbounded (display, Cyrillic) + Manrope (body, Cyrillic)
   ============================================================ */

:root {
  --c-primary:       #7C3AED;
  --c-primary-600:   #6D28D9;
  --c-primary-700:   #5B21B6;
  --c-primary-light: #A78BFA;
  --c-primary-pale:  #EDE9FE;
  --c-primary-wash:  #F5F3FF;

  --c-cta:           #F59E0B;
  --c-cta-600:       #D97706;
  --c-cta-ink:       #18181B;

  --c-ink:           #18181B;
  --c-ink-70:        #3F3F46;
  --c-ink-muted:     #52525B;
  --c-ink-faint:     #71717A;

  --c-bg:            #FAFAFA;
  --c-surface:       #FFFFFF;
  --c-border:        #E4E4E7;
  --c-border-soft:   #F4F4F5;

  --c-magenta:       #B13B8A;  /* from logo gradient */
  --c-magenta-deep:  #742A89;

  --ff-display: "Unbounded", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-body:    "Manrope",   ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --tr-ease: cubic-bezier(.22,.61,.36,1);

  --pad-section-y: clamp(72px, 11vw, 136px);
  --pad-x:         clamp(20px, 5vw,  72px);
  --max-w:         1320px;
  --max-w-narrow:   940px;
  --radius-sm:  8px;
  --radius:    14px;
  --radius-lg: 22px;
}

/* reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.58;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; padding: 0; }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; }
ul { list-style: none; padding: 0; margin: 0; }

/* ------- Type scale ------- */
.eyebrow {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--c-primary-700);
  margin-bottom: 18px;
}
.eyebrow--amber { color: var(--c-cta-600); }
.eyebrow--white { color: rgba(255,255,255,.85); }

.display {
  font-family: var(--ff-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.028em;
  font-size: clamp(38px, 6.4vw, 84px);
  color: var(--c-ink);
}
.h2 {
  font-family: var(--ff-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-size: clamp(30px, 4.4vw, 54px);
  color: var(--c-ink);
  margin: 0 0 .3em;
}
.h3 {
  font-family: var(--ff-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.012em;
  font-size: clamp(22px, 2.4vw, 28px);
  color: var(--c-ink);
}
.lede {
  font-family: var(--ff-body);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  color: var(--c-ink-70);
  max-width: 56ch;
}

/* ------- Buttons ------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .005em;
  line-height: 1;
  transition: transform .18s var(--tr-ease), box-shadow .18s var(--tr-ease), background .18s var(--tr-ease), color .18s var(--tr-ease), border-color .18s var(--tr-ease);
  white-space: nowrap;
}
.btn:focus-visible {
  outline: 3px solid rgba(245, 158, 11, .45);
  outline-offset: 3px;
}
.btn--primary {
  background: var(--c-cta);
  color: var(--c-cta-ink);
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 8px 18px -10px rgba(245,158,11,.55);
}
.btn--primary:hover {
  background: var(--c-cta-600);
  transform: translateY(-1px);
  box-shadow: 0 2px 0 rgba(0,0,0,.04), 0 14px 24px -12px rgba(245,158,11,.7);
}
.btn--ghost {
  background: transparent;
  color: var(--c-ink);
  border: 1.5px solid var(--c-border);
}
.btn--ghost:hover {
  border-color: var(--c-ink);
  transform: translateY(-1px);
}
.btn--ghost-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.32);
}
.btn--ghost-light:hover {
  border-color: #fff;
  background: rgba(255,255,255,.08);
}
.btn--link {
  padding: 0;
  font-weight: 600;
  color: var(--c-primary-700);
  border-radius: 0;
  border-bottom: 1px solid currentColor;
}
.btn--link:hover { color: var(--c-cta-600); }
.btn__arrow {
  display: inline-block;
  transition: transform .2s var(--tr-ease);
}
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ------- Layout helpers ------- */
.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-inline: var(--pad-x);
}
.wrap--narrow { max-width: var(--max-w-narrow); }
.section { padding-block: var(--pad-section-y); }
.section--tight { padding-block: clamp(48px, 8vw, 88px); }
.section--bleed-top { padding-top: 0; }
.section--primary { background: var(--c-primary); color: #fff; }
.section--pale    { background: var(--c-primary-pale); }
.section--wash    { background: var(--c-primary-wash); }
.section--ink     { background: var(--c-ink); color: #fff; }

.section--primary .h2,
.section--ink .h2 { color: #fff; }

.section--primary .lede,
.section--ink .lede { color: rgba(255,255,255,.82); }

/* ------- Header ------- */
.header {
  position: sticky; top: 0; z-index: 60;
  transition: background .3s var(--tr-ease), box-shadow .3s var(--tr-ease), border-color .3s var(--tr-ease);
  border-bottom: 1px solid transparent;
}
.header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 14px;
  min-height: 76px;
}
.header__logo {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.015em;
  color: var(--c-ink);
  line-height: 1.15;
  flex-shrink: 0;
}
.header__logo img {
  width: 56px; height: 56px; object-fit: contain;
  display: block;
}
.header__logo span > span {
  display: block;
  font-size: 18px;
  line-height: 1.1;
}
.header__logo small {
  display: block;
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--c-ink-faint);
  margin-top: 3px;
}

/* Compact dropdown-grouped nav */
.nav {
  display: flex; align-items: center; gap: 4px;
  font-size: 14.5px;
  font-weight: 500;
}
.nav__item {
  position: relative;
}
.nav__link, .nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--c-ink-70);
  font: inherit;
  cursor: pointer;
  transition: color .18s var(--tr-ease), background .18s var(--tr-ease);
  white-space: nowrap;
}
.nav__link:hover, .nav__trigger:hover,
.nav__item:hover .nav__trigger {
  color: var(--c-primary-700); background: var(--c-primary-pale);
}
.nav__link.is-active { color: var(--c-primary-700); }
.nav__trigger::after {
  content: "";
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s var(--tr-ease);
}
.nav__item:hover .nav__trigger::after,
.nav__item.is-open .nav__trigger::after {
  transform: rotate(-135deg) translateY(2px);
}
.nav__panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 260px;
  background: #fff;
  border: 1px solid var(--c-border-soft);
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 24px 48px -20px rgba(91,33,182,.25), 0 2px 0 rgba(0,0,0,.02);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s var(--tr-ease), transform .2s var(--tr-ease), visibility .2s;
  z-index: 10;
}
.nav__item:hover .nav__panel,
.nav__item:focus-within .nav__panel,
.nav__item.is-open .nav__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__panel a {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--c-ink);
  font-weight: 600;
  font-size: 14.5px;
  transition: background .15s var(--tr-ease), color .15s var(--tr-ease);
}
.nav__panel a small {
  display: block;
  font-weight: 500;
  font-size: 12.5px;
  color: var(--c-ink-faint);
  letter-spacing: 0;
  text-transform: none;
  margin-top: 1px;
}
.nav__panel a:hover {
  background: var(--c-primary-pale);
  color: var(--c-primary-700);
}
.nav__panel a:hover small { color: var(--c-primary-700); opacity: .8; }

.header__cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.is-scrolled .header {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--c-border-soft);
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
}

.burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 10px;
  align-items: center; justify-content: center;
  background: var(--c-primary-pale);
}
.burger span {
  width: 18px; height: 2px; background: var(--c-primary-700);
  position: relative;
}
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: inherit;
}
.burger span::before { top: -6px; }
.burger span::after  { top:  6px; }

@media (max-width: 1100px) {
  .header__cta .btn--ghost { display: none; }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .header__logo img { width: 48px; height: 48px; }
  .header__logo span > span { font-size: 16px; }
}
@media (max-width: 480px) {
  .header__logo small { display: none; }
  .header__logo span > span { font-size: 15px; max-width: 140px; }
}

/* mobile menu */
.mnav {
  position: fixed; inset: 0;
  background: var(--c-primary);
  color: #fff;
  z-index: 100;
  padding: 96px var(--pad-x) 40px;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--tr-ease);
}
.mnav.is-open { opacity: 1; pointer-events: auto; }
.mnav a {
  display: block;
  padding: 18px 0;
  font-family: var(--ff-display);
  font-size: 28px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,.12);
  color: #fff;
}
.mnav__close {
  position: absolute; top: 20px; right: 20px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff;
  font-size: 22px; line-height: 44px; text-align: center;
}

/* ------- HERO ------- */
.hero {
  position: relative;
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(60px, 9vw, 120px);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 64%;
  background:
    radial-gradient(120% 80% at 15% 0%, rgba(167,139,250,.55), transparent 60%),
    radial-gradient(90% 70% at 100% 10%, rgba(245,158,11,.18), transparent 55%),
    linear-gradient(180deg, var(--c-primary-pale) 0%, transparent 100%);
  z-index: -1;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr .95fr;
  align-items: end;
  gap: clamp(36px, 5vw, 80px);
}
.hero__copy { padding-block: 32px 12px; }
.hero__title { margin-bottom: 22px; }
.hero__lede  { margin-bottom: 34px; }
.hero__ctas  { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5 / 6;
  background: var(--c-primary);
  box-shadow: 0 40px 70px -40px rgba(91,33,182,.55);
}
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 22%;
}
.hero__quote {
  position: absolute;
  left: 24px; right: 24px; bottom: 24px;
  background: rgba(24,24,27,.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  padding: 20px 22px;
  border-radius: 14px;
  border-left: 3px solid var(--c-cta);
}
.hero__quote p {
  font-family: var(--ff-display);
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.hero__quote span {
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--c-primary-light);
}
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__media { aspect-ratio: 5 / 4; }
  .hero__media img { object-position: center 30%; }
}

/* ------- Mission (quote-led strip) ------- */
.mission { position: relative; }
.mission__inner {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.mission__body p { font-size: 18px; color: var(--c-ink-70); max-width: 52ch; }
.mission__values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 36px;
  margin-top: 32px;
}
.mission__values h3 {
  font-family: var(--ff-display);
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--c-ink);
  letter-spacing: -0.01em;
}
.mission__values p {
  font-size: 15.5px; color: var(--c-ink-muted); margin: 0;
}
.mission__values .n {
  display: inline-block;
  font-family: var(--ff-display); font-weight: 700;
  color: var(--c-cta-600); font-size: 12px; letter-spacing: .1em;
  margin-bottom: 6px;
}
@media (max-width: 860px) {
  .mission__inner { grid-template-columns: 1fr; gap: 32px; }
  .mission__values { grid-template-columns: 1fr; gap: 26px; }
}

/* ------- Stats strip ------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.2);
  border-bottom: 1px solid rgba(255,255,255,.2);
}
.stats__item {
  padding: 46px 28px;
  border-right: 1px solid rgba(255,255,255,.2);
}
.stats__item:last-child { border-right: none; }
.stats__n {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(38px, 4.2vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 12px;
  color: #fff;
  display: block;
}
.stats__l {
  font-size: 14px; line-height: 1.45;
  color: rgba(255,255,255,.8);
}
@media (max-width: 860px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stats__item:nth-child(2) { border-right: none; }
  .stats__item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.2); }
}
@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr; }
  .stats__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.2); }
  .stats__item:last-child { border-bottom: none; }
}

/* ------- Projects grid ------- */
.proj-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 32px; margin-bottom: 48px;
}
.proj-head h2 { max-width: 18ch; }
.projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.pcard {
  background: var(--c-surface);
  border: 1px solid var(--c-border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s var(--tr-ease), box-shadow .25s var(--tr-ease), border-color .25s var(--tr-ease);
}
.pcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -28px rgba(91,33,182,.35);
  border-color: transparent;
}
.pcard__media {
  aspect-ratio: 4 / 3;
  background: var(--c-primary-pale);
  overflow: hidden;
}
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--tr-ease); }
.pcard:hover .pcard__media img { transform: scale(1.04); }
.pcard__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pcard__eye  { font-family: var(--ff-body); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-cta-600); }
.pcard__title {
  font-family: var(--ff-display); font-weight: 600;
  font-size: 22px; line-height: 1.15; letter-spacing: -0.012em;
  color: var(--c-ink); margin: 0;
}
.pcard__sub {
  font-family: var(--ff-body); font-size: 14px; color: var(--c-ink-faint);
  font-weight: 500; margin: 0;
}
.pcard__summary { font-size: 15px; color: var(--c-ink-70); line-height: 1.55; margin: 6px 0 0; }
.pcard__foot { margin-top: auto; padding-top: 16px; display: flex; justify-content: space-between; align-items: center; }
.pcard__link { font-size: 13.5px; font-weight: 600; color: var(--c-primary-700); }
.pcard__link .btn__arrow { margin-left: 4px; }
@media (max-width: 960px) {
  .projects { grid-template-columns: 1fr 1fr; }
  .proj-head { flex-direction: column; align-items: start; }
}
@media (max-width: 620px) {
  .projects { grid-template-columns: 1fr; }
}

/* ------- Stories (editorial, alternating) ------- */
.stories__list { display: grid; gap: clamp(48px, 6vw, 88px); }
.story {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.story:nth-child(even) .story__media { order: 2; }
.story__media {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--c-primary-pale);
  position: relative;
}
.story__media img { width: 100%; height: 100%; object-fit: cover; }
.story__media::after {
  content: "";
  position: absolute; left: -4px; top: 32px; bottom: 32px; width: 3px;
  background: var(--c-cta);
}
.story:nth-child(even) .story__media::after {
  left: auto; right: -4px;
}
.story__copy .eyebrow { color: var(--c-primary-700); }
.story__copy h3 {
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.15; letter-spacing: -0.018em;
  margin-bottom: 16px;
}
.story__copy p { color: var(--c-ink-70); font-size: 17px; line-height: 1.6; max-width: 48ch; }
@media (max-width: 820px) {
  .story, .story:nth-child(even) { grid-template-columns: 1fr; }
  .story:nth-child(even) .story__media { order: 0; }
}

/* ------- 3-way allocation (three tracks) ------- */
.tracks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.track {
  position: relative;
  padding: 32px 28px 36px;
  border-radius: var(--radius);
  background: var(--c-surface);
  border: 1px solid var(--c-border-soft);
  display: flex; flex-direction: column;
  transition: transform .25s var(--tr-ease), box-shadow .25s var(--tr-ease);
}
.track--donate    { background: var(--c-ink); color: #fff; border-color: transparent; }
.track--donate .track__eye { color: var(--c-cta); }
.track--donate .track__title { color: #fff; }
.track--donate .track__body  { color: rgba(255,255,255,.75); }
.track--donate .btn--primary { box-shadow: 0 10px 24px -10px rgba(245,158,11,.8); }
.track:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -26px rgba(91,33,182,.35); }
.track__eye {
  font-family: var(--ff-body); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-primary-700);
  margin-bottom: 16px;
}
.track__title {
  font-family: var(--ff-display); font-size: 26px; font-weight: 600;
  letter-spacing: -0.015em; line-height: 1.15;
  margin-bottom: 14px;
}
.track__body { color: var(--c-ink-70); font-size: 15.5px; line-height: 1.6; margin-bottom: 28px; flex: 1; }
.track__cta { margin-top: auto; }
@media (max-width: 860px) { .tracks { grid-template-columns: 1fr; } }

/* ------- Newsletter ------- */
.newsletter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.newsletter form {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.newsletter input[type=email] {
  flex: 1 1 260px;
  min-width: 0;
  padding: 15px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--c-border);
  font: inherit;
  color: var(--c-ink);
  background: var(--c-surface);
}
.newsletter input[type=email]:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 4px var(--c-primary-pale);
}
@media (max-width: 820px) { .newsletter { grid-template-columns: 1fr; } }

/* ------- Footer ------- */
.footer { background: var(--c-ink); color: rgba(255,255,255,.72); padding: 72px 0 36px; }
.footer__top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 52px;
}
.footer h4 {
  font-family: var(--ff-body);
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin: 0 0 18px;
}
.footer a { color: rgba(255,255,255,.85); }
.footer a:hover { color: var(--c-cta); }
.footer ul li { padding: 5px 0; font-size: 15px; }
.footer__brand {
  font-family: var(--ff-display); font-weight: 700; font-size: 24px;
  letter-spacing: -0.015em; color: #fff; margin-bottom: 14px;
}
.footer__tag { font-size: 15px; line-height: 1.55; max-width: 34ch; color: rgba(255,255,255,.65); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.09);
  padding-top: 24px;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 13px; color: rgba(255,255,255,.45);
}
.footer__bottom a { font-size: 13px; color: rgba(255,255,255,.55); }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s var(--tr-ease);
}
.footer__social a:hover { background: var(--c-cta); color: var(--c-cta-ink); }
.footer__social svg { width: 16px; height: 16px; fill: currentColor; }
@media (max-width: 860px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 520px) {
  .footer__top { grid-template-columns: 1fr; gap: 28px; }
}

/* ------- Page hero (inner) ------- */
.phero { padding-top: clamp(56px, 7vw, 110px); padding-bottom: clamp(32px, 5vw, 56px); background: var(--c-primary-pale); }
.phero__eye { color: var(--c-primary-700); }
.phero h1 {
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(38px, 5vw, 64px);
  letter-spacing: -0.025em; line-height: 1.02;
  color: var(--c-ink);
  max-width: 20ch;
  margin-bottom: 18px;
}
.phero p { font-size: clamp(16px,1.4vw,19px); color: var(--c-ink-70); max-width: 60ch; }

/* ------- Timeline ------- */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: ""; position: absolute; left: 8px; top: 10px; bottom: 10px; width: 2px;
  background: linear-gradient(180deg, var(--c-primary), var(--c-primary-light));
}
.timeline__item { position: relative; padding-bottom: 36px; }
.timeline__item::before {
  content: ""; position: absolute; left: -31px; top: 8px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--c-cta); border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--c-primary);
}
.timeline__y {
  font-family: var(--ff-display); font-weight: 700;
  font-size: 26px; color: var(--c-primary-700);
  letter-spacing: -0.015em; margin-bottom: 4px;
}
.timeline__item p { color: var(--c-ink-70); max-width: 60ch; }

/* ------- Contact grid ------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--c-surface);
  border: 1px solid var(--c-border-soft);
}
.contact-card h3 { margin-bottom: 12px; }
.contact-card a { color: var(--c-primary-700); font-weight: 600; }
.contact-card dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 0; font-size: 15px; }
.contact-card dt { color: var(--c-ink-faint); font-weight: 500; }
.contact-card dd { margin: 0; color: var(--c-ink); }

/* donate presets */
.donate-box {
  background: var(--c-ink); color: #fff;
  padding: 36px 32px; border-radius: var(--radius-lg);
}
.donate-box h3 { color: #fff; margin-bottom: 6px; font-size: 26px; }
.donate-box p  { color: rgba(255,255,255,.7); }
.donate-amounts { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0 24px; }
.donate-amounts button {
  padding: 12px 18px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.25);
  color: #fff; font-weight: 600; font-size: 15px;
  transition: all .2s var(--tr-ease);
}
.donate-amounts button:hover { border-color: var(--c-cta); color: var(--c-cta); }
.donate-note { font-size: 13px; color: rgba(255,255,255,.55); margin-top: 18px; }

@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

/* ------- Reports list ------- */
.reports { display: grid; gap: 14px; }
.report {
  display: grid; grid-template-columns: 100px 1fr auto; gap: 24px;
  padding: 22px 24px; background: var(--c-surface);
  border: 1px solid var(--c-border-soft); border-radius: var(--radius);
  align-items: center;
  transition: border-color .2s var(--tr-ease), transform .2s var(--tr-ease);
}
.report:hover { border-color: var(--c-primary-light); transform: translateX(3px); }
.report__year {
  font-family: var(--ff-display); font-weight: 700; font-size: 28px;
  color: var(--c-primary-700); letter-spacing: -0.02em;
}
.report__title { font-weight: 600; font-size: 17px; color: var(--c-ink); }
.report__note  { display: block; font-size: 14px; color: var(--c-ink-faint); margin-top: 2px; }
.report__link { color: var(--c-cta-600); font-weight: 600; font-size: 14px; }
.report__link[aria-disabled="true"] { opacity: .4; pointer-events: none; }
@media (max-width: 640px) {
  .report { grid-template-columns: 64px 1fr; }
  .report__link { grid-column: 2; }
}

/* ------- News list ------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.ncard {
  background: var(--c-surface); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--c-border-soft);
  transition: transform .25s var(--tr-ease), box-shadow .25s var(--tr-ease);
}
.ncard:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -28px rgba(91,33,182,.3); }
.ncard__img { aspect-ratio: 16/10; background: var(--c-primary-pale); }
.ncard__img img { width: 100%; height: 100%; object-fit: cover; }
.ncard__body { padding: 22px 22px 24px; }
.ncard__date { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--c-primary-700); font-weight: 600; }
.ncard__title { font-family: var(--ff-display); font-weight: 600; font-size: 20px; line-height: 1.2; letter-spacing: -0.012em; margin: 8px 0 12px; color: var(--c-ink); }
.ncard__excerpt { font-size: 14.5px; color: var(--c-ink-70); line-height: 1.55; }
@media (max-width: 960px) { .news-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .news-grid { grid-template-columns: 1fr; } }

/* ------- Forms (volunteer/partner) ------- */
.form-grid {
  display: grid; gap: 16px;
  max-width: 640px;
}
.field label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--c-ink-70); margin-bottom: 6px; letter-spacing: .01em;
}
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  border: 1.5px solid var(--c-border); font: inherit; color: var(--c-ink);
  background: var(--c-surface);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 4px var(--c-primary-pale);
}
.field textarea { min-height: 140px; resize: vertical; }
.field--error input, .field--error textarea { border-color: #DC2626; }

/* ------- Reveal animation ------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--tr-ease), transform .7s var(--tr-ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ------- Photo credit ------- */
.photo-credit {
  font-size: 11px; color: var(--c-ink-faint); letter-spacing: .02em;
  margin-top: 6px; opacity: .7;
}
.photo-credit a { color: inherit; border-bottom: 1px dotted currentColor; }

/* ------- Misc ------- */
.pre-divider {
  display: inline-block; width: 42px; height: 2px; background: var(--c-cta);
  margin: 0 12px 4px 0; vertical-align: middle;
}
.sep { height: 1px; background: var(--c-border-soft); margin: 56px 0; }
.tag {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  background: var(--c-primary-pale); color: var(--c-primary-700);
  font-size: 12px; font-weight: 600; letter-spacing: .01em;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--c-ink); color: #fff; padding: 10px 14px; z-index: 999; border-radius: 0 0 8px 8px;
}
.skip-link:focus { left: 16px; top: 0; }

/* Section headline with eyebrow aligned */
.section-head { margin-bottom: 48px; max-width: 780px; }
.section-head .h2 { max-width: 18ch; }
.section-head p { color: var(--c-ink-70); font-size: 17px; line-height: 1.55; margin-top: 10px; max-width: 56ch; }
