:root {
  --night: #061713;
  --night-2: #0b221c;
  --night-3: #102d25;
  --line: rgba(224, 235, 228, .14);
  --cream: #f4efe3;
  --paper: #fffdf7;
  --gold: #e1ad4b;
  --gold-dark: #c58d2c;
  --text: #f5f2e9;
  --muted: #a9bbb4;
  --ink: #132a24;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; color: var(--text); background: var(--night); font-family: "DM Sans", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
  height: 82px;
  padding: 0 max(28px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  position: relative;
  z-index: 10;
  background: rgba(5, 20, 16, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: 11px; color: white; text-decoration: none; font-family: "Fraunces", Georgia, serif; font-size: 18px; line-height: 1; }
.brand strong { display: block; color: var(--gold); font: 700 10px/1.4 "DM Sans", sans-serif; letter-spacing: .2em; text-transform: uppercase; }
.brand img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.9); box-shadow: 0 3px 16px rgba(0,0,0,.35); }
nav { display: flex; gap: 28px; }
nav a { color: #c0cec9; text-decoration: none; font-size: 12px; font-weight: 600; }
nav a:hover { color: var(--gold); }

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 25px;
  color: #14261f;
  background: var(--gold);
  border: 0;
  border-radius: 4px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(225,173,75,.24);
  transition: transform .2s, background .2s;
}
.button:hover { transform: translateY(-2px); background: #efc36e; }
.button span { font-size: 18px; }
.button-small { min-height: 43px; padding-inline: 18px; box-shadow: none; }

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  grid-template-rows: auto 1fr;
  align-items: center;
  gap: clamp(50px, 7vw, 105px);
  padding: 62px max(28px, calc((100vw - 1180px) / 2)) 72px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #071b16;
}
.hero-motto {
  grid-column: 1 / -1;
  width: fit-content;
  margin: 0 auto -12px;
  padding: 10px 20px;
  position: relative;
  z-index: 1;
  color: #fff4d9;
  border-bottom: 1px solid rgba(225,173,75,.65);
  font: italic 600 clamp(18px, 2vw, 25px)/1.3 "Fraunces", Georgia, serif;
  letter-spacing: .01em;
  text-align: center;
  text-shadow: 0 2px 18px rgba(0,0,0,.7);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("assets/img_1118.jpg") center 42% / cover no-repeat;
  opacity: .46;
  filter: saturate(.86) contrast(1.06);
  transform: scale(1.02);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4,19,15,.98) 0%, rgba(4,19,15,.87) 46%, rgba(4,19,15,.56) 100%),
    linear-gradient(0deg, rgba(4,19,15,.8), transparent 45%);
}
.hero-copy { max-width: 680px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 25px; color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.eyebrow i { width: 30px; height: 1px; background: currentColor; }
h1, h2 { margin: 0; font-family: "Fraunces", Georgia, serif; font-weight: 600; line-height: .98; letter-spacing: -.04em; }
h1 { max-width: 700px; color: white; font-size: clamp(52px, 6.3vw, 84px); text-shadow: 0 3px 30px rgba(0,0,0,.25); }
h1 em, h2 em { color: var(--gold); font-weight: inherit; }
.hero-copy > p { max-width: 590px; margin: 27px 0 31px; color: #c7d5d0; font-size: 17px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 27px; }
.text-link { color: #e7edea; text-underline-offset: 6px; font-size: 12px; font-weight: 700; }
.text-link:hover { color: var(--gold); }
.hero-proof { display: flex; align-items: center; gap: 9px; margin-top: 27px; color: #a8bbb4; font-size: 10px; }
.hero-proof span { width: 20px; height: 20px; display: grid; place-items: center; color: var(--gold); border: 1px solid rgba(225,173,75,.55); border-radius: 50%; }
.hero-proof p { margin: 0; }

.pix-card {
  padding: 23px;
  color: var(--ink);
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 10px;
  background: rgba(255,253,247,.97);
  box-shadow: 0 28px 80px rgba(0,0,0,.38), 10px 10px 0 rgba(225,173,75,.22);
}
.hero-pix { scroll-margin-top: 100px; }
.pix-top { display: flex; align-items: center; justify-content: space-between; }
.pix-top span { color: var(--night-2); font-size: 25px; font-weight: 900; letter-spacing: -.05em; }
.pix-top small { color: #8a928d; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pix-intro { margin: 4px 0 8px; color: #67736e; font-size: 10px; }
.qr-wrap { width: 205px; height: 205px; margin: 9px auto 13px; padding: 6px; border: 1px solid #deded8; border-radius: 7px; background: white; }
.qr-wrap img { width: 100%; height: 100%; }
.pix-label { display: block; margin-bottom: 6px; color: #7a8681; font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; }
.copy-field { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 10px; border-radius: 4px; background: #edf1ed; }
.copy-field strong { font-size: 14px; }
.copy-field button, .copy-code { border: 0; cursor: pointer; font: inherit; font-size: 10px; font-weight: 800; }
.copy-field button { padding: 8px 11px; color: #172a23; border-radius: 3px; background: var(--gold); }
.copy-code { width: 100%; margin-top: 8px; padding: 11px; color: var(--night-2); border: 1px solid #c7d3cd; border-radius: 4px; background: white; }
.copy-code:hover { border-color: var(--gold-dark); background: #fbf4e5; }
.pix-security { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; padding-top: 11px; border-top: 1px solid #e0e3df; }
.pix-security > span { width: 18px; height: 18px; display: grid; place-items: center; flex: 0 0 auto; color: white; border-radius: 50%; background: #28745e; font-size: 10px; }
.pix-security p { margin: 0; color: #78827e; font-size: 8px; line-height: 1.5; }
.pix-security strong { color: var(--ink); }

.trust-strip { max-width: 1180px; margin: 0 auto; padding: 0 28px; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--night-2); border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.trust-strip > div { display: flex; align-items: center; gap: 18px; min-height: 102px; padding: 20px 28px; border-right: 1px solid var(--line); }
.trust-strip > div:last-child { border: 0; }
.trust-strip span { color: var(--gold); font: 600 26px/1 "Fraunces", serif; }
.trust-strip p { margin: 0; color: #8fa69e; font-size: 11px; line-height: 1.45; }
.trust-strip strong { display: block; margin-bottom: 3px; color: white; font-size: 12px; }

.section { max-width: 1180px; margin: 0 auto; padding: 115px 28px; }
.section-label { display: flex; align-items: center; gap: 12px; margin-bottom: 48px; color: #849c93; font-size: 9px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.section-label span { color: var(--gold); font-family: "Fraunces"; font-size: 17px; letter-spacing: 0; }
.section-label::after { content: ""; width: 48px; height: 1px; background: #365047; }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; }
.about h2, .mission h2 { color: white; font-size: clamp(42px, 5vw, 68px); }
.about-copy { padding-top: 4px; }
.about-copy p { color: var(--muted); font-size: 15px; line-height: 1.85; }
.about-copy .lead { margin-top: 0; color: #e6ece8; font: 600 23px/1.55 "Fraunces", serif; }
.text-link.dark { display: inline-block; margin-top: 15px; color: var(--gold); }

.impact { padding-top: 30px; }
.impact-grid { display: block; }
.impact-copy { max-width: 880px; }
.impact-copy .kicker { color: var(--gold); font-size: 9px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.impact-copy h2, .stories h2 { margin-top: 18px; color: white; font-size: clamp(40px, 4.8vw, 64px); }
.impact-copy > p { margin: 25px 0 30px; color: var(--muted); line-height: 1.8; }
.impact-list { border-top: 1px solid var(--line); }
.impact-list > div { display: grid; grid-template-columns: 36px 1fr; gap: 2px 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.impact-list i { grid-row: 1 / 3; color: var(--gold); font: 600 17px/1.4 "Fraunces", serif; }
.impact-list strong { color: #edf2ef; font-size: 13px; }
.impact-list span { color: var(--muted); font-size: 11px; }

.mission { padding: 110px max(28px, calc((100vw - 1180px) / 2)); color: white; background: var(--night-2); border-block: 1px solid var(--line); }
.section-label.light { color: #879e96; }
.section-label.light::after { background: #385249; }
.mission-heading { display: flex; justify-content: space-between; align-items: end; gap: 50px; }
.mission-heading p { max-width: 290px; margin: 0 0 7px; color: var(--muted); line-height: 1.65; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 70px; border-top: 1px solid var(--line); }
.pillar { min-height: 325px; padding: 30px 34px; position: relative; border-right: 1px solid var(--line); }
.pillar:last-child { border-right: 0; }
.pillar-number { color: #607970; font-size: 10px; }
.pillar-icon { margin: 48px 0 20px; color: var(--gold); font-size: 36px; }
.pillar h3 { margin: 0 0 12px; font: 600 27px/1 "Fraunces", serif; }
.pillar p { max-width: 270px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.stories { max-width: 1240px; }
.stories-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 50px; }
.stories-heading p { color: var(--muted); font-size: 12px; }
.country-gallery { padding-top: 28px; border-top: 1px solid var(--line); }
.country-gallery + .country-gallery { margin-top: 70px; }
.country-heading { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 24px; }
.country-heading > div { display: flex; align-items: center; gap: 15px; }
.country-flag { font-size: 34px; filter: saturate(.9); }
.country-heading small { display: block; margin-bottom: 3px; color: #80978e; font-size: 8px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.country-heading h3 { margin: 0; color: white; font: 600 37px/1 "Fraunces", Georgia, serif; }
.country-heading > p { margin: 0; color: #8da198; font-size: 10px; }
.country-heading > p span { margin-left: 8px; color: var(--gold); font-size: 17px; }
.photo-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(330px, 44%);
  gap: 18px;
  padding: 0 0 18px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) rgba(255,255,255,.08);
}
.photo-strip::-webkit-scrollbar { height: 7px; }
.photo-strip::-webkit-scrollbar-track { background: rgba(255,255,255,.08); border-radius: 20px; }
.photo-strip::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 20px; }
.story { min-height: 440px; margin: 0; position: relative; overflow: hidden; background: var(--night-2); scroll-snap-align: start; }
.story img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; filter: saturate(.78); transition: transform .7s ease, filter .7s ease; }
.story:hover img { transform: scale(1.035); filter: saturate(1); }
.story::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,22,17,.96) 0%, rgba(5,22,17,.15) 68%, transparent); }
.story figcaption { position: absolute; left: 30px; right: 30px; bottom: 27px; z-index: 2; color: white; }
.story figcaption span { color: var(--gold); font-size: 9px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.story figcaption strong { display: block; margin: 7px 0 6px; font: 600 27px/1.1 "Fraunces", serif; }
.story figcaption p { margin: 0; color: #c7d6d1; font-size: 11px; }

.instagram-section { padding-bottom: 110px; }
.instagram-card { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding: 38px; border: 1px solid var(--line); border-radius: 7px; background: var(--night-2); box-shadow: 0 18px 55px rgba(0,0,0,.18); }
.insta-identity { display: flex; align-items: center; gap: 28px; }
.insta-identity img { width: 116px; height: 116px; flex: 0 0 auto; object-fit: cover; border-radius: 50%; border: 4px solid rgba(255,255,255,.9); box-shadow: 0 5px 23px rgba(0,0,0,.3); }
.insta-identity span { color: var(--gold); font-size: 9px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.insta-identity h2 { margin: 6px 0; color: white; font-size: clamp(23px, 3vw, 35px); letter-spacing: -.025em; }
.insta-identity p { margin: 0; color: var(--muted); font-size: 13px; }
.button-instagram { white-space: nowrap; }
.photo-credit { margin: 12px 2px 0; color: #71877f; font-size: 8px; }

.donation-reminder { padding: 78px max(28px, calc((100vw - 1180px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 50px; background: #153d31; border-block: 1px solid rgba(225,173,75,.2); }
.donation-reminder > div > span { display: block; margin-bottom: 12px; color: var(--gold); font-size: 9px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.donation-reminder h2 { max-width: 780px; color: white; font-size: clamp(37px, 4.4vw, 61px); }
.donation-reminder .button { flex: 0 0 auto; }

.transparency { padding-block: 110px; }
.transparency-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.transparency-grid > div { min-height: 130px; padding: 25px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.transparency-grid span { display: block; margin-bottom: 14px; color: #82978f; font-size: 8px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.transparency-grid strong, .transparency-grid a { color: #edf2ef; font: 600 16px/1.4 "Fraunces", serif; text-decoration: none; }
.transparency-grid a { color: var(--gold); }
.active { color: #65c99e !important; }
.active i { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: #65c99e; }

footer { min-height: 210px; padding: 50px max(28px, calc((100vw - 1180px) / 2)); display: grid; grid-template-columns: 1.5fr 1fr .6fr; align-items: center; gap: 20px; color: #82978f; background: #03100d; border-top: 1px solid var(--line); }
.footer-brand { color: white; }
.footer-brand img { width: 50px; height: 50px; }
footer p, footer a, footer small { font-size: 10px; }
footer > a:not(.brand) { color: var(--gold); }
footer small { grid-column: 1 / -1; padding-top: 25px; border-top: 1px solid var(--line); }

.toast { position: fixed; left: 50%; bottom: 25px; z-index: 20; padding: 13px 20px; color: var(--ink); border-radius: 4px; background: var(--gold); box-shadow: 0 9px 30px rgba(0,0,0,.35); transform: translate(-50%, 80px); opacity: 0; transition: .3s; font-size: 12px; font-weight: 700; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  nav { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 65px; }
  .hero-motto { grid-column: 1; margin-bottom: 2px; }
  .hero-copy { max-width: 720px; }
  .hero-pix { width: min(410px, 100%); justify-self: center; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip > div { min-height: 82px; border-right: 0; border-bottom: 1px solid var(--line); }
  .about-grid { grid-template-columns: 1fr; gap: 55px; }
  .mission-heading { display: block; }
  .mission-heading p { margin-top: 25px; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { min-height: 240px; border-right: 0; border-bottom: 1px solid var(--line); }
  .pillar:last-child { border-bottom: 0; }
  .instagram-card { align-items: flex-start; flex-direction: column; }
  .instagram-card .button { align-self: stretch; }
  .donation-reminder { align-items: flex-start; flex-direction: column; }
  .transparency-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  html { scroll-padding-top: 70px; }
  .site-header { height: 70px; padding-inline: 16px; }
  .site-header .button-small { display: none; }
  .brand { font-size: 15px; }
  .brand img { width: 43px; height: 43px; }
  .hero { padding: 46px 18px 55px; gap: 38px; }
  .hero-motto { order: -2; margin-bottom: -22px; padding-inline: 8px; }
  .hero::before { background-position: 54% center; opacity: .38; }
  .hero::after { background: linear-gradient(180deg, rgba(4,19,15,.78), rgba(4,19,15,.97) 58%); }
  h1 { font-size: 46px; }
  .hero-copy > p { margin-block: 22px 26px; font-size: 15px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 19px; }
  .hero-actions .text-link { text-align: center; }
  .hero-proof { line-height: 1.4; }
  .hero-pix { order: -1; }
  .pix-card { padding: 17px; box-shadow: 0 22px 55px rgba(0,0,0,.38), 6px 6px 0 rgba(225,173,75,.2); }
  .pix-intro { margin-top: 0; }
  .qr-wrap { width: 180px; height: 180px; margin-block: 7px 10px; }
  .copy-field strong { font-size: 13px; }
  .trust-strip { padding-inline: 18px; border: 0; }
  .section, .mission { padding: 78px 20px; }
  .about-grid { gap: 35px; }
  .about h2, .mission h2 { font-size: 42px; }
  .impact-copy h2, .stories h2 { font-size: 39px; }
  .country-heading { align-items: flex-start; flex-direction: column; gap: 14px; }
  .photo-strip { grid-auto-columns: 86%; margin-right: -20px; }
  .story { min-height: 410px; }
  .stories-heading { align-items: flex-start; flex-direction: column; }
  .insta-identity { align-items: flex-start; flex-direction: column; }
  .insta-identity img { width: 92px; height: 92px; }
  .instagram-card { padding: 25px; }
  .donation-reminder { padding: 65px 20px; }
  .donation-reminder h2 { font-size: 39px; }
  .donation-reminder .button { width: 100%; }
  .transparency-grid { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; }
  .footer-brand, footer p, footer > a { margin-bottom: 10px; }
  footer small { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
