/* ============ TOKENS ============ */
:root{
  --paper: #FAF3E6;
  --paper-deep: #F1E4CC;
  --paper-line: rgba(34,30,23,.13);
  --ink: #221E17;
  --ink-soft: rgba(34,30,23,.68);
  --ink-faint: rgba(34,30,23,.48);

  --indigo-900: #0F262B;
  --indigo-800: #15323A;
  --indigo-700: #1D454E;
  --indigo-500: #3E7480;
  --indigo-300: #7FAAB2;

  --saffron: #E2952E;
  --saffron-dark: #B96D14;
  --saffron-soft: #F3CE8F;

  --terracotta: #A8452E;
  --terracotta-soft: #E8C2B3;

  --offwhite: #F6EFE1;
  --offwhite-soft: rgba(246,239,225,.72);
  --offwhite-faint: rgba(246,239,225,.4);

  --display: "Fraunces", ui-serif, Georgia, serif;
  --body: "Public Sans", ui-sans-serif, system-ui, sans-serif;

  --container: min(1200px, 100% - 3rem);
  --container-narrow: min(760px, 100% - 3rem);
  --radius-s: 6px;
  --radius-m: 14px;
  --radius-l: 28px;

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

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

img,svg{ display:block; max-width:100%; }
a{ color:inherit; }

::selection{ background:var(--saffron-soft); color:var(--ink); }

:focus-visible{
  outline:2.5px solid var(--saffron-dark);
  outline-offset:3px;
  border-radius:4px;
}

.container{ width:var(--container); margin-inline:auto; }
.container-narrow{ width:var(--container-narrow); margin-inline:auto; }

/* subtle grain overlay, whole page */
body::before{
  content:"";
  position:fixed; inset:0; z-index:2000; pointer-events:none;
  opacity:.035; mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1,h2,h3,h4{ font-family:var(--display); font-weight:600; margin:0; letter-spacing:-.01em; }
em{ font-style:italic; font-weight:500; color:var(--saffron-dark); }
.surface-ink em{ color:var(--saffron); }

.eyebrow{
  display:inline-flex; align-items:center; gap:.55rem;
  font-family:var(--body); font-weight:700; font-size:.78rem;
  letter-spacing:.14em; text-transform:uppercase;
  color:var(--terracotta);
}
.surface-ink .eyebrow, footer .eyebrow{ color:var(--saffron); }
.eyebrow::before{
  content:""; width:22px; height:1.5px; background:currentColor; display:block;
}

.section-head{ max-width:640px; margin-bottom:3rem; }
.section-head.center{ margin-inline:auto; text-align:center; }
.section-head h2{ font-size:clamp(1.9rem, 1.4rem + 2vw, 3rem); margin-top:.9rem; line-height:1.12; }
.section-head p{ margin-top:1.1rem; color:var(--ink-soft); font-size:1.08rem; }
.surface-ink .section-head p{ color:var(--offwhite-soft); }

section{ padding:6.5rem 0; position:relative; }
.surface-paper{ background:var(--paper); }
.surface-vellum{ background:var(--paper-deep); }
.surface-ink{ background:var(--indigo-800); color:var(--offwhite); }
.surface-ink h2, .surface-ink h3{ color:var(--offwhite); }

/* block-print inspired divider between sections */
.seam{
  height:34px; width:100%;
  background-image: radial-gradient(circle, currentColor 1.4px, transparent 1.6px);
  background-size: 22px 22px;
  color: var(--paper-line);
  opacity:.9;
}
.surface-ink + .seam, .seam.on-ink{ color: rgba(246,239,225,.14); }

/* ============ BUTTONS ============ */
.btn{
  display:inline-flex; align-items:center; gap:.6rem;
  font-family:var(--body); font-weight:700; font-size:.95rem;
  padding:.95rem 1.6rem; border-radius:999px; border:1.5px solid transparent;
  cursor:pointer; text-decoration:none; white-space:nowrap;
  transition:transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.btn:hover{ transform:translateY(-2px); }
.btn--primary{ background:var(--saffron); color:var(--indigo-900); }
.btn--primary:hover{ background:var(--saffron-dark); color:var(--offwhite); }
.btn--outline{ border-color:var(--ink); color:var(--ink); background:transparent; }
.btn--outline:hover{ background:var(--ink); color:var(--paper); }
.surface-ink .btn--outline{ border-color:var(--offwhite-soft); color:var(--offwhite); }
.surface-ink .btn--outline:hover{ background:var(--offwhite); color:var(--indigo-900); }
.btn--arrow svg{ width:16px; height:16px; transition:transform .25s var(--ease); }
.btn--arrow:hover svg{ transform:translateX(3px); }
.btn[disabled], .btn.is-disabled{ opacity:.5; cursor:not-allowed; pointer-events:none; }

/* ============ HEADER ============ */
.site-header{
  position:sticky; top:0; z-index:1000;
  padding:1.1rem 0;
  background:rgba(250,243,230,.82);
  backdrop-filter:blur(10px) saturate(1.3);
  border-bottom:1px solid transparent;
  transition:border-color .3s var(--ease), padding .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled{
  padding:.7rem 0;
  border-color:var(--paper-line);
  background:rgba(250,243,230,.95);
}
.header-row{ display:flex; align-items:center; justify-content:space-between; gap:1.5rem; }

.wordmark{ display:flex; align-items:center; gap:.65rem; text-decoration:none; }
.wordmark__mark{ width:34px; height:34px; flex:none; object-fit:contain; }
.wordmark__text{ font-family:var(--display); font-weight:600; font-size:1.18rem; color:var(--ink); letter-spacing:-.01em; white-space:nowrap; }
footer .wordmark__text{ color:var(--offwhite); }

.nav{ display:flex; align-items:center; gap:2.1rem; }
.nav a{
  font-size:.92rem; font-weight:600; text-decoration:none; color:var(--ink-soft);
  position:relative; padding-block:.3rem;
}
.nav a::after{
  content:""; position:absolute; left:0; right:100%; bottom:0; height:1.5px;
  background:var(--terracotta); transition:right .28s var(--ease);
}
.nav a:hover{ color:var(--ink); }
.nav a:hover::after{ right:0; }
.nav a[aria-current="page"]{ color:var(--ink); }
.nav a[aria-current="page"]::after{ right:0; background:var(--saffron-dark); }

.header-actions{ display:flex; align-items:center; gap:1.1rem; }
.lang-switch{
  display:flex; font-family:var(--body); font-weight:700; font-size:.78rem; letter-spacing:.04em;
  border:1.5px solid var(--paper-line); border-radius:999px; overflow:hidden;
}
.lang-switch span, .lang-switch a{ padding:.4rem .72rem; cursor:pointer; color:var(--ink-faint); text-decoration:none; }
.lang-switch span.active{ background:var(--ink); color:var(--paper); }

.nav-toggle{ display:none; background:none; border:none; cursor:pointer; padding:.4rem; position:relative; z-index:1100; }
.nav-toggle svg{ width:24px; height:24px; }

.mobile-nav{
  display:none;
  position:fixed; inset:0; z-index:1050;
  background:var(--paper);
  padding:5.5rem 1.5rem 2rem;
  transform:translateY(-8px); opacity:0; pointer-events:none;
  transition:opacity .25s var(--ease), transform .25s var(--ease);
  overflow-y:auto;
}
.mobile-nav.open{ opacity:1; transform:none; pointer-events:auto; }
.mobile-nav a{
  display:block; font-family:var(--display); font-size:1.7rem; font-weight:600;
  text-decoration:none; color:var(--ink); padding:.7rem 0; border-bottom:1px solid var(--paper-line);
}
.mobile-nav a[aria-current="page"]{ color:var(--terracotta); }
.mobile-nav .btn{ margin-top:1.6rem; width:100%; justify-content:center; }
.mobile-nav .lang-switch{ margin-top:1.6rem; }
@media (max-width:980px){ .mobile-nav{ display:block; } }

/* ============ BREADCRUMB (inner pages) ============ */
.breadcrumb{
  display:flex; align-items:center; gap:.5rem; flex-wrap:wrap;
  font-size:.82rem; font-weight:600; color:var(--ink-faint);
  padding:1.4rem 0 0;
}
.breadcrumb a{ text-decoration:none; color:var(--ink-faint); transition:color .2s var(--ease); }
.breadcrumb a:hover{ color:var(--terracotta); }
.breadcrumb span[aria-hidden]{ opacity:.6; }
.breadcrumb .current{ color:var(--ink-soft); }

/* ============ PAGE HERO (inner pages) ============ */
.page-hero{ padding:2.6rem 0 5rem; }
.page-hero__eyebrow{ margin-bottom:1.4rem; }
.page-hero h1{
  font-size:clamp(2.3rem, 1.7rem + 2.6vw, 3.8rem); line-height:1.06; letter-spacing:-.02em; max-width:20ch;
}
.page-hero p{ margin-top:1.4rem; max-width:56ch; font-size:1.12rem; color:var(--ink-soft); }
.surface-ink.page-hero p{ color:var(--offwhite-soft); }

/* ============ HERO (home) ============ */
.hero{
  position:relative; overflow:hidden;
  padding:6.5rem 0 7rem;
  background:
    radial-gradient(80% 65% at 78% 8%, rgba(226,149,46,.22), transparent 60%),
    radial-gradient(60% 50% at 8% 95%, rgba(29,69,78,.16), transparent 60%),
    var(--paper);
}
.hero__grid{
  position:relative; z-index:1;
  display:grid; grid-template-columns:1.15fr .85fr; gap:3.5rem; align-items:end;
}
.hero__eyebrow{ margin-bottom:1.6rem; }
.hero h1{
  font-size:clamp(2.7rem, 1.9rem + 3.6vw, 5rem);
  line-height:1.03; letter-spacing:-.02em; max-width:14ch;
}
.hero__sub{
  margin-top:1.7rem; max-width:46ch; font-size:1.18rem; color:var(--ink-soft);
}
.hero__ctas{ display:flex; gap:1rem; margin-top:2.4rem; flex-wrap:wrap; }

.hero__panel{
  position:relative; border-radius:var(--radius-l);
  background:var(--indigo-800); color:var(--offwhite);
  padding:2.4rem; min-height:390px;
  display:flex; flex-direction:column; justify-content:space-between;
  box-shadow:0 30px 60px -25px rgba(15,38,43,.55);
  overflow:hidden;
}
.hero__panel::before{
  content:""; position:absolute; inset:0;
  background-image: radial-gradient(circle, rgba(246,239,225,.16) 1.3px, transparent 1.5px);
  background-size:20px 20px; opacity:.5;
}
.hero__panel-stat{ position:relative; }
.hero__panel-stat .num{ font-family:var(--display); font-size:3.4rem; color:var(--saffron); line-height:1; }
.hero__panel-stat p{ margin-top:.7rem; color:var(--offwhite-soft); font-size:.98rem; max-width:26ch; }
.hero__panel-tags{ position:relative; display:flex; gap:.6rem; flex-wrap:wrap; }
.hero__panel-tags span{
  font-size:.76rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase;
  border:1px solid rgba(246,239,225,.3); border-radius:999px; padding:.35rem .75rem;
  color:var(--offwhite-soft);
}

.scroll-hint{
  display:flex; align-items:center; gap:.6rem; margin-top:4.2rem;
  font-size:.8rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  color:var(--ink-faint); text-decoration:none; width:fit-content;
}
.scroll-hint__line{ width:34px; height:1.5px; background:currentColor; position:relative; overflow:hidden; }
.scroll-hint__line::after{
  content:""; position:absolute; inset:0; background:var(--terracotta);
  animation:hint 1.8s var(--ease) infinite;
}
@keyframes hint{ 0%{ transform:translateX(-100%);} 50%{transform:translateX(0);} 100%{transform:translateX(100%);} }

/* ============ PURPOSE (duas frentes) ============ */
.purpose-grid{ display:grid; grid-template-columns:1fr 1fr; gap:1.6rem; }
.purpose-card{
  border:1.5px solid var(--paper-line); border-radius:var(--radius-m);
  padding:2.6rem; background:var(--paper);
  transition:border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.purpose-card:hover{ border-color:var(--terracotta); transform:translateY(-4px); box-shadow:0 20px 40px -28px rgba(34,30,23,.35); }
.purpose-card .icon{ width:38px; height:38px; color:var(--terracotta); margin-bottom:1.4rem; }
.purpose-card h3{ font-size:1.5rem; margin-bottom:.8rem; }
.purpose-card p{ color:var(--ink-soft); }
.purpose-stats{ display:flex; gap:2.2rem; margin-top:4rem; flex-wrap:wrap; }
.purpose-stat .num{ font-family:var(--display); font-size:2.6rem; color:var(--terracotta); }
.purpose-stat p{ margin-top:.3rem; font-size:.92rem; color:var(--ink-soft); max-width:20ch; }

/* ============ EXPLORE (bento) ============ */
.bento{
  display:grid; grid-template-columns:repeat(6,1fr); gap:1.4rem;
}
.bento-card{
  grid-column:span 2;
  border-radius:var(--radius-m); padding:2.2rem;
  background:var(--paper); border:1.5px solid var(--paper-line);
  text-decoration:none; color:inherit;
  display:flex; flex-direction:column; gap:1.3rem; min-height:230px;
  transition:transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
  cursor:pointer;
}
.bento-card:hover{
  transform:translateY(-6px);
  box-shadow:0 26px 50px -30px rgba(34,30,23,.4);
  border-color:transparent;
  background:var(--indigo-800); color:var(--offwhite);
}
.bento-card:hover .bento-card__icon{ background:var(--saffron); color:var(--indigo-900); }
.bento-card:hover p{ color:var(--offwhite-soft); }
.bento-card:hover .bento-card__link{ color:var(--saffron); }
.bento-card--wide{ grid-column:span 4; }

.bento-card--feature{
  grid-column:span 6;
  flex-direction:row; align-items:center; justify-content:space-between; gap:2.2rem;
  background:linear-gradient(120deg, var(--paper-deep), var(--paper) 75%);
  border-color:var(--saffron-soft); min-height:auto; padding:2.4rem 3rem;
}
.bento-card--feature:hover{ background:var(--indigo-800); }
.bento-card--feature .bento-card__body{ display:flex; flex-direction:column; gap:.6rem; flex:1; }
.bento-card--feature .bento-card__link{ margin-top:0; flex:none; font-size:.95rem; }
.bento-card--feature .bento-card__icon{ flex:none; }

.bento-card__icon{
  width:46px; height:46px; border-radius:50%; background:var(--paper-deep); color:var(--indigo-700);
  display:flex; align-items:center; justify-content:center; transition:background .3s var(--ease), color .3s var(--ease);
}
.bento-card__icon svg{ width:22px; height:22px; }
.bento-card h3{ font-size:1.28rem; }
.bento-card p{ color:var(--ink-soft); font-size:.96rem; flex:1; }
.bento-card__link{
  font-size:.84rem; font-weight:700; letter-spacing:.02em; color:var(--terracotta);
  display:inline-flex; align-items:center; gap:.4rem; margin-top:auto;
}
.bento-card__link svg{ width:14px; height:14px; }

/* ============ TAG FILTER (pillar hub pages) ============ */
.tag-filter{ display:flex; flex-wrap:wrap; gap:.7rem; margin-bottom:3rem; }
.tag-filter button{
  font-family:var(--body); font-weight:700; font-size:.86rem; cursor:pointer;
  padding:.55rem 1.1rem; border-radius:999px; border:1.5px solid var(--paper-line);
  background:transparent; color:var(--ink-soft);
  transition:border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease);
}
.tag-filter button:hover{ border-color:var(--terracotta); color:var(--ink); }
.tag-filter button.active{ background:var(--ink); border-color:var(--ink); color:var(--paper); }

/* ============ ARTICLES ============ */
.articles{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.6rem; }
.article-card{ text-decoration:none; color:inherit; display:block; }
.article-card__media{
  aspect-ratio:4/3; border-radius:var(--radius-m); overflow:hidden; margin-bottom:1.2rem;
  position:relative;
}
.article-card__tag{
  position:absolute; top:14px; left:14px; z-index:2;
  background:var(--paper); color:var(--terracotta);
  font-size:.72rem; font-weight:800; letter-spacing:.06em; text-transform:uppercase;
  padding:.4rem .7rem; border-radius:999px;
}
.article-card h3{ font-size:1.22rem; line-height:1.28; margin-bottom:.6rem; transition:color .25s var(--ease); }
.article-card:hover h3{ color:var(--terracotta); }
.article-card p{ color:var(--ink-soft); font-size:.92rem; }

/* generated pattern "photos" — avoids using photography of real, identifiable people */
.art-cultura{ background:linear-gradient(155deg,#E2952E,#A8452E 70%); }
.art-dados{ background:linear-gradient(155deg,#1D454E,#15323A 70%); }
.art-pioneiros{ background:linear-gradient(155deg,#7FAAB2,#1D454E 70%); }
.art-oracao{ background:linear-gradient(155deg,#3E7480,#0F262B 70%); }
.art-projeto{ background:linear-gradient(155deg,#E2952E,#B96D14 70%); }
.art-pattern{
  position:absolute; inset:0;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.14) 0 2px, transparent 2px 26px);
}
/* real photography — landscapes/objects/textiles only, never identifiable people (OpSec) */
.article-card__media img{ width:100%; height:100%; object-fit:cover; display:block; }

/* ============ ARTICLE / BIO DETAIL PAGES ============ */
.article-hero-img{
  width:100%; aspect-ratio:16/8; object-fit:cover; border-radius:var(--radius-l);
  margin-top:.5rem;
}
.article-meta{ display:flex; gap:1rem; align-items:center; margin-top:1.6rem; flex-wrap:wrap; }
.article-meta span{
  font-size:.78rem; font-weight:800; letter-spacing:.05em; text-transform:uppercase;
  color:var(--terracotta); background:var(--paper-deep); padding:.4rem .8rem; border-radius:999px;
}
.bio-hero{ display:grid; grid-template-columns:220px 1fr; gap:2.4rem; align-items:start; }
.bio-hero__portrait{
  width:220px; height:220px; border-radius:var(--radius-l); flex:none; overflow:hidden;
  box-shadow:0 12px 30px -12px rgba(15,38,43,.35);
}
.bio-hero__portrait img{ width:100%; height:100%; object-fit:cover; display:block; }
@media (max-width:700px){ .bio-hero{ grid-template-columns:1fr; } .bio-hero__portrait{ width:140px; height:140px; } }

/* ============ LANGUAGE ============ */
.lang-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.4rem; }
.lang-card{
  border:1.5px solid rgba(246,239,225,.16); border-radius:var(--radius-m);
  padding:2.4rem 2rem; text-align:center;
  transition:border-color .3s var(--ease), background .3s var(--ease);
}
.lang-card:hover{ border-color:var(--saffron); background:rgba(246,239,225,.04); }
.lang-card__native{ font-size:2.6rem; margin-bottom:.9rem; color:var(--saffron); line-height:1.2; }
.lang-card__translit{ font-size:.85rem; color:var(--offwhite-faint); letter-spacing:.03em; margin-bottom:.5rem; }
.lang-card__mean{ font-size:1.05rem; color:var(--offwhite); font-weight:600; }
.lang-card__lang{
  display:block; margin-top:1.1rem; font-size:.74rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase;
  color:var(--offwhite-faint);
}
.lang-devanagari{ font-family:"Noto Sans Devanagari", var(--body); }
.lang-bengali{ font-family:"Noto Sans Bengali", var(--body); }
.lang-oriya{ font-family:"Noto Sans Oriya", var(--body); }

/* language hub page: per-language section with phrase list */
.lang-section{ padding:4.5rem 0; border-bottom:1px solid var(--paper-line); }
.lang-section:last-child{ border-bottom:none; }
.lang-section__head{ display:flex; align-items:baseline; gap:1.2rem; margin-bottom:2.4rem; flex-wrap:wrap; }
.lang-section__head h2{ font-size:2.2rem; }
.lang-section__head span{ font-size:.85rem; font-weight:700; color:var(--ink-faint); text-transform:uppercase; letter-spacing:.08em; }
.phrase-list{ display:grid; grid-template-columns:repeat(2,1fr); gap:1rem 2.4rem; }
.phrase-row{
  display:flex; justify-content:space-between; align-items:baseline; gap:1rem;
  padding:.9rem 0; border-bottom:1px dashed var(--paper-line);
}
.phrase-row__native{ font-size:1.3rem; color:var(--terracotta); flex:none; }
.phrase-row__pt{ color:var(--ink-soft); font-size:.95rem; text-align:right; }

/* ============ TIMELINE ============ */
.timeline{ display:grid; grid-template-columns:repeat(4,1fr); gap:1.6rem; }
.timeline-step{ border-left:2px solid var(--terracotta-soft); padding-left:1.4rem; }
.timeline-step--now{ border-left-color:var(--saffron); }
.timeline-step__badge{
  display:inline-block; font-size:.76rem; font-weight:800; letter-spacing:.05em;
  color:var(--terracotta); text-transform:uppercase; margin-bottom:.6rem;
}
.timeline-step h3{ font-size:1.1rem; margin-bottom:.5rem; }
.timeline-step p{ color:var(--ink-soft); font-size:.92rem; }

/* ============ BIO CARDS (pioneiros) ============ */
.bio-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.6rem; }
.bio-card{
  border-radius:var(--radius-m); overflow:hidden; background:var(--paper);
  border:1.5px solid var(--paper-line); text-decoration:none; color:inherit;
  transition:transform .3s var(--ease), box-shadow .3s var(--ease);
}
.bio-card:hover{ transform:translateY(-6px); box-shadow:0 26px 50px -30px rgba(34,30,23,.4); }
.bio-card__mono{
  aspect-ratio:1/1; display:flex; align-items:center; justify-content:center;
  font-family:var(--display); font-size:3rem; color:var(--offwhite); position:relative; overflow:hidden;
}
.bio-card__mono img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.bio-card__body{ padding:1.6rem 1.8rem 1.9rem; }
.bio-card__era{ font-size:.78rem; font-weight:700; color:var(--terracotta); letter-spacing:.05em; text-transform:uppercase; }
.bio-card h3{ font-size:1.2rem; margin:.5rem 0 .6rem; }
.bio-card p{ color:var(--ink-soft); font-size:.92rem; }

/* ============ STAT / DATA VISUALS ============ */
.stat-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:1.4rem; margin-bottom:1rem; }
.stat-block{
  border:1.5px solid var(--paper-line); border-radius:var(--radius-m); padding:2rem;
  background:var(--paper);
}
.stat-block .num{ font-family:var(--display); font-size:2.6rem; color:var(--terracotta); line-height:1; }
.stat-block p{ margin-top:.6rem; color:var(--ink-soft); font-size:.92rem; }

.bar-chart{ display:flex; flex-direction:column; gap:1.1rem; }
.bar-row{ display:grid; grid-template-columns:180px 1fr 60px; align-items:center; gap:1rem; }
.bar-row__label{ font-size:.94rem; font-weight:600; }
.bar-row__track{ height:14px; border-radius:999px; background:var(--paper-deep); overflow:hidden; }
.bar-row__fill{ height:100%; border-radius:999px; background:var(--terracotta); }
.bar-row__value{ font-size:.88rem; font-weight:700; color:var(--ink-soft); text-align:right; }
.surface-ink .bar-row__track{ background:rgba(246,239,225,.12); }

/* ============ PRAYER / NEWSLETTER ============ */
.prayer{ display:grid; grid-template-columns:1fr 1fr; gap:4rem; align-items:center; }
.prayer-form{
  display:flex; gap:.7rem; margin-top:1.8rem; flex-wrap:wrap;
}
.prayer-form input{
  flex:1; min-width:220px; padding:1rem 1.3rem; border-radius:999px;
  border:1.5px solid var(--paper-line); background:var(--paper); font-family:var(--body); font-size:.96rem;
  color:var(--ink);
}
.prayer-form input:focus{ outline:none; border-color:var(--terracotta); }
.prayer-note{ margin-top:1rem; font-size:.85rem; color:var(--ink-faint); }
.prayer-visual{
  border-radius:var(--radius-l); background:var(--paper-deep); padding:2.4rem;
  border:1.5px solid var(--paper-line);
}
.prayer-visual .quote{ font-family:var(--display); font-size:1.5rem; line-height:1.4; font-style:italic; color:var(--ink); }
.prayer-visual .attrib{ margin-top:1.4rem; font-size:.85rem; color:var(--ink-faint); font-weight:700; letter-spacing:.03em; text-transform:uppercase; }

/* prayer wall (mural) */
.wall-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.2rem; }
.wall-card{
  border-radius:var(--radius-m); padding:1.8rem; background:var(--paper);
  border:1.5px solid var(--paper-line);
}
.wall-card p{ color:var(--ink-soft); font-size:.94rem; font-style:italic; }
.wall-card__meta{ margin-top:1rem; font-size:.8rem; font-weight:700; color:var(--terracotta); text-transform:uppercase; letter-spacing:.04em; }

/* ============ DONATION TIERS ============ */
.tier-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:1.2rem; }
.tier-card{
  border-radius:var(--radius-m); padding:1.8rem; text-align:center;
  border:1.5px solid rgba(246,239,225,.18); background:rgba(246,239,225,.03);
}
.tier-card--featured{ border-color:var(--saffron); background:rgba(226,149,46,.09); }
.tier-card .amount{ font-family:var(--display); font-size:1.9rem; color:var(--saffron); }
.tier-card .label{ margin-top:.6rem; font-size:.88rem; color:var(--offwhite-soft); }

.progress{ margin-top:2.4rem; }
.progress-head{ display:flex; justify-content:space-between; font-size:.92rem; font-weight:700; margin-bottom:.7rem; }
.progress-track{ height:16px; border-radius:999px; background:rgba(246,239,225,.14); overflow:hidden; }
.progress-fill{ height:100%; border-radius:999px; background:linear-gradient(90deg, var(--saffron), var(--saffron-dark)); }

.donate-panel{
  border-radius:var(--radius-l); background:var(--paper); border:1.5px solid var(--paper-line);
  padding:2.6rem; display:flex; flex-direction:column; gap:1.2rem;
}
.donate-panel h3{ font-size:1.4rem; color:var(--ink); }
.donate-panel .btn--outline{ border-color:var(--ink); color:var(--ink); }
.donate-panel .btn--outline:hover{ background:var(--ink); color:var(--paper); }
.donate-methods{ display:flex; gap:.8rem; flex-wrap:wrap; margin-top:.4rem; }
.donate-methods span{
  font-size:.8rem; font-weight:700; padding:.5rem .9rem; border-radius:999px;
  background:var(--paper-deep); color:var(--ink-soft);
}
.legal-note{
  border-left:3px solid var(--terracotta); padding:1.2rem 1.6rem; background:var(--paper-deep);
  border-radius:0 var(--radius-s) var(--radius-s) 0; font-size:.92rem; color:var(--ink-soft);
}

/* ============ PROSE (legal pages) ============ */
.prose h2{ font-size:1.5rem; margin:2.6rem 0 1rem; }
.prose h2:first-child{ margin-top:0; }
.prose p{ color:var(--ink-soft); margin:0 0 1.1rem; }
.prose ul{ color:var(--ink-soft); padding-left:1.3rem; margin:0 0 1.1rem; }
.prose li{ margin-bottom:.5rem; }
.prose strong{ color:var(--ink); }

/* ============ SIMPLE FORM (contato) ============ */
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:1.2rem; }
.form-grid .full{ grid-column:1 / -1; }
.field label{ display:block; font-size:.86rem; font-weight:700; margin-bottom:.5rem; }
.field input, .field textarea, .field select{
  width:100%; padding:.85rem 1.1rem; border-radius:var(--radius-s);
  border:1.5px solid var(--paper-line); background:var(--paper); font-family:var(--body); font-size:.96rem; color:var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus{ outline:none; border-color:var(--terracotta); }
.field textarea{ resize:vertical; min-height:140px; }
.contact-info{ display:flex; flex-direction:column; gap:1.6rem; }
.contact-info__item{ display:flex; gap:1rem; align-items:flex-start; }
.contact-info__item svg{ width:22px; height:22px; color:var(--terracotta); flex:none; margin-top:.2rem; }
.contact-info__item h4{ font-size:1rem; margin-bottom:.3rem; }
.contact-info__item p{ color:var(--ink-soft); font-size:.92rem; margin:0; }

/* ============ FOOTER ============ */
footer{ background:var(--indigo-900); color:var(--offwhite); padding:3.6rem 0 2.4rem; }
.footer-cta{
  display:flex; align-items:center; justify-content:space-between; gap:2.4rem; flex-wrap:wrap;
  padding-bottom:3rem; margin-bottom:3rem; border-bottom:1px solid rgba(246,239,225,.12);
}
.footer-cta__text{ max-width:56ch; }
.footer-cta__text .eyebrow{ margin-bottom:.7rem; }
.footer-cta__text p{ margin:0; color:var(--offwhite); font-family:var(--display); font-size:1.35rem; line-height:1.35; }
.footer-cta__text small{ display:block; margin-top:.6rem; color:var(--offwhite-soft); font-family:var(--body); font-size:.92rem; font-weight:400; }
.footer-grid{
  display:grid; grid-template-columns:1.4fr repeat(3,1fr); gap:3rem; padding-bottom:3.5rem;
  border-bottom:1px solid rgba(246,239,225,.12);
}
.footer-brand p{ color:var(--offwhite-faint); margin-top:1rem; max-width:32ch; font-size:.94rem; }
.footer-col h4{
  font-family:var(--body); font-size:.78rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase;
  color:var(--offwhite-faint); margin-bottom:1.1rem;
}
.footer-col ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:.75rem; }
.footer-col a{ text-decoration:none; color:var(--offwhite-soft); font-size:.92rem; transition:color .2s var(--ease); }
.footer-col a:hover{ color:var(--saffron); }
.footer-bottom{
  padding-top:2rem; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:1rem;
  font-size:.82rem; color:var(--offwhite-faint);
}

/* ============ REVEAL ANIMATION ============ */
/* scoped under .js: if the script never runs (blocked/fails), content stays visible by default
   instead of being permanently stuck at opacity:0 */
.js [data-reveal]{ opacity:0; transform:translateY(22px); transition:opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].in{ opacity:1; transform:none; }
.js [data-reveal-stagger] > *{ opacity:0; transform:translateY(22px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal-stagger].in > *{ opacity:1; transform:none; }
[data-reveal-stagger].in > *:nth-child(1){ transition-delay:.05s; }
[data-reveal-stagger].in > *:nth-child(2){ transition-delay:.16s; }
[data-reveal-stagger].in > *:nth-child(3){ transition-delay:.27s; }
[data-reveal-stagger].in > *:nth-child(4){ transition-delay:.38s; }
[data-reveal-stagger].in > *:nth-child(5){ transition-delay:.49s; }
[data-reveal-stagger].in > *:nth-child(6){ transition-delay:.6s; }

/* ============ RESPONSIVE ============ */
@media (max-width:980px){
  .nav, .header-actions .lang-switch, .header-actions .btn--primary{ display:none; }
  .nav-toggle{ display:block; }
  .hero__grid{ grid-template-columns:1fr; }
  .purpose-grid{ grid-template-columns:1fr; }
  .bento{ grid-template-columns:repeat(2,1fr); }
  .bento-card, .bento-card--wide, .bento-card--feature{ grid-column:span 2; }
  .bento-card--feature{ flex-direction:column; align-items:flex-start; }
  .articles{ grid-template-columns:1fr; }
  .lang-grid{ grid-template-columns:1fr; }
  .phrase-list{ grid-template-columns:1fr; }
  .timeline{ grid-template-columns:1fr 1fr; }
  .bio-grid{ grid-template-columns:1fr 1fr; }
  .stat-grid{ grid-template-columns:1fr 1fr; }
  .bar-row{ grid-template-columns:130px 1fr 50px; }
  .tier-grid{ grid-template-columns:1fr 1fr; }
  .wall-grid{ grid-template-columns:1fr 1fr; }
  .form-grid{ grid-template-columns:1fr; }
  .prayer{ grid-template-columns:1fr; gap:2.5rem; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width:560px){
  .wordmark__text{ font-size:1.02rem; }
  section{ padding:4.2rem 0; }
  .footer-cta{ flex-direction:column; align-items:flex-start; }
  .bento{ grid-template-columns:1fr; }
  .bento-card, .bento-card--wide, .bento-card--feature{ grid-column:span 1; }
  .timeline, .bio-grid, .stat-grid, .tier-grid, .wall-grid{ grid-template-columns:1fr; }
  .bar-row{ grid-template-columns:1fr; gap:.4rem; }
  .bar-row__value{ text-align:left; }
  .footer-grid{ grid-template-columns:1fr; gap:2.2rem; }
  .purpose-stats{ gap:1.6rem; }
}
