/* Homepage finish: the approved water-campaign light, texture and quiet art.
   Loaded only on the homepage, after the existing component styles.
   The campaign reference, typography, geometry and interaction remain intact. */
@media screen {
  html :is(
    .program-module.module-natura,
    .program-module.module-umanitate,
    .program-module.module-communitas,
    .aqua-home.aqua-home-simple,
    .technology-transition.technology-upcoming,
    .home-secondary.home-secondary-vision,
    .home-secondary.am-articles-home-compact,
    .home-secondary.home-secondary-support,
    .pm-home.pm-home-two-columns
  ) {
    background:linear-gradient(110deg,#edf8fbef,#dcedf3d1),
      url('/assets/anima-watercolor.webp') center 48%/cover;
    border-color:#c4e0e7;
    color:var(--anima-ink,#184f60);
  }

  /* A transition keeps the same watercolour; data is still a clear surface. */
  html .facts-band {
    background:linear-gradient(110deg,#edf8fbef,#dcedf3d1),
      url('/assets/anima-watercolor.webp') center 48%/cover;
    border-color:#c4e0e7;
    --fact-text:#184f60;
    --fact-soft:#416975;
    --fact-number:#087c96;
  }
  html .facts-band .fact-card {
    background:#f7fcff91;
    border-color:#b7d7e0;
    border-radius:12px;
    color:#184f60;
    box-shadow:none;
  }
  html .facts-band .fact-card:is(:hover,[aria-expanded=true]) {
    background:#f7fcffed;
    border-color:#82b7c8;
    box-shadow:0 5px 16px #285b6d0b;
  }

  /* Decorative pictures sit in the texture, with no enclosing picture card.
     Captions, links and focus labels are deliberately outside all fades. */
  html :is(
    .module-visual.visual-emblem,
    .module-visual.visual-umanitate,
    .module-visual.visual-community,
    .aqua-home.aqua-home-simple .aqua-home-visual,
    .technology-transition .technology-illustration,
    .home-secondary .home-secondary-aside,
    .home-secondary .home-secondary-art
  ) {
    background:none;
    box-shadow:none;
    border-color:transparent;
    border-radius:0;
  }

  /* Native glyphs keep their paths and size; the pale ink matches the scene.
     The separate text labels and their keyboard focus rings stay unchanged. */
  .visual-emblem .mgb-glyph-art {opacity:.58}
  .visual-emblem #mgb-illustration>g[aria-hidden=true] {opacity:.72}
  .visual-emblem .mgb-glyph:is(:hover,:focus,:focus-visible) .mgb-glyph-art {
    opacity:1;
  }

  html .module-visual.visual-umanitate>img {
    background:transparent;
    border-radius:0;
    box-shadow:none;
    opacity:.68;
    filter:saturate(.38) hue-rotate(8deg);
    mix-blend-mode:multiply;
    -webkit-mask-image:radial-gradient(ellipse at 50% 49%,#000 39%,#000e 59%,transparent 78%);
    mask-image:radial-gradient(ellipse at 50% 49%,#000 39%,#000e 59%,transparent 78%);
    -webkit-mask-composite:source-over;
    mask-composite:add;
  }
  html .module-visual.visual-community>img,
  html .home-alliance-art {
    background:transparent;
    border-radius:0;
    box-shadow:none;
    opacity:.68;
    filter:saturate(.45) hue-rotate(6deg);
  }

  html .aqua-home.aqua-home-simple .aqua-home-art img {
    background:transparent;
    border-radius:0;
    box-shadow:none;
    opacity:.64;
    filter:saturate(.78);
  }
  html .technology-transition .technology-illustration img {
    background:transparent;
    border-radius:0;
    box-shadow:none;
    opacity:.76;
    filter:saturate(.72);
  }
  .home-secondary .home-secondary-aside::before {background:none}

  /* The opening row follows the same size and blue ink as later motifs. */
  html .module-natura .hero-pictograms {
    width:100%;height:58px;box-sizing:content-box;
    margin:28px 0 0;padding:0 0 24px;
    background:#5f9fb2;opacity:.26;animation:none;
    -webkit-mask:url('/assets/pictograms-continuum.svg') left top/auto 58px repeat-x;
    mask:url('/assets/pictograms-continuum.svg') left top/auto 58px repeat-x;
  }
  html .module-natura .hero-pictograms img {visibility:hidden;height:58px}

  /* The project entry stays a recognisable control below the unboxed art. */
  html .aqua-home.aqua-home-simple .aqua-home-project-link {
    box-sizing:border-box;
    border:1px solid #a4cbd4;
    border-radius:12px;
    background:#ffffffb8;
    color:#184f60;
    box-shadow:none;
  }
  html .aqua-home.aqua-home-simple .aqua-home-project-link:hover {
    background:#fff;
    border-color:#087c96;
    color:#184f60;
  }

  /* Signing remains a distinct action panel, rather than decorative artwork. */
  html .pm-home.pm-home-two-columns .pm-sign-card {
    background:linear-gradient(145deg,#f7fcffa3,#e7f5f968);
    border-color:#b7d7e0;
    box-shadow:none;
  }

  /* The original full-width symbol row keeps its established dimensions. */
  html :is(
    .module-umanitate,
    .module-communitas,
    .technology-transition,
    .aqua-home.aqua-home-simple,
    .pm-home.pm-home-two-columns
  )::after,
  html .home-secondary .home-secondary-motif {
    background-color:#5f9fb2;
    opacity:.26;
  }
}

@media screen and (max-width:760px) {
  html .module-natura .hero-pictograms {
    height:44px;padding-bottom:18px;
    -webkit-mask-size:auto 44px;mask-size:auto 44px;
  }
  html .module-natura .hero-pictograms img {height:44px}
  html :is(
    .module-umanitate,
    .module-communitas,
    .technology-transition,
    .aqua-home.aqua-home-simple,
    .pm-home.pm-home-two-columns
  )::after,
  html .home-secondary .home-secondary-motif {
    height:44px;
    -webkit-mask-size:auto 44px;
    mask-size:auto 44px;
  }
}

/* The Communitas circle accompanies the Alliance invitation. */
.home-secondary.home-alliance {
  padding:clamp(44px,5vw,70px) 0 88px;
  background:linear-gradient(110deg,#edf8fbef,#dcedf3d1),url('/assets/anima-watercolor.webp') center 48%/cover;
}
.home-alliance-inner {
  display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);
  align-items:center;gap:clamp(28px,4vw,52px);max-width:1180px;
}
.home-alliance h2 {font-size:clamp(2.1rem,3.2vw,3.1rem);line-height:1.12;margin:0 0 24px;text-wrap:balance}
.home-alliance .home-secondary-copy p+p {margin-top:19px}
.home-alliance-actions {gap:12px;margin:25px 0 0}
.home-alliance-actions .button {min-height:48px;min-width:0;padding:11px 21px;border-radius:12px;font-size:15px;line-height:1.5}
.home-alliance-art {display:block;justify-self:center;width:100%;max-width:456px;height:auto}
@media(max-width:760px) {
  .home-secondary.home-alliance {padding:42px 0 65px}
  .home-alliance-inner {grid-template-columns:minmax(0,1fr);gap:20px}
  .home-alliance-art {width:min(80%,432px)}
}
@media(max-width:420px) {
  .home-alliance-actions {gap:9px}
  .home-alliance-actions .button {flex:1 1 auto;padding:10px 12px}
}
@media print {
  .home-secondary.home-alliance {padding:20px 0;background:white}
  .home-alliance-inner {display:block}
  .home-alliance-art,.home-alliance-actions {display:none}
}

.about-programs-index {
  background: #edf7f9;
  padding-block: clamp(1.75rem, 4vw, 3.25rem) 1.5rem;
  border-bottom: 1px solid #c4e0e7;
}
.about-programs-index h1 {
  margin: 0 0 .55rem;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.05;
  color: var(--anima-ink, #184f60);
}
.about-programs-index nav {display: flex; flex-wrap: wrap; column-gap: 1.5rem}
.about-programs-index nav a {
  display: inline-flex; align-items: center; min-height: 44px; color: #1a6170;
  text-decoration: underline; text-underline-offset: .25em;
}
