@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&display=swap');


:root{
  --off-white:#F8F6F2;
  --black:#1A1A1A;
  --grey:#767676;
}


*{
  box-sizing:border-box;
}


html,
body{
  margin:0;
  min-height:100%;
  background:var(--off-white);
  color:var(--black);
}


body{
  position:relative;
  font-family:"JetBrains Mono",monospace;
  overflow-x:hidden;

  /* Custom black plus cursor */
  cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='23' height='23' viewBox='0 0 16 16'%3E%3Cpath d='M8 2v12M2 8h12' stroke='%231A1A1A' stroke-width='2.2'/%3E%3C/svg%3E") 8 8, auto;
}


/* =========================================
   HEADER
   ========================================= */

.site-header{
  position:absolute;
  inset:0px 0 auto 0;
  height:90px;
  z-index:100;
  background:var(--off-white);

  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;

  padding:0 2.1vw;

  pointer-events:none;
}


.site-header a{
  pointer-events:auto;

  cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='23' height='23' viewBox='0 0 16 16'%3E%3Cpath d='M8 2v12M2 8h12' stroke='%23E8763B' stroke-width='2.2'/%3E%3C/svg%3E") 8 8, auto;
}

/* =========================================
   DESKTOP HEADER LAYOUT
   ========================================= */

.menu-toggle{
  display:none;
}

.mobile-spacer{
  display:none;
}

.site-header > .desktop-contact{
  grid-column:1;
  justify-self:start;
}

.site-header > .brand{
  grid-column:2;
  justify-self:center;
}

.site-header > .desktop-join{
  grid-column:3;
  justify-self:end;
}

.brand{
  justify-self:center;

  display:flex;
  flex-direction:column;
  align-items:center;

  color:var(--black);
  text-decoration:none;

  transform:translateY(7px);
}

.brand-name{
  font-size:clamp(31px,2.8vw,49px);
  line-height:1;
  font-weight:700;
  letter-spacing:-.065em;
}

.brand-subtitle{
  margin-top:5px;
  font-size:12px;
  line-height:1.2;
  font-weight:400;
  font-style:italic;
  color:var(--grey);
  letter-spacing:0;
  white-space:nowrap;
}


.nav-link{
  color:var(--black);
  text-decoration:none;
  font-size:clamp(15px,1.2vw,20px);
}


.site-header .nav-link:hover{
  text-decoration:underline;
}


.site-header .right{
  justify-self:end;
}


/* =========================================
   LEGAL PAGE CONTENT
   ========================================= */

.legal-page{
  min-height:100vh;
  background:var(--off-white);
}


.legal-content{
  width:70vw;
  max-width:900px;

  margin:0 auto;

  padding-top:150px;
  padding-bottom:100px;
}


.legal-content h1{
  margin:0 0 60px 0;

  font-size:42px;
  line-height:1;
  font-weight:500;
  letter-spacing:-.065em;
}


.legal-text{
  max-width:710px;

  font-size:13px;
  line-height:1.7;
}


.legal-text h2{
  margin:38px 0 12px 0;

  font-size:16px;
  line-height:1.3;
  font-weight:500;
}


.legal-text h3{
  margin:28px 0 10px 0;

  font-size:14px;
  line-height:1.3;
  font-weight:500;
}


.legal-text p{
  margin:0 0 20px 0;
}


.legal-text ul{
  margin:0 0 25px 20px;
  padding:0;
}


.legal-text li{
  margin-bottom:10px;
}


.legal-text a{
  color:var(--black);
  text-decoration:underline;
}


/* =========================================
   SITE FOOTER
   ========================================= */

.site-footer{
  position:relative;

  width:100%;
  min-height:270px;

  margin-top:20px;

  padding:45px 2vw 25px;

  background:var(--off-white);
  color:var(--grey);

  font-size:12px;
  line-height:1.5;

  border-top:1px solid rgba(26,26,26,.15);

  display:grid;

  grid-template-columns:1fr 1fr;

  grid-template-rows:auto 1fr auto;
}


/* =========================================
   LEFT SIDE
   ========================================= */

.footer-left{
  grid-column:1;
  grid-row:1 / 3;
}


.footer-name{
  font-size:22px;
  font-weight:500;
  letter-spacing:-.04em;

  color:var(--black);
}


.footer-legal-name{
  margin-top:5px;

  font-size:12px;
}


.footer-info{
  display:flex;
  flex-direction:column;

  gap:5px;

  margin-top:28px;
}


.footer-info a{
  color:var(--grey);
  text-decoration:none;
}


.footer-info a:hover{
  color:var(--black);
  text-decoration:underline;
}


/* =========================================
   RIGHT SIDE
   ========================================= */

.footer-social{
  grid-column:2;
  grid-row:1;

  display:flex;
  flex-direction:column;

  align-items:flex-end;

  gap:5px;
}


.footer-social > a{
  color:var(--grey);
  text-decoration:none;
}


.footer-social > a:hover{
  color:var(--black);
  text-decoration:underline;
}


/* =========================================
   LEGAL LINKS
   ========================================= */

.footer-legal-nav{
  display:flex;
  flex-direction:column;

  align-items:flex-end;

  gap:5px;

  margin-top:22px;
}


.footer-legal-nav a{
  color:var(--grey);
  text-decoration:none;
}


.footer-legal-nav a:hover{
  color:var(--black);
  text-decoration:underline;
}


/* =========================================
   COPYRIGHT
   ========================================= */

.footer-copyright{
  grid-column:1;
  grid-row:3;

  align-self:end;

  font-size:11px;

  color:var(--grey);
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width:700px){

 /* =========================================
   MOBILE HEADER
   ========================================= */

.site-header{

  position:fixed;

  top:0;
  left:0;
  right:0;

  width:100%;

  height:64px;

  padding:0 16px;

  display:block !important;

  z-index:100;

}


/* HIDE DESKTOP LINKS */

.site-header > .desktop-contact,
.site-header > .desktop-join{

  display:none !important;

}


/* HAMBURGER */

.menu-toggle{

  display:block !important;

  position:absolute;

  top:20px;
  left:16px;

  width:24px;
  height:24px;

  margin:0;
  padding:0;

  border:0;

  background:none;

  color:var(--black);

  font-family:"JetBrains Mono",monospace;

  font-size:22px;

  line-height:24px;

  text-align:center;

  cursor:pointer;

  pointer-events:auto;

  touch-action:manipulation;

  z-index:101;

}


/* CENTER LOGO */

.site-header > .brand{

  position:fixed !important;

  top:13px !important;

  left:50vw !important;

  transform:translateX(-50%) !important;

  display:flex;

  flex-direction:column;

  align-items:center;

  width:max-content;

  margin:0;

  padding:0;

  z-index:101;

}


.site-header > .brand .brand-name{

  font-size:25px;

  line-height:1;

  white-space:nowrap;

}


.site-header > .brand .brand-subtitle{

  margin-top:5px;

  width:180px;

  font-size:7px;

  line-height:1.2;

  white-space:normal;

  text-align:center;

}


.mobile-spacer{

  display:none !important;

}


/* =========================================
   MOBILE MENU
   ========================================= */

.mobile-menu{

  position:fixed;

  inset:0;

  z-index:500;

  background:var(--off-white);

  padding:90px 25px 35px;

  display:none;

  flex-direction:column;

  pointer-events:auto;

}


.mobile-menu.open{

  display:flex;

}


.mobile-menu-close{

  position:absolute;

  top:17px;

  left:16px;

  width:28px;

  height:28px;

  padding:0;

  border:0;

  background:none;

  color:var(--black);

  font-family:"JetBrains Mono",monospace;

  font-size:30px;

  line-height:28px;

  cursor:pointer;

}


.mobile-menu-links{

  display:flex;

  flex-direction:column;

  gap:0;

}


.mobile-menu-links a{

  display:block;

  padding:15px 0;

  border-bottom:1px solid rgba(26,26,26,.18);

  color:var(--black);

  text-decoration:none;

  font-family:"JetBrains Mono",monospace;

  font-size:18px;

  line-height:1.3;

}


.mobile-menu-links a:first-child{

  border-top:1px solid var(--black);

}


.mobile-menu-links a:hover{

  color:var(--orange);

}


  .legal-content{
    width:auto;

    margin:0 20px;

    padding-top:120px;
    padding-bottom:70px;
  }


  .legal-content h1{
    font-size:42px;

    margin-bottom:45px;
  }


  .legal-text{
    font-size:12px;
  }


  .site-footer{
    min-height:400px;

    margin-top:20px;

    padding:40px 20px 25px;

    display:flex;
    flex-direction:column;
  }


  .footer-left{
    margin-bottom:40px;
  }


  .footer-social{
    align-items:flex-start;
  }


  .footer-legal-nav{
    align-items:flex-start;

    margin-top:22px;
  }


  .footer-copyright{
    margin-top:50px;
  }

}


@media (prefers-reduced-motion:reduce){

  *{
    transition:none !important;
  }

}