/* ---------------------------------------------------------- */
/* Fonts                                                       */
/* ---------------------------------------------------------- */
@font-face {
  font-family: Aspekta;
  src: url("../assets/fonts/AspektaVF.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: block;
}

/* ---------------------------------------------------------- */
/* Design tokens                                               */
/* ---------------------------------------------------------- */
:root {
  --colors-interface--dark: #1e1e1e;
  --colors-interface--dark-2: #121212;
  --colors-interface--white: white;
  --colors-interface--white-border: #ffffff1a;
  --colors-interface--white-faded: #ffffff0f;
  --colors-interface--white-faded-hover: #ffffff1f;
  --colors-interface--body-text: #ffffffb3;

  --colors-brand--brand-1: #6c588d; /* purple */
  --colors-brand--brand-2: #a2b79f; /* sage green */
  --colors-brand--brand-3: #d8a373; /* tan */
  --colors-brand--brand-4: #e0835c; /* orange */

  --typefaces--body: Aspekta, Arial, sans-serif;
  --typefaces--badge: Aspekta, Arial, sans-serif;

  --typography--body-size: 16px;
  --typography--body-line-height: 1.4em;
  --typography--display-size: 64px;
  --typography--display-line-height: 1.1em;
  --typography--h2-size: 40px;
  --typography--h2-line-height: 1.2em;
  --typography--badge-line-height: 1.4em;
  --typography--badge-size: 13px;
  --typography--fine-print-size: 13px;
  --typography--fine-print-line-height: 1.4em;

  --containers--main-container-with-gutters: 1248px;
  --containers--content-m: 576px;
  --containers--content-xl: 960px;

  --globals--gutter: 24px;
  --globals--navbar-height: 52px;
  --globals--navbar-height-negative: -52px;
  --globals--wide-section-padding: 9px;

  --section-padding--default: 96px;
  --section-padding--large: 168px;

  --border-radius--small: 5px;
  --border-radius--default: 10px;

  --hero-sizes--default: 576px;

  --grid-gaps--loose: 48px;
}

/* ---------------------------------------------------------- */
/* Reset / base                                                */
/* ---------------------------------------------------------- */
* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  background-color: var(--colors-interface--dark);
  color: var(--colors-interface--white);
  font-family: var(--typefaces--body);
  font-size: var(--typography--body-size);
  line-height: var(--typography--body-line-height);
  font-feature-settings: "ss02" 1;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, p {
  margin: 0;
}

strong {
  font-variation-settings: "wght" 500;
  font-weight: 700;
}

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

img {
  max-width: 100%;
  display: inline-block;
  vertical-align: middle;
}

button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

.main-container {
  width: 974px;
  max-width: var(--containers--main-container-with-gutters);
  margin: 0 auto;
  padding-top: var(--globals--gutter);
  padding-right: var(--globals--gutter);
  padding-left: var(--globals--gutter);
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-container.contains-navbar {
  padding-top: 0;
}

.section {
  padding-top: var(--section-padding--default);
  padding-bottom: var(--section-padding--default);
  display: flex;
  flex-flow: column;
  justify-content: flex-start;
  align-items: center;
}

.section.wide-section {
  min-height: var(--section-padding--large);
  padding: 0 var(--globals--wide-section-padding);
}

/* ---------------------------------------------------------- */
/* Navbar                                                      */
/* ---------------------------------------------------------- */
.navbar-wrapper {
  top: 0;
  z-index: 999999;
  margin-bottom: var(--globals--navbar-height-negative);
  display: flex;
  flex-flow: column;
  justify-content: flex-start;
  align-items: center;
  position: sticky;
}

.navbar-content {
  display: flex;
  flex-flow: column;
  align-self: stretch;
  align-items: center;
}

.navbar-top-line {
  width: 100%;
  height: var(--globals--wide-section-padding);
  background-color: var(--colors-interface--dark);
}

.navbar {
  position: relative;
  height: var(--globals--navbar-height);
  background-color: var(--colors-interface--dark);
  border-bottom-left-radius: var(--border-radius--small);
  border-bottom-right-radius: var(--border-radius--small);
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: stretch;
  padding: 0 18px;
}

.navbar-notch-left,
.navbar-notch-right {
  width: 5px;
  height: 5px;
  position: absolute;
  top: 0;
}

.navbar-notch-left {
  left: -5px;
}

.navbar-notch-right {
  right: -5px;
  transform: scaleX(-1);
}

.navbar-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 41px;
  width: 500px;
  max-width: 100%;
}

.nav-logo-link {
  display: inline-flex;
}

.navbar-logo {
  height: 18px;
  width: auto;
}

.nav-contents {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 36px;
}

.nav-menu {
  position: static;
}

.nav-links-wrapper {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 36px;
}

.nav-links {
  display: flex;
  flex-flow: row;
  gap: 36px;
}

.nav-link {
  color: var(--colors-interface--white);
  padding: 0;
  transition: opacity 0.2s;
  font-weight: 500;
}

.nav-link:hover {
  opacity: 0.7;
}

.menu-button {
  display: none;
  padding: 12px 0 12px 12px;
}

.menu-button-icons {
  position: relative;
  width: 24px;
  height: 24px;
}

.menu-icon {
  width: 24px;
  height: 24px;
}

.icon-close {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
}

.menu-button.is-open .icon-open {
  display: none;
}

.menu-button.is-open .icon-close {
  display: block;
}

/* ---------------------------------------------------------- */
/* Hero / page title                                           */
/* ---------------------------------------------------------- */
.contact {
  position: relative;
  border-radius: var(--border-radius--default);
  background-color: var(--colors-brand--brand-1);
  display: flex;
  flex-flow: column;
  justify-content: flex-start;
  align-self: stretch;
  align-items: center;
  overflow: hidden;
}

.contact.page-title {
  min-height: var(--hero-sizes--default);
  padding-top: var(--globals--navbar-height);
  justify-content: center;
  align-items: center;
}

.grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.7;
  pointer-events: none;
  mix-blend-mode: overlay;
  background-image: url("../assets/images/dot-grid.png");
}

.noise-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  background-image: url("../assets/images/noise-pattern.png");
  background-size: 150px 150px;
}

.vertical-content {
  display: flex;
  flex-flow: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 24px;
}

.vertical-content.page-title-text {
  z-index: 4;
  max-width: var(--containers--content-xl);
  position: relative;
}

.vertical-content.page-title-text.centre-align {
  justify-content: center;
  align-items: center;
  text-align: center;
}

.badge-title {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
}

.square {
  width: 8px;
  height: 8px;
  background-color: var(--colors-interface--white);
}

.badge-text {
  font-family: var(--typefaces--badge);
  color: var(--colors-interface--white);
  font-size: var(--typography--badge-size);
  line-height: var(--typography--badge-line-height);
  font-variation-settings: "wght" 600;
  text-transform: uppercase;
}

.content---m {
  width: 100%;
  max-width: var(--containers--content-m);
}

.display-heading {
  color: var(--colors-interface--white);
  font-size: var(--typography--display-size);
  line-height: var(--typography--display-line-height);
  font-weight: 400;
}

.display-heading.centre-align {
  text-align: center;
}

.arrow-link {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 6px;
  transition: opacity 0.2s;
}

.arrow-link:hover {
  opacity: 0.7;
}

.arrow-link-icon {
  width: 16px;
  height: 16px;
}

.arrow-link-text {
  font-family: var(--typefaces--badge);
  font-size: var(--typography--badge-size);
  line-height: var(--typography--badge-line-height);
  font-variation-settings: "wght" 600;
  /* text-transform: uppercase; */
}

/* Decorative blurred "blob" shapes (CSS approximation of the
   original site's custom-font glyph blobs) */
.blob {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(96px);
}

.blob.page-title-blob-a {
  width: 70vw;
  height: 70vw;
  top: -30%;
  left: -30%;
  background: var(--colors-brand--brand-2);
}

.blob.page-title-blob-b {
  width: 60vw;
  height: 60vw;
  top: -10%;
  left: 20%;
  background: var(--colors-brand--brand-3);
}

.blob.page-title-blob-c {
  width: 65vw;
  height: 65vw;
  top: -20%;
  right: -30%;
  background: var(--colors-brand--brand-4);
}

/* ---------------------------------------------------------- */
/* Footer                                                       */
/* ---------------------------------------------------------- */
.footer {
  padding-top: var(--section-padding--default);
  padding-bottom: 72px;
  display: flex;
  flex-flow: column;
  align-items: center;
}

.footer-wrapper {
  display: flex;
  flex-flow: column;
  gap: 168px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.footer-info {
  display: flex;
  flex-flow: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 36px;
}

.footer-info-top {
  display: flex;
  flex-flow: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 24px;
}

.body-text {
  color: var(--colors-interface--body-text);
}

.body-text a {
  /* text-decoration: underline; */
  font-weight: 500;
  color: white;
}

.fine-print {
  font-size: var(--typography--fine-print-size);
  line-height: var(--typography--fine-print-line-height);
}

.fine-print.footer-fine-print {
  max-width: 480px;
  opacity: 0.7;
}

.footer-menus {
  display: flex;
  gap: 48px;
}

.footer-menu {
  display: flex;
  flex-flow: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 12px;
}

.bold {
  font-weight: 500;
}

.footer-link {
  opacity: 0.5;
  transition: opacity 0.2s;
}

.footer-link:hover {
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid var(--colors-interface--white-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  width: 100%;
}

.footer-copyright-text {
  opacity: 0.7;
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
}

.social-icon-link {
  opacity: 0.5;
  transition: opacity 0.2s;
}

.social-icon-link:hover {
  opacity: 1;
}

/* ---------------------------------------------------------- */
/* Responsive                                                  */
/* ---------------------------------------------------------- */
@media screen and (max-width: 991px) {
  .main-container {
    width: 100%;
  }

  .navbar-notch-left,
  .navbar-notch-right {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: var(--globals--navbar-height);
    left: 0;
    right: 0;
    height: calc(100vh - 52px);
    background-color: var(--colors-interface--dark);
    border-bottom-left-radius: var(--border-radius--small);
    border-bottom-right-radius: var(--border-radius--small);
    padding: 24px;
    z-index: 999999;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
  }

  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links-wrapper,
  .nav-links {
    flex-flow: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }

  .nav-link {
    width: 100%;
    border-bottom: 1px solid var(--colors-interface--white-border);
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: 25px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 72px;
    display: flex;
    flex-flow: column-reverse;
  }

  .navbar-wrapper {
    background-color: var(--colors-interface--dark);
    margin-bottom: 0;
  }

  .contact.page-title {
    padding-top: 0;
  }
}

@media screen and (max-width: 767px) {
  .display-heading {
    font-size: 51px;
  }

  .navbar-top-line {
    display: none;
  }

  .contact.page-title {
    min-height: 480px;
  }

  .contact {
    border-radius: 7px;
  }

  .footer-bottom {
    flex-flow: column;
    gap: 24px;
  }
}

@media screen and (max-width: 479px) {
  .display-heading {
    font-size: 32px;
  }

  .main-container.contains-navbar {
    padding-top: 20px;
    padding-bottom: 18px;
    padding-left: 0;
    padding-right: 0;
  }

  .navbar,
  .navbar-row {
    width: 100%;
  }
}
