@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:ital,wght@0,400;0,700;1,400;1,700&display=swap");
@media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: smooth;
    scroll-padding-top: 3rem;
  }
}

html, body, div, p, span, img {
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

html {
  hanging-punctuation: first last;
  color-scheme: dark light;
}

p {
  max-width: 75ch;
  margin-bottom: 2rem;
  text-wrap: pretty;
}

body {
  margin: 0 auto;
  font-family: "Atkinson Hyperlegible", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: hsl(240, 3%, 10%);
  color: hsl(0, 0%, 100%);
  overflow-x: hidden;
}

a:not([href]), a[href=""], a[href$="#"], a[href^=javascript] {
  color: pink !important;
}

body :not(:is(header, nav, main, aside, footer)):not(:is(header, nav, main, aside, footer) *):not(.skip-link) {
  background: pink !important;
}

body {
  display: flex;
  width: calc(100% - 32px);
  margin: 12vh 16px;
  justify-content: space-between;
  flex-wrap: wrap;
  flex-direction: column;
}
@media (min-width: 450px) {
  body {
    width: 80vw;
    margin: 12vh auto;
  }
}
@media (min-width: 1018px) {
  body {
    flex-direction: row;
    margin-bottom: 9vh;
  }
}

.main {
  display: flex;
  flex-direction: column;
  text-align: left;
  flex-grow: 2;
  flex-basis: 0;
}

@media (min-width: 1407px) {
  .main:not(.main--internal) {
    flex-direction: column;
  }
}

.flex-grid {
  display: flex;
  gap: calc(100px - 1.7vw);
  flex-direction: row;
  flex-wrap: wrap;
}
@media (min-width: 1407px) {
  .flex-grid {
    gap: 0;
  }
}
@media (min-width: 1459px) {
  .flex-grid {
    gap: 1.2vw;
  }
}

.steal-this-site {
  position: fixed;
  width: calc(100vh - 80px);
  bottom: 40px;
  right: 40px;
  gap: 3rem;
  font-family: "Gilroy", serif;
  font-weight: normal;
  font-size: 18px;
  rotate: 90deg;
  transform-origin: bottom right;
  display: none;
  flex-direction: row;
  justify-content: space-between;
}
@media (min-height: 600px) {
  .steal-this-site {
    display: flex;
  }
}
@media only screen and (-webkit-min-device-pixel-ratio: 3) {
  .steal-this-site {
    display: none;
  }
}

.steal-this-site .chevrons {
  background: url(../assets/img/chevron-up-btm.svg);
  background-repeat: repeat-x;
  background-size: contain;
  flex-grow: 2;
  height: 1.5rem;
}

.steal-this-site .scroll-stroke {
  width: 100%;
}

.steal-this-site .scroll-stroke line {
  stroke-dasharray: 150%;
  stroke-dashoffset: -150%;
}

.skip-link {
  position: absolute;
  top: 0;
  left: calc(50% - 69px);
  height: 16px;
  z-index: -1;
  display: block;
  line-height: 5;
  transition: line-height 0.7s cubic-bezier(0.03, 0.74, 0.3, 0.99);
  text-decoration: none;
  padding: 1rem;
  color: hsl(0, 0%, 100%);
  overflow: hidden;
}
.skip-link:focus {
  z-index: 1;
  line-height: 1;
  outline: 1px solid hsl(0, 0%, 100%);
}
@media (prefers-reduced-motion) {
  .skip-link {
    transition: none;
  }
}

.top-link {
  position: absolute;
  margin: 0.25rem 0.25rem 0.25rem 2.25rem;
  margin-top: calc(2rem + 2.5vw);
  padding: 0 0.5rem;
  color: hsl(215, 87%, 84%);
}
.top-link:focus {
  outline: 1px solid hsl(0, 0%, 100%);
}
.top-link:hover, .top-link:focus {
  text-decoration: none;
}

.heading:hover > .top-link,
.subheading:hover > .top-link,
.top-link:focus {
  margin-top: 0;
}

.huge {
  line-height: 1;
  font-size: calc(7rem + 5vw);
  font-family: "Gilroy", serif;
  font-weight: bold;
  margin-bottom: 6vw;
  margin-left: -4px;
  overflow: hidden;
  height: calc(7rem + 4vw);
  animation: mask 0.7s cubic-bezier(0.03, 0.74, 0.3, 0.99) forwards;
}
.huge .huge__let {
  font-size: calc(1rem + 5vw);
}
@media (prefers-reduced-motion) {
  .huge {
    animation: none;
    line-height: 1;
  }
}

.huge__work {
  color: hsl(48, 87%, 73%);
}

.huge__hire {
  color: #A1D3A1;
}

.huge__articles {
  color: #7FA6A5;
}

.heading {
  position: relative;
  font-size: calc(1rem + 1.4vw);
  font-family: "Gilroy", serif;
  font-weight: bold;
  margin: 0;
  padding: 0.15rem 0;
}

h1.heading {
  height: calc(2.5rem + 2.5vw);
  overflow: hidden;
  line-height: 8;
  animation: mask 0.7s cubic-bezier(0.03, 0.74, 0.3, 0.99) forwards;
  animation-delay: 0.2s;
}
@media (prefers-reduced-motion) {
  h1.heading {
    animation: none;
    line-height: 1;
  }
}

.section__inside {
  margin-bottom: calc(1rem + 4vw);
}
.section__inside img {
  margin-bottom: calc(1rem + 3vw);
}

.section__contents {
  display: contents;
}

h2.heading {
  overflow: hidden;
  height: auto;
  line-height: 1.4;
  margin-bottom: calc(1rem + 4vw);
  animation: fade-in 0.7s cubic-bezier(0.03, 0.74, 0.3, 0.99) forwards;
}
@media (prefers-reduced-motion) {
  h2.heading {
    animation: none;
    top: 0;
    opacity: 1;
  }
}

@keyframes mask {
  0% {
    line-height: 8;
  }
  100% {
    line-height: 1;
  }
}
.intro,
.subheading {
  position: relative;
  overflow: hidden;
  font-family: "Gilroy", serif;
  padding: 0.15rem 0;
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 1.9;
  margin-top: calc(1rem + 2vw);
  margin-bottom: calc(1rem + 2vw);
  animation: fade-in 0.7s cubic-bezier(0.03, 0.74, 0.3, 0.99) forwards;
}
@media (min-width: 1018px) {
  .intro,
  .subheading {
    margin-left: calc(1rem + 3vw);
    width: calc(4rem + 30vw);
  }
}
@media (min-width: 1290px) {
  .intro,
  .subheading {
    font-size: calc(0.8rem + 0.7vw);
  }
}
@media (prefers-reduced-motion) {
  .intro,
  .subheading {
    animation: none;
    top: 0;
    opacity: 1;
  }
}

.intro-home {
  margin-top: 0;
}
@media (min-width: 1018px) {
  .intro-home {
    margin-top: 40vw;
  }
}

.heading + h3.subheading,
img + h3.subheading {
  margin-top: 0;
}

.section__inside > *:last-child {
  margin-bottom: 0;
}

.heading:has(+ h3.subheading) {
  margin-bottom: calc(1rem + 2vw);
}

.main--internal {
  margin-top: 13vw;
}
@media (min-width: 1018px) {
  .main--internal {
    margin-top: auto;
  }
}

li {
  counter-increment: li;
  padding-left: calc(1rem + 1vw);
}

.main--internal ol,
.main--internal ul {
  margin: 0 0 calc(1rem + 2vw);
}

.main--internal ol li::marker {
  content: "#" counter(li) " ";
  font-weight: bold;
}

.main--internal p,
.main--internal li {
  position: relative;
  max-width: 600px;
  font-size: 1rem;
  margin: 0 0 calc(1rem + 2vw);
  line-height: 2;
  animation: fade-in 0.7s cubic-bezier(0.03, 0.74, 0.3, 0.99) forwards;
}
.main--internal p:last-of-type:not(:has(+ ol)):not(:has(+ ul)):not(:has(+ img)),
.main--internal li:last-of-type:not(:has(+ ol)):not(:has(+ ul)):not(:has(+ img)) {
  margin-bottom: 0;
}
.main--internal p a,
.main--internal li a {
  color: hsl(216, 86%, 90%);
}
.main--internal p a:hover, .main--internal p a:focus,
.main--internal li a:hover,
.main--internal li a:focus {
  text-decoration: none;
}
.main--internal p a:focus,
.main--internal li a:focus {
  outline: 1px solid hsl(0, 0%, 100%);
}
@media (min-width: 1018px) {
  .main--internal p,
  .main--internal li {
    margin-left: calc(1rem + 3vw);
  }
}
@media (min-width: 1290px) {
  .main--internal p,
  .main--internal li {
    font-size: calc(1rem + 0.1vw);
    max-width: 37vw;
  }
}
@media (prefers-reduced-motion) {
  .main--internal p,
  .main--internal li {
    animation: none;
    top: 0;
    opacity: 1;
  }
}

.main--internal ul li {
  margin: 0;
}
@media (min-width: 1018px) {
  .main--internal ul li {
    margin-left: calc(1rem + 3vw);
  }
}

@keyframes fade-in {
  from {
    top: 2vh;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}
.divider {
  margin: calc(1rem + 2vw) calc(1rem + 5vw) calc(1rem + 2vw) 0;
}
@media (min-width: 1407px) {
  .divider {
    margin: calc(1rem + 2vw) 0 calc(1rem + 3vw);
  }
}

.main--home:before {
  content: "";
  display: none;
  margin: 4rem 0;
  width: 0.18vw;
  background: hsl(0, 0%, 100%);
  height: 1px;
  animation: line-horizontal 1s ease-in-out forwards;
}
@media (prefers-reduced-motion) {
  .main--home:before {
    animation: none;
  }
}
@media (min-width: 1018px) {
  .main--home:before {
    display: block;
  }
}

.section__inside--articles {
  margin-bottom: 10rem;
}

@keyframes line-horizontal {
  0% {
    width: 0;
  }
  100% {
    width: 100px;
  }
}
@keyframes line-vertical {
  0% {
    height: 0;
  }
  100% {
    height: 100%;
  }
}
.card {
  position: relative;
  left: -1.7vw;
  padding: 0 1.7vw 1.7vw;
  width: 100%;
  min-width: 300px;
  text-align: left;
  justify-content: space-between;
  display: flex;
  flex-direction: column;
  opacity: 0;
  color: hsl(0, 0%, 100%);
  text-decoration: none;
}
.card:focus {
  outline: 1px solid hsl(0, 0%, 100%);
}
.card:hover > .card__link, .card:focus > .card__link {
  text-decoration: none;
}
@media (min-width: 1407px) {
  .card {
    position: relative;
    left: 0;
    width: 24vw;
    padding: 0 1.7vw 1.7vw;
  }
  .card.card--top-left, .card.card--bottom-left {
    left: -1.7vw;
  }
  .card.card--top-left, .card.card--top-right {
    margin-bottom: calc(2rem + 1vw);
  }
}

.card__heading {
  font-family: "Gilroy", serif;
  font-size: 32px;
  font-size: calc(1rem + 1.2vw);
  font-weight: 500;
  margin-bottom: 24px;
}

.card__description {
  margin-bottom: 32px;
  flex-grow: 1;
  line-height: 1.7;
  font-size: 16px;
  font-size: calc(0.8rem + 0.3vw);
}

.card__link {
  color: hsl(0, 0%, 100%);
  font-size: 16px;
  font-size: calc(0.8rem + 0.3vw);
  text-decoration: underline;
}

.card--top-left {
  animation: top-left 0.5s ease-in-out forwards;
  animation-delay: 0.1s;
}
@media (prefers-reduced-motion) {
  .card--top-left {
    animation: none;
    opacity: 1;
  }
}

.card--top-right {
  animation: top-right 0.5s ease-in-out forwards;
  animation-delay: 0.2s;
}
@media (prefers-reduced-motion) {
  .card--top-right {
    animation: none;
    opacity: 1;
  }
}

.card--bottom-left {
  animation: bottom-left 0.5s ease-in-out forwards;
  animation-delay: 0.2s;
}
@media (prefers-reduced-motion) {
  .card--bottom-left {
    animation: none;
    opacity: 1;
  }
}

.card--bottom-right {
  animation: bottom-right 0.5s ease-in-out forwards;
  animation-delay: 0.3s;
}
@media (prefers-reduced-motion) {
  .card--bottom-right {
    animation: none;
    opacity: 1;
  }
}

@keyframes top-left {
  0% {
    transform: translate3d(0, 8px, 0);
    opacity: 0;
  }
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}
@keyframes top-right {
  0% {
    transform: translate3d(8px, 8px, 0);
    opacity: 0;
  }
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}
@keyframes bottom-left {
  0% {
    transform: translate3d(8px, 8px, 0);
    opacity: 0;
  }
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}
@keyframes bottom-right {
  0% {
    transform: translate3d(16px, 16px, 0);
    opacity: 0;
  }
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}
img {
  width: calc(100% - 2rem - 2px);
  padding: 1rem;
  border: 1px solid hsl(0, 0%, 100%);
  margin-bottom: calc(1rem + 4vw);
}

img.no-border {
  border: none;
  padding: 0;
}
@media (min-width: 1018px) {
  img.no-border {
    width: 75%;
  }
}

img.no-border.full {
  border: none;
  width: calc(100% - 2rem - 2px);
  padding: 1rem;
}

.brands,
.inline {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  padding: 1rem;
}

.brands img,
.inline img {
  border: none;
  margin: 0;
  width: calc(1rem + 4vw);
}

.inline img {
  width: calc(35% + 4vw);
  max-width: 400px;
}

img.title-image {
  padding: 0;
  margin-bottom: 0;
  border: none;
  display: none;
  width: 80vw;
  z-index: -1;
  border: 1px solid hsl(0, 0%, 100%);
}
@media (min-width: 1018px) {
  img.title-image {
    display: block;
    width: 56vw;
    position: fixed;
  }
}

img.title-image--dark {
  display: none;
  opacity: 0;
  border-color: hsl(220, 3%, 17%);
}
@media (min-width: 1018px) {
  img.title-image--dark {
    display: block;
  }
}

.callout {
  max-width: 300px;
  border-top: 1px solid hsl(0, 0%, 100%);
  border-bottom: 1px solid hsl(0, 0%, 100%);
  margin: 0 0 calc(1rem + 2vw);
  padding: 1rem;
  text-align: center;
}
@media (min-width: 550px) {
  .callout {
    max-width: 600px;
  }
}
@media (min-width: 1018px) {
  .callout {
    margin-left: calc(1rem + 3vw);
    max-width: 600px;
  }
}
@media (min-width: 1290px) {
  .callout {
    max-width: 37vw;
  }
}

.callout .label {
  display: block;
  font-size: 1rem;
  font-weight: bold;
}
@media (min-width: 1290px) {
  .callout .label {
    font-size: calc(1rem + 0.1vw);
  }
}

.callout .metric {
  display: block;
  font-family: "Gilroy", serif;
  font-size: calc(4rem + 3vw);
}
@media (min-width: 550px) {
  .callout .metric {
    font-size: calc(7rem + 5vw);
  }
}

.callout .metric.red {
  color: hsl(2, 75%, 73%);
}

.callout .metric.yellow {
  color: hsl(48, 87%, 73%);
}

.flex-container {
  display: flex;
  flex-direction: row;
}
@media (min-width: 1018px) {
  .flex-container {
    gap: calc(1rem + 4vw);
  }
}
.flex-container .callout {
  width: 100%;
  margin: 0;
}
.flex-container .callout .metric {
  font-size: calc(2rem + 4vw);
}

.nav {
  display: flex;
  flex-direction: column;
  width: 17rem;
}
@media (min-width: 350px) {
  .nav {
    min-width: 350px;
  }
}
@media (min-width: 1080px) {
  .nav {
    width: 24vw;
  }
}

.nav--home {
  margin-bottom: 3rem;
}

.nav__items {
  position: sticky;
  top: 2vw;
  display: flex;
  flex-direction: column;
  align-items: baseline;
  margin-top: 48px;
}

.nav__item {
  padding: 0 1rem;
  font-size: 20px;
  font-size: calc(1rem + 0.3vw);
  font-family: "Gilroy";
  font-weight: normal;
  line-height: 2.5;
  text-decoration: none;
  color: hsl(240, 3%, 10%);
  position: relative;
  overflow: hidden;
}
.nav__item .nav__item--title {
  transform: translate3d(0, 0, 0);
  transition: all 1s cubic-bezier(0.03, 0.74, 0.3, 0.99);
  display: inline-block;
  opacity: 1;
}
@media (prefers-reduced-motion) {
  .nav__item .nav__item--title {
    transition: none;
  }
}
.nav__item .nav__item--num {
  display: inline-block;
  width: calc(1rem + 1vw);
  margin-right: 16px;
  transition: all 0.3s ease-in-out;
}
@media (prefers-reduced-motion) {
  .nav__item .nav__item--num {
    transition: none;
  }
}
.nav__item:focus {
  outline: 1px solid hsl(0, 0%, 100%);
}
.nav__item:hover .nav__item--title, .nav__item:focus .nav__item--title, .nav__item.nav__item--is-active .nav__item--title {
  transform: translate3d(0, calc(-1rem - 1vw), 0);
  opacity: 0;
}
.nav__item:after {
  content: attr(data-text);
  position: absolute;
  right: 1rem;
  top: calc(1rem + 1vw);
  transform: translate3d(0, 0, 0);
  opacity: 0;
  transition: all 1s cubic-bezier(0.03, 0.74, 0.3, 0.99);
}
@media (prefers-reduced-motion) {
  .nav__item:after {
    transition: none;
  }
}
.nav__item:hover:after, .nav__item:focus:after, .nav__item.nav__item--is-active:after {
  opacity: 1;
  transform: translate3d(0, calc(-1rem - 1vw), 0);
}
.nav__item + .nav__sub-item {
  padding: 0.8vw calc(1.5rem + 0.25vw);
  margin-top: 0.7vw;
}

.nav__work:hover .nav__item--num, .nav__work:focus .nav__item--num, .nav__work.nav__item--is-active, .nav__work:after {
  color: hsl(48, 87%, 73%);
}

.nav__articles:hover .nav__item--num, .nav__articles:focus .nav__item--num, .nav__articles.nav__item--is-active, .nav__articles:after {
  color: #7FA6A5;
}

.nav__tokens:hover .nav__item--num, .nav__tokens:focus .nav__item--num, .nav__tokens.nav__item--is-active, .nav__tokens:after {
  color: #EB772A;
}

.nav__hors:hover .nav__item--num, .nav__hors:focus .nav__item--num, .nav__hors.nav__item--is-active, .nav__hors:after {
  color: #C5A6CC;
}

.nav__hire:hover .nav__item--num, .nav__hire:focus .nav__item--num, .nav__hire.nav__item--is-active, .nav__hire:after {
  color: #A1D3A1;
}

.nav__item {
  color: hsl(0, 0%, 100%);
}

.nav__sub-item {
  padding: 0.8vw 1rem;
  font-size: 1rem;
  text-align: left;
  font-family: "Gilroy", serif;
  font-weight: normal;
  padding-left: calc(1.5rem + 0.25vw);
  color: hsl(216, 3%, 74%);
  text-decoration: none;
  transition: background-color 375ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, color 375ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
}
.nav__sub-item:focus {
  outline: 1px solid hsl(0, 0%, 100%);
}
.nav__sub-item:hover, .nav__sub-item:focus, .nav__sub-item.nav__sub-item--is-active {
  color: hsl(0, 0%, 100%);
}
.nav__sub-item:before {
  content: attr(data-num);
  width: 16px;
  display: inline-block;
  margin-right: 24px;
}
.nav__sub-item + .nav__item {
  margin: 0.8vw 0 0;
}
@media (prefers-reduced-motion) {
  .nav__sub-item {
    transition: none;
  }
}

.nav__world {
  position: relative;
  overflow: hidden;
  width: calc(4rem + 2.5vw);
  height: calc(4rem + 2.5vw);
}
.nav__world:focus {
  outline: 1px solid hsl(0, 0%, 100%);
}
.nav__world .world {
  display: inline-block;
  font-size: 40px;
  font-family: "Gilroy", sans-serif;
  font-weight: bold;
}
.nav__world img {
  width: 100%;
  position: relative;
  border: 0;
  margin: 0;
  padding: 0;
}

.world__globe {
  fill: hsl(240, 3%, 10%);
}

.world:not(.world--no-animate) .world__top {
  stroke-dasharray: 50;
  stroke-dashoffset: -50;
  animation: top 0.5s 1.5s ease-in-out forwards;
}
@media (prefers-reduced-motion) {
  .world:not(.world--no-animate) .world__top {
    animation: none;
    stroke-dasharray: 0;
    stroke-dashoffset: 0;
  }
}

.world:not(.world--no-animate) .world__bottom {
  stroke-dasharray: 50;
  stroke-dashoffset: -50;
  animation: bottom 0.5s 1.5s ease-in-out forwards;
}
@media (prefers-reduced-motion) {
  .world:not(.world--no-animate) .world__bottom {
    animation: none;
    stroke-dasharray: 0;
    stroke-dashoffset: 0;
  }
}

.world:not(.world--no-animate) .world__left {
  stroke-dasharray: 90;
  stroke-dashoffset: 90;
  animation: left 0.5s 0.5s ease-in-out forwards;
}
@media (prefers-reduced-motion) {
  .world:not(.world--no-animate) .world__left {
    animation: none;
    stroke-dasharray: 0;
    stroke-dashoffset: 0;
  }
}

.world:not(.world--no-animate) .world__right {
  stroke-dasharray: 90;
  stroke-dashoffset: 90;
  animation: right 0.5s 0.7s ease-in-out forwards;
}
@media (prefers-reduced-motion) {
  .world:not(.world--no-animate) .world__right {
    animation: none;
    stroke-dasharray: 0;
    stroke-dashoffset: 0;
  }
}

.world:not(.world--no-animate) .world__longitude {
  stroke-dasharray: 70;
  stroke-dashoffset: 70;
  animation: longitude 0.5s 1.1s ease-in-out forwards;
}
@media (prefers-reduced-motion) {
  .world:not(.world--no-animate) .world__longitude {
    animation: none;
    stroke-dasharray: 0;
    stroke-dashoffset: 0;
  }
}

.world:not(.world--no-animate) .world__latitude {
  stroke-dasharray: 70;
  stroke-dashoffset: -70;
  animation: latitude 0.5s ease-in-out forwards;
}
@media (prefers-reduced-motion) {
  .world:not(.world--no-animate) .world__latitude {
    animation: none;
    stroke-dasharray: 0;
    stroke-dashoffset: 0;
  }
}

.world__moon-front,
.world__moon-back:not(:hover) {
  opacity: 0;
}

.world:not(.world--no-animate) .world__moon-intro {
  translate: 10px 0 0;
  scale: 30%;
  animation: moon-intro 1s 1.8s ease-in-out forwards;
}
@media (prefers-reduced-motion) {
  .world:not(.world--no-animate) .world__moon-intro {
    animation: none;
    scale: 100%;
    translate: 0 50px 0;
    opacity: 1;
  }
}

.world--no-animate .world__moon-intro {
  scale: 100%;
  translate: 0 50px 0;
}

.world:hover .world__moon-intro,
.nav__world:focus .world__moon-intro,
.world__opacity-0 {
  opacity: 0;
}

.world:hover .world__moon-front,
.nav__world:focus .world__moon-front {
  animation: orbit 3s linear infinite;
}
@media (prefers-reduced-motion) {
  .world:hover .world__moon-front,
  .nav__world:focus .world__moon-front {
    animation: none;
  }
}

.world__moon-ani {
  animation: orbit 3s linear forwards;
}
@media (prefers-reduced-motion) {
  .world__moon-ani {
    animation: none;
    scale: 100%;
    translate: 0 50px 0;
    opacity: 1;
  }
}

.world:hover .world__moon-back,
.nav__world:focus .world__moon-back {
  animation: moon 3s linear infinite;
}
@media (prefers-reduced-motion) {
  .world:hover .world__moon-back,
  .nav__world:focus .world__moon-back {
    animation: none;
  }
}

.world__moon-back-ani {
  animation: moon 3s linear forwards;
}
@media (prefers-reduced-motion) {
  .world__moon-back-ani {
    animation: none;
  }
}

@keyframes latitude {
  from {
    stroke-dashoffset: -70;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes top {
  from {
    stroke-dashoffset: -50;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes bottom {
  from {
    stroke-dashoffset: 50;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes left {
  from {
    stroke-dashoffset: 90;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes right {
  from {
    stroke-dashoffset: -90;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes longitude {
  from {
    stroke-dashoffset: 70;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes moon-intro {
  from {
    scale: 30%;
    translate: 10px 0 0;
  }
  to {
    scale: 100%;
    translate: 0 50px 0;
  }
}
@keyframes moon {
  0%, 39% {
    opacity: 0;
    scale: 100%;
    translate: -95px 0 0;
  }
  40% {
    opacity: 1;
    scale: 95%;
    translate: -90px 0 0;
  }
  80% {
    scale: 50%;
    translate: 0 50px 0;
    opacity: 1;
  }
  100% {
    scale: 100%;
    translate: 0 50px 0;
    opacity: 1;
  }
}
@keyframes orbit {
  0% {
    opacity: 1;
    scale: 100%;
    translate: 0 50px 0;
  }
  20% {
    scale: 150%;
    translate: -100px 20px 0;
  }
  39% {
    opacity: 1;
    scale: 100%;
    translate: -95px 0 0;
  }
  40% {
    opacity: 1;
  }
  41% {
    opacity: 0;
  }
  100% {
    scale: 100%;
    translate: -95px 0 0;
  }
}
.table {
  border-top: 1px solid hsl(0, 0%, 100%);
  border-bottom: 1px solid hsl(0, 0%, 100%);
  border-spacing: 0;
  font-size: calc(1rem + 0.1vw);
  margin-bottom: calc(1rem + 2vw);
}

.table thead tr {
  background: hsl(220, 3%, 17%);
}

.table thead tr td {
  font-weight: bold;
}

.table tbody tr td {
  border-bottom: 1px solid hsl(220, 3%, 17%);
}

.table tr td {
  padding: calc(1rem + 1vw) calc(0.5rem + 0.5vw);
}

.toc {
  position: relative;
  flex-direction: column;
  gap: 1vw;
  align-items: flex-end;
  min-width: 15rem;
  display: flex;
  border-top: 1px solid hsl(0, 0%, 100%);
  border-bottom: 1px solid hsl(0, 0%, 100%);
  padding: 1.5rem 1.5rem;
  margin: calc(1rem + 1vw) 0 calc(1rem + 5vw);
  animation: fade-in 0.7s cubic-bezier(0.03, 0.74, 0.3, 0.99) forwards;
}
@media (min-width: 1018px) {
  .toc {
    margin-left: calc(1rem + 3vw);
    width: calc(4rem + 30vw);
  }
}
@media (prefers-reduced-motion) {
  .toc {
    animation: none;
    top: 0;
    opacity: 1;
  }
}

.toc__item,
.toc__sub-item {
  font-family: "Atkinson Hyperlegible", sans-serif;
  font-weight: 700;
  line-height: 2;
  font-size: calc(1rem + 0.1vw);
  width: calc(100% - 1rem);
  color: hsl(216, 86%, 90%);
  padding: 0 0.5rem;
}
.toc__item:hover, .toc__item:focus,
.toc__sub-item:hover,
.toc__sub-item:focus {
  text-decoration: none;
}
.toc__item:focus,
.toc__sub-item:focus {
  outline: 1px solid hsl(0, 0%, 100%);
}

.toc__sub-item {
  position: relative;
  padding-left: 4rem;
  width: calc(100% - 4.5rem);
}
.toc__sub-item:before {
  content: "⤷";
  color: hsl(0, 0%, 100%);
  left: 2rem;
  position: absolute;
  display: inline-block;
  text-decoration: none;
}

.footer {
  display: flex;
  margin-bottom: 7rem;
  width: 100%;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
}

.footer__left {
  display: none;
  padding: 1rem;
  text-align: left;
  overflow: hidden;
  color: hsl(0, 0%, 100%);
  text-decoration: none;
}
.footer__left:focus {
  outline: 1px solid hsl(0, 0%, 100%);
}
.footer__left a {
  color: hsl(0, 0%, 100%);
  text-decoration: none;
}
.footer__left .footer__num,
.footer__left .footer__title {
  display: inline-block;
  font-size: calc(1rem + 0.3vw);
  font-family: "Gilroy", serif;
  font-weight: normal;
}
.footer__left .footer__num {
  margin-right: 24px;
  position: relative;
  transform: translate3d(0, 0, 0);
  transition: transform 0.5s cubic-bezier(0.03, 0.74, 0.3, 0.99);
}
@media (prefers-reduced-motion) {
  .footer__left .footer__num {
    transition: none;
  }
}
.footer__left .footer__num:after {
  content: "prev";
  position: absolute;
  left: 0;
  transform: translate3d(0, calc(1rem + 1vw), 0);
}
.footer__left:hover > .footer__link .footer__num, .footer__left:focus > .footer__link .footer__num {
  transform: translate3d(0, calc(-1rem - 1vw), 0);
}
@media (min-width: 1018px) {
  .footer__left {
    display: block;
  }
}

.footer__right {
  padding: 1rem;
  text-align: right;
  color: hsl(0, 0%, 100%);
  text-decoration: none;
}
.footer__right:focus {
  outline: 1px solid hsl(0, 0%, 100%);
}
.footer__right:hover > .footer__container .footer__heading, .footer__right:focus > .footer__container .footer__heading {
  transform: translate3d(0, calc(-9rem - 5vw), 0);
}
.footer__right:hover > .footer__link .footer__num, .footer__right:focus > .footer__link .footer__num {
  transform: translate3d(0, calc(-1rem - 1vw), 0);
}
.footer__right .footer__num,
.footer__right .footer__title {
  display: inline-block;
  font-size: calc(1rem + 0.3vw);
  font-family: "Gilroy", serif;
  font-weight: normal;
}
.footer__right .footer__num {
  margin-right: 24px;
  position: relative;
  transform: translate3d(0, 0, 0);
  transition: transform 0.5s cubic-bezier(0.03, 0.74, 0.3, 0.99);
}
.footer__right .footer__num:after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  transform: translate3d(0, calc(1rem + 1vw), 0);
}
@media (prefers-reduced-motion) {
  .footer__right .footer__num {
    transition: none;
  }
}

.footer__container {
  overflow: hidden;
}

.footer__heading {
  font-size: calc(7rem + 5vw);
  font-family: "Gilroy", serif;
  font-weight: bold;
  position: relative;
  transform: translate3d(0, 0, 0);
  transition: transform 0.5s cubic-bezier(0.03, 0.74, 0.3, 0.99);
}
.footer__heading:before {
  content: attr(data-num);
  position: absolute;
  font-size: calc(7rem + 5vw);
  bottom: 0;
  transform: translate3d(0, calc(9rem + 5vw), 0);
}
.footer__heading:after {
  content: attr(data-let);
  position: absolute;
  left: calc(7rem + 8vw);
  bottom: 26px;
  font-size: calc(1rem + 5vw);
  transform: translate3d(0, calc(9rem + 5vw), 0);
}
@media (prefers-reduced-motion) {
  .footer__heading {
    transition: none;
  }
}

.footer__link {
  overflow: hidden;
}

.footer__icon {
  left: calc(-11rem - 5vw);
  width: calc(1rem + 2vw);
  position: relative;
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.footer__icon path {
  fill: hsl(240, 3%, 10%);
}

.footer__icon path {
  fill: hsl(180, 4%, 95%);
}

.footer--work .footer__heading:after,
.footer--work .footer__heading:before,
.footer--work .footer__num:after {
  color: hsl(48, 87%, 73%);
}

.footer--tokens .footer__heading:after,
.footer--tokens .footer__heading:before,
.footer--tokens .footer__num:after {
  color: hsl(2, 76%, 61%);
}

.footer--articles .footer__heading:after,
.footer--articles .footer__heading:before,
.footer--articles .footer__num:after {
  color: #7FA6A5;
}

.footer--hors .footer__heading:after,
.footer--hors .footer__heading:before,
.footer--hors .footer__num:after {
  color: #C5A6CC;
}

.footer--hire .footer__heading:after,
.footer--hire .footer__heading:before,
.footer--hire .footer__num:after {
  color: #A1D3A1;
}

.footer__num--home:after {
  color: hsl(0, 0%, 100%) !important;
}

.footer__num--work:after {
  color: hsl(48, 87%, 73%) !important;
}

.footer__num--articles:after {
  color: #7BC0AD !important;
}

.footer__num--tokens:after {
  color: hsl(2, 76%, 61%) !important;
}

.footer__num--hors:after {
  color: #C5A6CC !important;
}

.footer__heading--outline {
  color: transparent;
  -webkit-text-stroke: 1px hsl(0, 0%, 100%);
  text-stroke: 1px hsl(0, 0%, 100%);
}
.footer__heading--outline:before {
  -webkit-text-stroke: 0 hsl(0, 0%, 100%);
  text-stroke: 0 hsl(0, 0%, 100%);
}

footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  font-size: calc(0.25rem + 0.75vw);
  line-height: 1.5;
}

footer a {
  color: hsl(0, 0%, 100%);
  text-decoration: none;
}

footer .level-1,
footer .level-2 {
  display: flex;
  padding: calc(0.5rem + 0.5vw) 0;
}

footer .level-1 {
  border-top: 1px solid hsl(0, 0%, 100%);
  border-bottom: 1px solid hsl(0, 0%, 100%);
}

footer span:not(:first-child) {
  margin: 0 0 0 calc(2.5rem + 2.5vw);
}

footer .grow {
  flex-grow: 1;
}

footer .end {
  width: calc(2.5rem + 4.5vw);
}

.section__inside--articles {
  margin-top: calc(1rem + 3vw);
}

.article-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-decoration: none;
  padding: calc(1rem + 0.5vw);
}
@media (min-width: 1018px) {
  .article-card {
    margin-left: calc(0.5rem + 2vw);
  }
}
@media (min-width: 1290px) {
  .article-card {
    font-size: calc(0.8rem + 0.7vw);
  }
}
.article-card:hover {
  outline: 1px solid hsl(210, 3%, 22%);
}
.article-card:focus {
  outline: 1px solid hsl(0, 0%, 100%);
}
.article-card:hover .article-card__heading, .article-card:focus .article-card__heading {
  text-decoration: none;
}
.article-card:last-of-type {
  margin: 0;
}
@media (min-width: 1018px) {
  .article-card:last-of-type {
    margin-left: calc(0.5rem + 2vw);
  }
}
@media (min-width: 1290px) {
  .article-card:last-of-type {
    font-size: calc(0.8rem + 0.7vw);
  }
}
.article-card:hover .article-card__date, .article-card:focus .article-card__date {
  display: inline-block;
}

.article-card__heading {
  position: relative;
  flex-grow: 1;
  font-size: calc(1rem + 0.5vw);
  font-weight: bold;
  line-height: 1.5;
  margin: 0;
  color: hsl(215, 87%, 84%);
  margin-right: 1rem;
  text-decoration: underline;
  text-decoration-color: hsl(215, 87%, 84%);
}

.article-card__date {
  font-size: calc(1rem + 0.2vw);
  color: hsl(216, 3%, 74%);
  margin-left: 1rem;
  text-decoration: none;
  display: inline-block;
}
@media (min-width: 1018px) {
  .article-card__date {
    display: none;
    margin: 0;
  }
}

.read-time {
  color: hsl(217, 4%, 62%);
}

@font-face {
  font-family: "Gilroy-Regular";
  src: url("../assets/fonts/Gilroy-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Gilroy";
  src: url("../assets/fonts/Gilroy-RegularItalic.ttf") format("truetype"), url("../assets/fonts/Gilroy-RegularItalic.woff") format("woff"), url("../assets/fonts/Gilroy-RegularItalic.woff2") format("woff2");
  font-weight: normal;
  font-style: italic;
}
@font-face {
  font-family: "Gilroy";
  src: url("../assets/fonts/Gilroy-Medium.ttf") format("truetype"), url("../assets/fonts/Gilroy-Medium.woff") format("woff"), url("../assets/fonts/Gilroy-Medium.woff2") format("woff2");
  font-weight: medium;
  font-style: normal;
}
@font-face {
  font-family: "Gilroy";
  src: url("../assets/fonts/Gilroy-MediumItalic.ttf") format("truetype"), url("../assets/fonts/Gilroy-MediumItalic.woff") format("woff"), url("../assets/fonts/Gilroy-MediumItalic.woff2") format("woff2");
  font-weight: medium;
  font-style: italic;
}
@font-face {
  font-family: "Gilroy";
  src: url("../assets/fonts/Gilroy-SemiBold.ttf") format("truetype"), url("../assets/fonts/Gilroy-SemiBold.woff") format("woff"), url("../assets/fonts/Gilroy-SemiBold.woff2") format("woff2");
  font-weight: bolder;
  font-style: normal;
}
@font-face {
  font-family: "Gilroy";
  src: url("../assets/fonts/Gilroy-SemiBoldItalic.ttf") format("truetype"), url("../assets/fonts/Gilroy-SemiBoldItalic.woff") format("woff"), url("../assets/fonts/Gilroy-SemiBoldItalic.woff2") format("woff2");
  font-weight: bolder;
  font-style: italic;
}
@font-face {
  font-family: "Gilroy";
  src: url("../assets/fonts/Gilroy-Bold.ttf") format("truetype"), url("../assets/fonts/Gilroy-Bold.woff") format("woff"), url("../assets/fonts/Gilroy-Bold.woff2") format("woff2");
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: "Gilroy";
  src: url("../assets/fonts/Gilroy-BoldItalic.ttf") format("truetype"), url("../assets/fonts/Gilroy-BoldItalic.woff") format("woff"), url("../assets/fonts/Gilroy-BoldItalic.woff2") format("woff2");
  font-weight: bold;
  font-style: italic;
}
@font-face {
  font-family: "Amador";
  src: url("https://use.typekit.net/af/2ba9dd/00000000000000007735b4e4/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff2"), url("https://use.typekit.net/af/2ba9dd/00000000000000007735b4e4/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff"), url("https://use.typekit.net/af/2ba9dd/00000000000000007735b4e4/30/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("opentype");
  font-display: auto;
  font-style: normal;
  font-weight: 400;
  font-stretch: normal;
}
