
html, body {
    font-family: 'JetBrains Mono', monospace;
    margin: 0;
    padding: 0;
    background: #1f3b57		;
    color: #ccd6f6;
    cursor: url('cursor.png') 0 0, auto;
}


main{
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.hero {
    height: 100vh;                  /* keeps full screen */
  display: flex;
  flex-direction: column;
  justify-content: center;       /* center vertically */
  align-items: center;           /* center horizontally */
  text-align: center;
  padding-top: 0;                /* ← reduce top space */               

}


.logo-img{
    width: 200px;
    height: auto;
    margin-bottom: 20px;
    
}


.nav-links {
    font-size: 1rem;
    margin-top: 10px;
}

.nav-links a{
    text-decoration: none;
    color: #ccd6f6;
    margin: 0 10px;
}


section{
    padding: 150px 20px;
    max-width: 800px;
    margin: 0 auto;
    
}

h2{
    text-transform: lowercase;
    font-size: 1.8rem;
    margin-bottom: 40px;
    font-family: 'Space Grotesk', sans-serif;
}

ul{
    list-style-type: none;
    padding: 0;
}

ul li{
    margin-bottom: 30px;
}

p {
    margin-bottom: 30px;
}

    ::-webkit-scrollbar {
      width: 8px;
}
    ::-webkit-scrollbar-thumb {
      background: black;
      border-radius: 10px;
}


#bookshelf {
  padding: 100px 20px;
  max-width: 800px;
  margin: 0 auto;
  
}

.book-grid {
  display: grid;
}

.book {
  background: #1a1a1a;
  color: white;
  padding: 28px 25px;
  border-radius: 10px;
  transition: transform 0.3s ease;
  margin-bottom: 40px;
  
}

.book:hover {
  transform: translateY(-5px);
}

.book h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  color: #64ffda;
  line-height: 1.5;       /* ✅ Gives breathing room above/below text */
  padding-top: 10px; 
  
}

.tag {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 10px;
  font-size: 0.75rem;
  border-radius: 6px;
  background: #333;
  color: #aaa;
  text-transform: uppercase;
}

.tag.reading {
  background: #005f73;
  color: #fff;
}

.tag.reread {
  background: #ff4fd8;
  color: #fff;
}

.study-btn {
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 8px;
    background: #2d4a68;
    color: #cbd5e1; 
    border: none;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}

.study-btn:hover{
    background-color: #3a5a78;
    transform: scale(1.05);
}

.contact-icons {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.contact-icons a {
  color: #cbd5e1; /* soft light blue */
  font-size: 1.8rem;
  transition: color 0.2s ease;
  margin: 0 30px;
}

.contact-icons a:hover {
  color: white;
  transform: scale(1.1);
}



.btc-footer {
  text-align: center;
  font-size: 0.8rem;
  color: #90a4ae;
  margin-top: 60px;
  letter-spacing: 0.5px;
  transition: color 0.2s ease;
}

.btc-footer:hover {
  color: #ffffff;
}

/* Make project links a distinctive color */
a.project-link {
  color: #64ffda; /* Example: a bright turquoise */
  text-decoration: none;
}

a.project-link:hover {
  color: #a7ffeb; /* Lighter on hover */
  text-decoration: underline;
}


#tools {
  padding: 100px 20px;
  max-width: 800px;
  margin: 0 auto;
}

.tools-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px; /* gap between items */
}

.tool {
  flex: 1 1 180px; /* grow and shrink, base width 180px */
  background: #1a1a1a;
  color: #ccd6f6;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  font-size: 0.95rem;
  margin: 10px; /* fallback spacing if gap fails */
  transition: transform 0.2s ease, background 0.2s ease;
}

.tool:hover {
  background: #2d4a68;
  transform: translateY(-4px);
}

#projects ul li {
  margin-bottom: 150px;
}

/* Add spacing below the entire #projects section */
#projects {
  margin-bottom: 150px;
}


.blog-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 20px;
}

.blog-post h3 {
  margin: 0;
  font-size: 1.3rem;
  color: #64ffda;
}

.blog-post h3 a {
  text-decoration: none;
  color: inherit;
}

.blog-post .snippet {
  color: #ccd6f6;
  margin: 8px 0;
  font-size: 1rem;
  line-height: 1.5;
}

.blog-post .tag {
  background: #0a192f;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  display: inline-block;
  color: #64ffda;
  border: 1px solid #64ffda;
}

/* --- Microstructure Lab styles --- */
.sub-hero {
  padding: 80px 20px 10px;
  text-align: center;
}
.sub-hero-inner { max-width: 800px; margin: 0 auto; }
.crumb { color: #a7ffeb; text-decoration: none; font-size: 0.95rem; }
.crumb:hover { text-decoration: underline; }
.lab-title {
  margin: 10px 0 6px;
  font-size: 2rem;
  font-family: 'Space Grotesk', sans-serif;
  text-transform: none;
}
.lab-subtitle { color: #b8c7e0; margin: 0 0 14px; }
.sub-nav a {
  margin: 0 10px;
  text-decoration: none;
  color: #ccd6f6;
  font-size: 0.95rem;
}
.sub-nav a:hover { text-decoration: underline; }

.filter-bar {
  display: flex; flex-wrap: wrap; gap: 8px;
  align-items: center; justify-content: center;
  margin: 10px auto 20px; max-width: 800px;
}
.filter-bar span { opacity: 0.8; margin-right: 4px; }
.filter-btn {
  border: 1px solid #2d4a68; background: #1a1a1a; color: #ccd6f6;
  padding: 6px 10px; border-radius: 8px; cursor: pointer; font-size: 0.85rem;
}
.filter-btn.active, .filter-btn:hover { background: #2d4a68; }

.lab-grid { display: grid; gap: 18px; }
.entry {
  background: #0a192f; border: 1px solid #2d4a68; border-radius: 10px;
  padding: 18px 16px;
}
.entry header { margin-bottom: 8px; }
.entry h3 { margin: 0 0 6px; color: #64ffda; font-size: 1.1rem; }
.entry .meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.entry time { font-size: 0.85rem; opacity: 0.85; }
.entry details { margin-top: 8px; }
.entry .links { margin-top: 10px; }

.exp-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.exp-card {
  background: #1a1a1a; border: 1px solid #2d4a68; border-radius: 10px; padding: 16px;
}
.paper-list li { margin-bottom: 10px; }
.roadmap li { margin-bottom: 8px; }

/* Tighten top spacing on this page’s sections */
#notebook, #experiments, #papers, #datasets, #roadmap {
  padding-top: 60px;
}

