:root {
  --ink: #14213a;
  --ink-2: #1c2d4f;
  --text: #1f2a3d;
  --muted: #5d6675;
  --paper: #ffffff;
  --lake-pale: #eaf1f8;
  --lake: #2856a8;
  --lake-deep: #1b3f80;
  --sun: #f0b23e;
  --sun-deep: #d99a1f;
  --mark: #fff2a8;
  --rule: #dbe3ec;
  --font: "Golos Text", "Segoe UI", system-ui, sans-serif;
  --w: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--paper); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, video, svg { max-width: 100%; display: block; }
a { color: var(--lake); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.015em; margin: 0; font-weight: 800; color: var(--ink); }
h2 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.4rem); margin-bottom: 1.4rem; padding-top: 14px; position: relative; }
h2::before { content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 5px; background: var(--sun); border-radius: 3px; }
p { margin: 0 0 1em; }
mark.todo { background: var(--mark); color: #5a4300; padding: 0.1em 0.45em; border-radius: 4px; font-weight: 500; border: 1px dashed #d4a800; }
.wrap { width: min(100%, var(--w)); margin: 0 auto; padding: 0 20px; }
section { padding: 4rem 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 700; padding: 13px 24px; border-radius: 10px; font-size: 1rem; border: 0; cursor: pointer; font-family: inherit; line-height: 1.2; }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: var(--sun-deep); }
.btn-lake { background: var(--lake); color: #fff; }
.btn-lake:hover { background: var(--lake-deep); }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--rule); }
.btn-ghost:hover { border-color: var(--ink); }

/* Banner + header */
.banner { display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--sun); color: var(--ink); text-decoration: none; padding: 9px 16px; font-size: 0.95rem; text-align: center; }
.banner b { text-decoration: underline; text-underline-offset: 3px; }
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.top-in { width: min(100%, var(--w)); margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.mark { width: 38px; height: 38px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text span { font-weight: 800; font-size: 1.05rem; }
.brand-text small { color: var(--muted); font-size: 0.75rem; font-weight: 500; }
.nav { display: flex; gap: 22px; margin-left: 16px; }
.nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 0.95rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--sun); }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.lang { display: flex; border: 1.5px solid var(--rule); border-radius: 999px; overflow: hidden; }
.lang button { font: inherit; font-weight: 600; font-size: 0.8rem; background: none; border: 0; color: var(--muted); padding: 5px 11px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.top-cta { padding: 10px 18px; font-size: 0.95rem; }

/* Hero */
.hero { background: var(--ink); color: #fff; padding: 0; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 85% 20%, rgba(40,86,168,0.55), transparent 70%); pointer-events: none; }
.hero-in { position: relative; width: min(100%, var(--w)); margin: 0 auto; padding: clamp(40px, 6vw, 72px) 20px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero-who { color: var(--sun); font-weight: 600; margin-bottom: 12px; font-size: 1rem; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 1.4rem + 3.6vw, 4rem); max-width: 15ch; }
.lead { font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.25rem); margin: 1.1rem 0 1.8rem; max-width: 50ch; color: #d7deea; }
.hero-photo { margin: 0; position: relative; max-width: 440px; justify-self: end; width: 100%; }
.hero-photo img { width: 100%; height: auto; border-radius: 22px; aspect-ratio: 3 / 4; object-fit: cover; box-shadow: 18px 18px 0 0 var(--sun); }
.hero-photo figcaption { color: #a9b8d3; font-size: 0.85rem; margin-top: 34px; }

.goal { background: #fff; color: var(--text); border-radius: 18px; padding: 22px 24px; box-shadow: 0 20px 50px rgba(0,0,0,0.25); max-width: 560px; }
.goal-top { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.goal-sum { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.goal-label { color: var(--muted); font-weight: 500; }
.goal-approx { color: var(--muted); font-size: 0.9rem; width: 100%; }
.bar { height: 12px; background: var(--lake-pale); border-radius: 999px; overflow: hidden; margin: 14px 0 12px; }
.bar span { display: block; height: 100%; background: var(--sun); border-radius: 999px; }
.goal-meta { margin: 0 0 16px; display: grid; gap: 6px; font-size: 0.95rem; }
.goal-meta div { display: grid; grid-template-columns: 6em 1fr; gap: 10px; align-items: baseline; }
.goal-meta dt { color: var(--muted); }
.goal-meta dd { margin: 0; }
.goal-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.goal-btns .btn { flex: 1 1 160px; }

/* Story */
.story-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.story-body p { font-size: 1.08rem; max-width: 62ch; }
.story-body p:first-child { font-size: 1.2rem; font-weight: 500; color: var(--ink); }
.story-photo { margin: 0; position: sticky; top: 90px; }
.story-photo img { border-radius: 18px; width: 100%; height: auto; }
.story-photo figcaption { color: var(--muted); font-size: 0.85rem; margin-top: 8px; }

/* Timeline */
.timeline { border-top: 1px solid var(--rule); }
.timeline ol { list-style: none; margin: 0; padding: 0; max-width: 46rem; position: relative; }
.timeline ol::before { content: ""; position: absolute; left: 9.6em; top: 8px; bottom: 8px; width: 2px; background: var(--rule); }
.timeline li { display: grid; grid-template-columns: 9em 1fr; gap: 28px; padding: 12px 0; position: relative; }
.timeline li::before { content: ""; position: absolute; left: calc(9.6em - 6px); top: 20px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--lake); }
.timeline li:last-child::before { background: var(--sun); border-color: var(--sun); }
.timeline .when { font-weight: 700; color: var(--lake-deep); text-align: right; }
.timeline .dash { color: var(--muted); }
.timeline li:last-child .what { font-weight: 600; color: var(--ink); }

/* Updates */
.updates { border-top: 1px solid var(--rule); }
.update { max-width: 46rem; background: var(--lake-pale); border-radius: 18px; padding: 22px 26px; margin-bottom: 16px; border-left: 5px solid var(--lake); }
.update time { color: var(--muted); font-size: 0.9rem; font-weight: 500; }
.update h3 { font-size: 1.3rem; margin: 4px 0 10px; }
.update ul { margin: 0; padding-left: 1.2em; }
.update li { margin: 5px 0; }

/* Donate */
.donate { background: var(--ink); color: #fff; }
.donate h2 { color: #fff; }
.donate-intro { color: #c9d3e3; max-width: 60ch; font-size: 1.05rem; }
.donate-note { background: var(--sun); color: var(--ink); font-weight: 600; padding: 14px 18px; border-radius: 12px; max-width: 46rem; margin: 0 0 1.8rem; }
.methods { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
.method { background: var(--ink-2); border-radius: 16px; padding: 18px 20px; border: 1px solid #2b3c60; }
.method .region { display: inline-block; color: var(--sun); font-size: 0.8rem; font-weight: 600; margin-bottom: 4px; }
.method h3 { font-size: 1.2rem; margin: 0 0 12px; color: #fff; }
.line { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid #344565; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.line:first-of-type { border-top: 0; }
.copy { font: inherit; font-size: 0.8rem; font-weight: 600; color: #fff; background: #3a4f78; border: 0; border-radius: 6px; padding: 6px 10px; cursor: pointer; flex: none; }
.copy:hover { background: var(--lake); }
.copy.done { background: #2e8b57; }
.steps { margin: 0; padding-left: 1.3em; }
.steps li { padding: 2px 0; }
.hint { color: #a9b8d3; font-size: 0.9rem; margin: 10px 0 0; }

/* Share */
.share p { max-width: 60ch; }
.share-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.share-btns .btn { padding: 11px 18px; }

/* Gallery */
.gallery { border-top: 1px solid var(--rule); }
.media { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.media figure { margin: 0; }
.media img, .media video { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; background: var(--lake-pale); }
.media figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 6px; }

/* Mission */
.mission-card { background: var(--lake-pale); border-radius: 22px; padding: clamp(24px, 4vw, 44px); }
.mission-card p { max-width: 62ch; }
.mission-links a { margin-right: 20px; font-weight: 600; }

.foot { border-top: 1px solid var(--rule); padding: 26px 20px 100px; color: var(--muted); font-size: 0.9rem; text-align: center; }
.foot p { margin: 0 0 6px; }
.foot .credit { margin-top: 14px; font-size: 0.8rem; }
.foot .credit a { color: var(--muted); }

.sticky-cta { display: none; }

@media (max-width: 900px) {
  .nav { display: none; }
  .brand-text small { display: none; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-photo { justify-self: start; max-width: 340px; order: -1; }
  .hero-photo figcaption { margin-top: 26px; }
  .story-grid { grid-template-columns: 1fr; }
  .story-photo { position: static; max-width: 360px; }
  section { padding: 2.8rem 0; }
}
@media (max-width: 600px) {
  .banner { font-size: 0.85rem; padding: 7px 12px; gap: 6px; }
  .top-cta { display: none; }
  .top-in { gap: 12px; }
  .timeline ol::before { left: 6px; }
  .timeline li { grid-template-columns: 1fr; gap: 2px; padding-left: 28px; }
  .timeline li::before { left: 0; top: 18px; }
  .timeline .when { text-align: left; }
  .goal-meta div { grid-template-columns: 5.5em 1fr; }
  .media { grid-template-columns: 1fr 1fr; gap: 10px; }
  .sticky-cta { display: flex; position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 30; box-shadow: 0 10px 30px rgba(0,0,0,0.25); font-size: 1.05rem; padding: 15px; }
}
@media (min-width: 601px) { .foot { padding-bottom: 40px; } }
