/* AltoCumulus public site.
   Breakpoints (desktop first): >=1920, <=991, <=767, <=479. */

/* DM Sans: variable font (weights 400-700), SIL Open Font License.
   The latin-ext files are only fetched if a character outside basic Latin is used. */
@font-face {
  font-family: "DM Sans";
  src: url("../assets/fonts/dm-sans-latin-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "DM Sans";
  src: url("../assets/fonts/dm-sans-latin-ext-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "DM Sans";
  src: url("../assets/fonts/dm-sans-latin-italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "DM Sans";
  src: url("../assets/fonts/dm-sans-latin-ext-italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --font-main selects the typeface for the whole site. css/font.css, loaded after
   this file, can override it (see README.md, "Font"). */
:root {
  --font-main: "DM Sans";
  --purple: #6c4fbb;
  --purple-strong: #623fad;
  --purple-light: #8c6ce5;
  --purple-dark: #210341;
  --green: #0a868f;
  --lavender: #e4e1ec;
  --link: #6a3af1;
  --white-40: #fff6;
  --header-bg: #270f41;
  --page-gutter: 140px;
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--lavender);
  color: var(--purple);
  font-family: var(--font-main), Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  border: 0;
  vertical-align: middle;
}

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

h1, h2, h3, p, blockquote, ol, ul {
  margin: 0;
}

h2 {
  margin-bottom: 10px;
  font-size: 50px;
  font-weight: 700;
  line-height: 55px;
}

section[id] {
  scroll-margin-top: 60px;
}

/* ---------- Header and navigation ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 23px 30px 30px;
  background-color: var(--header-bg);
  transition: transform .3s ease, background-color .3s ease;
}

/* Set by site.js: transparent over the hero, hidden while scrolling down */
.site-header.is-at-top {
  background-color: transparent;
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.nav-open .site-header {
  transform: none;
}

.site-header__logo {
  position: relative;
  z-index: 2;
  display: block;
}

.site-header__logo img {
  width: auto;
  height: 25px;
}

.site-nav {
  display: flex;
  align-items: center;
  padding-top: 5px;
}

.site-nav a {
  color: #fff;
  font-size: 20px;
  line-height: 24px;
  text-decoration: none;
  white-space: nowrap;
  transition: color .3s, opacity .3s;
}

.site-nav a:hover {
  opacity: .5;
}

.site-nav a.is-current {
  color: var(--purple-light);
}

.site-nav__divider {
  width: 30px;
  height: 2px;
  margin: 0 10px;
  background-color: #fff;
}

.menu-toggle {
  position: relative;
  z-index: 2;
  display: none;
  width: 30px;
  height: 28px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  left: 2px;
  right: 2px;
  height: 2px;
  background-color: #fff;
  transition: transform .2s, opacity .2s, top .2s;
}

.menu-toggle span:nth-child(1) { top: 5px; }
.menu-toggle span:nth-child(2) { top: 13px; }
.menu-toggle span:nth-child(3) { top: 21px; }

.menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 13px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { top: 13px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  height: 100vh;
  padding: 0 var(--page-gutter);
  overflow: hidden;
  color: #fff;
}

.hero__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__haze {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: linear-gradient(#00000080, #0003 15%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 750px;
  max-width: 100%;
  margin-top: 40px;
  animation: hero-fade-in 1s ease .2s both;
}

.hero h1 {
  font-size: 80px;
  font-weight: 700;
  line-height: 80px;
}

.hero__ingress {
  margin-top: 20px;
  margin-right: 100px;
  font-size: 24px;
  line-height: 32px;
}

.hero__arrow {
  display: block;
  height: 60px;
  margin-top: 40px;
}

@keyframes hero-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---------- Content sections ---------- */

.section {
  padding: 50px var(--page-gutter) 40px;
}

.section--first {
  padding-top: 140px;
}

.section--first,
.section--group {
  padding-bottom: 20px;
}

.section__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.section-label {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  padding-left: 2px;
  font-size: 20px;
  line-height: 20px;
}

.section-label::after {
  content: "";
  width: 120px;
  height: 2px;
  margin-left: 15px;
  background-color: currentColor;
}

.section__body p {
  font-size: 22px;
  line-height: 32px;
}

.section__body p + p {
  margin-top: 32px;
}

.section__image {
  width: 100%;
  height: auto;
}

/* Quote with round portrait */

.quote {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 25px;
  margin: 40px 0;
  padding: 20px 30px 20px 0;
}

.quote__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--purple);
}

.quote blockquote {
  margin-bottom: 10px;
  font-size: 36px;
  font-style: italic;
  font-weight: 700;
  line-height: 42px;
}

.quote figcaption {
  font-size: 16px;
  line-height: 22px;
}

/* Numbers panel */

.numbers {
  max-width: 1260px;
  margin-top: 40px;
  padding: 30px;
  background-color: var(--purple-strong);
  color: #fff;
}

.numbers--green {
  background-color: var(--green);
}

.numbers .section-label {
  margin-bottom: 30px;
  margin-left: 5px;
  padding-left: 0;
}

.numbers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px 24px;
}

.numbers__grid--three {
  grid-template-columns: repeat(3, 1fr);
}

.number__value {
  display: flex;
  align-items: flex-end;
  font-size: 75px;
  font-weight: 700;
  line-height: 75px;
}

.number__unit {
  margin-bottom: 8px;
  margin-left: 10px;
  font-size: 36px;
  line-height: 36px;
}

.number__label {
  margin: 10px 0;
  font-size: 18px;
  letter-spacing: 1px;
  line-height: 24px;
}

/* Numbered list in the sustainability section */

.strategy-list {
  margin: 30px 0;
  padding: 30px 30px 30px 60px;
  background-color: var(--white-40);
  font-size: 22px;
  line-height: 32px;
}

.strategy-list li + li {
  margin-top: 10px;
}

/* ---------- Team ---------- */

.team__header {
  display: flow-root;
  margin: 20px 0 40px;
}

.team__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 16px;
  padding: 0;
  list-style: none;
}

.team-card {
  overflow: hidden;
  background-color: #ffffffbf;
  transition: transform .2s, box-shadow .2s;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 3px 2rem #0003;
}

.team-card img {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: 50% 0;
  background-color: #fff;
}

.team-card__body {
  min-height: 120px;
  padding: 15px 25px 25px;
}

.team-card h3 {
  margin: 10px 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 20px;
}

.team-card p {
  margin-top: 4px;
  font-size: 16px;
  line-height: 20px;
}

/* ---------- Footer / contact ---------- */

.site-footer {
  margin-top: 100px;
  padding: 60px var(--page-gutter) 100px;
  background-color: var(--purple-dark);
  color: #fff;
  font-size: 18px;
  line-height: 26px;
}

.site-footer .section-label::after {
  width: 200px;
}

.site-footer h2 {
  margin: 0;
  font-size: 42px;
  line-height: 42px;
}

.site-footer a {
  color: var(--purple-light);
  text-decoration: none;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.contact__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.site-footer__bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 100px;
  padding-top: 20px;
  border-top: 2px solid #fff;
}

.site-footer__logo {
  width: auto;
  height: 25px;
}

.site-footer__group {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  justify-self: end;
  color: #fff;
  font-size: 14px;
  line-height: 14px;
}

.site-footer__group span {
  margin-right: 10px;
  color: #fff;
}

.site-footer__group img {
  width: auto;
  height: 25px;
}

/* ---------- 404 page ---------- */

.not-found {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  padding: 140px var(--page-gutter) 60px;
  background-color: var(--purple-dark);
  color: #fff;
}

.not-found h1 {
  font-size: 80px;
  line-height: 80px;
}

.not-found p {
  margin-top: 20px;
  font-size: 24px;
  line-height: 32px;
}

.not-found a {
  color: var(--purple-light);
}

/* ---------- Very wide screens ---------- */

@media screen and (min-width: 1920px) {
  :root {
    --page-gutter: 220px;
  }

  .hero {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .hero__ingress {
    letter-spacing: .5px;
    line-height: 34px;
  }

  .section--first,
  .section--group {
    padding-bottom: 40px;
  }

  .section__heading {
    padding-right: 100px;
  }

  .section__body {
    letter-spacing: 1px;
  }

  .team__header {
    margin-bottom: 0;
  }

  .team-card img {
    height: 380px;
  }

  .team-card__body {
    min-height: 0;
    padding-bottom: 60px;
  }

  .site-footer h2 {
    margin-bottom: 10px;
    font-size: 50px;
    line-height: 55px;
  }

  .contact {
    grid-template-columns: 1fr 2fr;
  }

  .contact__details {
    letter-spacing: .5px;
  }
}

/* ---------- Narrow desktop: tighten the menu so it clears the logo ---------- */

@media screen and (min-width: 992px) and (max-width: 1099px) {
  .site-nav__divider {
    width: 16px;
    margin: 0 8px;
  }
}

/* ---------- Tablet and below: menu collapses ---------- */

@media screen and (max-width: 991px) {
  :root {
    --page-gutter: 30px;
  }

  h2 {
    margin-bottom: 0;
    font-size: 40px;
    line-height: 45px;
  }

  .site-header {
    padding-bottom: 25px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    align-items: flex-start;
    height: 100vh;
    padding: 25vh 30px 0;
    background-color: var(--purple);
    visibility: hidden;
    transform: translateX(100%);
    transition: transform .2s ease, visibility .2s;
  }

  .nav-open .site-nav {
    visibility: visible;
    transform: none;
  }

  .site-nav a {
    margin-bottom: 20px;
    font-size: 40px;
    font-weight: 700;
    line-height: 40px;
  }

  .site-nav__divider {
    display: none;
  }

  .hero {
    height: 93vh;
    padding: 40px 0 0 30px;
  }

  .hero__content {
    width: auto;
    margin-top: 0;
    margin-right: 60px;
  }

  .hero h1 {
    font-size: 40px;
    line-height: 40px;
  }

  .hero__ingress {
    margin-top: 10px;
    margin-right: 0;
    font-size: 16px;
    line-height: 24px;
  }

  .hero__arrow {
    height: 40px;
    margin-top: 20px;
  }

  .section,
  .section--first {
    padding-top: 30px;
  }

  .section--sustainability {
    padding-top: 0;
  }

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

  .section-label {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 16px;
  }

  .section__body p {
    font-size: 16px;
    line-height: 24px;
  }

  .section__body p + p {
    margin-top: 24px;
  }

  .quote {
    margin: 20px 0;
    padding: 10px 0;
  }

  .quote blockquote {
    margin-left: 10px;
    font-size: 32px;
    line-height: 38px;
  }

  .quote figcaption {
    margin-left: 10px;
    line-height: 24px;
  }

  .numbers .section-label,
  .site-footer .section-label {
    line-height: 24px;
  }

  .numbers .section-label {
    margin-bottom: 20px;
  }

  .number__value {
    font-size: 65px;
  }

  .number__label {
    font-size: 16px;
    letter-spacing: 0;
    line-height: 20px;
  }

  .strategy-list {
    padding-left: 50px;
    font-size: 16px;
    line-height: 24px;
  }

  .team__header {
    margin-bottom: 0;
  }

  .team__list {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  .team-card img {
    height: 250px;
    object-position: 50%;
  }

  .team-card__body {
    min-height: 110px;
    padding: 15px 20px 20px;
  }

  .site-footer {
    margin-top: 60px;
    padding-top: 30px;
    padding-bottom: 60px;
    font-size: 16px;
    line-height: 24px;
  }

  .site-footer h2 {
    margin-bottom: 20px;
    font-size: 40px;
    line-height: 45px;
  }

  .contact {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .site-footer__bottom {
    margin-top: 60px;
  }

  .site-footer__group {
    font-size: 12px;
    line-height: 12px;
  }

  .not-found h1 {
    font-size: 40px;
    line-height: 40px;
  }

  .not-found p {
    font-size: 16px;
    line-height: 24px;
  }
}

/* ---------- Large phones ---------- */

@media screen and (max-width: 767px) {
  h2 {
    font-size: 36px;
    line-height: 40px;
  }

  .hero {
    height: 100vh;
  }

  .hero__content {
    margin-right: 0;
    padding-right: 60px;
  }

  .hero h1 {
    font-size: 30px;
    line-height: 30px;
  }

  .hero__arrow {
    margin-top: 30px;
  }

  .section--team {
    padding-top: 0;
  }

  .section--sustainability {
    padding-top: 60px;
  }

  .section__grid {
    margin-top: 0;
  }

  .quote {
    padding: 0;
  }

  .quote blockquote {
    margin-left: 0;
    font-size: 28px;
    line-height: 34px;
  }

  .quote figcaption {
    margin-left: 0;
  }

  .numbers .section-label {
    margin-left: 0;
  }

  .number__value {
    font-size: 50px;
    line-height: 60px;
  }

  .team__list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    column-gap: 18px;
  }

  .team-card img {
    height: 380px;
  }

  .team-card__body {
    min-height: 0;
    padding-bottom: 40px;
  }

  .site-footer h2 {
    font-size: 36px;
    line-height: 40px;
  }

  .contact__details {
    line-height: 20px;
  }

  .site-footer__bottom {
    grid-template-columns: 1fr .75fr;
  }
}

/* ---------- Small phones ---------- */

@media screen and (max-width: 479px) {
  :root {
    --page-gutter: 20px;
  }

  h2 {
    font-size: 28px;
    line-height: 34px;
  }

  .site-header {
    padding: 16px 20px 20px;
  }

  .site-nav {
    padding-top: 160px;
  }

  .site-nav a {
    font-size: 34px;
  }

  .hero {
    padding: 60px 0 20px 20px;
  }

  .hero__content {
    padding-right: 0;
  }

  .hero h1 {
    padding-right: 40px;
    font-size: 40px;
    line-height: 40px;
  }

  .hero__ingress {
    padding-right: 40px;
    font-size: 18px;
  }

  .section,
  .section--first,
  .section--sustainability,
  .section--team {
    padding: 20px 20px 10px;
  }

  .section__grid {
    gap: 10px;
  }

  .section-label::after {
    width: 100px;
  }

  .quote {
    grid-template-columns: 1fr;
    margin: 20px 0 30px;
    padding-top: 20px;
  }

  .quote blockquote {
    font-size: 24px;
    line-height: 32px;
  }

  .quote figcaption {
    font-size: 14px;
    line-height: 20px;
  }

  .numbers {
    padding: 20px;
  }

  .numbers .section-label::after {
    display: none;
  }

  .numbers__grid,
  .numbers__grid--three {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .number__value {
    font-size: 40px;
    line-height: 40px;
  }

  .number__unit {
    font-size: 24px;
    line-height: 24px;
  }

  .number__label {
    margin-top: 5px;
    font-size: 13px;
  }

  .strategy-list {
    padding: 20px 20px 20px 35px;
  }

  .team__header {
    margin-bottom: 20px;
  }

  .team__list {
    grid-template-columns: minmax(200px, 1fr);
    gap: 20px;
  }

  .team-card:hover {
    transform: none;
    box-shadow: none;
  }

  .team-card img {
    height: 250px;
    object-position: 50% 0;
  }

  .team-card__body {
    padding: 15px;
  }

  .team-card h3 {
    margin: 0 0 5px;
    font-size: 16px;
  }

  .team-card p {
    margin: 0 0 10px;
    font-size: 14px;
  }

  .site-footer {
    padding: 10px 20px 20px;
    font-size: 14px;
    line-height: 20px;
  }

  .site-footer .section-label::after {
    width: 100px;
  }

  .site-footer h2 {
    font-size: 26px;
    line-height: 30px;
  }

  .contact {
    gap: 10px;
  }

  .contact__details {
    grid-template-columns: 1fr;
    font-size: 16px;
  }

  .site-footer__bottom {
    grid-template-columns: 2.75fr 1fr;
    margin-top: 40px;
  }

  .site-footer__group span {
    display: none;
  }

  .site-footer__group img {
    height: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero__content {
    animation: none;
  }

  .site-header,
  .site-nav,
  .team-card {
    transition: none;
  }
}
