/* Without border-box, width:100% + horizontal padding overflows the viewport on narrow screens. */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    overflow-x: clip;
}

.wrapper {
    width: 100%;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    padding: 28px 20px;

    background: #ffffff;
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);

    font-family: Arial, sans-serif;
    line-height: 1.5;
    color: #111827;
}

@media (min-width: 480px) {
    .wrapper {
        padding: 28px 28px;
    }
}

/* Top nav: one row on narrow screens (no &emsp; overflow). */
nav.site-nav {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    column-gap: clamp(4px, 1.8vw, 14px);
    font-size: clamp(0.75rem, 3.1vw, 1rem);
    line-height: 1.25;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

nav.site-nav::-webkit-scrollbar {
    display: none;
}

nav.site-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
}

body {
    margin: 0;
    padding: 40px 16px;
    background: #f5f6f8;
    color: #111827;
}

a {
    color: #2563eb;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

ul {
    padding-left: 18px;
}

li:not(:last-child) {
    margin-bottom: 4px;
}

img {
    max-width: 100%;
    max-height: 100%;
}

h6 {
    color: #6b7280;
}

img#headshot {
    border-radius: 50%;
    border: 5px solid #ffffff;
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.18);
    width: 110px;
    height: 110px;
    float: right;
    margin: 2.40em 2.20em;
}

img.company-logo {
    display: inline-block;
    vertical-align: middle;
    width: 28px;
    height: 28px;
    object-fit: contain;
    margin-left: 10px;
    margin-right: 8px;
}

img.company-logo-float {
    float: right;
    height: 64px;
    width: auto;
    max-width: 170px;
    object-fit: contain;
    margin: 0.1em 0 0.8em 1.2em;
}

img.company-logo-float-clear {
    clear: right;
}

hr.experience-divider {
    border: 0;
    border-top: 1px solid #e5e7eb;
    margin: 18px 0;
}
