:root {
  --bg: #ffffff;
  --panel: #f5f5f5;
  --text: #000000;
  --muted: #555555;
  --brand: #0056b3;
  --accent: #28a745;
  --border: #cccccc;
  --radius: 16px;
}


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

body {
  font: 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: #000;           /* switch text color to black */
  background: #fff;      /* solid white background */
  min-height: 100vh;
}


a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 1rem; }

.skip-link {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus { position: static; width: auto; height: auto; }

/* .site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,12,16, 0.8); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
} */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #74aae7;   /* light bluish background */
  border-bottom: 1px solid #4da3ff; /* keep border bluish */
}



.header-inner { display: flex; align-items: center; justify-content: space-between; padding: .75rem 0; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; letter-spacing: .2px; }
.brand-logo {
  width: 34px; height: 34px; display: grid; place-items: center;
  border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #0b0c10; font-weight: 900;
}
.brand-text { color: var(--text); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--border); color: var(--text);
  padding: .4rem .6rem; border-radius: 8px;
}
.nav-menu { display: flex; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.nav-menu a { padding: .4rem .6rem; border-radius: 8px; }
.nav-menu a:hover { background: var(--panel); text-decoration: none; }

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu { position: absolute; right: 1rem; top: 56px; background: var(--panel); padding: .5rem; border: 1px solid var(--border); border-radius: 12px; display: none; flex-direction: column; }
  .nav-menu.open { display: flex; }
}

.hero { padding: 2.5rem 0 1rem; }
.hero-grid {
  display: grid; grid-template-columns: 160px 1fr; gap: 1.25rem; align-items: center;
  background: radial-gradient(60% 90% at 10% 10%, rgba(77,163,255,.18), transparent 60%);
}
.profile {
  width: 160px; height: 160px; border-radius: 20px; object-fit: cover;
  border: 1px solid var(--border); box-shadow: 0 6px 30px rgba(0,0,0,.35);
}
/* .hero-name { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 0; } */
.hero-role { margin: .25rem 0 0; color: var(--muted); }

.hero-name-block {
  display: inline-block;          /* keeps name + quals grouped */
  text-align: right;              /* right-align the qualifications */
}

.hero-name {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.2;
}

.hero-quals {
  margin: 0;
  font-size: 1rem;
  font-style: italic;
  color: var(--muted);
}


.meta { list-style: none; padding: 0; margin: .75rem 0; display: flex; gap: 1rem; flex-wrap: wrap; color: var(--muted); }
.socials { display: flex; gap: .5rem; margin: .5rem 0 0; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--border); border-radius: 10px; background: var(--panel); }
.icon-btn svg { width: 20px; height: 20px; fill: var(--text); opacity: .92; }
.icon-btn:hover { transform: translateY(-1px); }

.cta-row { display: flex; gap: .6rem; margin-top: .9rem; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem .9rem; border-radius: 10px; border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(77,163,255,.2), rgba(155,219,77,.2));
  color: var(--text); font-weight: 600;
}
.btn-ghost { background: transparent; }

/* .section { padding: 2rem 0; border-top: 1px dashed var(--border); } */
.section h2 { margin: 0 0 .75rem; font-size: clamp(1.3rem, 2.2vw, 1.6rem); }

.section {
  padding: 2rem 0;
  border-top: 1px dashed #4da3ff; /* bluish divider */
}

.tick-list { padding-left: 1.1rem; }
.tick-list li { margin: .25rem 0; }
.tick-list li::marker { color: var(--accent); }

.pub-list { padding-left: 1.1rem; }
.pub-list li { margin: .8rem 0; }
.pub-title { display: block; font-weight: 700; }
.pub-authors, .pub-venue { display: block; color: var(--muted); font-size: .95rem; }
.pub-links a { margin-right: .7rem; }

.card-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.card {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; background: rgba(255,255,255,.02);
}

.grid-2 { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .75rem; }
@media (max-width: 720px) { .grid-2 { grid-template-columns: 1fr; } .hero-grid { grid-template-columns: 100px 1fr; } .profile { width: 100px; height: 100px; } }

.award-list { padding-left: 1.1rem; }

.site-footer { border-top: 1px solid var(--border); margin-top: 2rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; gap: 1rem; color: var(--muted); }
.follow { display: flex; align-items: center; gap: .75rem; }
.follow a { color: var(--text); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }


.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel);
  overflow: hidden; /* prevents stretched edges */
}

.icon-btn img.icon-img {
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
}



.journal-table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    margin: 20px 0;
}

.journal-table th, .journal-table td {
    border: 1px solid #000;
    padding: 10px;
    text-align: left;
}

.journal-table thead {
    background-color: #f2f2f2;
    font-weight: bold;
}

/* Optional: Adds a slight highlight to rows when hovering */
.journal-table tr:hover {
    background-color: #f9f9f9;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 25px 0;
    font-size: 0.9em;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.data-table thead tr {
    background-color: #f8f9fa;
    color: #333;
    text-align: left;
}

.data-table th, .data-table td {
    padding: 12px 15px;
    border: 1px solid #dddddd;
}

.data-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.data-table tbody tr:last-of-type {
    border-bottom: 2px solid #333;
}