:root {
  --section-padding: clamp(1em, 3vw, 2.5em);
  --page-padding: clamp(1rem, 6vw, 2rem);
  --page-max-width: 1200px;
  --hero-text: 3.5em;
  --hero-text-line-height: clamp(3em, 5vw, 3.6em);
  --h2-text-responsive: 3.5em;
  --text-medium: 1.3rem;
  --card-width: min(100%, 591px);
  --card-height: min(100%, 286px);
  --container-width: var(--page-max-width);
  --form-width: min(900px, 100%);
  --footer-width: 100%;
  --panel-bg: #343338b8;
  --panel-border: #ffffff14;
  --border-radius: 1.5em;
}

@font-face {
  font-family: MontserratVar;
  src: url("Montserrat-VariableFont_wght.9a876adc.ttf") format("truetype");
  font-weight: 100, 200, 300, 400, 500, 600, 700, 800, 900;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  container-type: inline-size;
}

:root {
  --bg-base-0: #000;
  --bg-base-1: #1a1a1a;
  --bg-base-2: #000;
  --bg-spot-color: #f6bd19;
  --bg-spot-color-1: #0fff238d;
  --bg-spot-color-2: #fff3;
  --bg-spot-color-3: #ffffff1a;
  --bg-spot-alpha: 10%;
  --bg-spot-size-lg: 20%;
  --bg-spot-alpha-1: 20%;
  --bg-spot-alpha-2: 10%;
  --bg-spot-alpha-3: 8%;
  --bg-spot-size-1: 15%;
  --bg-spot-size-2: 12%;
  --bg-spot-size-3: 8%;
}

body {
  color: #fff;
  background-color: #0f1010;
  background-image: radial-gradient(circle at 60% 10%, color-mix(in srgb, var(--bg-spot-color) var(--bg-spot-alpha), transparent), transparent var(--bg-spot-size-lg)),
        radial-gradient(circle at 90% 70%, color-mix(in srgb, var(--bg-spot-color-2) var(--bg-spot-alpha-2), transparent), transparent var(--bg-spot-size-2)),
        radial-gradient(circle at 10% 85%, color-mix(in srgb, var(--bg-spot-color-3) var(--bg-spot-alpha-3), transparent), transparent var(--bg-spot-size-3)),
        linear-gradient(180deg, var(--bg-base-0) 0%, var(--bg-base-1) 42%,
            var(--bg-base-2) 100%);
  min-height: 100vh;
  font-family: MontserratVar;
  font-size: .85em;
  font-weight: 300;
}

.PageContainer {
  max-width: var(--page-max-width);
  padding-inline: var(--page-padding);
  margin-inline: auto;
}

h1 {
  font-size: 4.5em;
  font-weight: 200;
}

h2 {
  font-size: var(--h2-text-responsive);
  font-weight: 200;
}

h3 {
  font-size: 1.5em;
  font-weight: 200;
}

main {
  flex-direction: column;
  align-items: center;
  margin-bottom: 7rem;
  display: flex;
}

main h2 {
  margin-bottom: .75em;
}

p {
  line-height: 1.6;
}

p + p {
  margin-top: .5em;
}

b {
  font-weight: 700;
}

a {
  color: #fff;
}

.HeaderNavigation {
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  display: flex;
}

.Logo {
  align-items: center;
  gap: 1em;
  display: flex;
}

.LogoBars img {
  width: 78px;
}

.HeaderNavigation .LogoIMG img {
  width: 100px;
  height: auto;
}

.NavigationParent ul {
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.25em;
  padding-inline: 1rem;
  list-style-type: none;
  display: flex;
}

.NavigationParent li {
  align-items: center;
  display: flex;
}

.NavigationParent a {
  letter-spacing: .05em;
  text-decoration: none;
  transition: all .2s;
}

.NavigationParent a:hover {
  color: #f6bd19;
  text-shadow: 0 0 .1em, 0 0 .1em;
}

.NavigationParent li + li:before {
  content: "•";
  color: #ffffff73;
  margin-right: 1.25em;
}

.HeroSection {
  isolation: isolate;
  width: 100cqw;
  min-height: 50em;
  margin-inline: calc(50% - 50cqw);
  position: relative;
  overflow: clip;
}

.HeroInner {
  z-index: 2;
  min-height: inherit;
  max-width: var(--page-max-width);
  padding-inline: var(--page-padding);
  grid-template-columns: 1fr 1fr;
  align-items: center;
  margin-inline: auto;
  display: grid;
  position: relative;
}

.HeroText {
  z-index: 2;
  flex-direction: column;
  height: fit-content;
  padding-bottom: 5em;
  display: flex;
  position: relative;
}

.HeroText h1 {
  text-wrap: balance;
  max-width: 25ch;
  margin: 0;
  font-size: 4.5em;
  font-weight: 700;
}

.HeroText p {
  max-width: 35ch;
  margin: 0;
  font-size: 2em;
}

.HeroText div + div {
  margin-top: 2.5em;
}

.CardTest {
  --shadow-step-x: 5px;
  --shadow-step-y: 5px;
  box-shadow: calc(1 * var(--shadow-step-x)) calc(1 * var(--shadow-step-y)) 0 0 #e94c31,
        calc(2 * var(--shadow-step-x)) calc(2 * var(--shadow-step-y)) 0 0 #f18619,
        calc(3 * var(--shadow-step-x)) calc(3 * var(--shadow-step-y)) 0 0 #f6bd19,
        calc(4 * var(--shadow-step-x)) calc(4 * var(--shadow-step-y)) 0 0 #3e9d36,
        calc(5 * var(--shadow-step-x)) calc(5 * var(--shadow-step-y)) 0 0 #3296d0;
  border-radius: 2rem;
}

.HeroPlanetSlot {
  z-index: 1;
  pointer-events: none;
  position: absolute;
  inset: 0;
}

.PlanetRenderer {
  pointer-events: none;
  filter: drop-shadow(0 20px 40px #00000059);
  position: absolute;
  inset: 0;
  overflow: visible;
}

.PlanetRenderer canvas {
  overflow: visible;
}

.PlanetFallbackImage {
  object-fit: contain;
  width: 100%;
  height: 100%;
  padding: 1em;
  display: block;
  position: absolute;
  inset: 0;
  transform: scale(1.12);
}

.PlanetFallbackMessage {
  z-index: 2;
  letter-spacing: .04em;
  text-align: center;
  background: #0f1010cc;
  border-radius: 999px;
  padding: .65em 1em;
  position: absolute;
  bottom: 1.5em;
  left: 50%;
  transform: translate(-50%, -200%);
}

.PlanetRenderer[data-render-state="ready"] .PlanetFallbackImage, .PlanetRenderer[data-render-state="ready"] .PlanetFallbackMessage {
  display: none;
}

.PlanetRenderer[data-render-state="error"] .PlanetFallbackMessage:before {
  content: "3D preview unavailable. ";
}

.CardsGrid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-items: center;
  gap: 2em;
  display: grid;
}

.Card {
  width: var(--card-width);
  height: var(--card-height);
  border: 2px solid var(--panel-border);
  text-align: left;
  flex-direction: column;
  justify-content: center;
  padding: 1.5em 1.75em;
  display: flex;
}

.Card h3 {
  margin-bottom: .5em;
  font-weight: 500;
}

.Yellow {
  color: #f6bd19;
}

.Round {
  border-radius: 1.5em;
}

.AmazingCowMain {
  background-image: radial-gradient(circle at 20% 30% color-mix(in srgb, var(--bg-spot-color-1) var(--bg-spot-alpha-1), transparent), transparent var(--bg-spot-size-1));
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 2em;
  width: 100%;
  display: grid;
}

.AmazingCowVisuals {
  justify-content: center;
  align-items: start;
  width: 100%;
  min-height: 460px;
  display: flex;
}

.AmazingCowVisuals > img {
  object-fit: contain;
  object-position: center;
  width: min(100%, 34rem);
  max-width: 400px;
  height: auto;
  margin-inline: auto;
  display: block;
  position: absolute;
}

.AmazingCowCopy {
  flex-direction: column;
  align-items: start;
  gap: 2em;
  margin-top: 2em;
  display: flex;
}

.AmazingCowCopy p {
  font-size: 1rem;
}

.AmazingCowTitle h2, .AmazingCowTitle h3 {
  margin: 0;
  padding: 0;
}

.AmazingCowTitle {
  text-align: start;
}

.Members {
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5em;
  max-width: 40em;
  display: flex;
}

.Members > * {
  flex: 0 0 calc(33.333% - 1.25em);
}

.Member {
  text-align: center;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  display: flex;
}

.Member h3 {
  font-size: 1em;
  font-weight: 500;
}

.Member h4 {
  font-size: .75em;
  font-weight: 300;
}

.MemberPhoto {
  background: #ffffffeb;
  border-radius: 50%;
  width: 8em;
  height: 8em;
  margin-bottom: .9em;
  overflow: hidden;
  box-shadow: 0 .5em 2em #00000047;
}

.MemberPhoto:hover {
  box-shadow: 0 .5em 1.25em #000c;
}

.MemberPhoto img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}

.CTA h1 {
  font-size: 2.5em;
}

.CTA h2 {
  font-size: 5em;
  font-weight: 300;
  line-height: 1;
  display: block;
}

.CTABUTTON {
  color: #0f1010;
  cursor: pointer;
  background-color: #f6bd19;
  border: 0;
  border-radius: .5em;
  padding: 1em 2em;
  font-family: inherit;
  font-weight: 800;
  display: inline-block;
}

.CTABUTTON:hover {
  filter: brightness(1.1);
}

.CTABUTTON:active {
  filter: brightness(1.3);
  transform: translateY(2px);
}

.CTA section {
  text-align: center;
}

footer {
  width: 100%;
}

.Footer {
  flex-direction: column;
  justify-content: flex-start;
  padding-bottom: 1.5em;
  display: flex;
}

.FooterHR {
  padding-top: 2em;
  padding-bottom: 1em;
}

.FooterHR hr {
  width: var(--footer-width);
  border: 1px solid #fff;
}

.FooterImage img {
  width: 6em;
}

.FooterContent {
  width: var(--footer-width);
  padding-left: calc(var(--section-padding) * 0);
  padding-right: calc(var(--section-padding) * 0);
  justify-content: space-between;
  align-items: center;
  gap: 1.5em;
  display: flex;
}

.OurContacts ul {
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.OurContacts a {
  color: #fff;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  width: 2.75rem;
  height: 2.75rem;
  text-decoration: none;
  transition: transform .2s, opacity .2s, background-color .2s;
  display: inline-flex;
}

.OurContacts a:hover {
  background-color: #ffffff14;
  transform: translateY(-2px);
}

.OurContacts img {
  filter: invert();
  width: 1.25rem;
  height: 1.25rem;
  display: block;
}

.OurContacts li:last-child img {
  width: 1.15rem;
  height: 1.15rem;
}

.GlassEffect {
  border: 1px solid var(--panel-border);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  background: linear-gradient(135deg, #ffffff03, #ffffff03);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 1px #ffffff26, 0 10px 30px #00000059;
}

@media (width <= 900px) {
  :root {
    --logo-width: 10em;
    --logo-bars-width: calc(var(--logo-width) * .7);
  }

  .HeaderNavigation {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1em;
    margin-top: .5em;
  }

  .Logo {
    align-items: center;
    gap: 1em;
    display: flex;
  }

  .LogoBars img {
    width: var(--logo-bars-width);
  }

  .HeaderNavigation .LogoIMG img {
    width: var(--logo-width);
    height: auto;
  }

  .HeroSection {
    min-height: 50rem;
  }

  .HeroInner {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }

  main {
    margin-bottom: 4em;
  }

  .Card, .Card h3 {
    text-align: center;
  }

  .CardsGrid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: repeat(auto, minmax(0, 1fr));
  }

  .HeroPlanetSlot {
    inset: 0;
  }

  .HeroInner {
    flex-direction: column-reverse;
    display: flex;
  }

  .HeroText {
    text-align: center;
  }

  .HeroText p {
    width: 100%;
    max-width: 100%;
  }

  .PlanetFallbackImage {
    transform: none;
  }

  .AmazingCowMain {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .AmazingCowVisuals {
    order: -1;
  }

  .AmazingCowVisuals img {
    width: min(100%, 26rem);
  }

  .AmazingCowCopy {
    text-align: center;
    align-items: center;
  }

  .AmazingCowTitle {
    text-align: center;
  }

  .TheTeam {
    margin-top: 0;
  }

  .Footer {
    padding-left: 0;
    padding-right: 0;
  }

  .FooterContent {
    flex-direction: row;
    justify-content: space-between;
    gap: 1.25rem;
  }
}
