:root {
  --navy: #142765;
  --blue: #23458f;
  --orange: #e98324;
  --sky: #56b9dc;
  --ink: #172033;
  --muted: #607087;
  --paper: #f6f8fc;
  --white: #fff;
  --line: #dde3ee;
  --shadow: 0 18px 50px rgba(20, 39, 101, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--white); line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 1000; background: #fff; padding: .7rem 1rem; }
.wrap { width: min(1160px, calc(100% - 40px)); margin: auto; }
.eyebrow { margin: 0 0 .65rem; color: var(--orange); font-size: .78rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.title { margin: .1rem 0 1rem; color: var(--navy); font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.12; }
.lead { max-width: 760px; color: var(--muted); font-size: 1.08rem; }
.section { padding: 5.5rem 0; }
.section.soft { background: var(--paper); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.2rem; }
.section-head .lead { margin-bottom: 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .82rem 1.12rem; border: 2px solid transparent; border-radius: .55rem; text-decoration: none; font-weight: 800; transition: .2s; }
.btn.primary { background: var(--orange); color: #fff; }
.btn.primary:hover { background: #c96d16; transform: translateY(-2px); }
.btn.dark { background: var(--navy); color: #fff; }
.btn.dark:hover { background: var(--blue); }
.btn.outline { border-color: var(--navy); color: var(--navy); }
.btn.outline:hover { background: var(--navy); color: #fff; }
.btn.light { border-color: #fff; color: #fff; }
.btn.light:hover { background: #fff; color: var(--navy); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .72rem; color: var(--navy); text-decoration: none; font-weight: 900; }
.brand img { width: 54px; height: 54px; object-fit: contain; }
.links { display: flex; align-items: center; gap: 1.1rem; }
.links a { color: #33415b; text-decoration: none; font-size: .9rem; font-weight: 750; }
.links a:hover, .links a[aria-current="page"] { color: var(--orange); }
.menu { display: none; padding: .55rem .75rem; border: 0; border-radius: .4rem; background: var(--navy); color: #fff; font-weight: 800; }

.hero { min-height: 640px; display: flex; align-items: center; color: #fff; background: linear-gradient(125deg, rgba(12,27,77,.97), rgba(20,39,101,.88)), url('/assets/bondy-fle-classe.jpg') center/cover; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 4rem; align-items: center; padding: 6.8rem 0; }
.hero h1 { max-width: 760px; margin: .5rem 0 1.35rem; font-family: Georgia, serif; font-size: clamp(2.8rem, 6vw, 5.2rem); line-height: 1.02; }
.hero h1 span { color: #ff9a3d; }
.hero p { max-width: 650px; color: rgba(255,255,255,.84); font-size: 1.12rem; }
.proof { padding: 1.5rem; border: 1px solid rgba(255,255,255,.22); border-radius: 1rem; background: rgba(255,255,255,.09); backdrop-filter: blur(8px); }
.proof > strong { color: #ff9a3d; font-family: Georgia, serif; font-size: 1.7rem; }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1rem; }
.proof-grid strong { color: #fff; font-size: 1.4rem; }
.proof-grid span { color: rgba(255,255,255,.72); font-size: .8rem; }

.page-hero { padding: 5.6rem 0 4.7rem; color: #fff; background: linear-gradient(120deg, #0d1c51, var(--navy) 58%, var(--blue)); }
.page-hero .eyebrow { color: #ffad62; }
.page-hero h1 { max-width: 850px; margin: .2rem 0 1rem; font-family: Georgia, serif; font-size: clamp(2.7rem, 6vw, 4.8rem); line-height: 1.05; }
.page-hero p { max-width: 760px; margin-bottom: 0; color: rgba(255,255,255,.8); font-size: 1.1rem; }

.summary-grid, .card-grid, .projects, .news-grid, .team-grid, .values, .partners { display: grid; gap: 1.25rem; }
.summary-grid { grid-template-columns: repeat(3, 1fr); }
.summary-card, .card { padding: 1.5rem; border: 1px solid var(--line); border-radius: 1rem; background: #fff; box-shadow: 0 8px 25px rgba(20,39,101,.06); }
.summary-card { position: relative; min-height: 270px; display: flex; flex-direction: column; }
.summary-card .number { color: var(--orange); font-family: Georgia, serif; font-size: 2.4rem; }
.summary-card h2, .summary-card h3, .card h2, .card h3 { margin: .4rem 0 .55rem; color: var(--navy); font-family: Georgia, serif; }
.summary-card p, .card p { color: var(--muted); }
.summary-card .text-link { margin-top: auto; color: var(--navy); font-weight: 800; text-decoration: none; }
.summary-card .text-link:hover { color: var(--orange); }

.values { grid-template-columns: repeat(4, 1fr); }
.value { padding: 1.25rem; border-left: 4px solid var(--orange); border-radius: .75rem; background: #fff; }
.value h3 { margin: 0; color: var(--navy); font-size: 1.05rem; }
.value p { margin: .35rem 0 0; color: var(--muted); font-size: .92rem; }

.projects { grid-template-columns: repeat(2, 1fr); }
.project, .story { overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; background: #fff; box-shadow: 0 8px 25px rgba(20,39,101,.07); }
.project-media, .story img { width: 100%; height: 300px; object-fit: contain; background: #e8edf4; }
.project-body, .story-body { padding: 1.45rem; }
.tag { display: inline-block; padding: .32rem .55rem; border-radius: .35rem; background: #eef2fa; color: var(--navy); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.project h2, .project h3, .story h2, .story h3 { margin: .65rem 0; color: var(--navy); font-family: Georgia, serif; }
.project p, .story p { color: var(--muted); }
.facts { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1rem 0; }
.facts span { padding: .35rem .55rem; border-radius: .35rem; background: var(--paper); color: #44536c; font-size: .82rem; }
.project ul { padding-left: 1.15rem; color: var(--muted); }

.news-grid { grid-template-columns: repeat(3, 1fr); }
.featured-story { display: grid; grid-template-columns: 1.05fr .95fr; overflow: hidden; border: 1px solid var(--line); border-radius: 1.15rem; background: #fff; box-shadow: var(--shadow); }
.featured-media { min-height: 100%; background: #e8edf4; }
.featured-media img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; }
.featured-body { padding: clamp(1.6rem, 4vw, 3rem); }
.featured-body h2 { margin: .25rem 0 1rem; color: var(--navy); font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.12; }
.featured-body .lead { font-size: 1.05rem; }
.featured-body p { color: var(--muted); }
.featured-body strong { color: var(--navy); }
.event-closing { padding: 1rem 1.1rem; border-left: 4px solid var(--orange); background: #fff8f1; }
.event-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.25rem; }
.event-gallery figure { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: .85rem; background: #fff; }
.event-gallery img { width: 100%; height: 310px; object-fit: cover; }
.event-gallery figcaption { padding: .8rem 1rem; color: var(--muted); font-size: .9rem; }
.past-news { margin: 4.5rem 0 1.5rem; }
.past-news .title { margin-bottom: 0; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.story .text-link { display: inline-block; margin-top: .4rem; color: var(--navy); font-weight: 800; text-decoration: none; }
.story .text-link:hover { color: var(--orange); }
.team-grid { grid-template-columns: repeat(3, 1fr); }
.team-heading { margin: 2.4rem 0 1rem; color: var(--navy); font-family: Georgia, serif; font-size: 1.65rem; }
.member { padding: 1.25rem; border: 1px solid var(--line); border-radius: .8rem; background: #fff; }
.member.clickable { width: 100%; cursor: pointer; text-align: left; font: inherit; transition: .2s; }
.member.clickable:hover, .member.clickable:focus-visible { transform: translateY(-3px); outline: none; border-color: var(--sky); box-shadow: var(--shadow); }
.initials { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 900; }
.member h3 { margin: .8rem 0 .1rem; color: var(--navy); }
.member p { margin: 0; color: var(--orange); font-size: .88rem; font-weight: 800; }
.member small { display: block; margin-top: .6rem; color: var(--muted); }
.profile-dialog { width: min(720px, calc(100% - 28px)); padding: 0; border: 0; border-radius: 1rem; box-shadow: 0 24px 80px rgba(0,0,0,.28); }
.profile-dialog::backdrop { background: rgba(7,18,54,.7); backdrop-filter: blur(3px); }
.profile-content { padding: 2rem; }
.profile-content h2 { margin: .25rem 0; color: var(--navy); font-family: Georgia, serif; }
.profile-role { margin-top: 0; color: var(--orange); font-weight: 800; }
.profile-content p { color: #45536b; }
.dialog-close { float: right; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--paper); color: var(--navy); cursor: pointer; font-size: 1.3rem; }

.two-col { display: grid; grid-template-columns: .92fr 1.08fr; gap: 3rem; align-items: start; }
.mission { padding: 2rem; border-radius: 1rem; background: var(--navy); color: #fff; box-shadow: var(--shadow); }
.mission h2, .mission h3 { margin-top: 0; color: #ff9a3d; font-family: Georgia, serif; }
.mission p { color: rgba(255,255,255,.82); }
.volunteer, .cta-band { padding: 2rem; border-radius: 1rem; color: #fff; background: linear-gradient(110deg, var(--navy), var(--blue)); }
.volunteer h2, .volunteer h3, .cta-band h2 { margin-top: 0; font-family: Georgia, serif; }
.volunteer p, .cta-band p { color: rgba(255,255,255,.82); }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.partners { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.partner { min-height: 150px; display: grid; place-items: center; align-content: center; padding: 1rem; border: 1px solid var(--line); border-radius: .8rem; background: #fff; }
.partner img { max-width: 160px; max-height: 72px; object-fit: contain; }
.partner-official img { max-width: 180px; max-height: 100px; }
.partner-wide img { max-width: 200px; }
.partner span { margin-top: .4rem; color: var(--muted); font-size: .78rem; text-align: center; }

.join-box { padding: 2rem; border: 1px solid #f0d9c1; border-radius: 1rem; background: #fffaf4; box-shadow: var(--shadow); }
.join-box h2, .join-box h3 { color: var(--navy); font-family: Georgia, serif; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 2.5rem; }
.contact-card { padding: 1.6rem; border-radius: 1rem; background: var(--navy); color: #fff; }
.contact-card a { color: #fff; }
.socials { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }
.socials a { padding: .6rem .9rem; border-radius: .45rem; background: #fff; color: var(--navy); text-decoration: none; font-weight: 800; }
.contact-form { padding: 1.6rem; border: 1px solid var(--line); border-radius: 1rem; background: #fff; }
.contact-form h2, .contact-form h3 { margin-top: 0; color: var(--navy); font-family: Georgia, serif; }
.field { margin-bottom: 1rem; }
.field label { display: block; margin-bottom: .35rem; color: var(--navy); font-size: .88rem; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; padding: .72rem .8rem; border: 1px solid #cfd6e3; border-radius: .45rem; background: #fff; color: var(--ink); font: inherit; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(86,185,220,.35); border-color: var(--blue); }
.consent { display: flex; align-items: flex-start; gap: .55rem; margin: 1rem 0; color: var(--muted); font-size: .82rem; }
.consent input { margin-top: .25rem; }
.form-note { color: var(--muted); font-size: .8rem; }

footer { padding: 2.2rem 0; background: #0a153b; color: rgba(255,255,255,.7); }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 2rem; font-size: .86rem; }
.foot-brand { display: flex; align-items: center; gap: .8rem; }
.foot img { width: 54px; height: 54px; object-fit: contain; border-radius: 50%; background: #fff; }
.foot-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: #fff; }

@media (max-width: 900px) {
  .menu { display: block; }
  .links { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: flex-start; padding: 1rem 20px; border-bottom: 1px solid var(--line); background: #fff; }
  .links.open { display: flex; }
  .hero-grid, .two-col, .contact-grid, .featured-story { grid-template-columns: 1fr; }
  .proof { display: none; }
  .summary-grid, .news-grid { grid-template-columns: 1fr 1fr; }
  .projects, .values { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .partners { grid-template-columns: 1fr 1fr; }
  .project-media, .story img { height: 245px; object-fit: cover; }
  .featured-media img { min-height: 340px; max-height: 520px; }
  .event-gallery { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .wrap { width: min(100% - 28px, 1160px); }
  .section { padding: 4.2rem 0; }
  .hero { min-height: 600px; }
  .hero-grid { padding: 5rem 0; }
  .hero h1 { font-size: 2.75rem; }
  .page-hero { padding: 4.6rem 0 3.8rem; }
  .actions { flex-direction: column; align-items: stretch; }
  .section-head { display: block; }
  .summary-grid, .projects, .news-grid, .team-grid, .values { grid-template-columns: 1fr; }
  .event-gallery { grid-template-columns: 1fr; }
  .event-gallery img { height: 280px; }
  .cta-band, .foot { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .member.clickable { transition: none; }
}
