:root {
  --afcs-ink: #243c3b;
  --afcs-muted: #506260;
  --afcs-orange: #ffb078;
  --afcs-teal: #d9eeeb;
  --afcs-line: #d4ddda;
}

html { scroll-padding-top: 24px; }
body { letter-spacing: 0; }
*, *::before, *::after { box-sizing: border-box; }
:where(a, button, summary, input, select, textarea, video):focus-visible {
  outline: 3px solid #126a79 !important;
  outline-offset: 5px;
}
:where(a, button, summary) { touch-action: manipulation; }
:where(h1, h2, h3) { text-wrap: balance; scroll-margin-top: 24px; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

.site-header {
  position: relative;
  z-index: 30;
  color: var(--afcs-ink);
  background: #fff;
  border-bottom: 1px solid var(--afcs-line);
  font-family: 'Nunito', 'Segoe UI', sans-serif;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  max-width: 1320px;
  margin: auto;
  padding: 10px 32px;
}
.site-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: inherit;
  text-decoration: none;
}
.site-brand img { width: 64px; height: 54px; object-fit: contain; }
.site-header .header-logos { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; align-items: center; flex-shrink: 1; gap: 18px; min-width: 0; }
.site-header .header-logos > a { display: inline-flex !important; align-items: center; flex: 0 0 auto; }
.header-logos > a > img { display: block; width: auto; height: 54px; max-width: 164px; object-fit: contain; }
.header-logos > a:nth-child(2) > img { width: 82px; }
.header-logos > a:nth-child(3) > img { width: 164px; }
.desktop-nav { display: flex; align-items: center; gap: 30px; }
.desktop-nav a {
  padding: 12px 0;
  color: inherit;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.desktop-nav a:hover, .mobile-nav a:hover {
  color: #794019;
  text-decoration: underline;
  text-underline-offset: 7px;
}
.site-header a[aria-current] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}
.desktop-nav .nav-gallery { padding: 11px 20px; border: 1px solid var(--afcs-ink); border-radius: 4px; }
.mobile-nav { display: none; flex: 0 0 auto; }

.afcs-home {
  margin: 0;
  color: var(--afcs-ink);
  background: #fff;
  font: 17px/1.7 'Nunito', 'Segoe UI', sans-serif;
}
.afcs-home h1, .afcs-home h2, .afcs-home h3,
.afcs-home p, .afcs-home figure { margin: 0; }
.afcs-home h2 { font-size: 38px; font-weight: 750; line-height: 1.18; }
.afcs-home p { max-width: 65ch; }
.page-width { max-width: 1240px; margin: auto; padding-right: 32px; padding-left: 32px; }
.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 20px;
  color: var(--afcs-ink);
  background: #fff;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.swing-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: end;
  min-height: 530px;
  overflow: hidden;
  background: var(--afcs-ink);
}
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 43%;
}
.swing-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgb(14 28 25 / 86%), rgb(14 28 25 / 52%) 42%, transparent 73%);
  content: '';
}
.hero-copy { width: 100%; max-width: 1320px; margin: auto; padding: 48px 32px 54px; color: #fff; }
.hero-copy .hero-kicker { margin-bottom: 20px; font-size: 15px; font-weight: 700; }
.hero-copy h1 { font-size: 68px; font-weight: 800; line-height: 1.08; }
.hero-copy h1 span { color: var(--afcs-orange); }
.hero-copy > p:not(.hero-kicker) { max-width: 420px; margin-top: 22px; font-size: 19px; line-height: 1.55; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 28px; }
.swing-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 48px;
  padding: 13px 22px;
  color: var(--afcs-ink);
  background: var(--afcs-orange);
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 750;
  text-decoration: none;
}
.swing-button:hover { background: #ffc69e; }
.swing-button:active { transform: translateY(1px); }
.hero-gallery { padding: 12px 0; color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 6px; }
.hero-gallery:hover { color: var(--afcs-orange); }

.project-support {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  padding: 25px 32px;
  border-bottom: 1px solid var(--afcs-line);
}
.project-support p { font-size: 14px; line-height: 1.5; }
.project-support img { width: 160px; height: 48px; object-fit: contain; }
.swing-mission {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 36px 72px;
  padding-top: 84px;
  padding-bottom: 84px;
}
.mission-copy p + p { margin-top: 18px; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin-top: 22px;
  color: var(--afcs-ink);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 6px;
}
.text-link:hover { color: #794019; }
.mission-photos { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; }
.mission-photos img { display: block; width: 100%; height: 320px; border-radius: 4px; object-fit: cover; }

.activities-wrap { background: #f3f7f6; }
.afcs-home .activities-wrap > section { padding: 72px 32px; background: transparent; }
.activities-wrap > section > div { max-width: 1176px; margin: auto; padding: 0; }
.afcs-home .activities-wrap h2 { margin-bottom: 36px; font-size: 38px; text-align: left; }
.activities-wrap > section > div > div { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.activities-wrap > section > div > div > div {
  display: block;
  width: auto;
  padding: 22px 0 0;
  text-align: left;
  background: transparent;
  border-top: 2px solid #8bbdb6;
  border-radius: 0;
  box-shadow: none;
  transform: none;
  transition: none;
}
.activities-wrap > section > div > div > div > div { display: none; }
.afcs-home .activities-wrap h3 { margin-bottom: 12px; font-size: 19px; line-height: 1.35; }
.afcs-home .activities-wrap p { color: var(--afcs-muted); font-size: 15px; }

.impact-band { padding: 64px 0; background: var(--afcs-teal); }
.impact-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; margin: 32px 0 0; }
.impact-grid > div { display: flex; flex-direction: column-reverse; justify-content: end; }
.impact-grid dd { margin: 0; font-size: 54px; font-weight: 750; font-variant-numeric: tabular-nums; line-height: 1.2; }
.impact-grid dt { max-width: 20ch; margin-top: 12px; font-size: 15px; }
.testimonies {
  padding-top: 84px;
  padding-bottom: 84px;
}
.testimonies-header { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 40px; }
.testimonies-header p { max-width: 46ch; margin-top: 22px; }
.testimonies-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; gap: 48px; }
.testimonies figure { margin: 0; }
.testimonies video { width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--afcs-ink); border-radius: 4px; }
.testimonies figcaption { margin-top: 14px; color: var(--afcs-muted); font-size: 12px; line-height: 1.6; }
.testimony-quotes { border-top: 1px solid var(--afcs-line); }
.testimony-quotes blockquote { margin: 0; padding: 22px 0; border-bottom: 1px solid var(--afcs-line); }
.testimony-quotes blockquote p { margin: 0; color: var(--afcs-ink); font-size: 16px; line-height: 1.65; }
.testimony-quotes footer { margin-top: 12px; color: #794019; font-size: 13px; font-weight: 750; }
.testimony-quotes cite { font-style: normal; }
.testimonies-film { max-width: 920px; margin: 52px auto 0 !important; }

.afcs-home .partners-wrap section { padding: 0 32px 72px; background: #fff; }
.partners-wrap section > div { max-width: 1176px; margin-inline: auto; padding: 0; }
.afcs-home .partners-wrap h2 { max-width: 750px; margin: 0 auto 36px; font-size: 25px; line-height: 1.4; text-align: center; }
.partners-wrap section > div > div { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; }
.partners-wrap section > div > div > div { display: grid; flex-basis: auto; place-items: center; }
.partners-wrap section > div > div > div > a { display: inline-flex; align-items: center; justify-content: center; }
.partners-wrap img { width: 145px; height: 64px; object-fit: contain; }
.join-band { padding: 64px 0; background: #fff0e5; }
.join-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 80px; }
.join-layout p { margin-top: 20px; }
.join-layout ul { margin: 0 0 24px; padding-left: 20px; list-style: disc; }

.site-footer { padding: 36px 32px 24px; color: var(--afcs-ink); background: #fff; font-family: 'Nunito', 'Segoe UI', sans-serif; }
.footer-inner { display: grid; grid-template-columns: auto minmax(240px, 1fr) auto; align-items: center; gap: 36px; max-width: 1176px; margin: auto; }
.footer-logos { display: flex; align-items: center; gap: 16px; }
.site-footer img { width: 96px; height: 44px; object-fit: contain; }
.site-footer p { margin: 0; }
.footer-disclaimer { max-width: 52ch; color: var(--afcs-muted); font-size: 12px; line-height: 1.55; }
.footer-contact { display: grid; gap: 4px; margin: 0; font-size: 13px; font-style: normal; text-align: right; }
.site-footer a { color: inherit; }
.site-footer a:hover { color: #794019; text-decoration: underline; text-underline-offset: 4px; }
.site-footer .footer-legal { width: 100%; max-width: 1176px; margin: 28px auto 0; padding-top: 20px; color: var(--afcs-muted); border-top: 1px solid var(--afcs-line); font-size: 12px; text-align: center; }

.home-information { padding-top: 76px; padding-bottom: 76px; }
.home-information h2 { margin-bottom: 34px; }
.home-information-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--afcs-line); border-left: 1px solid var(--afcs-line); }
.home-information-grid > a { min-width: 0; padding: 28px; color: var(--afcs-ink); border-right: 1px solid var(--afcs-line); border-bottom: 1px solid var(--afcs-line); text-decoration: none; }
.home-information-grid > a:hover { background: #f3f7f6; }
.home-information-grid > a > span { color: #4c7771; font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; }
.home-information-grid h3 { margin-top: 16px; font-size: 21px; }
.home-information-grid p { margin-top: 8px; color: var(--afcs-muted); font-size: 15px; }
.home-information-grid strong { display: inline-block; margin-top: 20px; font-size: 14px; text-decoration: underline; text-underline-offset: 5px; }

.site-page { margin: 0; color: var(--afcs-ink); background: #fff; font: 17px/1.7 'Nunito', 'Segoe UI', sans-serif; letter-spacing: 0; }
.site-page h1, .site-page h2, .site-page h3, .site-page p, .site-page figure { margin: 0; }
.site-page h1 { max-width: 12ch; font-size: 64px; font-weight: 800; line-height: 1.05; }
.site-page h2 { font-size: 36px; font-weight: 750; line-height: 1.2; }
.site-page h3 { font-size: 19px; font-weight: 750; line-height: 1.35; }
.site-page p { max-width: 65ch; }
.page-kicker { margin-bottom: 16px !important; color: #794019; font-size: 14px; font-weight: 800; }
.page-heading { padding-top: 76px; padding-bottom: 64px; }
.page-heading > p:last-child { max-width: 620px; margin-top: 24px; color: var(--afcs-muted); font-size: 20px; }
.page-hero { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 64px; padding-top: 56px; padding-bottom: 72px; }
.page-hero > div > p:last-child { max-width: 460px; margin-top: 24px; color: var(--afcs-muted); font-size: 19px; }
.page-hero > img { width: 100%; height: 390px; border-radius: 4px; object-fit: cover; }
.funding-strip { display: flex; align-items: center; padding-bottom: 12px; }
.funding-strip img { display: block; width: 210px; height: 64px; object-fit: contain; }

.story-section { display: grid; grid-template-columns: 1.1fr .9fr; align-items: start; gap: 72px; padding-top: 72px; padding-bottom: 72px; }
.story-section h2 { margin-bottom: 24px; }
.story-section p + p { margin-top: 18px; }
.story-section figure img { width: 100%; height: 390px; border-radius: 4px; object-fit: cover; }
.story-section figcaption { margin-top: 10px; color: var(--afcs-muted); font-size: 13px; }
.story-band { background: #f3f7f6; }
.story-reverse > div { order: 2; }
.story-reverse > figure { order: 1; }
.story-reverse figure img { height: 440px; object-position: top; }
.de-amicitia-visual { display: grid; justify-items: start; gap: 32px; }
.de-amicitia-logo { position: relative; width: min(100%, 320px); padding: 16px; background: #fff; border: 1px solid var(--afcs-line); border-radius: 6px; }
.story-section .de-amicitia-logo > img { display: block; width: 100%; height: auto; object-fit: contain; }
.events-badge { position: absolute; right: -12px; bottom: -18px; display: flex; align-items: center; gap: 8px; margin: 0; padding: 9px 12px; background: #fff; border: 1px solid var(--afcs-line); border-radius: 6px; box-shadow: 0 4px 12px rgb(14 28 25 / 10%); line-height: 1.25; }
.events-badge strong { color: var(--afcs-orange); font-size: 24px; line-height: 1; }
.events-badge span { color: var(--afcs-muted); font-size: 12px; }
.de-amicitia-portrait { width: min(100%, 240px); }
.story-section .de-amicitia-portrait > img { display: block; width: 100%; height: auto; aspect-ratio: 1; background: #fff; object-fit: contain; object-position: center; }
.network-section { padding-top: 72px; padding-bottom: 80px; }
.network-section h2 { margin-bottom: 32px; }
.network-section > p { max-width: 620px; margin-bottom: 28px; color: var(--afcs-muted); }
.network-section ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin: 0; padding: 0; list-style: none; }
.network-section li { display: grid; gap: 8px; padding-top: 18px; border-top: 2px solid #8bbdb6; }
.network-section li span { color: var(--afcs-muted); }
.inner-cta { padding: 60px 0; background: #fff0e5; }
.inner-cta > div { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 32px; }
.inner-cta p { color: var(--afcs-muted); }

.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-bottom: 80px; padding: 0; background: var(--afcs-line); border: 1px solid var(--afcs-line); }
.contact-layout > div { padding: 46px; background: #fff; scroll-margin-top: 24px; }
.contact-layout h2 { margin-bottom: 20px; }
.contact-layout h3 { margin-top: 28px; }
.contact-layout ul { margin: 12px 0 26px; padding-left: 20px; }
.contact-layout address { display: grid; gap: 8px; margin-top: 28px; font-style: normal; }
.contact-layout address a { color: var(--afcs-ink); font-weight: 700; }
.social-band { padding: 54px 0; background: var(--afcs-teal); }
.social-band > div { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.social-band nav { display: flex; flex-wrap: wrap; gap: 28px; }
.social-band a { color: var(--afcs-ink); font-weight: 750; text-underline-offset: 5px; }

.info-list { padding-bottom: 80px; }
.info-list article { display: grid; grid-template-columns: 80px 1fr; gap: 30px; padding: 34px 0; border-top: 1px solid var(--afcs-line); scroll-margin-top: 24px; }
.info-list article:last-child { border-bottom: 1px solid var(--afcs-line); }
.info-list article > span { color: #4c7771; font-size: 14px; font-variant-numeric: tabular-nums; font-weight: 800; }
.info-list h2 { margin-bottom: 12px; }
.info-list p { color: var(--afcs-muted); }

.interview-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: 32px; margin-bottom: 80px; }
.audio-feature { display: grid; grid-template-columns: 1fr; align-items: stretch; min-width: 0; overflow: hidden; padding: 0; background: #f3f7f6; }
.audio-feature > img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.audio-feature > div { padding: 36px; }
.audio-feature h2 { margin-bottom: 16px; }
.audio-feature audio { width: 100%; margin-top: 28px; }
.audio-links { display: flex; flex-wrap: wrap; gap: 16px 28px; margin-top: 18px; }
.transcript-feature { min-width: 0; }
.transcript-header { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 28px; }
.transcript-header h2 { margin-top: 5px; }
.transcript-tools { display: flex; align-items: end; flex-direction: column; gap: 14px; }
.language-selector { display: grid; grid-template-columns: repeat(2, 48px); margin: 0; padding: 0; border: 1px solid var(--afcs-ink); border-radius: 4px; }
.language-selector button { min-height: 38px; padding: 6px 10px; color: var(--afcs-ink); background: #fff; border: 0; cursor: pointer; font: inherit; font-size: 13px; font-weight: 800; }
.language-selector button + button { border-left: 1px solid var(--afcs-ink); }
.language-selector button:hover { background: #f3f7f6; }
.language-selector button[aria-pressed="true"] { color: #fff; background: var(--afcs-ink); }
.transcript-live { display: grid; grid-template-columns: 104px 1fr; gap: 20px; min-height: 108px; padding: 22px; color: var(--afcs-ink); background: var(--afcs-teal); }
.transcript-live > span { padding-top: 3px; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.transcript-live p { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.45; }
.transcript-list { max-height: 420px; overflow-y: auto; border-right: 1px solid var(--afcs-line); border-bottom: 1px solid var(--afcs-line); border-left: 1px solid var(--afcs-line); scroll-behavior: smooth; scrollbar-gutter: stable; }
.transcript-cue { display: grid; grid-template-columns: 72px 1fr; gap: 18px; width: 100%; min-height: 64px; padding: 17px 20px; color: var(--afcs-ink); background: #fff; border: 0; border-bottom: 1px solid var(--afcs-line); cursor: pointer; font: inherit; text-align: left; }
.transcript-cue:last-child { border-bottom: 0; }
.transcript-cue:hover { background: #f3f7f6; }
.transcript-cue[aria-current="true"] { background: #fff0e5; box-shadow: inset 4px 0 0 #d9681d; }
.transcript-cue time { color: #4c7771; font-size: 13px; font-variant-numeric: tabular-nums; font-weight: 800; }
.transcript-cue span { line-height: 1.55; }
.transcript-note { margin-top: 12px !important; color: var(--afcs-muted); font-size: 12px; }
.press-section { padding-bottom: 80px; }
.press-section > h2 { margin-bottom: 34px; }
.press-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.press-card { display: grid; grid-template-columns: 160px 1fr; min-width: 0; overflow: hidden; border: 1px solid var(--afcs-line); border-radius: 4px; }
.press-card > img { width: 160px; height: 100%; min-height: 180px; object-fit: cover; }
.press-card > div { min-width: 0; padding: 24px; }
.press-card p { margin-bottom: 10px; color: #4c7771; font-size: 13px; font-weight: 800; }
.press-card h3 { overflow-wrap: anywhere; }
.press-card a { display: inline-block; margin-top: 18px; color: var(--afcs-ink); font-size: 14px; font-weight: 750; text-underline-offset: 4px; }

.gallery-section { padding-bottom: 88px; }
.gallery-filters { display: flex; align-items: end; justify-content: space-between; gap: 32px; padding: 24px; background: #f3f7f6; }
.gallery-event-filter { display: grid; flex: 1 1 420px; gap: 8px; max-width: 620px; }
.gallery-filters label, .gallery-filters legend { font-size: 14px; font-weight: 750; }
.gallery-filters select { width: 100%; min-height: 48px; padding: 10px 40px 10px 13px; color: var(--afcs-ink); background: #fff; border: 1px solid #82928f; border-radius: 4px; }
.gallery-filters fieldset { flex: 0 0 auto; margin: 0; padding: 0; border: 0; }
.gallery-filters legend { margin-bottom: 8px; padding: 0; }
.gallery-media-toggle { display: grid; grid-template-columns: repeat(3, minmax(76px, 1fr)); }
.gallery-media-toggle button { min-height: 48px; padding: 9px 14px; color: var(--afcs-ink); background: #fff; border: 1px solid #82928f; border-right-width: 0; cursor: pointer; font-weight: 700; }
.gallery-media-toggle button:first-child { border-radius: 4px 0 0 4px; }
.gallery-media-toggle button:last-child { border-right-width: 1px; border-radius: 0 4px 4px 0; }
.gallery-media-toggle button[aria-pressed="true"] { color: #fff; background: var(--afcs-ink); border-color: var(--afcs-ink); }
.gallery-status { margin: 22px 0 0 !important; color: var(--afcs-muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.gallery-events { display: grid; gap: 68px; }
.gallery-event { padding-top: 34px; border-top: 1px solid var(--afcs-line); }
.gallery-event[hidden], .gallery-card[hidden] { display: none; }
.gallery-event-header { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 24px; }
.gallery-event-header time { display: block; margin-bottom: 6px; color: #4c7771; font-size: 13px; font-weight: 800; text-transform: uppercase; }
.gallery-event-header h2 { font-size: 30px; }
.gallery-event-count { flex: 0 0 auto; margin: 0 !important; color: var(--afcs-muted); font-size: 13px; }
.gallery-event-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 16vw, 230px); gap: 12px; }
.gallery-card { position: relative; display: block; min-width: 0; padding: 0; overflow: hidden; color: #fff; background: var(--afcs-ink); border: 0; border-radius: 4px; cursor: zoom-in; }
.gallery-card:first-child { grid-column: span 2; grid-row: span 2; }
.gallery-count-1 .gallery-card:first-child { grid-column: span 3; }
.gallery-count-2 .gallery-card:nth-child(2) { grid-row: span 2; }
.gallery-card img { display: block; width: 100%; height: 100%; background: var(--afcs-ink); object-fit: cover; transition: transform 180ms ease, opacity 180ms ease; }
.gallery-card:hover img { opacity: .82; transform: scale(1.012); }
.gallery-card-label { position: absolute; right: 10px; bottom: 10px; padding: 6px 9px; background: rgb(20 39 37 / 88%); border-radius: 3px; font-size: 12px; font-weight: 750; }
.gallery-play { position: absolute; top: 50%; left: 50%; display: grid; width: 54px; height: 54px; padding-left: 4px; color: var(--afcs-ink); background: rgb(255 255 255 / 92%); border-radius: 50%; place-items: center; transform: translate(-50%, -50%); }
.empty-state { padding: 52px 20px; text-align: center; }
.media-dialog { width: min(1180px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; overflow: hidden; color: #fff; background: #111d1c; border: 0; border-radius: 4px; }
.media-dialog::backdrop { background: rgb(13 27 25 / 88%); }
.media-dialog-header, .media-dialog-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px 16px; }
.media-dialog-header { min-height: 58px; border-bottom: 1px solid rgb(255 255 255 / 18%); }
.media-dialog-header p, .media-dialog-footer p { margin: 0; }
.media-dialog-header p { font-size: 14px; font-weight: 750; }
.media-dialog-stage { display: grid; min-height: min(70dvh, 760px); background: #08100f; place-items: center; }
.media-dialog-stage img, .media-dialog-stage video { display: block; width: 100%; height: 100%; max-height: min(70dvh, 760px); object-fit: contain; }
.media-dialog-stage [hidden] { display: none; }
.media-dialog-footer { min-height: 64px; border-top: 1px solid rgb(255 255 255 / 18%); }
.media-dialog-footer > p { min-width: 0; overflow-wrap: anywhere; font-size: 13px; }
.media-dialog-nav { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; }
.media-dialog-nav button, .dialog-close { display: grid; width: 40px; height: 40px; padding: 0; color: #fff; background: transparent; border: 1px solid rgb(255 255 255 / 48%); border-radius: 4px; cursor: pointer; font-size: 20px; place-items: center; }
.dialog-close { font-size: 27px; line-height: 1; }
.media-dialog-nav button:hover, .dialog-close:hover { color: var(--afcs-ink); background: #fff; }
.dialog-count { min-width: 48px; font-size: 12px; font-variant-numeric: tabular-nums; text-align: center; }

.error-page { display: flex; flex-direction: column; min-height: 100dvh; }
.error-page main { flex: 1; width: min(720px, calc(100% - 44px)); margin: auto; padding: 80px 0; }
.error-page .error-code { color: #4c7771; font-size: 96px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1; }
.error-page h1 { max-width: none; margin: 18px 0; font-size: 46px; }
.error-page main > p:not(.error-code) { margin-bottom: 28px; color: var(--afcs-muted); font-size: 19px; }

@media (max-width: 1023px) {
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav summary { display: block; min-width: 76px; cursor: pointer; padding: 12px 16px; border: 1px solid var(--afcs-line); border-radius: 4px; font-weight: 700; line-height: 1.25; list-style: none; text-align: center; white-space: nowrap; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav nav { position: absolute; top: 100%; right: 0; left: 0; padding: 16px 24px; background: #fff; border-bottom: 1px solid var(--afcs-line); box-shadow: 0 12px 20px rgb(36 60 59 / 10%); }
  .mobile-nav a { display: block; padding: 12px 8px; color: var(--afcs-ink); }
  .activities-wrap > section > div > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .swing-mission, .join-layout { gap: 32px; }
  .page-hero, .story-section { gap: 40px; }
  .interview-layout { grid-template-columns: 1fr; }
  .press-card { grid-template-columns: 130px 1fr; }
  .press-card > img { width: 130px; }
  .footer-inner { grid-template-columns: auto 1fr; }
  .footer-contact { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 767px) {
  .header-inner { min-height: 72px; gap: 10px; padding: 9px 20px; }
  .header-logos { gap: 8px; }
  .header-logos > a > img { height: 38px; }
  .header-logos > .site-brand > img { width: 46px; }
  .header-logos > a:nth-child(2) > img { width: 60px; }
  .header-logos > a:nth-child(3) > img { width: 124px; }
  .afcs-home h2, .afcs-home .activities-wrap h2 { font-size: 30px; }
  .page-width { padding-right: 22px; padding-left: 22px; }
  .swing-hero { min-height: 485px; }
  .hero-photo { object-position: 58% center; }
  .swing-hero::before { background: rgb(14 28 25 / 63%); }
  .hero-copy { padding: 38px 22px; }
  .hero-copy h1 { font-size: 44px; }
  .hero-copy > p:not(.hero-kicker) { max-width: 31ch; font-size: 17px; }
  .hero-copy .hero-kicker { font-size: 13px; }
  .project-support { flex-wrap: wrap; justify-content: space-between; gap: 18px; padding: 22px; }
  .project-support p { flex-basis: 100%; }
  .project-support img { width: 135px; height: 40px; }
  .swing-mission, .join-layout { grid-template-columns: minmax(0, 1fr); }
  .swing-mission, .testimonies { padding-top: 52px; padding-bottom: 52px; }
  .testimonies-header { display: block; margin-bottom: 30px; }
  .testimonies-header .text-link { display: inline-block; margin-top: 20px; }
  .testimonies-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .testimonies-film { margin-top: 38px !important; }
  .mission-photos { grid-template-columns: 1fr; gap: 16px; }
  .mission-photos img { height: auto; aspect-ratio: 3 / 2; }
  .afcs-home .activities-wrap > section { padding: 48px 22px; }
  .activities-wrap > section > div > div { gap: 24px; }
  .afcs-home .activities-wrap h3 { font-size: 17px; }
  .impact-band, .join-band { padding: 48px 0; }
  .impact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .impact-grid dd { font-size: 44px; }
  .partners-wrap section > div > div { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .afcs-home .partners-wrap section { padding: 0 22px 48px; }
  .site-footer { padding-right: 22px; padding-left: 22px; }
  .footer-inner { grid-template-columns: 1fr; gap: 22px; }
  .footer-contact { grid-column: auto; text-align: left; }
  .home-information { padding-top: 52px; padding-bottom: 52px; }
  .home-information-grid { grid-template-columns: 1fr; }
  .site-page h1 { font-size: 44px; }
  .site-page h2 { font-size: 30px; }
  .page-heading { padding-top: 52px; padding-bottom: 44px; }
  .page-heading > p:last-child { font-size: 18px; }
  .page-hero { grid-template-columns: 1fr; gap: 30px; padding-top: 44px; padding-bottom: 52px; }
  .page-hero > img { height: auto; aspect-ratio: 4 / 3; }
  .funding-strip { padding-bottom: 0; }
  .funding-strip img { width: 190px; height: 58px; }
  .story-section { grid-template-columns: 1fr; gap: 30px; padding-top: 52px; padding-bottom: 52px; }
  .story-reverse > div, .story-reverse > figure { order: initial; }
  .story-section figure img, .story-reverse figure img { height: auto; aspect-ratio: 4 / 3; }
  .story-section .de-amicitia-portrait > img { aspect-ratio: 1; }
  .network-section { padding-top: 52px; padding-bottom: 52px; }
  .network-section ul { grid-template-columns: 1fr; gap: 24px; }
  .inner-cta > div { grid-template-columns: 1fr; gap: 18px; }
  .inner-cta .swing-button { justify-self: start; }
  .contact-layout { grid-template-columns: 1fr; margin: 0 22px 52px; }
  .contact-layout > div { padding: 30px 24px; }
  .social-band > div { align-items: start; flex-direction: column; }
  .info-list article { grid-template-columns: 44px 1fr; gap: 16px; }
  .interview-layout { margin-bottom: 52px; }
  .audio-feature { grid-template-columns: 1fr; margin: 0; }
  .audio-feature > img { min-height: 0; aspect-ratio: 4 / 3; }
  .audio-feature > div { padding: 30px 24px; }
  .transcript-feature { margin-bottom: 0; }
  .transcript-header { align-items: start; flex-direction: column; gap: 18px; }
  .transcript-tools { align-items: start; }
  .transcript-live { grid-template-columns: 1fr; gap: 8px; min-height: 0; padding: 20px; }
  .transcript-live p { font-size: 17px; }
  .transcript-list { max-height: 390px; }
  .transcript-cue { grid-template-columns: 54px 1fr; gap: 12px; padding: 15px 14px; }
  .press-section { padding-bottom: 52px; }
  .press-grid { grid-template-columns: 1fr; }
  .gallery-filters { align-items: stretch; flex-direction: column; gap: 20px; padding: 20px; }
  .gallery-event-filter { flex-basis: auto; width: 100%; max-width: none; }
  .gallery-filters fieldset { width: 100%; }
  .gallery-media-toggle { width: 100%; }
  .gallery-events { gap: 48px; }
  .gallery-event { padding-top: 28px; }
  .gallery-event-header { align-items: start; }
  .gallery-event-header h2 { font-size: 25px; }
  .gallery-event-grid { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; gap: 12px; }
  .gallery-card, .gallery-card:first-child, .gallery-count-1 .gallery-card:first-child, .gallery-count-2 .gallery-card:nth-child(2) { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
  .media-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 20px); }
  .media-dialog-stage { min-height: 0; height: calc(100dvh - 150px); }
  .media-dialog-stage img, .media-dialog-stage video { max-height: calc(100dvh - 150px); }
  .media-dialog-footer { align-items: start; }
}

@media (max-width: 374px) {
  .header-logos { gap: 6px; }
  .header-logos > .site-brand > img { width: 42px; }
  .header-logos > a:nth-child(2) > img { width: 52px; }
  .header-logos > a:nth-child(3) > img { width: 110px; }
}

@media (max-width: 374px) {
  .hero-copy h1 { font-size: 38px; }
  .hero-actions { gap: 18px; }
  .swing-button { gap: 12px; padding: 12px 16px; }
  .activities-wrap > section > div > div { grid-template-columns: 1fr; }
  .gallery-event-header { display: block; }
  .gallery-event-count { margin-top: 10px !important; }
  .media-dialog-footer { align-items: stretch; flex-direction: column; gap: 10px; }
  .media-dialog-nav { justify-content: space-between; }
  .press-card { grid-template-columns: 1fr; }
  .press-card > img { width: 100%; height: 180px; min-height: 0; }
}

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