/* Live English homepage additions. Loaded after Salient and ari-home-base.css. */

body.ari-live-home { overflow-x: clip; }
body.ari-live-home #wpadminbar { z-index: 1000; }
body.ari-live-home .site-header,
body.ari-live-home main,
body.ari-live-home .site-footer { position: relative; }

body.ari-live-home .hero h1 { color: var(--white) !important; }

/* Slim utility bar: verified social profiles and a page-aware language switch. */
body.ari-live-home .ari-utility-bar {
  position: relative;
  z-index: 10020;
  color: var(--white);
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(255, 255, 255, .11);
}

body.ari-live-home .ari-utility-bar__inner {
  width: min(100% - 48px, 1480px);
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
}

body.ari-live-home .ari-social--header { display: flex; gap: 4px; }

body.ari-live-home .ari-social--header a {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .72);
  border-radius: 50%;
  font-size: 13px;
  transition: color 160ms ease, background 160ms ease;
}

body.ari-live-home .ari-social--header a:hover,
body.ari-live-home .ari-social--header a:focus-visible {
  color: var(--navy-deep);
  background: var(--gold);
}

body.ari-live-home .ari-language-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-height: 30px;
  padding: 3px 5px 3px 4px;
  font: 750 10px/1 var(--sans);
  letter-spacing: .08em;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

body.ari-live-home .ari-language-switch__globe {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: var(--gold);
}

body.ari-live-home .ari-language-switch__globe svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
}

body.ari-live-home .ari-language-switch__divider { color: rgba(255, 255, 255, .28); }
body.ari-live-home .ari-language-switch a {
  min-width: 29px;
  padding: 6px 7px;
  color: rgba(255, 255, 255, .7);
  text-align: center;
  border-radius: 999px;
  transition: color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
body.ari-live-home .ari-language-switch a:hover,
body.ari-live-home .ari-language-switch a:focus-visible,
body.ari-live-home .ari-language-switch a[aria-current="page"] {
  color: var(--navy-deep);
  background: var(--gold);
  box-shadow: 0 3px 12px rgba(214, 173, 64, .24);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--navy);
  font: 700 12px var(--sans);
}

/* Complete WordPress navigation, including its nested pages. */
body.ari-live-home .site-header {
  position: sticky;
  top: 0;
  z-index: 10010;
  overflow: visible;
  padding-right: clamp(22px, 3vw, 52px);
  padding-left: clamp(22px, 3vw, 52px);
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 10px 30px rgba(13, 36, 70, .09);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

body.admin-bar.ari-live-home .site-header { top: 32px; }

body.ari-live-home .ari-header-spacer {
  width: 100%;
  height: 0;
  display: block;
  pointer-events: none;
}

body.ari-live-home .site-header.is-stuck {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  animation: ari-header-settle 180ms ease-out both;
}

body.admin-bar.ari-live-home .site-header.is-stuck { top: 32px; }

@keyframes ari-header-settle {
  from { transform: translateY(-8px); }
  to { transform: translateY(0); }
}

/* The clean transparent logo asset has no fine-print tagline. */
body.ari-live-home .brand {
  width: clamp(190px, 15vw, 228px);
  height: auto;
  display: block;
  overflow: visible;
  line-height: 0;
}

body.ari-live-home .brand img {
  width: 100%;
  max-height: none;
  height: auto;
  display: block;
}

body.ari-live-home .primary-nav {
  min-width: 0;
  overflow: visible;
  font-size: 13px;
}

body.ari-live-home .ari-primary-menu,
body.ari-live-home .ari-primary-menu ul,
body.ari-live-home .ari-primary-menu li {
  margin: 0;
  padding: 0;
  list-style: none !important;
  list-style-type: none !important;
}

body.ari-live-home .ari-primary-menu li::marker {
  content: "" !important;
  font-size: 0 !important;
}

body.ari-live-home .ari-primary-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 1.8vw, 32px);
}

body.ari-live-home .ari-primary-menu > li {
  position: relative;
  flex: 0 0 auto;
}

body.ari-live-home .ari-primary-menu li::before {
  content: none !important;
  display: none !important;
}

body.ari-live-home .ari-primary-menu > li > a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  color: var(--navy-deep);
  font-weight: 700;
  white-space: nowrap;
}

body.ari-live-home .ari-primary-menu > .menu-item-has-children > a { gap: 7px; }

body.ari-live-home .ari-primary-menu > .menu-item-has-children > a::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: -4px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  order: 2;
}

body.ari-live-home .ari-primary-menu .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: -18px;
  z-index: 80;
  min-width: 246px;
  padding: 10px;
  background: linear-gradient(145deg, #fff 0%, #f8f4ec 100%);
  border: 1px solid rgba(21, 53, 100, .14);
  border-inline-start: 3px solid var(--gold);
  border-radius: 3px 16px 16px 16px;
  box-shadow: 0 28px 65px rgba(10, 44, 73, .18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

body.ari-live-home .ari-primary-menu .sub-menu::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 10px;
}

body.ari-live-home .ari-primary-menu li:hover > .sub-menu,
body.ari-live-home .ari-primary-menu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

body.ari-live-home .ari-primary-menu .sub-menu li + li {
  border-top: 1px solid rgba(10, 44, 73, .07);
}

body.ari-live-home .ari-primary-menu .sub-menu a {
  display: block;
  padding: 11px 13px;
  color: var(--navy-deep);
  font-size: 12px;
  line-height: 1.35;
  white-space: nowrap;
}

body.ari-live-home .ari-primary-menu .sub-menu a:hover,
body.ari-live-home .ari-primary-menu .sub-menu a:focus-visible {
  color: var(--navy);
  background: rgba(214, 162, 62, .12);
  border-radius: 8px;
}

body.ari-live-home .ari-primary-menu .sub-menu a::after { bottom: 5px; }

body.ari-live-home .ari-primary-menu .sub-menu .sub-menu {
  top: -13px;
  left: calc(100% + 12px);
}

body.ari-live-home .submenu-toggle { display: none; }

body.ari-live-home .ari-primary-menu > .lang-item > a {
  font-family: "Alexandria", sans-serif;
  color: var(--green-dark);
}

/* Polylang may still inject its language item into an older database menu.
   The switch now lives in the utility bar, so prevent the duplicate. */
body.ari-live-home .ari-primary-menu > .lang-item { display: none; }

body.ari-live-home .ari-primary-menu > li > a[href*="/donate"] {
  min-height: auto;
  padding: 13px 20px;
  color: var(--navy-deep);
  background: var(--gold);
  font-weight: 800;
  transition: background var(--motion-micro) ease-out, transform var(--motion-micro) ease-out;
}

body.ari-live-home .ari-primary-menu > li > a[href*="/donate"]::after { display: none; }

body.ari-live-home .ari-primary-menu > li > a[href*="/donate"]:hover,
body.ari-live-home .ari-primary-menu > li > a[href*="/donate"]:focus-visible {
  background: #e4b653;
}

.programme-fields {
  width: var(--page);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, 360px) 410px;
  gap: 5px;
  margin: 0 auto clamp(100px, 10vw, 170px);
}

.programme-field {
  position: relative;
  min-width: 0;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-deep);
}

.programme-field::after {
  position: absolute;
  inset: 28% 0 0;
  content: "";
  background: linear-gradient(transparent, rgba(8, 29, 57, .96));
  pointer-events: none;
}

.programme-field img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--motion-ease), filter 500ms ease;
}

.programme-field:hover img { transform: scale(1.035); }

.programme-field-copy {
  position: absolute;
  z-index: 2;
  right: clamp(22px, 2.5vw, 38px);
  bottom: clamp(22px, 2.5vw, 36px);
  left: clamp(22px, 2.5vw, 38px);
}

.programme-field-copy > span {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .12em;
}

.programme-field h3 {
  margin-bottom: 12px;
  color: var(--white);
  font: 500 clamp(30px, 3vw, 50px)/1 var(--serif);
}

.programme-field p {
  max-width: 580px;
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
  line-height: 1.65;
}

.field-environment { grid-column: 1 / 8; grid-row: 1 / 3; }
.field-water { grid-column: 8 / 13; grid-row: 1; }
.field-energy { grid-column: 8 / 13; grid-row: 2; }
.field-health { grid-column: 1 / 5; grid-row: 3; }
.field-education { grid-column: 5 / 9; grid-row: 3; }
.field-training { grid-column: 9 / 13; grid-row: 3; }

.targets-section {
  padding: clamp(90px, 10vw, 160px) max(24px, calc((100vw - 1480px) / 2));
  color: var(--white);
  background: var(--navy-deep);
}

.targets-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .55fr);
  gap: clamp(48px, 8vw, 130px);
  align-items: end;
  margin-bottom: 64px;
}

.targets-heading .section-marker { grid-column: 1 / -1; margin-bottom: -20px; }

.targets-heading h2 {
  max-width: 930px;
  color: var(--white);
  font: 500 clamp(58px, 7vw, 108px)/.91 var(--serif);
  letter-spacing: -.04em;
}

.targets-heading h2 em { color: var(--gold); font-weight: 400; }

.targets-heading > p:last-child {
  max-width: 580px;
  color: rgba(255, 255, 255, .68);
  font-size: 17px;
  line-height: 1.8;
}

.targets-disclosure {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, .52);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.targets-ledger {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .22);
  border-left: 1px solid rgba(255, 255, 255, .22);
}

.targets-ledger div {
  min-height: 190px;
  padding: 30px;
  border-right: 1px solid rgba(255, 255, 255, .22);
  border-bottom: 1px solid rgba(255, 255, 255, .22);
}

.targets-ledger dt {
  color: var(--gold);
  font: 500 clamp(38px, 4vw, 66px)/1 var(--serif);
}

.targets-ledger dt[data-target-count] {
  min-width: 5ch;
  font-variant-numeric: tabular-nums lining-nums;
}

.targets-ledger dd {
  margin-top: 14px;
  color: rgba(255, 255, 255, .62);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1.5;
  text-transform: uppercase;
}

.funding-projects {
  padding: clamp(96px, 10vw, 160px) max(24px, calc((100vw - 1480px) / 2));
  background: var(--bone);
}

.funding-projects__heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .48fr);
  gap: clamp(44px, 8vw, 120px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 82px);
}

.funding-projects__heading .section-marker { margin-bottom: 18px; }

.funding-projects__heading h2 {
  max-width: 900px;
  color: var(--navy);
  font: 500 clamp(54px, 6.4vw, 98px)/.94 var(--serif);
  letter-spacing: -.04em;
}

.funding-projects__heading h2 em {
  color: var(--green);
  font-weight: 400;
}

.funding-projects__heading > p {
  max-width: 510px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.funding-projects__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 24px);
}

.funding-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--white);
  box-shadow:
    0 1px 0 rgba(13, 36, 70, .08),
    0 18px 45px rgba(13, 36, 70, .08);
  transition-property: transform, opacity, box-shadow;
  transition-duration: 700ms, 520ms, var(--motion-ui);
  transition-timing-function: var(--motion-ease), var(--motion-ease), var(--motion-ease-ui);
}

html.js .funding-card[data-funding-card] {
  opacity: 0;
  transform: translate3d(0, 38px, 0) scale(.96);
  will-change: opacity, transform;
}

html.js .funding-card[data-funding-card].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.funding-card:focus-within {
  box-shadow:
    0 0 0 2px var(--gold),
    0 22px 56px rgba(13, 36, 70, .13);
}

.funding-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy-deep);
  outline: 1px solid rgba(0, 0, 0, .1);
  outline-offset: -1px;
}

.funding-card__media::after {
  position: absolute;
  inset: 48% 0 0;
  content: "";
  background: linear-gradient(transparent, rgba(13, 36, 70, .76));
  pointer-events: none;
}

.funding-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--motion-ease);
}

.funding-card__media > span {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 17px;
  color: var(--gold);
  font: 700 12px/1 var(--sans);
  letter-spacing: .12em;
}

.funding-card__body {
  min-height: 560px;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(28px, 2.5vw, 42px);
}

.funding-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.funding-card__eyebrow {
  margin: 0;
  color: var(--green);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.funding-card__topline > span {
  flex: 0 0 auto;
  padding: 5px 8px;
  color: var(--navy-deep);
  background: rgba(214, 162, 62, .22);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .07em;
  line-height: 1.2;
  text-transform: uppercase;
}

.funding-card h3 {
  color: var(--navy);
  font: 500 clamp(31px, 2.5vw, 43px)/1.05 var(--serif);
  letter-spacing: -.025em;
}

.funding-card__body > p:not(.funding-card__eyebrow) {
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.funding-card__metrics {
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px solid rgba(200, 190, 164, .7);
}

.funding-card__amount {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.funding-card__amount > span,
.funding-card__progress-meta > span {
  color: var(--green);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.funding-card__amount strong {
  color: var(--navy);
  font: 600 clamp(28px, 2.4vw, 38px)/1 var(--serif);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.funding-card__amount small {
  color: var(--green);
  font: 800 11px/1 var(--sans);
}

.funding-card__amount b,
.funding-card__progress-meta b,
.funding-card__stats b {
  font: inherit;
  font-weight: inherit;
  font-variant-numeric: tabular-nums;
}

html.js .funding-card[data-funding-card] .funding-card__amount strong,
html.js .funding-card[data-funding-card] .funding-card__progress-meta strong,
html.js .funding-card[data-funding-card] .funding-card__stats dd {
  opacity: .22;
  transform: translate3d(0, 12px, 0);
  transition-property: opacity, transform;
  transition-duration: 420ms;
  transition-timing-function: var(--motion-ease);
}

html.js .funding-card[data-funding-card].is-counting .funding-card__amount strong,
html.js .funding-card[data-funding-card].is-counting .funding-card__progress-meta strong,
html.js .funding-card[data-funding-card].is-counting .funding-card__stats dd {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.funding-card__progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
}

.funding-card__progress-meta strong {
  color: var(--navy-deep);
  font: 800 14px/1 var(--sans);
  font-variant-numeric: tabular-nums;
}

.funding-card__progress {
  position: relative;
  height: 18px;
  margin-top: 9px;
  overflow: hidden;
  background: var(--bone);
  border: 1px solid rgba(67, 108, 64, .42);
}

.funding-card__progress > span {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--progress);
  overflow: hidden;
  background: var(--green);
  transform-origin: left;
  transition: transform 1300ms var(--motion-ease);
}

.funding-card__progress > span::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(105deg, transparent 25%, rgba(255, 255, 255, .58) 50%, transparent 75%);
  opacity: 0;
  transform: translate3d(-110%, 0, 0);
}

html.js .funding-card[data-funding-card] .funding-card__progress > span { transform: scaleX(0); }
html.js .funding-card[data-funding-card].is-counting .funding-card__progress > span { transform: scaleX(1); }

html.js .funding-card[data-funding-card].is-counting .funding-card__progress > span::after {
  animation: funding-progress-shine 760ms var(--motion-ease) 620ms both;
}

.funding-card__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 16px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.funding-card__stats > div {
  min-width: 0;
  padding: 14px 15px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.funding-card__stats dt {
  color: var(--muted);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.funding-card__stats dd {
  margin-top: 5px;
  color: var(--navy);
  font: 700 19px/1.2 var(--sans);
  font-variant-numeric: tabular-nums;
}

.funding-card__stats dd span { color: var(--green); font-size: 10px; }

.funding-card__footer { margin-top: 18px; }

.funding-card__button {
  width: 100%;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 17px;
  color: var(--navy-deep);
  background: var(--gold);
  font-size: 13px;
  font-weight: 800;
  transition-property: background, color, transform;
  transition-duration: var(--motion-micro);
  transition-timing-function: ease;
}

.funding-card__button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform var(--motion-micro) var(--motion-ease-ui);
}

html.js .funding-card[data-funding-card].is-complete .funding-card__button svg {
  animation: funding-heart-beat 480ms var(--motion-ease) both;
}

.funding-card__button:hover,
.funding-card__button:focus-visible { background: #e4b653; }

.funding-card__button:active { transform: scale(.96); }

@media (hover: hover) and (pointer: fine) {
  .funding-card:hover {
    transform: translateY(-6px);
    box-shadow:
      0 1px 0 rgba(13, 36, 70, .08),
      0 28px 64px rgba(13, 36, 70, .14);
  }

  .funding-card:hover .funding-card__media img { transform: scale(1.035); }
  .funding-card__button:hover svg { transform: scale(1.08); }
  html.js .funding-card[data-funding-card].is-visible:hover { transform: translateY(-6px); }
}

@keyframes funding-progress-shine {
  0% { opacity: 0; transform: translate3d(-110%, 0, 0); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(110%, 0, 0); }
}

@keyframes funding-heart-beat {
  0%, 100% { transform: scale(1); }
  42% { transform: scale(1.28); }
  68% { transform: scale(.94); }
}

.projects-section {
  padding: clamp(100px, 11vw, 180px) max(24px, calc((100vw - 1480px) / 2));
  background: var(--white);
}

.projects-heading {
  display: grid;
  grid-template-columns: .3fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 70px;
}

.projects-heading h2 {
  max-width: 1000px;
  color: var(--navy);
  font: 500 clamp(58px, 7vw, 108px)/.91 var(--serif);
  letter-spacing: -.04em;
}

.flagship-project {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  min-height: 760px;
  background: var(--navy-deep);
}

.flagship-project-image { min-height: 760px; }
.flagship-project-image img { width: 100%; height: 100%; object-fit: cover; }

.flagship-project-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 5vw, 84px);
  color: var(--white);
}

.flagship-project-copy h3 {
  color: var(--white);
  font: 500 clamp(48px, 5vw, 78px)/.96 var(--serif);
  letter-spacing: -.035em;
}

.flagship-project-copy > p:not(.section-marker) {
  margin-top: 24px;
  color: rgba(255, 255, 255, .72);
  font-size: 16px;
  line-height: 1.78;
}

.project-meta { font-size: 11px !important; }
.project-meta strong { color: var(--gold); }
.flagship-project-copy .button { margin-top: 30px; }

.programme-lines {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 1px;
  background: var(--line);
}

.programme-line { background: var(--bone); }
.programme-line img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.programme-line > div { padding: clamp(36px, 4vw, 60px); }
.programme-line h3 { color: var(--navy); font: 500 clamp(36px, 4vw, 58px)/1 var(--serif); }
.programme-line p:not(.section-marker) { margin-top: 18px; color: var(--muted); line-height: 1.75; }
.programme-line .text-link { margin-top: 26px; }

.partners-story {
  position: relative;
  min-height: 830px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-deep);
}

.partners-story > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.partners-story::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(13,36,70,.95), rgba(13,36,70,.72) 48%, rgba(13,36,70,.08)); }

.partners-story-copy {
  position: relative;
  z-index: 2;
  width: var(--page);
  margin: 0 auto;
  padding-bottom: clamp(70px, 9vw, 140px);
}

.partners-story h2 {
  max-width: 980px;
  color: var(--white);
  font: 500 clamp(58px, 7vw, 108px)/.91 var(--serif);
  letter-spacing: -.04em;
}

.partners-story h2 em { color: var(--gold); font-weight: 400; }
.partners-story-copy > p:last-child { max-width: 660px; margin-top: 28px; color: rgba(255,255,255,.75); font-size: 17px; line-height: 1.8; }

.partner-grid {
  width: var(--page);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 auto clamp(100px, 10vw, 170px);
  border-left: 1px solid var(--line);
}

.partner-grid article {
  min-height: 320px;
  padding: 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.partner-grid span { color: var(--gold); font-size: 12px; font-weight: 700; }
.partner-grid h3 { margin-top: 72px; color: var(--navy); font: 500 clamp(28px, 2.4vw, 40px)/1 var(--serif); }
.partner-grid p { margin-top: 18px; color: var(--muted); line-height: 1.7; }

.join > div:first-child > p:last-child {
  max-width: 780px;
  margin-top: 28px;
  color: rgba(13, 36, 70, .76);
  font-size: 17px;
  line-height: 1.75;
}

/* Compact, seamless partner-logo loop immediately before the footer. */
.partner-logo-strip {
  --partner-logo-gap: clamp(14px, 1.5vw, 24px);
  overflow: hidden;
  padding: clamp(38px, 4vw, 56px) 0 clamp(42px, 4.5vw, 64px);
  border-top: 1px solid rgba(13, 36, 70, .1);
  border-bottom: 1px solid rgba(13, 36, 70, .1);
  background: #fbfaf7;
}

.partner-logo-strip__heading {
  width: var(--page);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto 28px;
}

.partner-logo-strip__heading .section-marker { margin: 0; }

.partner-logo-strip__heading h2 {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 0;
  color: var(--navy-deep);
  font: 500 clamp(32px, 3.2vw, 48px)/1 var(--serif);
  letter-spacing: -.035em;
}

.partner-logo-strip__heading h2 span {
  color: rgba(13, 36, 70, .5);
  font: 700 11px/1 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
}

.partner-logo-marquee {
  width: 100%;
  overflow: hidden;
  direction: ltr;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.partner-logo-track {
  display: flex;
  width: max-content;
  transform: translate3d(0, 0, 0);
  animation: ari-partner-logo-loop 46s linear infinite;
  will-change: transform;
}

.partner-logo-group {
  display: flex;
  flex: 0 0 auto;
  gap: var(--partner-logo-gap);
  padding-right: var(--partner-logo-gap);
}

.partner-logo-placeholder {
  position: relative;
  width: clamp(164px, 15vw, 218px);
  height: clamp(76px, 7vw, 96px);
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #d9dcdb;
  border-radius: 10px;
  background: #eceeed;
}

.partner-logo-placeholder::before,
.partner-logo-placeholder::after,
.partner-logo-placeholder span {
  position: absolute;
  content: "";
  border-radius: 999px;
  background: #d5d8d7;
}

.partner-logo-placeholder::before {
  width: 34px;
  height: 34px;
  transform: translateX(-42px);
}

.partner-logo-placeholder::after {
  width: 58px;
  height: 8px;
  transform: translate(24px, -7px);
}

.partner-logo-placeholder span {
  width: 42px;
  height: 6px;
  transform: translate(16px, 9px);
}

@keyframes ari-partner-logo-loop {
  to { transform: translate3d(-50%, 0, 0); }
}

/* Four-column footer populated from the English WordPress footer areas. */
body.ari-live-home .site-footer {
  display: block;
  padding: clamp(64px, 7vw, 105px) max(24px, calc((100vw - 1480px) / 2)) 28px;
  color: var(--white);
  background: var(--navy-deep);
}

body.ari-live-home .ari-footer-grid {
  display: grid;
  grid-template-columns: minmax(290px, 1.45fr) repeat(3, minmax(155px, .72fr));
  gap: clamp(38px, 5vw, 86px);
  align-items: start;
}

body.ari-live-home .ari-footer-column,
body.ari-live-home .ari-footer-column .widget {
  min-width: 0;
  margin: 0;
}

body.ari-live-home .ari-footer-column .widget + .widget { margin-top: 30px; }

body.ari-live-home .ari-footer-column img {
  width: 230px;
  max-width: 100% !important;
  height: auto;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  clip-path: none;
  margin-bottom: 18px !important;
  filter: brightness(0) invert(1);
  opacity: .94;
}

body.ari-live-home .ari-footer-column h4,
body.ari-live-home .ari-footer-column h5,
body.ari-live-home .ari-footer-column .widgettitle {
  margin: 0 0 24px;
  color: var(--gold);
  font: 750 12px/1.2 var(--sans);
  letter-spacing: .13em;
  text-transform: uppercase;
}

body.ari-live-home .ari-footer-column p {
  max-width: 420px;
  margin: 0 0 17px;
  color: rgba(255, 255, 255, .65);
  font: 400 13px/1.75 var(--sans);
}

body.ari-live-home .ari-footer-column strong {
  color: var(--white);
  font-weight: 700;
}

body.ari-live-home .ari-footer-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.ari-live-home .ari-footer-column li {
  margin: 0;
  padding: 0;
  list-style: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, .10);
}

body.ari-live-home .ari-footer-column li::before {
  content: none !important;
  display: none !important;
}

body.ari-live-home .ari-footer-column a {
  color: rgba(255, 255, 255, .78);
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}

body.ari-live-home .ari-footer-column li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  font-size: 13px;
  line-height: 1.4;
}

body.ari-live-home .ari-footer-column li > a::after {
  content: "\2197";
  color: var(--gold);
  font-size: 11px;
  opacity: .7;
}

body.ari-live-home .ari-footer-column a:hover,
body.ari-live-home .ari-footer-column a:focus-visible { color: var(--gold); }

body.ari-live-home .ari-footer-column .ari-social {
  display: flex;
  gap: 9px;
  margin-top: 28px;
}

body.ari-live-home .ari-footer-column .ari-social a {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
}

body.ari-live-home .ari-footer-column .ari-social a:hover,
body.ari-live-home .ari-footer-column .ari-social a:focus-visible {
  color: var(--navy-deep);
  background: var(--gold);
  border-color: var(--gold);
}

body.ari-live-home .ari-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(48px, 6vw, 82px);
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .13);
}

body.ari-live-home .ari-footer-geography {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 1px;
  margin-top: clamp(38px, 5vw, 64px);
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .12);
}

body.ari-live-home .ari-footer-geography p {
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  margin: 0;
  padding: 20px 24px;
  background: var(--navy-deep);
}

body.ari-live-home .ari-footer-geography span {
  color: var(--gold);
  font: 750 10px/1.2 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
}

body.ari-live-home .ari-footer-geography strong {
  color: var(--white);
  font: 600 15px/1.4 var(--sans);
}

/* Rich editorial media remains responsive whether inserted with Gutenberg,
   the classic editor, WPBakery or WordPress' native media shortcodes. */
.ari-inner-page .ari-inner-main :is(.wp-block-image, .wp-block-video, .wp-block-audio, .wp-block-embed, .wp-video, .wp-audio-shortcode, .gallery) {
  max-width: 100%;
  margin-block: clamp(24px, 4vw, 48px);
}

.ari-inner-page .ari-inner-main :is(video, audio, iframe) { max-width: 100%; }
.ari-inner-page .ari-inner-main video { width: 100%; height: auto; }
.ari-inner-page .ari-inner-main .wp-block-embed__wrapper { position: relative; overflow: hidden; }
.ari-inner-page .ari-inner-main .wp-block-embed.is-type-video .wp-block-embed__wrapper { aspect-ratio: 16 / 9; }
.ari-inner-page .ari-inner-main .wp-block-embed.is-type-video iframe { width: 100%; height: 100%; }
.ari-inner-page .ari-inner-main .gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.ari-inner-page .ari-inner-main .gallery-item { width: auto !important; margin: 0 !important; }

.ari-field-articles { margin-top: 48px; }
.ari-field-articles__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ari-field-article { min-width: 0; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.ari-field-article__media { display: block; aspect-ratio: 3 / 2; margin-bottom: 18px; overflow: hidden; }
.ari-field-article__media img { width: 100%; height: 100%; object-fit: cover; }
.ari-field-article__date { color: var(--muted); font-size: 11px; text-transform: uppercase; }
.ari-field-article h3 { margin: 8px 0 10px; font-size: clamp(20px, 2vw, 28px); }
.ari-field-articles__empty { padding: 24px; color: var(--muted); background: var(--bone); border-inline-start: 3px solid var(--gold); }

body.ari-live-home .ari-footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, .42);
  font: 600 10px/1.5 var(--sans);
  letter-spacing: .08em;
  text-transform: uppercase;
}

@media (max-width: 1080px) {
  body.ari-live-home .site-header { grid-template-columns: auto 1fr; }

  .primary-nav.is-open {
    position: absolute;
    top: 94px;
    right: 0;
    left: 0;
    display: block;
    max-height: calc(100svh - 94px);
    padding: 18px 24px 28px;
    overflow-y: auto;
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 24px 45px rgba(10, 44, 73, .14);
  }

  body.ari-live-home .ari-primary-menu {
    display: grid;
    align-items: stretch;
    justify-content: stretch;
    gap: 0;
  }

  body.ari-live-home .ari-primary-menu > li {
    border-bottom: 1px solid rgba(10, 44, 73, .10);
  }

  body.ari-live-home .ari-primary-menu > .menu-item-has-children {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    align-items: start;
  }

  body.ari-live-home .ari-primary-menu > li > a {
    display: flex;
    min-height: 48px;
    justify-content: space-between;
  }

  body.ari-live-home .ari-primary-menu > .menu-item-has-children > a {
    grid-column: 1;
    grid-row: 1;
  }

  body.ari-live-home .ari-primary-menu > .menu-item-has-children > a::before { display: none; }

  body.ari-live-home .submenu-toggle {
    grid-column: 2;
    grid-row: 1;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: var(--navy-deep);
    background: transparent;
    border: 0;
    cursor: pointer;
  }

  body.ari-live-home .submenu-toggle span {
    width: 8px;
    height: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translate(-1px, -1px);
    transition: transform 160ms ease;
  }

  body.ari-live-home .submenu-toggle[aria-expanded="true"] span {
    transform: rotate(225deg) translate(-1px, -1px);
  }

  body.ari-live-home .ari-primary-menu .sub-menu,
  body.ari-live-home .ari-primary-menu .sub-menu .sub-menu {
    grid-column: 1 / -1;
    position: static;
    min-width: 0;
    padding: 0 0 10px 16px;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  body.ari-live-home .ari-primary-menu .sub-menu[hidden] { display: none !important; }

  body.ari-live-home .ari-primary-menu .sub-menu::before { display: none; }
  body.ari-live-home .ari-primary-menu .sub-menu li + li { border-top: 0; }
  body.ari-live-home .ari-primary-menu .sub-menu a { padding: 7px 0; white-space: normal; }

  body.ari-live-home .ari-primary-menu > li > a[href*="/donate"] {
    display: inline-flex;
    min-height: auto;
    margin: 12px 0;
    padding: 12px 18px;
    justify-content: center;
  }

  .menu-toggle { display: block; }
  .programme-fields { grid-template-rows: repeat(6, 520px); }
  .field-environment, .field-water, .field-energy, .field-health, .field-education, .field-training { grid-column: 1 / 13; grid-row: auto; }
  .targets-heading, .projects-heading, .funding-projects__heading { grid-template-columns: 1fr; }
  .targets-ledger { grid-template-columns: repeat(2, 1fr); }
  .funding-projects__grid { grid-template-columns: 1fr; }
  .funding-card { display: grid; grid-template-columns: minmax(300px, .8fr) 1fr; }
  .funding-card__media { height: 100%; aspect-ratio: auto; }
  .funding-card__body { min-height: 390px; }
  .flagship-project { grid-template-columns: 1fr; }
  .flagship-project-image { min-height: 620px; }
  .programme-lines { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  body.ari-live-home .ari-footer-grid { grid-template-columns: 1.35fr 1fr 1fr; }
  body.ari-live-home .ari-footer-column:first-child { grid-column: 1 / -1; }
  .ari-field-articles__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .primary-nav.is-open { top: 76px; }
  body.ari-live-home .ari-utility-bar__inner { width: calc(100% - 28px); min-height: 36px; }
  body.ari-live-home .ari-social--header { gap: 1px; }
  body.ari-live-home .ari-social--header a { width: 28px; height: 28px; }
  body.ari-live-home .brand { width: 142px; height: auto; }
  .programme-fields { width: calc(100% - 32px); grid-template-rows: repeat(6, 500px); }
  .programme-field p { font-size: 13px; }
  .targets-section, .funding-projects, .projects-section { padding-right: 18px; padding-left: 18px; }
  .targets-heading h2, .projects-heading h2, .partners-story h2 { font-size: clamp(50px, 15vw, 70px); }
  .targets-ledger { grid-template-columns: 1fr 1fr; }
  .targets-ledger div { min-height: 160px; padding: 20px; }
  .targets-ledger dt { font-size: 34px; }
  .funding-projects__heading h2 { font-size: clamp(46px, 13vw, 64px); }
  .funding-projects__grid { gap: 18px; }
  .funding-card { display: flex; }
  .funding-card__media { height: auto; aspect-ratio: 16 / 10; }
  .funding-card__body { min-height: 0; padding: 30px 22px; }
  .funding-card h3 { font-size: 35px; }
  .funding-card__amount strong { font-size: 30px; }
  .flagship-project-image { min-height: 490px; }
  .flagship-project-copy { padding: 54px 22px; }
  .flagship-project-copy h3 { font-size: 48px; }
  .programme-line > div { padding: 40px 22px 50px; }
  .partners-story { min-height: 780px; }
  .partners-story::after { background: linear-gradient(0deg, rgba(13,36,70,.96), rgba(13,36,70,.62) 65%, rgba(13,36,70,.08)); }
  .partners-story-copy { width: calc(100% - 36px); padding-bottom: 58px; }
  .partner-grid { width: calc(100% - 32px); grid-template-columns: 1fr; }
  .partner-grid article { min-height: 260px; }
  .partner-grid h3 { margin-top: 46px; }
  .partner-logo-strip { padding: 34px 0 40px; }
  .partner-logo-strip__heading {
    width: calc(100% - 40px);
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 22px;
  }
  .partner-logo-strip__heading h2 { font-size: 34px; }
  .partner-logo-placeholder { width: 150px; height: 72px; }
  .partner-logo-marquee {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  }
  body.ari-live-home .ari-footer-grid { grid-template-columns: 1fr; gap: 44px; }
  body.ari-live-home .ari-footer-column:first-child { grid-column: auto; }
  body.ari-live-home .ari-footer-geography { grid-template-columns: 1fr; }
  body.ari-live-home .ari-footer-bottom { align-items: flex-start; flex-direction: column; }
  .ari-field-articles__grid { grid-template-columns: 1fr; }
}

@media (max-width: 782px) {
  body.admin-bar.ari-live-home .site-header,
  body.admin-bar.ari-live-home .site-header.is-stuck { top: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  body.ari-live-home .site-header.is-stuck { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  html.js .funding-card[data-funding-card] {
    opacity: 1;
    transform: none;
  }

  html.js .funding-card[data-funding-card] .funding-card__amount strong,
  html.js .funding-card[data-funding-card] .funding-card__progress-meta strong,
  html.js .funding-card[data-funding-card] .funding-card__stats dd {
    opacity: 1;
    transform: none;
  }

  .funding-card,
  .funding-card:hover,
  .funding-card__media img,
  .funding-card:hover .funding-card__media img,
  .funding-card__button,
  .funding-card__button svg,
  html.js .funding-card[data-funding-card] .funding-card__progress > span { transform: none; }

  html.js .funding-card[data-funding-card].is-counting .funding-card__progress > span::after,
  html.js .funding-card[data-funding-card].is-complete .funding-card__button svg { animation: none; }

  .partner-logo-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
    scrollbar-width: thin;
  }

  .partner-logo-track {
    width: max-content;
    animation: none;
    will-change: auto;
  }

  .partner-logo-group:last-child { display: none; }
}

/* --------------------------------------------------------------------------
   Our Work — visual programme index
   -------------------------------------------------------------------------- */
body.ari-live-home .ari-work-overview {
  color: #fff;
  background: var(--navy-deep);
}

body.ari-live-home .ari-work-hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(320px, .88fr) minmax(0, 1.12fr);
  overflow: hidden;
}

body.ari-live-home .ari-work-hero__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 8vw, 132px) clamp(30px, 6vw, 96px);
  background:
    radial-gradient(circle at 18% 16%, rgba(214, 162, 62, .16), transparent 34%),
    linear-gradient(135deg, #0d2446 0%, #153564 100%);
}

body.ari-live-home .ari-work-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 26px;
  color: var(--gold);
  font: 800 12px/1.4 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
}

body.ari-live-home .ari-work-eyebrow::before {
  content: "";
  width: 38px;
  height: 2px;
  flex: 0 0 auto;
  background: currentColor;
}

body.ari-live-home .ari-work-hero h1 {
  max-width: 10ch;
  margin: 0;
  color: #fff !important;
  font: 500 clamp(58px, 7vw, 108px)/.91 var(--serif);
  letter-spacing: -.045em;
}

body.ari-live-home .ari-work-hero__intro {
  max-width: 48ch;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.75;
}

body.ari-live-home .ari-work-hero__media {
  position: relative;
  min-height: 620px;
  margin: 0;
  overflow: hidden;
  background: #172f4e;
}

body.ari-live-home .ari-work-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 36, 70, .58), transparent 34%, rgba(13, 36, 70, .08));
  pointer-events: none;
}

body.ari-live-home .ari-work-hero__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

body.ari-live-home .ari-work-fields {
  padding: clamp(78px, 9vw, 142px) clamp(22px, 4vw, 64px);
  color: var(--navy-deep);
  background: #f5f1e8;
}

body.ari-live-home .ari-work-fields__header {
  width: min(100%, 1380px);
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(320px, 1fr);
  align-items: end;
  gap: 40px;
  margin: 0 auto clamp(42px, 5vw, 72px);
}

body.ari-live-home .ari-work-fields__header h2 {
  margin: 0;
  color: var(--navy-deep);
  font: 500 clamp(44px, 5.2vw, 78px)/.98 var(--serif);
  letter-spacing: -.035em;
}

body.ari-live-home .ari-work-fields__header p {
  max-width: 58ch;
  margin: 0;
  color: #526277;
  font-size: 16px;
  line-height: 1.8;
}

body.ari-live-home .ari-work-grid {
  width: min(100%, 1380px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 30px);
  margin: 0 auto;
}

body.ari-live-home .ari-work-card {
  min-width: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--navy-deep);
  background: #fff;
  border: 1px solid rgba(13, 36, 70, .1);
  box-shadow: 0 22px 55px rgba(13, 36, 70, .08);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

body.ari-live-home .ari-work-card:hover,
body.ari-live-home .ari-work-card:focus-within {
  transform: translateY(-7px);
  box-shadow: 0 30px 70px rgba(13, 36, 70, .14);
}

body.ari-live-home .ari-work-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  display: block;
  overflow: hidden;
  background: #dbe2df;
}

body.ari-live-home .ari-work-card__media::after {
  content: "";
  position: absolute;
  inset: 48% 0 0;
  background: linear-gradient(transparent, rgba(13, 36, 70, .34));
  pointer-events: none;
}

body.ari-live-home .ari-work-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(.2, .7, .2, 1);
}

body.ari-live-home .ari-work-card:hover .ari-work-card__media img,
body.ari-live-home .ari-work-card:focus-within .ari-work-card__media img { transform: scale(1.045); }

body.ari-live-home .ari-work-card__body {
  min-height: 290px;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(25px, 2.3vw, 36px);
}

body.ari-live-home .ari-work-card__number {
  margin: 0 0 18px;
  color: var(--gold-dark, #a77721);
  font: 800 11px/1 var(--sans);
  letter-spacing: .16em;
}

body.ari-live-home .ari-work-card h3 {
  margin: 0;
  color: var(--navy-deep);
  font: 500 clamp(30px, 2.5vw, 42px)/1.02 var(--serif);
  letter-spacing: -.025em;
}

body.ari-live-home .ari-work-card__body > p {
  margin: 18px 0 26px;
  color: #5c697a;
  font-size: 14px;
  line-height: 1.75;
}

body.ari-live-home .ari-work-card__body > p:empty { display: none; }
body.ari-live-home .ari-work-card__body > p:last-child { margin: auto 0 0; }

body.ari-live-home .ari-work-card__link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-bottom: 7px;
  color: var(--navy-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--gold);
}

body.ari-live-home .ari-work-card__link::after { content: "\2197"; font-size: 14px; }

body.ari-live-home .ari-work-callout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  background: #153564;
}

body.ari-live-home .ari-work-callout__media {
  min-height: 520px;
  margin: 0;
  overflow: hidden;
}

body.ari-live-home .ari-work-callout__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

body.ari-live-home .ari-work-callout__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(54px, 7vw, 104px);
}

body.ari-live-home .ari-work-callout h2 {
  margin: 0;
  color: #fff;
  font: 500 clamp(42px, 4.5vw, 70px)/1 var(--serif);
  letter-spacing: -.035em;
}

body.ari-live-home .ari-work-callout__copy > p:not(.ari-work-eyebrow) {
  margin: 25px 0 32px;
  color: rgba(255, 255, 255, .78);
  font-size: 16px;
  line-height: 1.8;
}

body.ari-live-home .ari-work-callout__link {
  width: fit-content;
  display: inline-flex;
  padding: 15px 22px;
  color: var(--navy-deep);
  background: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.ari-live-home .ari-work-callout__copy > p:last-child { margin: 0; }

body.ari-live-home-ar .ari-work-eyebrow,
body.ari-live-home-ar .ari-work-card__number,
body.ari-live-home-ar .ari-work-card__link,
body.ari-live-home-ar .ari-work-callout__link { letter-spacing: 0; text-transform: none; }

body.ari-live-home-ar .ari-work-hero h1,
body.ari-live-home-ar .ari-work-fields__header h2,
body.ari-live-home-ar .ari-work-card h3,
body.ari-live-home-ar .ari-work-callout h2 { font-family: "Tajawal", sans-serif; letter-spacing: 0; }

body.ari-live-home-ar .ari-work-card__link::after { content: "\2196"; }

@media (max-width: 1080px) {
  body.ari-live-home .ari-work-hero { min-height: 0; grid-template-columns: 1fr; }
  body.ari-live-home .ari-work-hero__copy { min-height: 520px; }
  body.ari-live-home .ari-work-hero__media { min-height: 480px; }
  body.ari-live-home .ari-work-fields__header { grid-template-columns: 1fr; align-items: start; }
  body.ari-live-home .ari-work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.ari-live-home .ari-work-callout { grid-template-columns: 1fr; }
  body.ari-live-home .ari-work-callout__media { min-height: 480px; }
}

@media (max-width: 680px) {
  body.ari-live-home .ari-work-hero__copy { min-height: 470px; padding: 68px 22px; }
  body.ari-live-home .ari-work-hero h1 { font-size: clamp(52px, 17vw, 76px); }
  body.ari-live-home .ari-work-hero__media { min-height: 330px; }
  body.ari-live-home .ari-work-fields { padding: 72px 18px; }
  body.ari-live-home .ari-work-fields__header { gap: 22px; margin-bottom: 34px; }
  body.ari-live-home .ari-work-fields__header h2 { font-size: clamp(42px, 13vw, 58px); }
  body.ari-live-home .ari-work-grid { grid-template-columns: 1fr; }
  body.ari-live-home .ari-work-card__body { min-height: 260px; padding: 27px 23px; }
  body.ari-live-home .ari-work-callout__media { min-height: 340px; }
  body.ari-live-home .ari-work-callout__copy { padding: 60px 22px 68px; }
}

@media (prefers-reduced-motion: reduce) {
  body.ari-live-home .ari-work-card,
  body.ari-live-home .ari-work-card:hover,
  body.ari-live-home .ari-work-card__media img,
  body.ari-live-home .ari-work-card:hover .ari-work-card__media img { transform: none; transition: none; }
}
