:root {
  --color-dark: #20231d;
  --color-olive: #7b8752;
  --color-olive-dark: #535d35;
  --color-sand: #e9ddc7;
  --color-bg: #faf7ef;
  --color-card: #ffffff;
  --color-muted: #6e7168;
  --color-border: #e7dfd1;
  --shadow-soft: 0 22px 60px rgba(49, 52, 39, 0.12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 145px; }
body { margin: 0; overflow-x: hidden; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--color-dark); background: var(--color-bg); }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
.container { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.section, section { padding-top: 42px; padding-bottom: 42px; }
.section-soft { background: linear-gradient(180deg, #fffdf8 0%, var(--color-bg) 100%); }
.site-header { position: sticky; top: 0; z-index: 20; min-height: 145px; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--color-border); box-shadow: 0 8px 26px rgba(32,35,29,.05); backdrop-filter: blur(14px); }
.header-inner { min-height: 145px; display: flex; align-items: center; justify-content: space-between; gap: clamp(42px, 5vw, 72px); padding-block: 0; }
.brand { flex: 0 0 auto; min-width: 0; max-width: 650px; display: flex; align-items: center; margin: 0; padding: 8px 12px; }
.brand img { width: auto; max-width: 100%; height: 129px; max-height: 129px; display: block; object-fit: contain; }
.site-nav { display: flex; flex: 1 1 auto; align-items: center; justify-content: flex-end; gap: clamp(42px, 4vw, 56px); font-size: clamp(18px, 1.6vw, 24px); font-weight: 800; letter-spacing: .015em; color: var(--color-muted); white-space: nowrap; }
.site-nav a:hover { color: var(--color-olive-dark); }
.nav-toggle { display: none; border: 0; background: var(--color-sand); border-radius: 14px; padding: 12px; }
.nav-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--color-dark); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.hero { padding-top: 56px; padding-bottom: 34px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
.eyebrow { margin: 0 0 14px; color: var(--color-olive-dark); font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { margin: 0; font-size: clamp(54px, 5.4vw, 80px); line-height: .96; font-weight: 800; letter-spacing: -.045em; }
html[lang="pl"] .hero-title-pl { line-height: 1.05; }
.hero-title-pl { font-size: clamp(48px, 4.7vw, 70px); line-height: 1.03; overflow-wrap: normal; }
h1 span, h2 span { color: var(--color-olive); }
h2 { margin: 0; font-size: clamp(32px, 4vw, 52px); line-height: 1.1; letter-spacing: -.035em; }
h3 { margin: 18px 0 10px; font-size: 1.14rem; }
.hero-lead, .section-lead { color: var(--color-muted); font-size: clamp(1.08rem, 2vw, 1.32rem); line-height: 1.65; max-width: 590px; }
.hero-lead { margin-top: clamp(16px, 2vw, 22px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 24px; border-radius: 999px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--color-olive); color: white; box-shadow: 0 14px 30px rgba(83,93,53,.22); }
.btn-secondary { background: white; border: 1px solid var(--color-border); color: var(--color-dark); }
.btn-light { background: white; color: var(--color-olive-dark); }
.hero-visual { min-width: 0; }
.hero-image { width: 100%; max-width: 720px; height: auto; object-fit: contain; display: block; margin-left: auto; }
.section-heading, .section-header { max-width: 760px; margin-bottom: 22px; }
.cards-grid { display: grid; gap: 22px; margin-top: 22px; }
.programs-grid, .audience-grid { margin-top: 22px; }
.four-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.info-card, .mission-card, .collaboration-card { background: var(--color-card); border: 1px solid var(--color-border); border-radius: 20px; box-shadow: var(--shadow-soft); }
.info-card { padding: 28px; transition: transform .22s ease, box-shadow .22s ease; }
#programy .info-card, #dla-kogo .info-card { padding-top: 34px; }
.info-card:hover { transform: translateY(-6px); box-shadow: 0 28px 70px rgba(49,52,39,.16); }
.info-card img { width: 72px; height: 72px; object-fit: contain; display: block; }
#programy .info-card img, #dla-kogo .info-card img { width: clamp(76px, 7vw, 120px); height: auto; object-fit: contain; margin-bottom: 22px; }
.info-card p, .mission-card p, .collaboration-card p, .site-footer p { color: var(--color-muted); line-height: 1.65; }
.mission-section { position: relative; overflow: hidden; }
.mission-card { display: grid; grid-template-columns: minmax(190px, .34fr) minmax(0, 1fr); align-items: start; gap: clamp(30px, 5vw, 58px); padding: clamp(32px, 5vw, 58px); overflow: hidden; position: relative; }
.mission-card::after { content: ""; position: absolute; inset: auto -70px -110px auto; width: 260px; height: 260px; border-radius: 50%; background: rgba(123,135,82,.12); pointer-events: none; }
.o-fundacji-watermark { position: absolute; right: 40px; bottom: 20px; width: 420px; max-width: 42%; opacity: 0.10; z-index: 1; pointer-events: none; }
.mission-aside { position: relative; z-index: 2; display: grid; gap: 18px; align-content: start; justify-items: start; padding: 24px; border-radius: 24px; background: linear-gradient(180deg, #f4ecdd 0%, rgba(233,221,199,.54) 100%); border: 1px solid rgba(123,135,82,.18); }
.mission-aside p { margin: 0; color: var(--color-olive-dark); font-size: .95rem; font-weight: 800; line-height: 1.45; }
.mission-icon { width: clamp(120px, 8vw, 140px); height: clamp(120px, 8vw, 140px); border-radius: 32px; display: grid; place-items: center; background: var(--color-sand); }
.mission-icon img { width: clamp(120px, 8vw, 140px); height: auto; object-fit: contain; display: block; }
.mission-content { position: relative; z-index: 2; }
.bio-copy { margin-top: 22px; display: grid; gap: 14px; }
.bio-copy p { margin: 0; }
.bio-tags { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.bio-tile { min-width: 0; margin: 0; padding: 8px; border-radius: 20px; background: rgba(255,253,248,.92); border: 1px solid rgba(123,135,82,.22); box-shadow: 0 16px 34px rgba(49,52,39,.10); overflow: hidden; transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; will-change: transform; }
.bio-tile img { display: block; width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: 15px; background: var(--color-sand); transition: transform .28s ease, filter .28s ease; }
.bio-tile:hover { transform: translateY(-2px) scale(1.015); border-color: rgba(123,135,82,.34); box-shadow: 0 20px 42px rgba(49,52,39,.14); }
.bio-tile:hover img { transform: scale(1.01); filter: saturate(1.03) contrast(1.02); }
@media (hover: none), (prefers-reduced-motion: reduce) { .bio-tile, .bio-tile img { transition: none; will-change: auto; } .bio-tile:hover, .bio-tile:hover img { transform: none; filter: none; } }
.actions-section { background: #f1eadc; }
.actions-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.action-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.action-list span { padding: 20px; background: rgba(255,255,255,.74); border: 1px solid var(--color-border); border-radius: 18px; font-weight: 800; }
.collaboration-section { position: relative; overflow: hidden; isolation: isolate; padding-inline: 0; }
.wspolpraca-watermark { position: absolute; right: 40px; bottom: 20px; width: 420px; max-width: 45%; opacity: .14; z-index: 1; pointer-events: none; }
.wspolpraca-content { position: relative; z-index: 2; }
.collaboration-card { width: min(900px, calc(100% - 48px)); max-width: 900px; min-width: 0; margin-inline: auto; padding: clamp(32px, 5vw, 58px); background: linear-gradient(135deg, rgba(255,253,248,.9), rgba(244,238,224,.82)); border-color: rgba(210,199,176,.74); overflow: hidden; }
.collaboration-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 78% 24%, rgba(255,255,255,.52), transparent 34%); pointer-events: none; }
.collaboration-card > * { position: relative; z-index: 1; max-width: 760px; }
.collaboration-card p { overflow-wrap: break-word; hyphens: auto; }
.collaboration-card .btn { margin-top: 16px; }
.cta-section { padding-top: clamp(28px, 4vw, 40px); }
.cta-card { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; padding: clamp(30px, 5vw, 54px); border-radius: 28px; color: white; background: linear-gradient(135deg, var(--color-olive-dark), var(--color-olive)); box-shadow: var(--shadow-soft); }
.cta-card p { color: rgba(255,255,255,.82); font-size: 1.1rem; }
.contact-grid { display: block; max-width: 760px; }
.site-footer { padding: 42px 0 24px; background: #1f231b; color: white; }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr; gap: 34px; }
.footer-logo { height: clamp(70px, 6vw, 105px); width: auto; display: block; object-fit: contain; margin-bottom: 16px; background: white; border-radius: 14px; padding: 4px; }
.site-footer h3 { margin-top: 0; }
.site-footer a { display: block; color: rgba(255,255,255,.75); margin: 8px 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 28px; padding-top: 18px; display: flex; justify-content: space-between; gap: 20px; }
.footer-bottom div { display: flex; gap: 22px; }
@media (max-width: 980px) { .site-header, .header-inner { min-height: 120px; } .brand { max-width: 520px; } .brand img { height: auto; max-height: 104px; } .site-nav { gap: clamp(28px, 3vw, 42px); } h1 { font-size: clamp(54px, 6.6vw, 60px); line-height: .98; } .hero-title-pl { font-size: clamp(50px, 6vw, 58px); line-height: 1.04; } .hero-grid, .actions-grid { grid-template-columns: 1fr; } .hero-copy { text-align: center; } .hero-lead, .hero-actions { justify-content: center; margin-left: auto; margin-right: auto; } .hero-image { margin: 0 auto; } .four-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .site-header, .header-inner { min-height: 94px; } .header-inner { padding-block: 0; } .brand { flex-basis: auto; max-width: min(85vw, calc(100vw - 112px)); padding: 6px 10px; } .brand img { height: auto; max-height: 82px; } .nav-toggle { display: block; flex: 0 0 auto; } .site-nav { position: fixed; inset: 94px 16px auto 16px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 14px; background: white; border: 1px solid var(--color-border); border-radius: 18px; box-shadow: var(--shadow-soft); white-space: normal; } .site-nav.is-open { display: flex; } .site-nav a { padding: 14px; } }
@media (max-width: 768px) { .wspolpraca-watermark { width: 260px; max-width: none; right: -60px; bottom: 10px; opacity: .08; } .o-fundacji-watermark { width: 260px; max-width: none; right: -60px; bottom: 10px; opacity: 0.07; } }
@media (max-width: 760px) { .site-nav.is-open { display: flex; } h1 { font-size: clamp(42px, 10vw, 46px); line-height: 1; } .hero-title-pl { font-size: clamp(38px, 9.2vw, 44px); line-height: 1.06; } .hero { padding-top: 36px; padding-bottom: 30px; } .hero-lead { margin-top: 14px; } .site-nav a { padding: 14px; } .four-cols, .action-list, .mission-card, .cta-card, .footer-grid { grid-template-columns: 1fr; } .mission-card { text-align: left; } .mission-aside { justify-items: center; text-align: center; } .mission-icon { margin-inline: auto; } .bio-tags { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .collaboration-card { width: min(100% - 32px, 900px); padding: 28px 22px; background: linear-gradient(135deg, rgba(255,253,248,.92), rgba(244,238,224,.86)); } .cta-card { text-align: center; } .footer-bottom, .footer-bottom div { flex-direction: column; } }

.program-card { display: block; height: 100%; }
.program-card h3 { color: var(--color-dark); }
.program-card p { color: var(--color-muted); }
.program-hero { padding-top: 58px; padding-bottom: 34px; }
.program-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 320px); gap: clamp(28px, 6vw, 72px); align-items: center; }
.program-hero-card { justify-self: end; width: min(100%, 320px); padding: 34px; border-radius: 28px; background: linear-gradient(180deg, #f4ecdd 0%, rgba(233,221,199,.48) 100%); border: 1px solid rgba(123,135,82,.22); box-shadow: var(--shadow-soft); text-align: center; }
.program-hero-card img { width: clamp(116px, 12vw, 170px); height: auto; object-fit: contain; }
.program-lead { margin: 20px 0 0; max-width: 780px; color: var(--color-muted); font-size: clamp(1.12rem, 2vw, 1.36rem); line-height: 1.65; }
.program-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.program-content { display: grid; gap: 22px; }
.program-section-card { padding: clamp(26px, 4vw, 40px); }
.program-section-card h2 { font-size: clamp(26px, 3vw, 36px); }
.program-section-card p { margin: 16px 0 0; color: var(--color-muted); line-height: 1.75; font-size: 1.04rem; }
.program-list { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.program-list li { position: relative; padding-left: 30px; color: var(--color-muted); line-height: 1.55; }
.program-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 10px; border-radius: 50%; background: var(--color-olive); box-shadow: 0 0 0 5px rgba(123,135,82,.14); }
.program-aside { position: sticky; top: 170px; display: grid; gap: 14px; padding: 24px; border-radius: 24px; background: #fff; border: 1px solid var(--color-border); box-shadow: var(--shadow-soft); }
.program-aside .btn { width: 100%; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--color-olive-dark); font-weight: 800; }
.back-link:hover { color: var(--color-olive); }
@media (max-width: 980px) { .program-hero-grid, .program-layout { grid-template-columns: 1fr; } .program-hero-card { justify-self: start; } .program-aside { position: static; } }
@media (max-width: 760px) { .program-hero { padding-top: 38px; } .program-section-card, .program-aside { padding: 24px; } }
.language-switcher { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; margin-left: clamp(-24px, -1.6vw, -10px); padding: 3px 5px; border: 1px solid rgba(123,135,82,.32); border-radius: 999px; color: var(--color-olive-dark); font-size: clamp(12px, .95vw, 14px); font-weight: 800; letter-spacing: .04em; line-height: 1; }
.language-option { appearance: none; border: 0; border-radius: 999px; background: transparent; color: var(--color-muted); cursor: pointer; font: inherit; line-height: 1; padding: 6px 8px; transition: background .2s ease, color .2s ease, box-shadow .2s ease; }
.language-option:hover { color: var(--color-olive-dark); }
.language-option.is-active { background: var(--color-olive); color: white; box-shadow: 0 6px 14px rgba(83,93,53,.18); }
@media (max-width: 860px) { .language-switcher { align-self: flex-start; margin: 8px 14px 6px; } }

@media (min-width: 761px) and (max-width: 1100px) { .bio-tags { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .bio-tags { grid-template-columns: 1fr; } }
