/* Tanuj Sharma — static site */

:root {
  --text: #1a1a1a;
  --muted: #555;
  --link: #0645ad;
  --border: #e0e0e0;
  --bg: #fafafa;
  --max: 42rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 17px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
  max-width: var(--max);
  font-family: Georgia, "Times New Roman", Times, serif;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

h1 {
  font-size: 1.85rem;
  font-weight: normal;
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.05rem;
  font-weight: normal;
  color: var(--muted);
  margin: 0 0 1.5rem;
  line-height: 1.5;
}

h3 {
  font-size: 1rem;
  font-weight: bold;
  margin: 2rem 0 0.5rem;
}

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--link);
}

a:hover {
  text-decoration: none;
}

.roles {
  font-style: italic;
  color: var(--muted);
}

.tagline {
  margin-bottom: 0.5rem;
}

nav.top {
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 0.82rem;
  margin-bottom: 2rem;
}

nav.top a {
  margin-right: 1rem;
  color: var(--muted);
}

nav.top a:hover {
  color: var(--link);
}

.era {
  margin-bottom: 1.75rem;
}

.era-range {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.82rem;
  color: var(--muted);
  display: block;
  margin-bottom: 0.25rem;
}

.era p {
  margin: 0 0 0.65rem;
}

.era p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}

li {
  margin-bottom: 0.35rem;
}

blockquote {
  margin: 1rem 0;
  padding-left: 1rem;
  border-left: 3px solid var(--border);
  color: var(--muted);
}

footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--muted);
}

@media (max-width: 480px) {
  html {
    font-size: 16px;
  }
  body {
    padding: 1.25rem 1rem 3rem;
  }
}
