:root {
  --idlo-blue: #006b98;
  --idlo-blue-dark: #003f61;
  --idlo-blue-pale: #edf5f9;
  --idlo-green: #8dc63f;
  --idlo-yellow: #ffca05;
  --idlo-orange: #f58220;
  --ink: #171d25;
  --navy: #13203f;
  --muted: #4e5963;
  --line: #d8dde0;
  --page: #ffffff;
  --hero: #f0f6f9;
  --content: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.48;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select {
  font: inherit;
}

a {
  color: inherit;
}

.page-shell {
  width: min(calc(100% - 160px), var(--content));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 500;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #000;
  background: #fff;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.colour-rule {
  display: grid;
  grid-template-columns: 25% 25% 25% 25%;
  height: 4px;
}

.colour-rule span:nth-child(1) { background: var(--idlo-blue); }
.colour-rule span:nth-child(2) { background: var(--idlo-green); }
.colour-rule span:nth-child(3) { background: var(--idlo-yellow); }
.colour-rule span:nth-child(4) { background: var(--idlo-orange); }

.site-header {
  position: relative;
  z-index: 100;
  background: #fff;
}

.site-header__inner {
  width: min(calc(100% - 160px), var(--content));
  min-height: 140px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.site-logo {
  flex: 0 0 auto;
  width: 250px;
}

.site-logo img {
  width: 100%;
  height: auto;
}

.site-header__navigation {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
}

.site-search {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: .78rem;
  font-style: italic;
}

.site-search svg,
.country-search-field svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.site-nav {
  height: 92px;
  display: flex;
  align-items: stretch;
  gap: 37px;
}

.site-nav__item {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0;
  color: #111;
  background: transparent;
  border: 0;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav__dropdown-toggle {
  cursor: pointer;
}

.site-nav__dropdown-toggle:focus-visible {
  outline: 0;
}

.site-nav__item::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: var(--idlo-blue);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav__item.is-active::after,
.site-nav__dropdown-toggle[aria-expanded="true"]::after,
.site-nav__dropdown-toggle:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  content: "";
}

.nav-toggle span {
  margin-block: 5px;
}

.mega-menu {
  position: absolute;
  z-index: 120;
  top: 100%;
  right: 0;
  left: 0;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 24px rgba(15, 45, 60, .08);
}

.mega-menu[hidden],
.menu-panel[hidden] {
  display: none;
}

.mega-menu__inner {
  width: min(100%, 1450px);
  height: 380px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
}

.mega-menu__tabs {
  display: grid;
  grid-template-rows: repeat(4, 95px);
  padding-left: 18px;
  border-right: 1px solid #d9dfe1;
}

.menu-tab {
  min-height: 95px;
  padding: 0 32px;
  color: #171717;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #d9dfe1;
  cursor: pointer;
  font-size: 1.55rem;
  text-align: left;
}

.menu-tab:last-child {
  border-bottom: 0;
}

.menu-tab[aria-selected="true"],
.menu-tab:focus-visible {
  color: var(--idlo-blue);
  background: #e6f1f6;
  font-weight: 700;
}

.mega-menu__panels,
.menu-panel {
  min-width: 0;
  height: 100%;
  overflow: hidden;
}

.menu-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 365px;
}

.menu-panel__copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
  padding: 38px 40px 34px;
}

.menu-panel h2 {
  max-width: 620px;
  margin: 0;
  color: #171717;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.05rem, 2.8vw, 2.65rem);
  font-weight: 400;
  line-height: 1.08;
}

.menu-panel p {
  max-width: 600px;
  margin: 36px 0 0;
  font-size: 1.18rem;
  line-height: 1.48;
}

.menu-panel__link {
  margin-top: 35px;
  color: var(--idlo-blue);
  font-size: 1.13rem;
  font-weight: 700;
}

.menu-panel__image {
  height: 100%;
  margin: 0;
  overflow: hidden;
}

.menu-panel__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-hero,
.country-hero {
  background: var(--hero);
}

.landing-hero__inner {
  min-height: 465px;
  display: grid;
  grid-template-columns: 530px minmax(0, 1fr);
  gap: 70px;
  align-items: start;
}

.landing-hero__copy {
  padding-top: 55px;
}

.landing-hero__copy h1 {
  max-width: 520px;
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 4vw, 3.55rem);
  font-weight: 400;
  line-height: 1.08;
}

.landing-hero__copy p {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 16px;
  align-items: start;
  margin: 48px 0 0;
  font-size: .98rem;
}

.landing-hero__copy p > span,
.country-hero__eyebrow > span {
  width: 38px;
  height: 2px;
  margin-top: .72em;
  background: var(--idlo-blue);
}

.landing-hero__image {
  height: 440px;
  margin-top: 55px;
  overflow: hidden;
  border-radius: 9px;
  box-shadow: 0 14px 26px rgba(24, 53, 70, .16);
}

.landing-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
}

.impact-summary__inner {
  min-height: 330px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px 180px;
  gap: 70px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.impact-summary__statement {
  max-width: 600px;
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.32;
}

.impact-stat strong {
  display: block;
  color: var(--idlo-blue);
  font-size: 5.2rem;
  font-weight: 400;
  line-height: .9;
}

.impact-stat span {
  display: block;
  margin-top: 20px;
  font-size: 1.25rem;
  line-height: 1.2;
}

.institutional-copy__inner {
  padding: 86px 0 104px;
}

.institutional-copy h2 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.7rem;
  font-weight: 400;
  line-height: 1.08;
  text-align: center;
}

.institutional-copy__body {
  width: min(100%, 800px);
  margin: 55px auto 0;
}

.institutional-copy__body p {
  margin: 0 0 22px;
}

.world-map {
  width: 100%;
  overflow: hidden;
  background: rgba(0, 93, 143, .04);
}

.world-map img {
  width: 100%;
  height: auto;
}

.map-legend {
  min-height: 78px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px 54px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
}

.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.map-legend i {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.map-legend__countries { background: #006a97; }
.map-legend__hq { background: #f58220; }
.map-legend__offices { background: #ffca05; }
.map-legend__branches { background: #8dc63f; }

.countries-section {
  padding: 120px 0 170px;
}

.countries-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 100px;
}

.country-filters h2 {
  margin: 0 0 48px;
  font-size: 3rem;
  font-weight: 400;
}

.country-filters label {
  display: block;
  margin: 24px 0 9px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.country-filters select,
.country-filters input {
  width: 100%;
  min-height: 45px;
  padding: 10px 12px;
  color: var(--ink);
  background: #f3f4f4;
  border: 0;
  border-radius: 0;
  opacity: 1;
}

.country-search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.country-search-field {
  position: relative;
  margin-top: 36px;
  border-bottom: 1px solid var(--idlo-blue);
}

.country-search-field input {
  padding-left: 0;
  padding-right: 34px;
  background: #fff;
}

.country-search-field svg {
  position: absolute;
  top: 14px;
  right: 8px;
}

.country-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 60px;
}

.country-list > span {
  position: relative;
  min-height: 65px;
  display: flex;
  align-items: center;
  padding: 9px 44px 9px 0;
  border-bottom: 1px solid var(--line);
}

.country-list > span::after {
  position: absolute;
  top: 50%;
  right: 2px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: var(--idlo-blue);
  background: var(--idlo-blue-pale);
  border-radius: 50%;
  content: "›";
  transform: translateY(-50%);
}

.country-hero__inner {
  min-height: 465px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 590px;
  gap: 60px;
}

.country-hero__copy {
  padding-top: 153px;
}

.country-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.country-hero h1 {
  margin: 12px 0 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5.7rem;
  font-weight: 400;
  line-height: 1;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 142px;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  text-decoration: none;
}

.back-link > span {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.45rem;
  font-style: normal;
}

.country-hero__image {
  height: 445px;
  margin-top: 55px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 15px 28px rgba(24, 53, 70, .16);
}

.country-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.country-copy {
  padding: 135px 0 90px;
}

.country-copy__inner {
  width: min(calc(100% - 48px), 800px);
  margin-inline: auto;
}

.country-copy p {
  margin: 0 0 33px;
  font-size: 1.03rem;
  line-height: 1.5;
}

.country-copy strong {
  color: var(--idlo-blue);
}

.programmes {
  padding: 0 0 130px;
}

.programmes > .page-shell {
  padding-top: 45px;
  border-top: 1px solid var(--line);
}

.programmes__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 35px;
}

.programmes h2 {
  margin: 0;
  font-size: 2.8rem;
  font-weight: 400;
}

.view-all {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
}

.view-all b {
  margin-left: 10px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-style: normal;
}

.programme-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.programme-card {
  min-width: 0;
  background: var(--idlo-blue-pale);
  border-radius: 8px;
  overflow: hidden;
}

.programme-card__image {
  position: relative;
  aspect-ratio: 1.38;
  overflow: hidden;
  background: #dfeaf0;
}

.programme-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.programme-card__image > span {
  position: absolute;
  bottom: 0;
  left: 8px;
  padding: 7px 11px 7px 25px;
  background: #fff;
  border-radius: 4px 4px 0 0;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.programme-card__image > span::before {
  position: absolute;
  top: 50%;
  left: 10px;
  width: 8px;
  height: 8px;
  background: var(--idlo-green);
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
}

.programme-card__body {
  min-height: 178px;
  padding: 23px 24px 28px;
}

.programme-card__topic {
  margin: 0 0 9px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.programme-card h3 {
  margin: 0 0 12px;
  font-size: 1.42rem;
  font-weight: 400;
  line-height: 1.12;
}

.programme-card__body > p:last-child {
  margin: 0;
}

.carousel-preview {
  position: relative;
  min-height: 100px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.carousel-arrow {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--idlo-blue-pale);
  border-radius: 50%;
  font-size: 1.35rem;
}

.carousel-arrow.is-muted {
  color: #cfd5d8;
  background: #fff;
  border: 1px solid #e0e4e6;
}

.carousel-preview i {
  position: relative;
  left: calc(50% - 84px);
  width: 9px;
  height: 9px;
  margin-bottom: 12px;
  background: #dcecf3;
  border-radius: 50%;
}

.carousel-preview i.is-active {
  background: var(--idlo-blue);
}

.site-footer {
  background: #fff;
}

.site-footer__inner {
  padding: 52px 0 28px;
}

.footer-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 45px;
}

.footer-logo {
  width: 245px;
}

.social-links {
  display: flex;
  gap: 20px;
  align-items: center;
  color: var(--idlo-blue);
  font-weight: 700;
}

.social-links span:first-child {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--idlo-blue);
  border-radius: 50%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr .95fr 1.55fr;
  gap: 54px;
}

.footer-grid section {
  min-width: 0;
}

.footer-column section + section {
  margin-top: 30px;
}

.footer-grid h2 {
  margin: 0 0 10px;
  font-size: .85rem;
}

.footer-grid section > span,
.footer-grid p {
  display: block;
  margin: 0 0 7px;
  font-size: .85rem;
}

.newsletter h2 {
  margin-bottom: 2px;
  color: var(--idlo-blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  font-weight: 400;
}

.newsletter-field {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 26px;
  padding: 10px 16px;
  background: #f3f4f4;
  border-bottom: 1px solid #737d83;
  color: #68737a;
}

.newsletter-field strong {
  color: var(--idlo-blue);
  font-size: 1.9rem;
  line-height: 1;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: #59636a;
  font-size: .7rem;
}

.portfolio-return {
  position: fixed;
  z-index: 450;
  bottom: max(12px, calc(env(safe-area-inset-bottom) + 8px));
  left: max(12px, calc(env(safe-area-inset-left) + 8px));
  display: inline-flex;
  max-width: calc(100vw - 24px);
  min-height: 38px;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  color: #fff;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 2px;
  box-shadow: 0 3px 12px rgba(10, 22, 45, .2);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .025em;
  line-height: 1;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.portfolio-return span[aria-hidden="true"] {
  font-size: 1rem;
  line-height: .75;
}

.portfolio-return:hover,
.portfolio-return:focus-visible {
  color: #fff;
  background: #20355d;
  border-color: rgba(255, 255, 255, .8);
  box-shadow: 0 4px 14px rgba(10, 22, 45, .28);
}

.portfolio-return:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.prototype-toast {
  position: fixed;
  z-index: 300;
  right: 18px;
  bottom: 18px;
  width: min(calc(100% - 36px), 330px);
  padding: 13px 38px 13px 15px;
  color: #27323a;
  background: rgba(255, 255, 255, .96);
  border: 1px solid #cfd8dc;
  box-shadow: 0 7px 18px rgba(24, 45, 55, .1);
  font-size: .78rem;
  line-height: 1.35;
}

.prototype-toast[hidden] {
  display: none;
}

.prototype-toast p {
  margin: 0;
}

.prototype-toast a {
  color: var(--idlo-blue-dark);
  font-weight: 700;
  text-underline-offset: 2px;
}

.prototype-toast button {
  position: absolute;
  top: 6px;
  right: 7px;
  width: 27px;
  height: 27px;
  padding: 0;
  color: #536068;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 1.1rem;
}

@media (hover: hover) and (pointer: fine) {
  .site-nav__dropdown-toggle:hover::after {
    transform: scaleX(1);
  }
}

@media (max-width: 1080px) {
  .page-shell,
  .site-header__inner {
    width: min(calc(100% - 64px), var(--content));
  }

  .site-header__inner {
    min-height: 90px;
  }

  .site-logo {
    width: 205px;
  }

  .nav-toggle {
    display: block;
  }

  .site-header__navigation {
    position: static;
  }

  .site-search {
    display: none;
  }

  .site-nav {
    position: fixed;
    z-index: 125;
    top: 94px;
    right: 0;
    left: 0;
    height: auto;
    display: none;
    padding: 18px 32px 28px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav__item {
    min-height: 49px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav__item::after {
    right: auto;
    width: 52px;
    height: 2px;
  }

  .mega-menu {
    position: fixed;
    top: 94px;
    max-height: calc(100vh - 94px);
    overflow-y: auto;
  }

  .mega-menu__inner {
    height: auto;
    min-height: 620px;
    grid-template-columns: 1fr;
  }

  .mega-menu__tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, 70px);
    padding: 0;
  }

  .menu-tab {
    min-height: 70px;
    padding: 15px 24px;
    border-right: 1px solid var(--line);
    font-size: 1.15rem;
  }

  .mega-menu__panels,
  .menu-panel {
    min-height: 480px;
  }

  .menu-panel {
    grid-template-columns: minmax(0, 1fr) 40%;
  }

  .landing-hero__inner {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 42px;
    padding-block: 60px;
  }

  .landing-hero__copy {
    padding-top: 0;
  }

  .landing-hero__copy h1 {
    max-width: 740px;
  }

  .landing-hero__image {
    width: 100%;
    height: auto;
    margin-top: 0;
    aspect-ratio: 1.35;
  }

  .impact-summary__inner {
    grid-template-columns: 1fr 160px 160px;
    gap: 35px;
  }

  .countries-layout {
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 55px;
  }

  .country-hero__inner {
    grid-template-columns: minmax(0, 1fr) 52%;
    gap: 40px;
  }

  .country-hero h1 {
    font-size: 4.6rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .page-shell,
  .site-header__inner {
    width: min(calc(100% - 32px), var(--content));
  }

  .site-logo {
    width: 175px;
  }

  .site-nav {
    padding-inline: 16px;
  }

  .mega-menu__tabs {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 58px);
  }

  .menu-panel {
    grid-template-columns: 1fr;
  }

  .menu-tab {
    min-height: 58px;
  }

  .mega-menu__panels,
  .menu-panel {
    min-height: 0;
  }

  .menu-panel__copy {
    padding: 30px 24px;
  }

  .menu-panel h2 {
    font-size: 2rem;
  }

  .menu-panel p {
    margin-top: 24px;
    font-size: 1rem;
  }

  .menu-panel__image {
    height: 240px;
    margin: 0;
  }

  .landing-hero__inner {
    padding-block: 48px;
  }

  .landing-hero__copy h1 {
    font-size: clamp(2.45rem, 11vw, 3.25rem);
  }

  .landing-hero__copy p {
    grid-template-columns: 28px 1fr;
    gap: 12px;
    margin-top: 36px;
  }

  .impact-summary__inner {
    min-height: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-block: 64px;
  }

  .impact-summary__statement {
    grid-column: 1 / -1;
    font-size: 1.2rem;
  }

  .impact-stat strong {
    font-size: 4rem;
  }

  .institutional-copy__inner {
    padding: 65px 0 75px;
  }

  .institutional-copy h2 {
    font-size: 2.15rem;
  }

  .institutional-copy__body {
    margin-top: 38px;
  }

  .map-legend {
    justify-content: flex-start;
    gap: 14px 22px;
  }

  .map-legend i {
    width: 14px;
    height: 14px;
  }

  .countries-section {
    padding: 70px 0 90px;
  }

  .countries-layout,
  .country-list {
    grid-template-columns: 1fr;
  }

  .countries-layout {
    gap: 54px;
  }

  .country-hero__inner {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .country-hero__copy {
    width: calc(100% - 32px);
    margin-inline: auto;
    padding: 65px 0 52px;
  }

  .country-hero h1 {
    font-size: clamp(4.2rem, 21vw, 5.7rem);
  }

  .back-link {
    margin-top: 60px;
  }

  .country-hero__image {
    height: auto;
    aspect-ratio: 1.38;
    margin-top: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .country-copy {
    padding: 75px 0 55px;
  }

  .programmes {
    padding-bottom: 80px;
  }

  .programmes__heading {
    align-items: flex-end;
  }

  .programmes h2 {
    font-size: 2.25rem;
  }

  .programme-grid {
    grid-template-columns: 1fr;
  }

  .programme-card__image {
    aspect-ratio: 1.55;
  }

  .carousel-preview {
    display: none;
  }

  .footer-heading,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-logo {
    width: 210px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-bottom span:last-child {
    max-width: 310px;
  }

  .prototype-toast {
    right: 10px;
    bottom: 10px;
    width: min(calc(100% - 20px), 310px);
  }
}

@media (max-width: 440px) {
  .prototype-toast:not([hidden]) + .portfolio-return {
    bottom: max(90px, calc(env(safe-area-inset-bottom) + 82px));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }

  .portfolio-return {
    transition: none;
  }
}
