body { line-height: 1.4; font-size: 16px; padding: 0 10px; margin: 50px auto; max-width: 650px; }
main { margin-top: 70px; }
p { margin: 0; }

a { color: inherit; text-decoration: underline; text-decoration-color: #c8c8c8; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
h3 a, .top a, footer a { text-decoration: none; }
h3 a:hover, .top a:hover, footer a:hover { text-decoration: underline; }

/* Header on every page: name left, tabs right */
.top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 28px; }
.name { margin: 0; font-size: 1.5em; font-weight: bold; }
.tabs { display: flex; gap: 14px; }
.tabs a { color: #555; }
.tabs a.on { color: inherit; text-decoration: underline; }
.role { margin: -24px 0 20px; color: #555; }  /* pulls "San Francisco" up under the name */
.bio > * + * { margin-top: 12px; }
.bio ul { padding-left: 22px; }
.bio li + li { margin-top: 4px; }

/* Experience / projects / education */
section + section { margin-top: 28px; }
h2 { margin: 0 0 10px; font-size: 1.17em; }
.entry + .entry { margin-top: 16px; }
.head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
h3 { margin: 0; font-size: 1em; }
.yr, .title { color: #555; }
ul { margin: 4px 0 0; }

/* Quote on the home page */
.quote { margin: 48px 0 0; text-align: center; text-wrap: balance; color: #555; font-size: 15px; }
.quote cite { display: block; margin-top: 6px; font-style: normal; font-size: 13px; }

footer { margin-top: 36px; display: flex; justify-content: space-between; color: #555; }
footer nav { display: flex; gap: 12px; }

@media (max-width: 640px) { .dot { display: none; } .loc { display: block; } }
