/* ============================================================
   Roma Center — design system (WCAG 2.2 AAA targeted)
   Paletă inspirată din steagul rom. Toate perechile text/fundal
   țintesc contrast ≥ 7:1 (text normal) / ≥ 4.5:1 (text mare).
   ============================================================ */

:root {
  /* surfaces */
  --blue:        #163E86;   /* hero / header */
  --blue-700:    #0F2C61;
  --blue-900:    #0A1F47;   /* footer */
  --cream:       #FBF7F0;
  --surface:     #FFFFFF;
  --line:        #DDD5C6;

  /* text (AAA on light surfaces) */
  --ink:         #1E2330;   /* ~13:1 on cream */
  --muted:       #4B463C;   /* ~7.6:1 on cream */
  --on-blue:     #FFFFFF;   /* ~10:1 on blue */
  --on-blue-2:   #DCE6FA;   /* ~8:1 on blue  */

  /* brand accents */
  --green:       #2E8B57;   /* decorative band / icon tint */
  --green-text:  #1A5235;   /* ~8.5:1 on cream — for text */
  --red:         #D6332E;   /* chakra motif */
  --red-text:    #951B16;
  --gold:        #F4A72B;   /* donate / accents */
  --gold-strong: #E89512;
  --gold-ink:    #2B1B00;   /* ~8:1 on gold */

  /* category tags (AAA on their tint) */
  --tag-green-bg:#EAF3DE; --tag-green-fg:#244B0A;
  --tag-blue-bg: #E6F1FB; --tag-blue-fg: #0B3D70;
  --tag-amber-bg:#FAEEDA; --tag-amber-fg:#5A3306;
  --tag-red-bg:  #FCEBEB; --tag-red-fg:  #6E1C1C;

  --font-display: "Sora", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, sans-serif;

  --maxw: 1180px;
  --prose: 68ch;            /* 1.4.8: limit line length */
  --radius:  14px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px -24px rgba(15, 44, 97, .35);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;                 /* 1.4.8 AAA: ≥1.5 */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; margin: 0; font-weight: 700; color: var(--ink); }
p { margin: 0; }
button { font: inherit; cursor: pointer; }
p, li { max-width: var(--prose); }   /* readable measure */

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: clamp(56px, 8vw, 104px); }

.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;
}
.hp { position: absolute !important; left: -9999px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link {
  position: absolute; left: 16px; top: -56px; z-index: 200;
  background: var(--gold); color: var(--gold-ink); padding: 12px 18px;
  border-radius: var(--radius-sm); font-weight: 600; transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ---------- focus (2.4.13 AAA): visible on light AND dark ---------- */
:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--blue-900), 0 0 0 6px #FFE08A;
  border-radius: 6px;
}
@media (forced-colors: active) {
  :focus-visible { outline: 3px solid CanvasText; box-shadow: none; }
}

/* ---------- buttons (≥44px target — 2.5.5 AAA) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 12px 24px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 1rem; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform .15s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-lg { min-height: 56px; padding: 16px 32px; font-size: 1.08rem; }
.btn svg { width: 20px; height: 20px; flex: none; }

.btn-gold { background: var(--gold); color: var(--gold-ink); }
.btn-gold:hover { background: var(--gold-strong); box-shadow: 0 12px 26px -10px rgba(232,149,18,.8); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-700); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline:hover { background: rgba(255,255,255,.16); border-color: #fff; }
.btn-ghost { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn-ghost:hover { background: #EEF3FB; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 600;
  color: var(--blue); text-decoration: underline; text-underline-offset: 3px;
  min-height: 44px; transition: gap .18s var(--ease);
}
.link-arrow:hover { gap: 11px; }
.link-light { color: #fff; }
.kicker {
  display: inline-block; font-family: var(--font-body); font-weight: 600;
  font-size: .85rem; letter-spacing: .07em; text-transform: uppercase;
  color: var(--green-text); margin-bottom: 14px;
}

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--blue); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 92px; gap: 24px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { height: 62px; width: auto; }     /* logo mărit */
.nav { display: flex; align-items: center; gap: 2px; }
.nav-link {
  color: var(--on-blue-2); font-weight: 500; font-size: 1rem; text-decoration: none;
  padding: 10px 10px; min-height: 44px; display: inline-flex; align-items: center;
  border-radius: var(--radius-sm); position: relative; transition: color .18s var(--ease), background .18s var(--ease);
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,.10); }
.nav-link[aria-current="page"] { color: #fff; }
.nav-link[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px;
  background: var(--gold); border-radius: 2px;
}
.lang { display: flex; align-items: center; gap: 2px; margin-left: 6px; }
.lang-btn {
  background: none; border: 2px solid transparent; color: var(--on-blue-2);
  font-weight: 600; min-width: 44px; min-height: 44px; border-radius: var(--radius-sm); padding: 0 8px;
}
.lang-btn[aria-pressed="true"] { color: var(--blue); background: #fff; }
.lang-sep { color: #CDD9F0; }

/* donate button in header — proeminent */
.nav-donate { margin-left: 10px; box-shadow: 0 0 0 4px rgba(244,167,43,.22); }
.nav-donate:hover { box-shadow: 0 0 0 5px rgba(244,167,43,.32), 0 12px 24px -10px rgba(232,149,18,.8); }

.hamburger {
  display: none; flex-direction: column; gap: 5px; justify-content: center; align-items: center;
  background: none; border: 0; width: 48px; height: 48px;
}
.hamburger span { width: 26px; height: 3px; background: #fff; border-radius: 2px; transition: transform .25s var(--ease), opacity .2s var(--ease); }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- chakra wheel (decorative) ---------- */
.wheel-watermark { position: absolute; pointer-events: none; }

/* ---------- home hero ---------- */
.hero { position: relative; background: var(--blue); color: #fff; overflow: hidden; }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-block: clamp(56px, 8vw, 96px) clamp(66px, 9vw, 104px); }
.hero-copy { max-width: 620px; }
.eyebrow {
  display: inline-block; background: rgba(255,255,255,.16); color: var(--on-blue-2);
  font-size: .9rem; font-weight: 500; padding: 8px 15px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); margin-bottom: 20px; letter-spacing: -.01em; color: #fff; }
.hero-lead { font-size: clamp(1.08rem, 2vw, 1.3rem); color: var(--on-blue-2); margin-bottom: 32px; line-height: 1.6; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-figure { position: relative; z-index: 2; }
.hero-figure img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.hero-figure figcaption {
  position: absolute; left: 14px; bottom: 14px; right: 14px;
  background: rgba(10,31,71,.86); color: #fff; font-size: .85rem; padding: 8px 12px; border-radius: 10px;
}
.hero-wheel { right: -6%; top: 8%; width: clamp(300px, 34vw, 480px); opacity: .12; z-index: 1; }
.hero-band { position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: var(--green); z-index: 3; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; background: var(--blue); color: #fff; overflow: hidden; padding-block: clamp(40px, 6vw, 68px); }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4.4vw, 3rem); margin-bottom: 14px; }
.page-hero p { color: var(--on-blue-2); font-size: 1.12rem; max-width: var(--prose); }
.page-hero .hero-band { height: 8px; }
.breadcrumb { font-size: .92rem; margin-bottom: 18px; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.breadcrumb a { color: var(--on-blue-2); text-decoration: underline; text-underline-offset: 3px; min-height: 44px; display: inline-flex; align-items: center; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current="page"] { color: #fff; }
.breadcrumb .sep { color: #CDD9F0; }

/* ---------- stats ---------- */
.stats { background: var(--cream); padding-block: clamp(40px, 6vw, 64px); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat-num { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 4.5vw, 3rem); color: var(--blue); line-height: 1; }
.stat-label { display: block; margin-top: 8px; color: var(--muted); font-size: 1rem; max-width: none; }

/* ---------- about / generic two-col ---------- */
.about { background: var(--surface); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.prose-block h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 18px; }
.prose-block p { color: var(--muted); margin-bottom: 16px; font-size: 1.08rem; }
.figure-card { position: relative; }
.figure-card img { border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; width: 100%; aspect-ratio: 4/3; }
.figure-card figcaption { margin-top: 10px; font-size: .92rem; color: var(--muted); }

.pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.pillar {
  display: flex; gap: 16px; align-items: flex-start; background: var(--cream);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.pillar:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pillar h3 { font-size: 1.2rem; margin-bottom: 4px; }
.pillar p { color: var(--muted); font-size: 1rem; }
.pillar-ico, .involve-ico { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; }
.pillar-ico svg, .involve-ico svg { width: 28px; height: 28px; }
[data-accent="blue"]  { background: var(--tag-blue-bg);  color: var(--tag-blue-fg); }
[data-accent="green"] { background: var(--tag-green-bg); color: var(--tag-green-fg); }
[data-accent="red"]   { background: var(--tag-red-bg);   color: var(--tag-red-fg); }
[data-accent="gold"]  { background: #FBEBC9;             color: #5A3D00; }

/* ---------- section heads ---------- */
.section-head { max-width: var(--prose); margin-bottom: 44px; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 1.08rem; }

/* ---------- projects ---------- */
.projects { background: var(--cream); }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c9bfa8; }
.card-media { aspect-ratio: 16/10; width: 100%; object-fit: cover; background: #e9e2d3; }
.card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.card h3 { font-size: 1.3rem; margin: 14px 0 10px; }
.card h3 a, .prose-block h2 a { color: inherit; text-decoration: none; }
.card h3 a:hover, .prose-block h2 a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.card p { color: var(--muted); margin-bottom: 18px; flex: 1; font-size: 1rem; }
.tag { font-size: .8rem; font-weight: 600; padding: 6px 13px; border-radius: 999px; }
.tag-green { background: var(--tag-green-bg); color: var(--tag-green-fg); }
.tag-blue  { background: var(--tag-blue-bg);  color: var(--tag-blue-fg); }
.tag-amber { background: var(--tag-amber-bg); color: var(--tag-amber-fg); }
.tag-red   { background: var(--tag-red-bg);   color: var(--tag-red-fg); }
.card-cta { background: var(--blue); border-color: var(--blue); color: #fff; }
.card-cta .card-body { justify-content: center; }
.card-cta h3 { color: #fff; margin-top: 0; }
.card-cta p { color: var(--on-blue-2); }
.card-cta .link-arrow { color: #FFE08A; }

/* ---------- implică-te ---------- */
.involve { background: var(--surface); }
.involve-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.involve-card {
  text-align: center; background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 28px; display: flex; flex-direction: column; align-items: center;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.involve-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.involve-ico { margin-bottom: 18px; width: 60px; height: 60px; }
.involve-ico svg { width: 30px; height: 30px; }
.involve-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.involve-card p { color: var(--muted); margin-bottom: 22px; }

/* ---------- donate cta band ---------- */
.donate-band { position: relative; background: var(--blue-700); color: #fff; overflow: hidden; padding-block: clamp(64px, 9vw, 110px); }
.donate-band .wheel-watermark { left: -6%; bottom: -28%; width: clamp(300px, 36vw, 460px); opacity: .1; }
.donate-band-inner { position: relative; z-index: 2; max-width: var(--prose); }
.donate-band h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 16px; }
.donate-band p { color: var(--on-blue-2); font-size: 1.15rem; margin-bottom: 30px; }
.donate-band-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }

/* ---------- donations page ---------- */
.amount-options { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 24px; }
.amount-options .amount {
  min-height: 56px; padding: 0 22px; border: 2px solid var(--line); background: #fff; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 1.1rem; color: var(--ink);
}
.amount-options .amount[aria-pressed="true"] { border-color: var(--blue); background: #EEF3FB; color: var(--blue); }
.freq-toggle { display: inline-flex; border: 2px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 18px; }
.freq-toggle button { min-height: 48px; padding: 0 22px; background: #fff; border: 0; font-weight: 600; color: var(--muted); }
.freq-toggle button[aria-pressed="true"] { background: var(--blue); color: #fff; }
.methods-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.method {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px;
}
.method h3 { font-size: 1.2rem; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.method dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; }
.method dt { color: var(--muted); }
.method dd { margin: 0; font-weight: 600; }
.todo-note { background: #FBEBC9; color: #5A3D00; border-radius: 10px; padding: 10px 14px; font-size: .92rem; margin-top: 14px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; max-width: none; }
.contact-list .ci { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--tag-blue-bg); color: var(--blue); display: grid; place-items: center; }
.contact-list .ci svg { width: 22px; height: 22px; }
.contact-list a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.form-grid { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 600; }
.field .hint { font-size: .9rem; color: var(--muted); }
.field input, .field textarea {
  font: inherit; padding: 13px 15px; border: 2px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink); min-height: 48px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--blue); }
.required { color: var(--red-text); }
.field select { font: inherit; padding: 13px 15px; border: 2px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink); min-height: 48px; }
.field select:focus { border-color: var(--blue); outline: none; }
.fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px 16px; margin: 0; }
.fieldset legend { font-weight: 600; padding: 0 6px; }
.check-group { display: grid; gap: 2px; margin-top: 6px; }
.check { display: flex; align-items: center; gap: 11px; min-height: 44px; }
.check input { width: 20px; height: 20px; flex: none; accent-color: var(--blue); }
.check label { font-weight: 400; margin: 0; }
.consent { display: flex; gap: 11px; align-items: flex-start; }
.consent input { width: 22px; height: 22px; flex: none; margin-top: 3px; accent-color: var(--blue); }
.consent label { font-weight: 400; }
.consent a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- footer ---------- */
.site-footer { background: var(--blue-900); color: #C3CEE6; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr; gap: 40px; padding-block: clamp(48px, 7vw, 80px); }
.footer-logo { height: 56px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: 1rem; margin-bottom: 20px; }
.social { display: flex; gap: 12px; }
.social a { width: 48px; height: 48px; border-radius: 12px; background: rgba(255,255,255,.10); display: grid; place-items: center; color: #fff; transition: background .2s var(--ease), color .2s var(--ease); }
.social a:hover { background: var(--gold); color: var(--gold-ink); }
.social svg { width: 22px; height: 22px; }
.footer-col h2 { font-family: var(--font-body); font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; color: #fff; margin-bottom: 14px; font-weight: 600; }
.footer-col a { display: flex; align-items: center; width: fit-content; min-height: 44px; color: #C3CEE6; text-decoration: none; transition: color .18s var(--ease); }
.footer-col a:hover { color: #FFE08A; text-decoration: underline; text-underline-offset: 3px; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 6px; max-width: none; }
.footer-contact a { text-decoration: underline; text-underline-offset: 3px; }
.footer-news p { font-size: .98rem; margin-bottom: 16px; }
.news-form { display: flex; gap: 8px; flex-wrap: wrap; }
.news-form input {
  flex: 1; min-width: 0; padding: 13px 15px; border-radius: var(--radius-sm); min-height: 48px;
  border: 2px solid rgba(255,255,255,.28); background: rgba(255,255,255,.08); color: #fff; font: inherit;
}
.news-form input::placeholder { color: #C3CEE6; }
.news-form input:focus { border-color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-block: 18px; font-size: .92rem; color: #B0BBD8; }
.footer-legal { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-legal a { color: #B0BBD8; min-height: 44px; display: inline-flex; align-items: center; padding-inline: 6px; }
.footer-legal a:hover { color: #FFE08A; }

/* ---------- sponsorizări ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 18px; }
.steps li { position: relative; padding-left: 66px; max-width: var(--prose); }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--blue); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; display: grid; place-items: center; }
.steps h3 { font-size: 1.15rem; margin-bottom: 4px; }
.steps p { color: var(--muted); }

.benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.benefits li { display: flex; gap: 12px; align-items: flex-start; max-width: var(--prose); color: var(--ink); }
.benefits .bi { flex: none; width: 26px; height: 26px; color: var(--green-text); margin-top: 1px; }
.benefits .bi svg { width: 26px; height: 26px; }

.legal-note { background: var(--tag-blue-bg); color: var(--tag-blue-fg); border-radius: var(--radius); padding: 18px 22px; max-width: var(--prose); }
.legal-note h3 { color: var(--tag-blue-fg); font-family: var(--font-body); font-size: 1.05rem; margin-bottom: 6px; }
.legal-note p { color: var(--tag-blue-fg); margin: 0; }

.doc-toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 24px; }
.doc-paper { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px,4vw,46px); max-width: 820px; box-shadow: var(--shadow); }
.doc-paper h2 { text-align: center; font-size: 1.5rem; margin-bottom: 6px; }
.doc-paper .doc-sub { text-align: center; color: var(--muted); font-size: .95rem; margin-bottom: 26px; max-width: none; }
.doc-paper h3 { font-family: var(--font-body); font-size: 1rem; letter-spacing: .02em; text-transform: uppercase; color: var(--blue); margin: 26px 0 8px; }
.doc-paper p, .doc-paper li { color: var(--ink); font-size: 1rem; margin-bottom: 10px; max-width: none; line-height: 1.6; }
.doc-paper ul, .doc-paper ol { padding-left: 22px; margin: 0 0 10px; }
.doc-paper .fill { color: var(--muted); }
.doc-sign { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 38px; }
.doc-sign .col { text-align: center; }
.doc-sign .col strong { display: block; }
.doc-sign .line { border-top: 1px solid var(--ink); margin: 44px 0 6px; }
.doc-sign small { color: var(--muted); }
@media (max-width: 560px) { .doc-sign { grid-template-columns: 1fr; } }

/* ---------- article detail ---------- */
.article { max-width: 768px; margin-inline: auto; }
.article-back { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; min-height: 44px; }
.article-cover { width: 100%; border-radius: var(--radius); margin: 0 0 26px; aspect-ratio: 16/9; object-fit: cover; box-shadow: var(--shadow); }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 12px; }
.article-meta .date { color: var(--on-blue-2); font-size: .95rem; }
.article-body p { color: var(--ink); font-size: 1.1rem; line-height: 1.7; margin-bottom: 16px; max-width: none; }
.article-body h3 { font-size: 1.2rem; margin: 26px 0 8px; }
.article-body ul { margin: 0 0 16px; padding-left: 22px; }
.article-body li { color: var(--ink); font-size: 1.1rem; margin-bottom: 6px; max-width: none; }
.article-body blockquote { margin: 0 0 16px; padding: 6px 0 6px 20px; border-left: 4px solid var(--gold); color: var(--ink); font-style: italic; }

/* ---------- news feed ---------- */
.feed { display: grid; gap: 26px; max-width: 940px; }
.post { display: grid; grid-template-columns: 300px 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s var(--ease); }
.post:hover { box-shadow: var(--shadow); }
.post-media { width: 100%; height: 100%; min-height: 210px; object-fit: cover; background: #e9e2d3; }
.post-body { padding: 22px 26px 26px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: .92rem; color: var(--muted); margin-bottom: 10px; }
.post-body h2 { font-size: 1.4rem; margin-bottom: 10px; }
.post-body p { color: var(--ink); margin-bottom: 10px; }
.post-body p:last-child { margin-bottom: 0; }
.post-body h2 a { color: var(--ink); text-decoration: none; }
.post-body h2 a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.post-readmore { margin-top: 14px !important; }
@media (max-width: 680px) { .post { grid-template-columns: 1fr; } .post-media { aspect-ratio: 16/9; min-height: 0; } }

/* ---------- resources ---------- */
.res-list { display: grid; gap: 14px; max-width: var(--prose); }
.res-item { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; max-width: none; }
.res-item .ri { flex: none; width: 44px; height: 44px; border-radius: 11px; background: var(--tag-blue-bg); color: var(--blue); display: grid; place-items: center; }
.res-item .ri svg { width: 22px; height: 22px; }
.res-item a { font-weight: 600; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.res-item .rmeta { color: var(--muted); font-size: .9rem; margin-top: 2px; }

/* ---------- chip list (project names) ---------- */
.chip-list { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; margin: 0; }
.chip-list li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-weight: 500; color: var(--ink); max-width: none; }
.chip-list.on-cream li { background: var(--cream); }

/* ---------- people (board / team) ---------- */
.people-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.person { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.person.on-cream { background: #fff; }
.person .nm { font-weight: 600; color: var(--ink); }
.person .rl { color: var(--muted); font-size: .95rem; margin-top: 2px; }
.mv-block { margin-bottom: 26px; }
.mv-block .lbl { display: inline-block; font-family: var(--font-body); font-weight: 600; font-size: .85rem; letter-spacing: .07em; text-transform: uppercase; color: var(--green-text); margin-bottom: 8px; }
.mv-block p { color: var(--muted); font-size: 1.1rem; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav {
    position: fixed; inset: 92px 0 auto 0; flex-direction: column; align-items: stretch;
    gap: 4px; background: var(--blue-700); padding: 14px 24px 28px;
    transform: translateY(-130%); transition: transform .3s var(--ease); box-shadow: var(--shadow);
  }
  .nav.is-open { transform: translateY(0); }
  .nav-link { font-size: 1.08rem; border-bottom: 1px solid rgba(255,255,255,.10); border-radius: 0; }
  .nav-link[aria-current="page"]::after { display: none; }
  .lang { margin: 10px 0 0; }
  .nav-donate { margin: 14px 0 0; justify-content: center; }
  .hamburger { display: flex; }
  .hero-inner, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-figure { order: -1; max-width: 520px; }
  .split.reverse { direction: ltr; }
  .projects-grid, .involve-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .projects-grid, .involve-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-cta .btn, .donate-band-cta .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
