/* Aparna Komarla - shared stylesheet */

* { font-family: 'Computer Modern Serif', serif; box-sizing: border-box; }

body {
  font-size: 18px;
  line-height: 1.7;
  color: #111;
  background: #fff;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
}

.wrapper {
  display: flex;
  width: 100%;
  max-width: 1100px;
  min-height: 100vh;
  padding: 64px 40px 80px;
  gap: 64px;
  align-items: flex-start;
}

nav {
  position: sticky;
  top: 64px;
  width: 160px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
nav a {
  display: block;
  font-size: 0.95rem;
  font-weight: bold;
  color: #bbb;
  text-decoration: none;
  padding: 2px 0;
  transition: color 0.15s;
}
nav a:hover { color: #555; }
nav a.active { color: #111; }

main { flex: 1; min-width: 0; }

h1 { font-size: 2rem; font-weight: bold; margin: 0 0 4px; }

/* Visually hidden, but present for crawlers and screen readers. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

p { margin-bottom: 12px; color: #333; }
a { color: #111; }
a:hover { color: #555; }

.subtitle {
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 24px;
}

.bio p { margin-bottom: 16px; }

.links { margin-bottom: 32px; margin-top: 28px; }
.links a, .links span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  margin-bottom: 8px;
  margin-right: 20px;
  color: #111;
  text-decoration: none;
}
.links svg { width: 16px; height: 16px; flex-shrink: 0; }

/* Section heading, formerly .sublabel */
h2 {
  font-size: 0.78rem;
  font-weight: bold;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 36px 0 14px;
  padding-bottom: 6px;
  border-bottom: 1px solid #ddd;
}
h1.sr-only + h2 { margin-top: 8px; }

/* Subsection heading, formerly .subheading */
h3 {
  font-size: 0.82rem;
  font-weight: normal;
  color: #bbb;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 28px 0 12px;
  padding-bottom: 5px;
  border-bottom: 1px solid #eee;
}

.item { margin-bottom: 24px; }
.item-title { margin-bottom: 1px; }
.item-venue { font-style: italic; color: #444; font-size: 0.97rem; margin-bottom: 1px; }
.item-link { font-size: 0.82rem; color: #888; margin-bottom: 1px; }
.item-link a { color: #888; }
.item-link a:hover { color: #111; }
.item-meta { font-size: 0.88rem; color: #666; font-style: italic; }
.item-note { font-size: 0.88rem; color: #666; font-style: italic; margin-top: 2px; }

.exp-bullets { margin: 6px 0 0 0; padding-left: 20px; color: #333; font-size: 0.97rem; }
.exp-bullets li { margin-bottom: 4px; }

@media (max-width: 700px) {
  body { display: block; }
  .wrapper { flex-direction: column; padding: 0 16px 60px; gap: 0; min-height: unset; }
  nav {
    position: sticky;
    top: 0;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
    margin-bottom: 32px;
    z-index: 100;
  }
  nav a { font-size: 0.82rem; margin-right: 14px; padding: 4px 0; }
  main { padding-top: 24px; }
  h1 { font-size: 1.6rem; }
  .links a, .links span { font-size: 0.85rem; margin-right: 10px; }
}
