/* Layout and motion follow the thisismagma-clone template; palette, type and imagery are our own. */
:root {
  --ink: #0b1830;
  --navy: #0f2445;
  --navy-2: #13305a;
  --gold: #d9b36c;
  --text: #f4f1ea;
  --dim: #f4f1ea55;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  width: 100%;
  background-color: var(--ink);
}
a { color: inherit; text-decoration: none; }
#main {
  position: relative;
  overflow: hidden;
  background-color: var(--navy);
  font-family: "Jost", sans-serif;
}
.pill {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 50px;
  border: 1px solid var(--gold);
  color: var(--text);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.3px;
  transition: all ease 0.4s;
  white-space: nowrap;
}
.pill:hover { background-color: var(--gold); color: var(--ink); }
.pill.light { background-color: var(--text); color: var(--ink); border-color: var(--text); }
.pill.light:hover { background-color: var(--gold); border-color: var(--gold); }

#page1 {
  position: relative;
  height: 100vh;
  width: 100vw;
  background-color: var(--ink);
}
#hero-canvas {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
}
#page1 > nav {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 30px 0px 30px;
  height: 10vh;
  width: 100vw;
}
.wordmark {
  color: var(--text);
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 0.5px;
}
.wordmark::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 10px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  vertical-align: 1px;
}
#bottom-page1 {
  position: absolute;
  z-index: 5;
  bottom: 5%;
  height: 35vh;
  width: 60vw;
  left: 10%;
}
#bottom-page1 > h1 {
  font-size: 5vw;
  font-weight: 200;
  line-height: 1.05;
  color: var(--text);
}
#bottom-page1-inner {
  position: absolute;
  bottom: 0%;
  height: 35%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 2vw;
}
#bottom-page1-inner > h4 {
  font-size: 1.2vw;
  font-weight: 300;
  line-height: 1.5;
  color: var(--text);
}

#page2,
#page6 {
  display: flex;
  justify-content: center;
  align-items: start;
  flex-direction: column;
  height: 100vh;
  width: 100vw;
  position: relative;
  background-color: var(--navy-2);
  padding: 0vw 8vw;
  color: var(--text);
}
#page2 > h2,
#page6 > h3 {
  font-weight: 300;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 3vw;
}
#page2 > h1,
#page6 > h1 {
  width: 80%;
  line-height: 1.3;
  font-weight: 200;
  font-size: 3vw;
  color: var(--dim);
}
#page5,
#page7 {
  height: 100vh;
  width: 100vw;
  position: relative;
  background-color: var(--navy);
}
#page5 > canvas,
#page7 > canvas {
  max-width: 100vw;
  max-height: 100vh;
  position: relative;
}
#page4 {
  display: flex;
  align-items: start;
  justify-content: center;
  flex-direction: column;
  position: relative;
  height: 100vh;
  width: 100vw;
  background-color: var(--navy);
}
#page4 > h3 {
  margin-left: 15vw;
  margin-bottom: 2vw;
  font-weight: 300;
  letter-spacing: 2px;
  color: var(--gold);
}
#page4 > h1 {
  margin-left: 15vw;
  width: 70%;
  font-size: 3vw;
  font-weight: 200;
  line-height: 1.3;
  color: var(--dim);
}
#page7 > #page7-circle {
  position: absolute;
  top: 42%;
  left: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translate(-50%, -50%);
  z-index: 99;
  height: 40vw;
  width: 40vw;
  border-radius: 50%;
  border: 1px solid var(--text);
}
#page7-circle-inner {
  position: absolute;
  height: 30vw;
  width: 30vw;
  border-radius: 50%;
  border: 1px solid var(--text);
}
.page7-name {
  position: absolute;
  z-index: 99;
  left: 50%;
  bottom: 7vh;
  transform: translateX(-50%);
  font-size: 5vw;
  font-weight: 200;
  color: var(--text);
  white-space: nowrap;
}
.scene-text {
  position: absolute;
  z-index: 9;
  left: 8vw;
  bottom: 12vh;
  width: 34vw;
  color: var(--text);
}
.scene-text > h3 {
  font-weight: 300;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 1.2vw;
}
.scene-text > p {
  font-size: 1.8vw;
  font-weight: 200;
  line-height: 1.35;
}
#page7-circle-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
#page7-circle-inner > p {
  width: 70%;
  color: var(--text);
  font-size: 1.6vw;
  font-weight: 200;
  line-height: 1.35;
}
#page13 {
  position: relative;
  width: 100vw;
  height: 60vh;
  color: var(--text);
  background-color: var(--ink);
  padding: 10vw 10vw;
}
#page13 > h1 {
  font-size: 5vw;
  font-weight: 200;
  line-height: 1.05;
  margin-bottom: 2vw;
}
#page14 {
  position: relative;
  border-top: 0.5px solid #f4f1ea5c;
  width: 100vw;
  background-color: var(--ink);
}
.legal {
  padding: 3vh 5vw;
  color: #f4f1ea66;
  font-size: 13px;
}

@media (max-width: 760px) {
  #bottom-page1 { width: 84vw; left: 8%; height: 45vh; }
  #bottom-page1 > h1 { font-size: 11vw; }
  #bottom-page1-inner { flex-direction: column; align-items: start; height: 50%; gap: 16px; }
  #bottom-page1-inner > h4 { font-size: 15px; }
  #bottom-page1-inner > h4 br { display: none; }
  #page2 > h1, #page4 > h1, #page6 > h1 { font-size: 6.5vw; width: 100%; }
  #page4 > h3, #page4 > h1 { margin-left: 8vw; width: 84%; }
  #page7 > #page7-circle { height: 80vw; width: 80vw; }
  #page7-circle-inner { height: 60vw; width: 60vw; }
  .page7-name { font-size: 11vw; bottom: 10vh; }
  .scene-text { width: 84vw; bottom: 8vh; }
  .scene-text > p { font-size: 5.5vw; }
  #page7-circle-inner > p { font-size: 4vw; }
  #page13 > h1 { font-size: 10vw; }
  .wordmark { font-size: 20px; }
  #right-nav .pill { padding: 8px 14px; font-size: 13px; }
}
