:root{--bg:#0b0d10;--bg2:#0f1419;--card:#12161b;--text:#e8edf2;--muted:#a7b6c6;--accent:#7dd3fc;--accent2:#a78bfa;--border:#203040;--max:1040px}
@media (prefers-color-scheme: light){:root{--bg:#fff;--bg2:#f7fafc;--card:#fff;--text:#0c1116;--muted:#5b6b7b;--accent:#0ea5e9;--accent2:#7c3aed;--border:#e5eef5}}
html,body{margin:0;padding:0;background:var(--bg);color:var(--text);font:16px/1.6 system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial}
.wrap{max-width:var(--max);margin:0 auto;padding:20px}
header{padding:18px 0;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:center}
.brand{display:flex;align-items:center;gap:12px}
.logo{width:40px;height:40px;border-radius:12px;background:linear-gradient(135deg,var(--accent),var(--accent2));display:grid;place-items:center;color:#0b0d10;font-weight:800}
nav a{margin-left:20px;color:var(--muted);text-decoration:none;font-weight:500}
nav a:hover{color:var(--accent)}
nav a.active{color:var(--accent)}
.hero{display:grid;gap:20px;padding:40px 0}
@media(min-width:900px){.hero{grid-template-columns:1fr 1fr;align-items:center}}
.card{background:var(--card);border:1px solid var(--border);border-radius:16px;padding:20px}
h1{font-size:clamp(28px,4vw,40px);line-height:1.1;margin:0 0 10px}
h2{margin-top:40px}
p{color:var(--muted)}
img{max-width:100%;border-radius:12px;display:block}
footer{border-top:1px solid var(--border);margin-top:28px;padding:22px 0;color:var(--muted);text-align:center}
.page{padding:32px 0}
.pdf-viewer{width:100%;height:780px;border:none;border-radius:12px;background:var(--bg2)}
.btn{display:inline-block;margin-left:10px;padding:.5rem .75rem;border:1px solid var(--border);border-radius:10px;color:var(--text);text-decoration:none}
.btn:hover{border-color:var(--accent);color:var(--accent)}
.small{font-size:.9rem}.muted{color:var(--muted)}


.site-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
}

.hero.aligned {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 40px;
}

.profile-photo {
  max-width: 260px;
  border-radius: 16px;
  display: block;
}

.description p {
  color: var(--text);   /* plain white (in dark mode) */
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
}

.description a {
  color: var(--text);          /* same as main text */
  text-decoration: underline;  /* keep underline for clarity */
}

.description a:hover {
  color: var(--accent);        /* highlight with accent color on hover */
}


.social-links {
  display: flex;
  justify-content: center; /* centers under photo */
  gap: 18px;               /* spacing between icons */
}

.social-links svg {
  fill: var(--text);        /* makes icons the same color as your text (white in dark mode) */
  transition: fill 0.2s ease, transform 0.2s ease;
}

.social-links a:hover svg {
  fill: var(--accent);      /* highlight color on hover */
  transform: scale(1.15);
}

.profile-photo {
  display: block;
  margin-bottom: 30px; /* adds clear space below the photo */
}


.card {
  padding-top: 12px;   /* reduce from default (likely 20–30px) */
  padding-right: 20px;
  padding-bottom: 20px;
  padding-left: 20px;
}

/* Also shrink top margin of section headings inside cards */
.card h2, 
.card h3 {
  margin-top: 0.4em;   /* default is ~1em */
}



.card ul li {
  margin-bottom: 30px; /* adjust this value for more or less spacing */
}

.card a {
  color: white;
  text-decoration: underline;  /* keep underline if you want it clear it's clickable */
}

.card a:hover {
  color: #cccccc; /* optional: a softer grey when hovering */
}



/* Default: show desktop header, hide mobile header */ .desktop-header { display: flex; } .mobile-header { display: none !important; } /* On phones: hide desktop header, show research-style mobile header AND hide the big picture column */ @media (max-width: 700px) { .desktop-header { display: none !important; } .mobile-header { display: flex !important; } /* Hide the big photo (first column in hero) on mobile */ .hero.aligned > div:first-child { display: none !important; } }

