
:root {
  --ieb-navy: #002060;
  --ieb-deep-navy: #050726;
  --ieb-blue: #213269;
  --ieb-mid-blue: #597DA7;
  --ieb-lavender: #7484C3;
  --ieb-light-blue: #A7B1D6;
  --ieb-pale-blue: #E4EAFA;
  --ieb-off-white: #F6F7F8;
  --ieb-slate: #5F6673;
  --ieb-teal-accent: #5CA198;
  --white: #ffffff;
  --ink: #141827;
  --muted-ink: #465064;
  --line: rgba(0, 32, 96, 0.13);
  --shadow: 0 22px 70px rgba(5, 7, 38, 0.12);
  --shadow-soft: 0 12px 40px rgba(5, 7, 38, 0.08);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --max: 1180px;
  --header-height: 84px;
  --font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; color: var(--muted-ink); }
h1, h2, h3, h4 { color: var(--ieb-deep-navy); line-height: 1.08; margin: 0 0 .75rem; letter-spacing: -0.035em; }
h1 { font-size: clamp(2.6rem, 6vw, 5.9rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.7rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.45rem); }
button, input, select, textarea { font: inherit; }

.container { width: min(calc(100% - 32px), var(--max)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 200; left: 1rem; top: 1rem; transform: translateY(-160%); background: var(--ieb-deep-navy); color: white; padding: .8rem 1rem; border-radius: 999px; transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--ieb-teal-accent); outline-offset: 3px; border-radius: 8px; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.header-inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: grid; grid-template-columns: 48px auto; grid-template-rows: auto auto; align-items: center; column-gap: .72rem; min-width: 0; }
.brand-mark { width: 48px; height: 48px; object-fit: contain; grid-row: 1 / 3; }
.brand-text { display: flex; flex-direction: column; line-height: 1.03; color: var(--ieb-navy); }
.brand-text strong { font-size: 1.08rem; letter-spacing: .02em; }
.brand-text span { font-size: .83rem; color: var(--muted-ink); }
.brand-slogan { font-size: .75rem; color: var(--ieb-teal-accent); font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }

.nav-toggle { display: inline-flex; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 14px; background: white; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; }
.nav-toggle span:not(.sr-only) { display: block; width: 20px; height: 2px; background: var(--ieb-navy); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
.site-nav { position: absolute; top: 100%; left: 0; right: 0; background: white; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-soft); display: none; }
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; padding: .85rem; margin: 0; display: grid; gap: .2rem; }
.nav-link { display: inline-flex; align-items: center; justify-content: space-between; width: 100%; border: 0; background: transparent; color: var(--ieb-blue); font-weight: 750; padding: .78rem .9rem; border-radius: 12px; cursor: pointer; }
.nav-link:hover, .nav-link[aria-current="page"], .dropdown-toggle[aria-expanded="true"] { background: var(--ieb-pale-blue); color: var(--ieb-navy); }
.dropdown-menu { display: none; padding: .25rem .5rem .7rem 1rem; }
.dropdown-toggle[aria-expanded="true"] + .dropdown-menu { display: grid; gap: .2rem; }
.dropdown-menu a { padding: .5rem .75rem; border-radius: 10px; color: var(--muted-ink); font-size: .95rem; }
.dropdown-menu a:hover { color: var(--ieb-navy); background: var(--ieb-off-white); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 48px; border-radius: 999px; padding: .8rem 1.18rem; font-weight: 800; border: 1px solid transparent; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn-primary { background: var(--ieb-navy); color: white; }
.btn-secondary { background: white; color: var(--ieb-navy); border-color: var(--line); }
.btn-ghost { background: transparent; color: var(--ieb-blue); border-color: var(--line); }
.btn-small { min-height: 38px; padding: .55rem .85rem; font-size: .9rem; }
.button-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.button-row.small { gap: .45rem; }
.text-link, .card-link { color: var(--ieb-navy); font-weight: 850; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.card-link { text-decoration: none; display: inline-flex; margin-top: .5rem; }
.card-link::after, .text-link::after { content: " →"; }

.hero { position: relative; overflow: hidden; padding: clamp(4rem, 8vw, 7rem) 0 3rem; background: radial-gradient(circle at 80% 20%, rgba(167,177,214,.45), transparent 34%), linear-gradient(135deg, #fff 0%, var(--ieb-off-white) 58%, var(--ieb-pale-blue) 100%); }
.hero::before { content: ""; position: absolute; inset: auto -12% -35% -12%; height: 48%; background: var(--ieb-deep-navy); border-radius: 50% 50% 0 0; opacity: .04; }
.hero-grid, .page-hero-grid { display: grid; gap: 2rem; align-items: center; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { color: var(--ieb-teal-accent); font-weight: 850; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; margin-bottom: .8rem; }
.hero-lead, .page-hero p { font-size: clamp(1.05rem, 2vw, 1.28rem); max-width: 780px; }
.hero-mini-stats { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.3rem; }
.hero-mini-stats span { background: rgba(255,255,255,.76); border: 1px solid var(--line); border-radius: 999px; padding: .55rem .85rem; color: var(--muted-ink); }
.hero-mini-stats strong { color: var(--ieb-navy); }
.image-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.7); }
.image-frame figcaption { position: absolute; left: 1rem; bottom: 1rem; background: rgba(255,255,255,.85); color: var(--ieb-blue); font-size: .83rem; padding: .45rem .65rem; border-radius: 999px; }
.floating-card { position: absolute; background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-soft); padding: .8rem .9rem; max-width: 180px; }
.floating-card strong { display: block; color: var(--ieb-navy); }
.floating-card span { display: block; color: var(--muted-ink); font-size: .86rem; }
.floating-card-top { right: 1rem; top: 1rem; }
.floating-card-bottom { left: 1rem; bottom: 4.1rem; }

.page-hero { padding: clamp(3.5rem, 7vw, 6.5rem) 0; background: radial-gradient(circle at 84% 15%, rgba(92,161,152,.16), transparent 28%), linear-gradient(135deg, var(--ieb-pale-blue), #fff); }
.page-hero img { border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.legal-hero { background: var(--ieb-off-white); }

.section { padding: clamp(4rem, 7vw, 7rem) 0; }
.section-tight { padding: clamp(2rem, 4vw, 4rem) 0; }
.muted { background: var(--ieb-off-white); }
.section-heading { margin-bottom: 2rem; }
.section-heading.centered { text-align: center; max-width: 820px; margin-inline: auto; }
.section-heading.split { display: grid; gap: 1rem; align-items: end; }
.section-note, .fine-print { color: var(--ieb-slate); font-size: .92rem; }

.spotlight-card, .cta-card { border-radius: var(--radius-lg); background: var(--ieb-deep-navy); color: white; padding: clamp(1.4rem, 4vw, 2.4rem); box-shadow: var(--shadow); }
.spotlight-card h2, .spotlight-card p, .cta-card h2, .cta-card p { color: white; }
.next-card { display: grid; gap: 1.5rem; align-items: center; }
.next-meta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: flex-start; }
.date-badge { display: grid; width: 122px; height: 122px; place-items: center; background: white; color: var(--ieb-navy); border-radius: 28px; text-align: center; }
.date-badge strong { font-size: 2rem; line-height: 1; }
.date-badge small { font-size: .72rem; color: var(--ieb-slate); }

.pillar-grid, .card-grid, .resource-teaser-grid, .quote-grid, .impact-grid, .download-grid, .network-grid, .info-grid, .donation-grid, .team-grid, .principles-grid, .book-grid { display: grid; gap: 1rem; }
.pillar-card, .teaser-card, .resource-teaser, blockquote, .impact-grid article, .download-card, .network-card, .info-grid article, .donation-grid article, .team-card, .principle-card, .book-card, .course-card, .planned-list, .contact-card, .donor-card, .bank-card, .values-panel, .vision-grid article, .value-grid article, .trust-card, .quick-contact { background: white; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 1.25rem; box-shadow: var(--shadow-soft); }
.pillar-number { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--ieb-pale-blue); color: var(--ieb-navy); font-weight: 850; margin-bottom: 1rem; }
.teaser-card { overflow: hidden; padding: 0; display: grid; }
.teaser-card img { width: 100%; aspect-ratio: 1.55; object-fit: cover; }
.teaser-card div { padding: 1.2rem; }
.content-split { display: grid; gap: 2rem; align-items: center; }
.values-panel { display: flex; flex-wrap: wrap; gap: .75rem; align-content: start; }
.values-panel span { background: var(--ieb-pale-blue); color: var(--ieb-blue); padding: .7rem .9rem; border-radius: 999px; font-weight: 800; }

.stats-strip { padding: clamp(2.3rem, 5vw, 4rem) 0; background: var(--ieb-navy); color: white; }
.stats-grid { display: grid; gap: 1rem; }
.stats-grid div { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-md); padding: 1rem; }
.stats-grid strong { display: block; color: white; font-size: clamp(1.75rem, 4vw, 3rem); line-height: 1; }
.stats-grid span { color: rgba(255,255,255,.82); font-weight: 700; }
.stats-strip .fine-print { color: rgba(255,255,255,.7); margin-top: 1rem; }
blockquote { margin: 0; }
blockquote p { color: var(--ieb-deep-navy); font-size: 1.05rem; }
blockquote footer { color: var(--ieb-slate); font-size: .92rem; }
.brand-anchor { background: linear-gradient(135deg, var(--ieb-deep-navy), var(--ieb-blue)); color: white; }
.brand-anchor h2, .brand-anchor p { color: white; }
.brand-anchor-grid { display: grid; gap: 2rem; align-items: center; }
.trust-card { background: rgba(255,255,255,.92); color: var(--ink); }
.trust-card span { display: block; color: var(--ieb-teal-accent); font-weight: 850; text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; }
.trust-card strong { display: block; font-size: clamp(1.4rem, 3vw, 2.5rem); color: var(--ieb-navy); line-height: 1.1; margin: .6rem 0; }
.resource-teaser { min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; }
.resource-teaser span { color: var(--ieb-teal-accent); font-weight: 900; }
.cta-card { display: grid; gap: 1.25rem; align-items: center; }

/* Offers */
.planned-grid { display: grid; gap: 1rem; }
.planned-list ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.planned-list li { display: grid; gap: .15rem; padding-bottom: .7rem; border-bottom: 1px solid var(--line); }
.planned-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.planned-list span { color: var(--ieb-slate); }
.accordion-list { display: grid; gap: 1rem; }
.accordion-card { border: 1px solid var(--line); border-radius: var(--radius-md); background: white; overflow: hidden; box-shadow: var(--shadow-soft); scroll-margin-top: calc(var(--header-height) + 24px); }
.accordion-trigger { width: 100%; border: 0; background: white; color: var(--ieb-deep-navy); padding: 1.15rem 1.25rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center; cursor: pointer; text-align: left; font-weight: 900; font-size: clamp(1.12rem, 2vw, 1.42rem); }
.accordion-trigger small { display: block; color: var(--ieb-teal-accent); text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; margin-bottom: .25rem; }
.accordion-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ieb-pale-blue); color: var(--ieb-navy); font-size: 1.5rem; transition: transform .2s ease; flex: 0 0 auto; }
.accordion-trigger[aria-expanded="true"] .accordion-icon { transform: rotate(45deg); background: var(--ieb-navy); color: white; }
.accordion-panel { border-top: 1px solid var(--line); }
.accordion-content { display: grid; gap: 1.25rem; padding: 1.25rem; }
.accordion-content img { border-radius: var(--radius-md); background: var(--ieb-pale-blue); }
.lead-text { font-size: 1.08rem; color: var(--ink); }
.detail-list { display: grid; gap: .7rem; margin: 1rem 0 1.2rem; }
.detail-list div { display: grid; gap: .15rem; padding: .75rem; background: var(--ieb-off-white); border-radius: 14px; }
.detail-list dt { color: var(--ieb-navy); font-weight: 850; }
.detail-list dd { margin: 0; color: var(--muted-ink); }
.process-flow { display: grid; gap: .7rem; padding: 0 1.25rem 1.25rem; }
.process-flow div { display: flex; align-items: center; gap: .85rem; padding: .8rem; background: var(--ieb-pale-blue); border-radius: 16px; }
.process-flow span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ieb-navy); color: white; font-weight: 900; flex: 0 0 auto; }
.process-flow p { margin: 0; color: var(--ieb-blue); font-weight: 800; }
.course-grid { display: grid; gap: .85rem; padding: 0 1.25rem 1.25rem; }
.course-card .meta, .retro-card .meta { color: var(--ieb-slate); font-weight: 750; margin-bottom: .45rem; }
.course-card small { display: block; color: var(--ieb-slate); }
.retrospective-grid { display: grid; gap: 1rem; }
.retro-card { display: grid; background: white; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-soft); }
.retro-card > div:not(.retro-image) { padding: 1.2rem; }
.retro-image { min-height: 210px; background: linear-gradient(135deg, var(--ieb-pale-blue), #fff), radial-gradient(circle at 30% 20%, var(--ieb-light-blue), transparent 40%); position: relative; }
.retro-card blockquote { background: var(--ieb-pale-blue); box-shadow: none; margin: 1rem 0; color: var(--ieb-navy); }
.impact { font-weight: 850; color: var(--ieb-navy); }

/* About */
.team-card { text-align: center; }
.avatar { width: 72px; height: 72px; border-radius: 28px; display: grid; place-items: center; margin: 0 auto 1rem; background: var(--ieb-pale-blue); color: var(--ieb-navy); font-weight: 900; }
.team-card span { color: var(--ieb-teal-accent); font-weight: 850; }
.support-note { margin-top: 1.2rem; background: var(--ieb-pale-blue); color: var(--ieb-blue); padding: 1rem; border-radius: var(--radius-md); font-weight: 750; }
.vision-grid, .value-grid { display: grid; gap: 1rem; margin-top: 1rem; }
.vision-grid article { background: var(--ieb-deep-navy); color: white; }
.vision-grid h3, .vision-grid p { color: white; }
.vision-grid span { color: var(--ieb-light-blue); font-weight: 850; text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; }
.value-grid article h3 { color: var(--ieb-navy); }
.principle-card { display: flex; gap: 1rem; align-items: flex-start; }
.principle-card span { color: var(--ieb-teal-accent); font-weight: 950; font-size: 1.4rem; line-height: 1; }
.principle-card p { color: var(--ieb-deep-navy); font-weight: 740; margin: 0; }
.dual-stats { display: grid; gap: 1rem; }
.dual-stats > div { background: white; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.25rem; box-shadow: var(--shadow-soft); }
.mini-stat-grid { display: grid; gap: .7rem; }
.mini-stat-grid div { background: var(--ieb-off-white); border-radius: 16px; padding: .95rem; }
.mini-stat-grid strong { color: var(--ieb-navy); display: block; font-size: 1.45rem; }
.mini-stat-grid span { color: var(--ieb-slate); }
.quote-grid.five { grid-template-columns: 1fr; }

/* Resources */
.filter-chips { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1rem 0 1.5rem; }
.chip { border: 1px solid var(--line); background: white; color: var(--ieb-blue); padding: .55rem .9rem; border-radius: 999px; font-weight: 850; cursor: pointer; }
.chip.active, .chip:hover { background: var(--ieb-navy); color: white; }
.book-card[hidden] { display: none; }
.book-category { display: inline-flex; background: var(--ieb-pale-blue); color: var(--ieb-blue); padding: .35rem .6rem; border-radius: 999px; font-weight: 850; font-size: .78rem; }
.book-author { color: var(--ieb-navy); font-weight: 800; margin-bottom: .55rem; }
.isbn { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9rem; }
.download-card { display: block; }
.download-card span, .network-card small { display: block; color: var(--ieb-slate); font-size: .86rem; }
.network-card { display: flex; flex-direction: column; align-items: flex-start; }
.logo-placeholder { width: 54px; height: 54px; border-radius: 18px; background: var(--ieb-pale-blue); color: var(--ieb-navy); display: grid; place-items: center; font-weight: 950; font-size: 1.4rem; margin-bottom: .8rem; }
.network-card > span { color: var(--ieb-teal-accent); font-weight: 850; text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; }

/* IFFD */
.iffd-visual { min-height: 330px; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--ieb-deep-navy), var(--ieb-blue)); color: white; display: grid; place-items: center; text-align: center; padding: 2rem; box-shadow: var(--shadow); }
.iffd-visual span { font-size: clamp(4rem, 10vw, 7.4rem); font-weight: 950; letter-spacing: -.08em; opacity: .9; }
.iffd-visual strong { font-size: 1.5rem; }
.iffd-visual em { color: var(--ieb-light-blue); }

/* Donate and contact */
.donation-split, .contact-layout { display: grid; gap: 1rem; align-items: start; }
.donation-grid article strong { display: block; color: var(--ieb-navy); font-size: 2rem; line-height: 1; margin-bottom: .75rem; }
.bank-card p { margin-bottom: .45rem; }
.quick-contact-grid { display: grid; gap: 1rem; }
.quick-contact { display: block; transition: transform .2s ease, box-shadow .2s ease; }
.quick-contact:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.contact-form { display: grid; gap: .65rem; }
.contact-form label { font-weight: 850; color: var(--ieb-blue); }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: .8rem .9rem; background: white; color: var(--ink); }
.contact-form textarea { resize: vertical; }
.contact-card { position: sticky; top: calc(var(--header-height) + 1.2rem); }

/* Legal */
.legal-section { padding-top: 3rem; }
.legal-content { max-width: 840px; }
.legal-content h2 { font-size: 1.45rem; margin-top: 2rem; }
.legal-content p { color: var(--ink); }

.site-footer { background: var(--ieb-deep-navy); color: rgba(255,255,255,.8); padding: 3rem 0 1.2rem; }
.site-footer p, .site-footer a { color: rgba(255,255,255,.78); }
.site-footer a:hover { color: white; }
.footer-grid { display: grid; gap: 2rem; }
.footer-grid h2 { color: white; font-size: 1rem; letter-spacing: 0; }
.footer-grid > div:not(:first-child) { display: grid; gap: .45rem; align-content: start; }
.footer-brand { display: flex; gap: .75rem; align-items: center; margin-bottom: 1rem; }
.footer-mark { width: 52px; height: 52px; object-fit: contain; background: rgba(255,255,255,.08); border-radius: 16px; padding: .25rem; }
.footer-brand strong { display: block; color: white; }
.footer-brand em { display: block; color: var(--ieb-light-blue); font-style: normal; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 2rem; padding-top: 1rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; font-size: .9rem; color: rgba(255,255,255,.62); }
.external-note { font-size: .9rem; }

@media (min-width: 620px) {
  .pillar-grid, .impact-grid, .download-grid, .network-grid, .info-grid.three, .donation-grid, .quick-contact-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .book-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
  .resource-teaser-grid { grid-template-columns: repeat(3, 1fr); }
  .quote-grid { grid-template-columns: repeat(3, 1fr); }
  .retrospective-grid { grid-template-columns: repeat(2, 1fr); }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 860px) {
  .nav-toggle { display: none; }
  .site-nav { position: static; display: block; background: transparent; border: 0; box-shadow: none; }
  .site-nav ul { display: flex; align-items: center; gap: .05rem; padding: 0; }
  .nav-link { width: auto; padding: .62rem .75rem; }
  .nav-dropdown { position: relative; }
  .dropdown-menu { position: absolute; top: calc(100% + .5rem); left: 0; min-width: 285px; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: .6rem; opacity: 0; visibility: hidden; transform: translateY(-6px); display: grid; gap: .1rem; transition: opacity .18s ease, transform .18s ease, visibility .18s ease; }
  .nav-dropdown:hover .dropdown-menu, .nav-dropdown:focus-within .dropdown-menu, .dropdown-toggle[aria-expanded="true"] + .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
  .hero-grid, .page-hero-grid { grid-template-columns: 1.04fr .8fr; }
  .section-heading.split { grid-template-columns: 1fr auto; }
  .next-card, .cta-card { grid-template-columns: 1fr auto; }
  .offers-grid { grid-template-columns: repeat(4, 1fr); }
  .content-split, .brand-anchor-grid, .planned-grid, .dual-stats, .donation-split, .contact-layout { grid-template-columns: 1fr 1fr; }
  .planned-grid { align-items: stretch; }
  .accordion-content { grid-template-columns: .55fr 1fr; padding: 1.6rem; }
  .detail-list { grid-template-columns: 1fr 1fr; }
  .process-flow { grid-template-columns: repeat(5, 1fr); }
  .process-flow div { display: grid; justify-items: start; }
  .course-grid { grid-template-columns: repeat(4, 1fr); padding: 0 1.6rem 1.6rem; }
  .team-grid { grid-template-columns: repeat(4, 1fr); }
  .principles-grid { grid-template-columns: repeat(2, 1fr); }
  .vision-grid { grid-template-columns: repeat(3, 1fr); }
  .value-grid { grid-template-columns: repeat(5, 1fr); }
  .mini-stat-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-grid.five { grid-template-columns: repeat(5, 1fr); }
  .book-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
  .footer-grid { grid-template-columns: 1.4fr .7fr .7fr 1fr; }
}

@media (min-width: 1080px) {
  .brand { grid-template-columns: 58px auto; }
  .brand-mark { width: 58px; height: 58px; }
  .brand-text strong { font-size: 1.2rem; }
  .brand-text span { font-size: .9rem; }
  .nav-link { padding-inline: .82rem; }
}

@media (max-width: 420px) {
  .brand-slogan { display: none; }
  .brand-text span { max-width: 150px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .floating-card { display: none; }
  h1 { font-size: clamp(2.25rem, 13vw, 3.2rem); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}


/* Targeted review adjustments */
.hero-title { display: grid; gap: .05em; }
.hero-title span { display: block; }
.hero-title span:nth-child(2) { padding-left: clamp(1.2rem, 5vw, 4.6rem); }
.standalone-copy { max-width: 860px; }
.section-illustration { max-width: 220px; justify-self: end; border-radius: var(--radius-md); box-shadow: var(--shadow-soft); background: var(--ieb-pale-blue); }
.stats-grid.stats-three { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.stat-item, .mini-stat-item { display: grid; gap: .45rem; align-content: start; }
.stat-icon { width: 48px; height: 48px; border-radius: 16px; display: inline-grid; place-items: center; background: rgba(255,255,255,.14); color: white; margin-bottom: .25rem; }
.stat-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mini-stat-item .stat-icon { background: var(--ieb-pale-blue); color: var(--ieb-navy); }
.quote-grid.quote-scroll { display: flex; overflow-x: auto; gap: 1rem; padding-bottom: .8rem; scroll-snap-type: x proximity; }
.quote-grid.quote-scroll blockquote { flex: 0 0 min(340px, 82vw); scroll-snap-align: start; }
.trust-card.high-contrast { background: white; color: var(--ink); border-color: rgba(255,255,255,.75); }
.trust-card.high-contrast p { color: var(--muted-ink); }
.compact-details { grid-template-columns: 1fr; }
.mail-template { white-space: pre-line; background: var(--ieb-off-white); border: 1px solid var(--line); border-radius: 14px; padding: .9rem; color: var(--ieb-blue); font-size: .94rem; }
.quick-contact { display: grid; align-content: start; gap: .35rem; }
.quick-contact .btn { justify-self: start; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--ieb-slate); }
@media (max-width: 620px) {
  .hero-title span:nth-child(2) { padding-left: 1rem; }
  .section-illustration { justify-self: start; max-width: 170px; }
}

/* Final website refinements – July 2026 */
.email-address { overflow-wrap: anywhere; }
.anchor-alias { display: block; position: relative; top: calc(-1 * var(--header-height)); visibility: hidden; }
.optional { color: var(--ieb-slate); font-weight: 650; }

/* Mobile header: full institute name remains readable instead of being clipped. */
.header-inner { min-width: 0; }
.brand { flex: 1 1 auto; max-width: 360px; }
.nav-toggle { flex: 0 0 auto; }
@media (max-width: 859px) {
  :root { --header-height: 74px; }
  .header-inner { gap: .55rem; }
  .brand { grid-template-columns: 42px minmax(0, 1fr); column-gap: .55rem; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-slogan { display: none; }
  .brand-text { min-width: 0; }
  .brand-text strong { font-size: .98rem; }
  .brand-text span { max-width: none; white-space: normal; overflow: visible; text-overflow: clip; font-size: .73rem; line-height: 1.08; }
  .nav-toggle { width: 42px; height: 42px; border-radius: 13px; }
}
@media (max-width: 370px) {
  .container { width: min(calc(100% - 24px), var(--max)); }
  .brand { grid-template-columns: 38px minmax(0, 1fr); }
  .brand-mark { width: 38px; height: 38px; }
  .brand-text strong { font-size: .92rem; }
  .brand-text span { font-size: .68rem; }
}

/* Premium, high-contrast statistic cards. */
.stats-showcase {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(116,132,195,.42), transparent 28%),
    radial-gradient(circle at 88% 78%, rgba(92,161,152,.28), transparent 30%),
    linear-gradient(135deg, var(--ieb-deep-navy), var(--ieb-navy));
}
.stats-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
}
.stats-showcase .stats-grid { position: relative; z-index: 1; gap: 1.15rem; }
.stats-showcase .stat-item {
  min-height: 216px;
  padding: 1.45rem;
  border: 1px solid rgba(255,255,255,.86);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(228,234,250,.94));
  box-shadow: 0 24px 58px rgba(5,7,38,.24), inset 0 1px 0 rgba(255,255,255,.95);
  color: var(--ink);
  position: relative;
  overflow: hidden;
}
.stats-showcase .stat-item::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -48px;
  bottom: -58px;
  border-radius: 50%;
  background: rgba(92,161,152,.14);
}
.stats-showcase .stat-icon {
  width: 74px;
  height: 74px;
  border-radius: 24px;
  background: linear-gradient(145deg, var(--ieb-navy), var(--ieb-blue));
  color: white;
  box-shadow: 0 14px 30px rgba(0,32,96,.24);
  margin-bottom: .75rem;
}
.stats-showcase .stat-icon svg { width: 38px; height: 38px; stroke-width: 2.05; }
.stats-showcase .stats-grid strong { color: var(--ieb-navy); font-size: clamp(2.15rem, 5vw, 3.45rem); letter-spacing: -.045em; }
.stats-showcase .stats-grid .stat-item > span:last-child { color: var(--muted-ink); font-weight: 800; font-size: 1.02rem; max-width: 20ch; }
.stats-grid.stats-four { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

/* About page statistic collections. */
.stat-collections { align-items: stretch; gap: 1.25rem; }
.stat-collection { padding: clamp(1.2rem, 3vw, 1.8rem) !important; overflow: hidden; position: relative; }
.stat-collection::before { content: ""; position: absolute; inset: 0 0 auto; height: 7px; background: linear-gradient(90deg, var(--ieb-teal-accent), var(--ieb-lavender)); }
.stat-collection-heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin: .2rem 0 1.15rem; }
.stat-collection-heading span { color: var(--ieb-teal-accent); text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 900; }
.stat-collection-heading h3 { font-size: clamp(2rem, 4vw, 3rem); margin: 0; }
.mini-stat-grid-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mini-stat-item {
  min-height: 176px;
  padding: 1.1rem !important;
  border: 1px solid rgba(0,32,96,.12);
  background: linear-gradient(145deg, #fff, var(--ieb-pale-blue)) !important;
  box-shadow: 0 12px 28px rgba(5,7,38,.07);
  position: relative;
  overflow: hidden;
}
.mini-stat-item::after { content: ""; position: absolute; width: 76px; height: 76px; border-radius: 50%; right: -32px; bottom: -34px; background: rgba(92,161,152,.15); }
.mini-stat-item .stat-icon { width: 62px; height: 62px; border-radius: 21px; background: var(--ieb-navy); color: white; box-shadow: 0 12px 24px rgba(0,32,96,.2); }
.mini-stat-item .stat-icon svg { width: 32px; height: 32px; stroke-width: 2; }
.mini-stat-grid .mini-stat-item strong { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -.035em; }
.mini-stat-grid .mini-stat-item > span:last-child { color: var(--muted-ink); font-weight: 760; }
.stat-explainer { margin: 1.1rem 0 0; padding: 1rem 1.1rem; border-radius: 16px; background: var(--ieb-off-white); color: var(--muted-ink); }

/* Team names always use a deliberate two-line treatment. */
.team-card h3 { min-height: 2.35em; }
.team-card h3 .person-first, .team-card h3 .person-last { display: block; }
.team-card h3 .person-last { color: var(--ieb-navy); }

/* Activity reports. */
.report-grid { gap: 1.25rem; }
.report-card { grid-template-rows: auto 1fr; }
.report-card > div:not(.retro-image) { padding: clamp(1.25rem, 3vw, 1.65rem); }
.report-kicker { display: inline-flex; margin-bottom: .65rem; padding: .35rem .65rem; border-radius: 999px; background: var(--ieb-pale-blue); color: var(--ieb-navy); font-size: .76rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.report-facts { margin: 1rem 0; padding-left: 1.25rem; color: var(--muted-ink); }
.report-facts li { margin-bottom: .45rem; }
.report-note { margin: 1.2rem 0 0; text-align: center; color: var(--ieb-slate); font-size: .92rem; }
@media (min-width: 860px) {
  .report-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Contact form and clipboard output. */
.form-note { font-size: .9rem; color: var(--ieb-slate); margin: .25rem 0 0; }
.contact-output { margin-top: 1.4rem; padding: 1.25rem; background: white; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-soft); }
.contact-output[hidden] { display: none; }
.contact-output textarea { width: 100%; resize: vertical; border: 1px solid var(--line); border-radius: 14px; padding: .9rem; background: var(--ieb-off-white); color: var(--ink); line-height: 1.5; margin-bottom: 1rem; }
.copy-status { min-height: 1.5em; margin: .8rem 0 0; color: var(--ieb-teal-accent); font-weight: 750; }
.contact-card .btn { margin: -.25rem 0 1.2rem; }
.copy-row { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin: .9rem 0 1rem; }
.copy-hint { color: var(--ieb-slate); font-size: .88rem; }

/* Legal open items are visible by design until the missing information is supplied. */
.legal-open-note { margin: 1.25rem 0 1.7rem; padding: 1.1rem 1.2rem; border: 1px solid rgba(176,116,0,.28); border-left: 6px solid #b87400; border-radius: 16px; background: #fff8e8; }
.legal-open-note strong { color: #6f4700; }
.legal-open-note p { margin: .35rem 0 0; color: #5d4a27; }
.legal-updated { color: var(--ieb-slate); font-size: .9rem; }

/* Books and utility pages. */
.book-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  min-width: 0;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.book-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 56px rgba(5, 7, 38, .13);
  border-color: rgba(0, 32, 96, .22);
}
.book-cover {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 340px;
  padding: 1.35rem;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 20% 10%, rgba(255,255,255,.98), rgba(255,255,255,0) 42%),
    linear-gradient(145deg, #f8fafc, var(--ieb-pale-blue));
}
.book-cover::after {
  content: "";
  position: absolute;
  inset: auto 10% 6% 10%;
  height: 12%;
  border-radius: 50%;
  background: rgba(5, 7, 38, .12);
  filter: blur(18px);
  transform: perspective(220px) rotateX(62deg);
}
.book-cover img {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: 100%;
  height: 300px;
  object-fit: contain;
  border-radius: 3px;
  box-shadow: 0 15px 32px rgba(5, 7, 38, .2), 0 3px 8px rgba(5, 7, 38, .12);
}
.book-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 1.25rem;
}
.book-card-body .book-category { align-self: flex-start; margin-bottom: .9rem; }
.book-card-body h3 { overflow-wrap: anywhere; }
.book-card .button-row { margin-top: auto; padding-top: .35rem; }
.book-card .isbn { color: var(--ieb-blue); font-weight: 800; }
.error-layout { display: grid; gap: 2rem; align-items: center; }
.error-layout img { max-width: 430px; justify-self: center; }
@media (min-width: 860px) { .error-layout { grid-template-columns: 1.1fr .7fr; } }

/* Report details remain compact until readers choose to open them. */
.report-details { margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.report-details summary { cursor: pointer; color: var(--ieb-navy); font-weight: 900; }
.report-details[open] summary { margin-bottom: .8rem; }
.report-details p:last-child { margin-bottom: 0; }

/* Prevent intrinsic grid content from pushing cards beyond narrow viewports. */
.planned-grid { grid-template-columns: minmax(0, 1fr); }
.planned-grid > * { min-width: 0; }
.next-card > * { min-width: 0; }
.page-hero-grid > *, .hero-grid > * { min-width: 0; }
.spotlight-card h2, .page-hero h1 { overflow-wrap: anywhere; hyphens: auto; }
@media (min-width: 860px) {
  .planned-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* Slightly calmer spacing after removing the homepage current-offer block. */
.hero-home + .section { border-top: 1px solid var(--line); }


/* Authentic photography and partner logos – August 2026 */
.hero-photo,
.page-hero-photo,
.section-photo,
.offer-photo,
.retro-image,
.report-gallery img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}
.hero-photo {
  aspect-ratio: 4 / 3;
  min-height: 360px;
}
.page-hero-photo {
  aspect-ratio: 4 / 3;
  min-height: 320px;
}
.section-illustration.section-photo {
  width: min(100%, 300px);
  max-width: 300px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(0,32,96,.12);
  background: var(--ieb-off-white);
}
.teaser-card .offer-photo {
  aspect-ratio: 1.55;
}
.accordion-content .offer-photo {
  aspect-ratio: 1.55;
  min-height: 220px;
  box-shadow: 0 14px 34px rgba(5,7,38,.10);
}

/* Real report photos replace the former visual placeholders. */
img.retro-image {
  width: 100%;
  height: clamp(240px, 30vw, 340px);
  min-height: 0;
  object-fit: cover;
  background: var(--ieb-pale-blue);
}
img.retro-image::after { content: none; }
.report-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
  margin-top: 1.15rem;
}
.report-gallery img {
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--ieb-off-white);
}
.report-gallery img:first-child:nth-last-child(5),
.report-gallery img:first-child:nth-last-child(5) ~ img:last-child {
  grid-column: auto;
}
@media (min-width: 620px) {
  .report-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .report-gallery img:first-child:nth-last-child(5) { grid-column: span 2; }
}

/* Supplied IFFD and PAUSE logos. */
.partner-logo {
  width: 118px;
  min-height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: .9rem;
  padding: .65rem .75rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
}
.partner-logo img {
  width: 100%;
  max-height: 46px;
  object-fit: contain;
}
.partner-logo-dark {
  width: 150px;
  background: linear-gradient(135deg, var(--ieb-deep-navy), var(--ieb-blue));
  border-color: transparent;
}
.partner-logo-dark img { max-height: 42px; }

.iffd-visual {
  align-content: center;
  gap: 1rem;
  background:
    radial-gradient(circle at 82% 18%, rgba(92,161,152,.26), transparent 28%),
    linear-gradient(135deg, var(--ieb-deep-navy), var(--ieb-blue));
}
.iffd-logo-hero {
  width: min(78%, 380px);
  padding: 1rem 1.2rem;
  border-radius: 24px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 18px 42px rgba(0,0,0,.22);
}
.iffd-visual strong { color: white; font-size: clamp(1.45rem, 3vw, 2.1rem); }
.iffd-visual p { color: rgba(255,255,255,.82); margin: 0; font-weight: 750; }
.pause-logo-hero {
  width: min(72%, 340px);
  padding-top: .35rem;
  border-top: 1px solid rgba(255,255,255,.18);
}
.pause-logo-hero img { width: 100%; max-height: 58px; object-fit: contain; }

@media (max-width: 620px) {
  .hero-photo, .page-hero-photo { min-height: 280px; }
  .section-illustration.section-photo { max-width: 220px; }
  .accordion-content .offer-photo { min-height: 190px; }
  .partner-logo-dark { width: 132px; }
}


/* Responsive book covers. */
@media (max-width: 619px) {
  .book-cover { min-height: 310px; padding: 1.1rem; }
  .book-cover img { height: 275px; }
}


/* Final image assignment and visual refinements – August 2026 */
.poster-photo { object-fit: cover !important; object-position: center !important; background: var(--ieb-deep-navy); }
.illustration-photo { object-fit: cover !important; object-position: center !important; background: linear-gradient(145deg,#fff,var(--ieb-pale-blue)); }
.spenden-illustration { object-position: 70% center !important; }
.next-card h2 { overflow-wrap: normal; word-break: normal; font-size: clamp(1.55rem, 3vw, 2.35rem); }
.team-card { position: relative; padding-top: 1.55rem; overflow: hidden; }
.team-card::before { content:""; position:absolute; inset:0 0 auto; height:5px; background:linear-gradient(90deg,var(--ieb-teal-accent),var(--ieb-light-blue)); }
.team-card h3 { margin-top:0; }
.team-card .avatar { display:none !important; }
.partner-logo-network { width:154px; min-height:86px; padding:.8rem; background:#fff; }
.partner-logo-network img { display:block; width:100%; height:auto !important; max-height:66px; object-fit:contain; object-position:center; }
.partner-logo-square,.partner-logo-bistum { width:104px; }
.partner-logo-square img,.partner-logo-bistum img { max-height:74px; }
.iffd-logo-hero { width:min(78%,380px) !important; height:auto !important; max-width:100% !important; object-fit:contain !important; aspect-ratio:auto !important; }
.iffd-visual > img,.pause-logo-hero img,.partner-logo img { height:auto; }
.iffd-feature-card { position:relative; overflow:hidden; padding:1.4rem !important; border-color:rgba(0,32,96,.12) !important; transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease; }
.iffd-feature-card:hover { transform:translateY(-4px); box-shadow:0 20px 48px rgba(5,7,38,.12); border-color:rgba(92,161,152,.45) !important; }
.iffd-feature-card::after { content:""; position:absolute; width:104px; height:104px; right:-46px; bottom:-50px; border-radius:50%; background:rgba(92,161,152,.10); }
.iffd-feature-icon { width:58px; height:58px; display:grid; place-items:center; margin-bottom:1rem; border-radius:19px; color:#fff; background:linear-gradient(145deg,var(--ieb-navy),var(--ieb-blue)); box-shadow:0 12px 25px rgba(0,32,96,.22); }
.iffd-feature-icon svg { width:31px; height:31px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.iffd-feature-card h3 { margin-top:0; }
@media(max-width:620px){.partner-logo-network{width:140px}.partner-logo-square,.partner-logo-bistum{width:96px}}

/* Prevent awkward single-letter breaks in long mobile page titles. */
@media (max-width: 420px) {
  .page-hero h1 {
    font-size: clamp(2.15rem, 10.4vw, 2.85rem);
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
  }
}


/* Final targeted refinements – Familiensymposium, native accordions, materials, donations and contact. */

/* Show the supplied event poster in full instead of cropping it like a landscape photo. */
.event-poster-photo {
  object-fit: contain !important;
  object-position: center !important;
  background: linear-gradient(145deg, #ffffff, var(--ieb-pale-blue)) !important;
  padding: .35rem;
}
.teaser-card .event-poster-photo { aspect-ratio: 1.55; }
.accordion-content .event-poster-photo {
  aspect-ratio: auto !important;
  min-height: 0 !important;
  max-height: 720px;
}

/* Native details accordions: reliable without depending on JavaScript. */
details.accordion-card > summary {
  list-style: none;
  user-select: none;
}
details.accordion-card > summary::-webkit-details-marker { display: none; }
details.accordion-card[open] > .accordion-trigger .accordion-icon {
  transform: rotate(45deg);
  background: var(--ieb-navy);
  color: white;
}
details.accordion-card[open] > .accordion-panel { animation: accordion-reveal .18s ease-out; }
@keyframes accordion-reveal {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* The supplied line drawing already contains its own framing; no extra shadow. */
.page-hero .illustration-photo {
  box-shadow: none !important;
  border: 0 !important;
}

/* Make the valuable family resources easier to notice while retaining the existing text. */
.materials-resources-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 12%, rgba(92,161,152,.16), transparent 30%),
    radial-gradient(circle at 92% 84%, rgba(116,132,195,.18), transparent 32%),
    linear-gradient(180deg, #f7f9fc, #eef2f9);
}
.materials-resources-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0,32,96,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,32,96,.025) 1px, transparent 1px);
  background-size: 44px 44px;
}
.materials-resources-section .container { position: relative; z-index: 1; }
.materials-resources-section .download-grid { gap: 1.15rem; }
.materials-resources-section .download-card {
  position: relative;
  display: flex;
  min-height: 245px;
  flex-direction: column;
  overflow: hidden;
  border-color: rgba(0,32,96,.16);
  background: linear-gradient(145deg, rgba(255,255,255,.99), rgba(228,234,250,.86));
  box-shadow: 0 16px 38px rgba(5,7,38,.085);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.materials-resources-section .download-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -52px;
  bottom: -58px;
  border-radius: 50%;
  background: rgba(92,161,152,.13);
}
.materials-resources-section .download-card:hover {
  transform: translateY(-5px);
  border-color: rgba(92,161,152,.52);
  box-shadow: 0 24px 52px rgba(5,7,38,.13);
}
.download-card .download-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 19px;
  color: white;
  background: linear-gradient(145deg, var(--ieb-navy), var(--ieb-blue));
  box-shadow: 0 12px 25px rgba(0,32,96,.22);
}
.download-card .download-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.download-card h3, .download-card p, .download-card > span:last-child { position: relative; z-index: 1; }
.download-card > span:last-child {
  margin-top: auto;
  color: var(--ieb-navy);
  font-weight: 850;
}
.download-card > span:last-child::after { content: " →"; }

/* A very quiet heart motif behind the example donation amounts. */
.donation-impact-section {
  position: relative;
  overflow: hidden;
}
.donation-impact-section::before {
  content: "♡";
  position: absolute;
  right: -2vw;
  top: 52%;
  transform: translateY(-50%) rotate(-7deg);
  color: rgba(50,55,66,.055);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(21rem, 42vw, 39rem);
  font-weight: 400;
  line-height: .72;
  pointer-events: none;
}
.donation-impact-section .container { position: relative; z-index: 1; }
.donation-impact-section .donation-grid article { background: rgba(255,255,255,.92); }

/* Contact information replaces the non-sending form and fills the page confidently. */
.contact-information-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 15%, rgba(92,161,152,.16), transparent 30%),
    radial-gradient(circle at 92% 84%, rgba(116,132,195,.20), transparent 34%),
    var(--ieb-off-white);
}
.contact-information-section::before {
  content: "@";
  position: absolute;
  right: 2%;
  top: 44%;
  transform: translateY(-50%) rotate(-10deg);
  color: rgba(0,32,96,.035);
  font-size: clamp(18rem, 36vw, 32rem);
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}
.contact-information-section .container { position: relative; z-index: 1; }
.contact-card-large {
  position: relative;
  top: auto;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 2.7rem);
  border-color: rgba(0,32,96,.16);
  background:
    radial-gradient(circle at 86% 8%, rgba(92,161,152,.22), transparent 26%),
    linear-gradient(145deg, #ffffff, #edf1fb);
  box-shadow: 0 26px 70px rgba(5,7,38,.13);
}
.contact-card-large::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -115px;
  bottom: -145px;
  border-radius: 50%;
  background: rgba(116,132,195,.13);
}
.contact-card-intro { max-width: 760px; position: relative; z-index: 1; }
.contact-card-intro h2 { margin-bottom: .65rem; }
.contact-information-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}
.contact-information-grid article {
  display: grid;
  grid-template-columns: 54px minmax(0,1fr);
  column-gap: 1rem;
  align-items: center;
  min-width: 0;
  padding: 1.15rem;
  border: 1px solid rgba(0,32,96,.12);
  border-radius: 20px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 10px 28px rgba(5,7,38,.055);
}
.contact-info-icon {
  grid-row: 1 / 3;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 18px;
  color: white;
  background: linear-gradient(145deg, var(--ieb-navy), var(--ieb-blue));
  box-shadow: 0 11px 24px rgba(0,32,96,.2);
}
.contact-info-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-label {
  color: var(--ieb-teal-accent);
  font-size: .73rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.contact-information-grid strong {
  min-width: 0;
  color: var(--ieb-deep-navy);
  font-size: clamp(1.02rem, 2vw, 1.22rem);
  line-height: 1.35;
}
.contact-actions { position: relative; z-index: 1; margin-top: 1.35rem; }

@media (min-width: 760px) {
  .contact-information-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .materials-resources-section .download-card { min-height: 220px; }
  .donation-impact-section::before { right: -22vw; }
  .contact-information-section::before { right: -20vw; }
  .contact-information-grid article { grid-template-columns: 48px minmax(0,1fr); padding: 1rem; }
  .contact-info-icon { width: 48px; height: 48px; border-radius: 16px; }
}
.contact-card-large .btn { margin: 0; }
