@font-face {
  font-family: "Onest";
  src: url("assets/fonts/Onest-Variable.woff2") format("woff2-variations"), url("assets/fonts/Onest-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --navy: #2C364A;
  --navy-shade: #262F40;
  --green: #56BC39;
  --green-hover: #009909;
  --light-hover: #c5d2e2;
  --grey: #F1F2F3;
  --ink: #333333;
  --link: #305CA7;
  --white: #FFFFFF;
  --container: 1710px;
  --gutter: 105px;
  --col-gap: 210px;
  --text-outer: 95px;
  --text-inner: 57px;
  --section-pad: 100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--navy);
}

body {
  margin: 0;
  font-family: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 19px;
  line-height: 1.26;
  letter-spacing: 0.02em;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

p {
  margin: 0 0 22px;
}
p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--link);
}

.accent {
  color: var(--green);
}

.lead {
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 48px);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-pad) 0;
}
.section--white {
  background: var(--white);
}
.section--grey {
  --section-pad: 115px;
  background: var(--grey);
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--col-gap);
  align-items: center;
}

.col--text {
  padding: 0 var(--text-inner) 0 var(--text-outer);
}

.grid > .col--media + .col--text,
.col--text.is-right {
  padding: 0 var(--text-outer) 0 var(--text-inner);
}

.col--media {
  padding-left: var(--text-outer);
}

.grid > .col--text + .col--media {
  padding-right: var(--text-outer);
  padding-left: 0;
}

h1,
h2 {
  margin: 0 0 24px;
  color: var(--ink);
  font-weight: 700;
}

h1 {
  font-size: clamp(42px, 4.2vw, 80px);
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: 0.03em;
}

h2 {
  font-size: clamp(26px, 2.4vw, 32px);
  line-height: 1.375;
  letter-spacing: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  height: 53px;
  padding: 0 34px;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn--solid {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}
.btn--solid:hover, .btn--solid:focus {
  background: var(--green-hover);
  border-color: var(--green-hover);
}
.btn--outline {
  background: transparent;
  border-color: var(--green);
  color: var(--white);
}
.btn--outline:hover, .btn--outline:focus {
  background: var(--green-hover);
  border-color: var(--green-hover);
}
.btn--light {
  background: var(--white);
  border-color: var(--white);
  color: var(--green);
}
.btn--light:hover, .btn--light:focus {
  background: var(--light-hover);
  border-color: var(--light-hover);
}

.quote::after, .hero::after {
  content: "";
  position: absolute;
  background-color: var(--navy-shade);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  pointer-events: none;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 900px;
  display: flex;
  align-items: center;
  background: var(--navy);
  color: var(--white);
}
.hero::after {
  width: min(954px, 50vw);
  aspect-ratio: 954/976;
  top: 50%;
  right: clamp(24px, 6.4vw, 123px);
  transform: translateY(-50%);
  -webkit-mask-image: url("assets/g-mark.svg"), radial-gradient(at center left, rgba(0, 0, 0, 0.25), #000);
  mask-image: url("assets/g-mark.svg"), radial-gradient(at center left, rgba(0, 0, 0, 0.25), #000);
  -webkit-mask-size: contain, 100% 100%;
  mask-size: contain, 100% 100%;
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.hero__logo {
  position: absolute;
  top: 35px;
  right: 40px;
  z-index: 2;
  display: block;
  width: 258px;
}
.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 59px 24px 0 var(--text-outer);
}
.hero h1 {
  color: var(--white);
  max-width: 14ch;
}
.hero__lead {
  margin-bottom: 55px;
  font-weight: 500;
  line-height: 1.21;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0;
}

.video {
  position: relative;
  aspect-ratio: 16/9;
}
.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.photo {
  display: block;
  width: 100%;
  object-fit: cover;
}
.photo--wide {
  aspect-ratio: 750/412;
}
.photo--tall {
  aspect-ratio: 745/555;
}

.quote {
  position: relative;
  overflow: hidden;
  padding: 148px 0;
  background: var(--navy);
  color: var(--white);
  text-align: center;
}
.quote::after {
  width: min(1011px, 92vw);
  aspect-ratio: 1011/988;
  top: 52px;
  left: 50%;
  transform: translateX(-50%);
  -webkit-mask-image: url("assets/g-mark-cw.svg");
  mask-image: url("assets/g-mark-cw.svg");
}
.quote blockquote {
  position: relative;
  z-index: 1;
  max-width: 655px;
  margin: 0 auto;
  font-size: clamp(24px, 1.75vw, 32px);
  line-height: 1.44;
  letter-spacing: 0;
  font-weight: 700;
}

.funding {
  padding: 95px 0;
  background: var(--white);
  text-align: center;
}
.funding h2 {
  margin-bottom: 40px;
}
.funding__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  max-width: 1270px;
  margin: 0 auto;
  gap: 40px;
}
.funding__grant {
  display: flex;
  align-items: center;
  gap: 35px;
  text-align: left;
}
.funding__grant-text {
  width: 176px;
  font-size: 11px;
  line-height: 1.3;
}
.funding img {
  display: block;
}
.funding__eu {
  width: 155px;
}
.funding__efpia {
  width: 150px;
}
.funding__imi {
  width: 265px;
}

.footer {
  padding: 93px 0;
  background: var(--navy);
  color: var(--white);
}
.footer .grid {
  align-items: start;
}
.footer a {
  color: var(--white);
  text-decoration: none;
}
.footer a:hover, .footer a:focus {
  text-decoration: underline;
}
.footer p {
  margin-bottom: 13px;
}
.footer__logo {
  width: 173px;
}
.footer h2 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: 20px;
  line-height: 1.2;
}
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

@media (max-width: 1500px) {
  :root {
    --col-gap: 90px;
    --text-outer: 40px;
    --text-inner: 24px;
  }
  .hero {
    min-height: 760px;
  }
  .hero__inner {
    padding-left: calc(var(--text-outer) + 24px);
  }
}
@media (max-width: 900px) {
  :root {
    --section-pad: 64px;
    --col-gap: 48px;
    --text-outer: 0px;
    --text-inner: 0px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: 0;
    padding: 150px 0 80px;
  }
  .hero__logo {
    top: 28px;
    right: 24px;
    width: 190px;
  }
  .hero__inner {
    padding: 0 24px;
  }
  .hero__lead {
    margin-bottom: 40px;
  }
  .hero__lead br {
    display: none;
  }
  .hero::after {
    width: min(606px, 74vw);
    right: 24px;
  }
  .quote {
    padding: 80px 0;
  }
  .quote::after {
    width: min(634px, 92vw);
    top: 30px;
  }
  .funding {
    padding: 64px 0;
  }
  .funding__row {
    flex-direction: column;
    gap: 48px;
  }
  .footer {
    padding: 64px 0;
  }
  .footer .grid {
    gap: 48px;
  }
}
@media (max-width: 560px) {
  .btn {
    min-width: 0;
    flex: 1 1 auto;
  }
  .funding__grant {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}