@font-face {
  font-family: Robocomp;
  src: url("../assets/fonts/Raleway-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Robocomp;
  src: url("../assets/fonts/Raleway-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #252b36;
  --muted: #68717f;
  --blue: #3f5efb;
  --rose: #fc466b;
  --wine: #772036;
  --paper: #fff;
  --soft: #f7f8fc;
  --shadow: 0 12px 35px rgba(32, 43, 71, .1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 115px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Robocomp, Raleway, Arial, sans-serif;
  line-height: 1.6;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  box-shadow: 0 3px 14px rgba(19, 30, 61, .1);
}

.brandbar {
  min-height: 70px;
  padding: 9px clamp(18px, 4vw, 60px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #fff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-size: clamp(15px, 1.35vw, 21px);
  font-weight: 700;
}

.brand img {
  width: 43px;
  height: 43px;
  object-fit: contain;
}

.login-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.login-links a {
  padding: 9px 10px;
  color: #4b5260;
  font-size: 12px;
  font-weight: 700;
  transition: color .2s ease, background .2s ease;
}

.login-links a:hover {
  color: #fff;
  background: #cc3333;
}

.header-login-menu,
.header-registration-menu {
  position: relative;
}

.header-registration-trigger,
.header-login-trigger {
  min-width: 100px;
  padding: 9px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 5px;
  color: #fff;
  background: var(--blue);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.header-registration-trigger:hover,
.header-registration-trigger:focus-visible,
.header-login-trigger:hover,
.header-login-trigger:focus-visible {
  background: var(--rose);
}

.header-registration-options,
.header-login-options {
  position: absolute;
  z-index: 25;
  top: 100%;
  left: 0;
  min-width: 180px;
  padding-top: 10px;
  display: grid;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}

.header-registration-options a,
.header-login-options a {
  padding: 11px 14px;
  color: #34405a;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 5px 16px rgba(19, 30, 61, .12);
}

.header-registration-options a:first-child,
.header-login-options a:first-child {
  border-radius: 5px 5px 0 0;
}

.header-registration-options a:last-child,
.header-login-options a:last-child {
  border-radius: 0 0 5px 5px;
}

.header-registration-options a:hover,
.header-registration-options a:focus-visible,
.header-login-options a:hover,
.header-login-options a:focus-visible {
  color: #fff;
  background: var(--rose);
}

.header-registration-menu:hover .header-registration-options,
.header-registration-menu:focus-within .header-registration-options,
.header-registration-menu.is-open .header-registration-options,
.header-login-menu:hover .header-login-options,
.header-login-menu:focus-within .header-login-options,
.header-login-menu.is-open .header-login-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-nav {
  min-height: 49px;
  padding: 0 clamp(12px, 3.5vw, 52px);
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  gap: 2px;
  color: #fff;
  background: linear-gradient(90deg, var(--blue), var(--rose));
}

.main-nav > a,
.nav-dropdown > a {
  min-height: 49px;
  padding: 12px 11px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: background .2s ease;
}

.main-nav > a:hover,
.nav-dropdown:hover > a,
.nav-dropdown:focus-within > a {
  background: rgba(255, 255, 255, .16);
}

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 190px;
  padding: 6px;
  display: none;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  display: grid;
}

.dropdown-menu a {
  padding: 10px 12px;
  font-size: 13px;
}

.dropdown-menu a:hover {
  color: var(--blue);
  background: #f3f5ff;
}

.menu-toggle,
.mobile-login-links {
  display: none;
}

.hero {
  position: relative;
  min-height: clamp(390px, 46vw, 570px);
  overflow: hidden;
  color: #fff;
  background: #252e68;
}

.hero::before,
.hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero::before {
  inset: 0;
  background:
    linear-gradient(110deg, rgba(31, 41, 117, .95), rgba(87, 38, 122, .85) 58%, rgba(232, 47, 97, .7)),
    url("../assets/images/bg-4.png") center/cover;
}

.hero::after {
  width: 54vw;
  height: 54vw;
  right: -12vw;
  top: -24vw;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 50%;
  box-shadow: 0 0 0 65px rgba(255, 255, 255, .035), 0 0 0 130px rgba(255, 255, 255, .025);
}

.hero-slide {
  position: absolute;
  inset: 0;
  padding: 65px clamp(25px, 10vw, 145px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(20px);
  transition: opacity .65s ease, transform .65s ease, visibility .65s;
}

.hero-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  animation: animateleft .4s;
}

.w3-animate-top {
  position: relative;
  animation: animatetop .4s;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 670px;
}

.hero-content .eyebrow {
  color: #ffe77a;
}

.hero h1 {
  max-width: 650px;
  margin: 12px 0 15px;
  font-size: clamp(38px, 5.2vw, 66px);
  line-height: 1.08;
}

.hero-content > p:not(.eyebrow) {
  margin: 0 0 28px;
  font-size: clamp(17px, 2vw, 23px);
  color: rgba(255, 255, 255, .88);
}

.eyebrow {
  margin: 0 0 8px;
  color: #e52f48;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.button {
  min-height: 46px;
  padding: 12px 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 0;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .17);
}

.button-light {
  color: #313a71;
  background: #fff;
}

.hero-mark {
  position: relative;
  z-index: 1;
  width: min(28vw, 320px);
  min-width: 220px;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  box-shadow: inset 0 0 0 18px rgba(255, 255, 255, .04), 0 20px 70px rgba(28, 19, 81, .25);
}

.hero-mark img {
  width: 45%;
  max-height: 125px;
  object-fit: contain;
}

.hero-mark span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .15em;
  text-align: center;
}

.hero-mark-secondary img {
  width: 72%;
  max-height: 190px;
  filter: brightness(0) invert(1);
}

.hero-controls {
  position: absolute;
  z-index: 2;
  bottom: 25px;
  left: 50%;
  display: flex;
  gap: 9px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.hero-dot.is-active {
  width: 25px;
  border-radius: 8px;
  background: #fff;
}

.section-pad {
  padding: clamp(48px, 7vw, 88px) clamp(22px, 7vw, 100px);
}

.section-heading {
  margin: 0 auto 40px;
  max-width: 800px;
  text-align: center;
}

.section-heading h2,
.life h2,
.cta-strip h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.2;
}

.heading-rule {
  width: 90px;
  height: 4px;
  margin: 15px auto 0;
  display: block;
  background: #e52f48;
}

.heading-rule-light {
  margin-left: 0;
  background: #fff;
}

.intro {
  background: #fff url("../assets/images/bg-4.png") center/cover no-repeat;
}

.section-heading .lead {
  max-width: 790px;
  margin: 18px auto 0;
  color: var(--muted);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(220px, .9fr) minmax(240px, 1.6fr) minmax(220px, .9fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
}

.contact-cards {
  display: grid;
  gap: 15px;
}

.contact-card {
  min-height: 128px;
  padding: 18px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 6px;
  border-radius: 4px;
  color: #45370e;
  text-align: center;
  background: linear-gradient(140deg, #ffe28a, #febf04);
  box-shadow: 0 8px 20px rgba(188, 136, 0, .14);
}

.contact-card-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #d59800;
}

.contact-card-label {
  font-size: 12px;
  font-weight: 700;
}

.contact-card strong {
  font-size: 17px;
}

.partners {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 35px);
}

.partners img {
  width: min(45%, 220px);
  max-height: 145px;
  object-fit: contain;
}

.updates {
  padding: 20px;
  border-left: 1px solid #e3e6ef;
}

.updates h2 {
  margin: 0 0 13px;
  font-size: 20px;
}

.updates ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
}

.updates li span {
  padding-right: 5px;
  color: #e52f48;
}

.textured {
  background-position: center;
  background-repeat: no-repeat;
}

.textured-director {
  background-color: #f8f5f5;
  background-image: url("../assets/images/bg-6.png");
  background-size: cover;
}

.director-copy {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 32px clamp(25px, 5vw, 65px);
  border-radius: 8px;
  background: rgba(255, 255, 255, .85);
  box-shadow: var(--shadow);
}

.director-copy p {
  margin: 0 0 14px;
  color: #515a67;
  font-size: 17px;
}

.director-copy .signature {
  margin: 18px 0 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.quote-mark {
  position: absolute;
  top: -16px;
  left: 20px;
  color: #e52f48;
  font-family: Georgia, serif;
  font-size: 70px;
  line-height: 1;
}

.authorization {
  background: #fff;
}

.authorization-grid {
  max-width: 1080px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.authorization-logo {
  min-height: 130px;
  padding: 18px;
  display: grid;
  place-items: center;
  border: 1px solid #eff0f5;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(39, 48, 76, .045);
  transition: transform .2s ease, box-shadow .2s ease;
}

.authorization-logo:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.authorization-logo img {
  transition: transform .35s ease;
}

.authorization-logo:hover img {
  transform: scale(1.06);
}

.authorization-logo img {
  max-width: 100%;
  max-height: 88px;
  object-fit: contain;
}

.life {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 35px;
  align-items: center;
  color: #fff;
  background: #9b8520;
  background-image: linear-gradient(110deg, rgba(111, 91, 14, .92), rgba(196, 178, 29, .7)), url("../assets/images/bg-1.png");
  background-size: cover;
}

.life-copy {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.life-copy .eyebrow {
  color: #fff3a7;
}

.life-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, .94);
}

.life-logo {
  position: relative;
  z-index: 1;
  width: min(250px, 100%);
  aspect-ratio: 1;
  margin: auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
}

.life-logo img {
  width: 70%;
  object-fit: contain;
}

.life-shape {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 15%;
  opacity: .5;
}

.textured-team {
  background-color: #fff;
  background-image: url("../assets/images/bg-1.png");
  background-size: cover;
}

.team-grid {
  max-width: 1080px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.team-card {
  overflow: hidden;
  padding: 0 0 22px;
  border-radius: 14px;
  text-align: center;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform .25s ease, background .25s ease, color .25s ease;
}

.team-card:hover {
  color: #fff;
  background: #070a57;
  transform: translateY(-5px);
}

.team-avatar {
  height: 145px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .9);
  background: #f27474;
  font-size: 38px;
  font-weight: 700;
}

.team-card h3 {
  margin: 16px 10px 3px;
  font-size: 17px;
}

.team-card p {
  margin: 0 10px;
  color: var(--muted);
  font-size: 13px;
}

.team-card:hover p {
  color: #d7dafc;
}

.stats {
  padding: 30px clamp(18px, 5vw, 70px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  color: #fff;
  text-align: center;
  background: #e52f48;
}

.stat {
  padding: 10px;
  display: grid;
  justify-items: center;
  line-height: 1.3;
}

.stat-icon {
  margin-bottom: 5px;
  font-size: 30px;
}

.stat strong {
  font-size: 28px;
}

.stat > span:last-child {
  font-size: 14px;
}

.textured-about {
  background-color: #f8fafe;
  background-image: url("../assets/images/bg-2.png");
  background-size: cover;
}

.about-content {
  max-width: 1050px;
  margin: auto;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 35px;
  align-items: center;
}

.about-content img {
  width: 150px;
  object-fit: contain;
}

.about-content p,
.about-content .formatted-website-copy {
  margin: 0;
  color: #505a68;
  font-size: 17px;
}

.about-content .formatted-website-copy > :first-child {
  margin-top: 0;
}

.about-content .formatted-website-copy > :last-child {
  margin-bottom: 0;
}

.about-content .formatted-website-copy ul,
.about-content .formatted-website-copy ol {
  padding-left: 1.5em;
}

.projects {
  background: #fff;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.project-card {
  min-height: 158px;
  display: grid;
  grid-template-columns: 42% 1fr;
  align-items: center;
  gap: 16px;
  padding: 18px;
  background: #f7f7f8;
  transition: transform .2s ease, box-shadow .2s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.project-art {
  min-height: 112px;
  display: grid;
  place-items: center;
  border-radius: 3px;
  color: #fff;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .08em;
}

.project-art-one {
  background: linear-gradient(145deg, #4557b9, #46b8bb);
}

.project-art-two {
  background: linear-gradient(145deg, #f1a623, #e44a61);
}

.project-art-three {
  background: linear-gradient(145deg, #345b77, #81b2a1);
}

.project-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.status {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.status span {
  width: 8px;
  height: 8px;
  margin-right: 4px;
  display: inline-block;
  border-radius: 50%;
  background: #27a36a;
}

.cta-strip {
  padding: 34px clamp(22px, 7vw, 100px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  color: #fff;
  background: linear-gradient(100deg, #3f5efb, #fc466b);
}

.cta-strip .eyebrow {
  color: rgba(255, 255, 255, .75);
}

.cta-strip h2 {
  font-size: clamp(23px, 3vw, 32px);
}

.site-footer {
  padding: 48px clamp(22px, 7vw, 100px) 0;
  color: #fff;
  background: var(--wine);
}

.footer-grid {
  padding-bottom: 35px;
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(150px, 1fr));
  gap: 35px;
}

.footer-grid h2 {
  margin: 0 0 13px;
  font-size: 16px;
}

.footer-grid p {
  margin: 0 0 10px;
}

.footer-grid > div > a {
  width: fit-content;
  margin: 5px 0;
  display: block;
  color: rgba(255, 255, 255, .86);
  font-size: 14px;
}

.footer-grid a:hover {
  color: #ffe28a;
}

.social-link {
  display: inline-flex !important;
  align-items: center;
  gap: 9px;
}

.social-link img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.copyright {
  min-height: 58px;
  padding: 13px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .9);
  font-size: 12px;
}

@media (max-width: 1000px) {
  .login-links {
    display: none;
  }

  .main-nav {
    justify-content: center;
  }

  .intro-grid {
    grid-template-columns: 1fr 1.3fr;
  }

  .updates {
    grid-column: 1 / -1;
    border-top: 1px solid #e3e6ef;
    border-left: 0;
  }

  .updates ul {
    grid-template-columns: repeat(3, 1fr);
  }

  .project-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 66px;
  }

  .brandbar {
    min-height: 64px;
    padding: 8px 16px;
  }

  .brand {
    gap: 9px;
    font-size: 14px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .menu-toggle {
    width: 42px;
    height: 40px;
    padding: 9px;
    display: grid;
    align-content: center;
    gap: 5px;
    border: 1px solid #e7e9f0;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
  }

  .menu-toggle span {
    height: 2px;
    display: block;
    background: #343b4d;
  }

  .main-nav {
    max-height: calc(100vh - 64px);
    padding: 8px 14px 16px;
    display: none;
    overflow-y: auto;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav > a,
  .nav-dropdown > a {
    min-height: 42px;
    padding: 10px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
  }

  .nav-dropdown {
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    padding: 4px 8px;
    display: grid;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    box-shadow: none;
  }

  .dropdown-menu a {
    padding: 8px 12px;
  }

  .dropdown-menu a:hover {
    color: #fff;
    background: rgba(255, 255, 255, .12);
  }

  .mobile-login-links {
    padding-top: 9px;
    display: grid;
  }

  .mobile-login-links a {
    padding: 9px 8px;
    color: rgba(255, 255, 255, .88);
    font-size: 13px;
  }

  .hero {
    min-height: 500px;
  }

  .hero-slide {
    padding: 48px 25px 70px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
  }

  .hero h1 {
    font-size: clamp(36px, 10vw, 54px);
  }

  .hero-mark {
    width: 105px;
    min-width: 105px;
    margin-left: auto;
  }

  .hero-mark span {
    font-size: 8px;
  }

  .hero-mark-secondary img {
    max-height: 65px;
  }

  .intro-grid {
    grid-template-columns: 1fr;
  }

  .contact-cards {
    grid-template-columns: 1fr 1fr;
  }

  .partners {
    min-height: 120px;
  }

  .updates {
    grid-column: auto;
    padding: 20px 0 0;
  }

  .updates ul {
    grid-template-columns: 1fr;
  }

  .authorization-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .authorization-logo {
    min-height: 110px;
  }

  .life {
    grid-template-columns: 1fr;
  }

  .life-logo {
    width: 145px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .team-avatar {
    height: 115px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 12px;
  }

  .about-content {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .project-card {
    grid-template-columns: 38% 1fr;
    padding: 13px;
  }

  .cta-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .copyright {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }
}

@media (max-width: 440px) {
  .brand {
    max-width: 265px;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr 1fr;
  }

  .team-card h3 {
    font-size: 15px;
  }

  .team-card p {
    font-size: 11px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@keyframes animatetop {
  from {
    top: -300px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}

@keyframes animateleft {
  from {
    left: -300px;
    opacity: 0;
  }
  to {
    left: 0;
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
