@font-face {
  font-family: "Roboto";
  src: url("roboto-300.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("roboto-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("roboto-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --content-width: 1040px;
  --text: rgba(0, 0, 0, 0.7);
  --footer: rgb(230, 230, 230);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: #fff;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.wrap {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 320px;
  color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background: rgba(0, 0, 0, 0.1);
}

.hero-home {
  min-height: calc(100vh - 47px);
  background-image: url("maed1-large.webp");
}

.hero-fund { background-image: url("maed2-large.webp"); }
.hero-investors { background-image: url("maed3.jpg"); }
.hero-funding { background-image: url("maed4-large.webp"); }
.hero-contact { background-image: url("maed6-3-large.webp"); }

.topbar,
.hero-content {
  position: relative;
}

.topbar {
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  width: 100%;
  min-height: 67px;
  padding: 40px 40px 0;
}

.hero-content { z-index: 1; }

.nav-list {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-list a { opacity: 0.7; }
.nav-list a:hover,
.nav-list .active { opacity: 1; }
.nav-list .active { font-weight: 700; }

.hero-home .nav-list { color: #000; }
.hero:not(.hero-home) .nav-list { color: #fff; }

.hero-content {
  display: flex;
  align-items: flex-start;
  height: 253px;
  padding: 68px 40px 40px;
}

.hero-home .hero-content {
  align-items: center;
  height: calc(100vh - 114px);
  padding-top: 0;
  padding-bottom: 0;
}

.hero-title {
  margin: 0;
  color: #fff;
  font-size: 60px;
  font-weight: 700;
  line-height: 1.1;
}

.main-copy {
  max-width: 780px;
  margin: 0 auto;
  padding: 50px 40px 60px;
}

.home-intro {
  max-width: var(--content-width);
  padding-top: 70px;
  padding-bottom: 0;
}

.main-copy p,
.feature-copy p { margin: 18px 0; }
.main-copy p:first-child,
.feature-copy p:first-child { margin-top: 18px; }
.main-copy p:last-child,
.feature-copy p:last-child { margin-bottom: 0; }
.home-intro p:first-child { margin-top: 0; }

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1122px;
  margin: 0 auto;
  padding: 70px 0;
}

.feature { min-width: 0; }

.feature-image {
  width: 100%;
  aspect-ratio: 3 / 2;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.feature:nth-child(1) .feature-image { background-image: url("maed2-large.webp"); }
.feature:nth-child(2) .feature-image { background-image: url("maed3.jpg"); }
.feature:nth-child(3) .feature-image { background-image: url("maed4-large.webp"); }

.feature-copy { padding: 20px 30px 0; }

.home-banner {
  position: relative;
  height: 360px;
  background-image: linear-gradient(rgba(0,0,0,.1), rgba(0,0,0,.1)), url("maed1-large.webp");
  background-position: center;
  background-size: cover;
}

.footer {
  background: var(--footer);
  color: var(--text);
  font-size: 14px;
  line-height: 1.7;
}

.footer-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 40px 40px 72px;
  text-align: center;
}

.footer p { margin: 0 0 20px; }
.footer p:last-child { margin-bottom: 0; }

.contact-logo {
  display: block;
  width: 200px;
  height: 200px;
  margin-top: 24px;
  object-fit: cover;
}

.menu-toggle {
  display: none;
  width: 35px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 28px;
  height: 2px;
  margin: 6px auto;
  content: "";
  background: currentColor;
  transition: transform .2s, opacity .2s;
}

@media (max-width: 1024px) {
  .topbar {
    align-items: flex-start;
    min-height: 70px;
    padding: 27px 30px 0;
  }

  .menu-toggle { display: block; color: currentColor; }
  .hero-home .menu-toggle { color: #000; }
  .hero:not(.hero-home) .menu-toggle { color: #fff; }

  .nav-list {
    position: absolute;
    top: 70px;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 270px;
    padding: 18px 0;
    color: #000 !important;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
  }

  .nav-list.open { display: flex; }
  .nav-list a { display: block; padding: 9px 24px; opacity: 1; }

  .features { padding-right: 40px; padding-left: 40px; }
}

@media (max-width: 700px) {
  body { font-size: 17px; }

  .hero { min-height: 260px; }
  .hero-home { min-height: 520px; }

  .hero-content {
    height: 190px;
    padding: 45px 20px 30px;
  }

  .hero-home .hero-content {
    height: 450px;
    padding: 0 20px;
  }

  .hero-title { font-size: 42px; }

  .main-copy,
  .home-intro { padding: 40px 20px; }

  .features {
    display: block;
    padding: 0 20px 40px;
  }

  .feature { margin-bottom: 45px; }
  .feature:last-child { margin-bottom: 0; }
  .feature-copy { padding: 18px 0 0; }

  .home-banner { height: 260px; }
  .footer-inner { padding: 35px 20px; }
}

@media (max-width: 600px) {
  .hero-funding { background-image: url("maed4-mobile.webp"); }
}

@media (max-width: 420px) {
  .hero-title { font-size: 34px; }
  .hero-home .hero-title { font-size: 38px; }
}
