body {
    margin: 0;
    padding: 0;
    background-color: white;
    font-family: sans-serif;
    font-size: 16px;
    line-height: 1.4;
    color: #333;
}

/* Layout */
.container {
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}
@media (min-width: 992px) {
    .container {
        width: 970px;
     }
}
.row {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
}

/* Props */
#dhead {
    margin-top: 20px;
}
#dpic {
    grid-column: span 6;
    text-align: right;
}
#ddesc {
    padding-top: 40px;
    padding-left: 20px;
    grid-column: span 6;
}
@media (max-width: 991px) {
    #dpic {
      grid-column: span 12;
      text-align: center;
    }
    #ddesc {
      grid-column: span 12;
      padding-top: 20px;
      text-align: center;
    }
}
h1 {
    font-size: 34px;
    font-weight: normal;
    padding: 0;
    margin: 0;
}
h2 {
    font-weight: normal;
    font-style: italic;
    color: #6e6e6e;
    font-size: 18px;
    padding: 0;
    margin: 5px 0 10px 0;
}
@media (min-width: 992px) {
    h2 {
        max-width: 300px;
    }
}
#dpic img {
    width: 240px;
    height: 240px;
    border-radius: 120px;
    object-fit: cover;
    object-position: center top;
}
.iico {
    width: 28px;
    height: 28px;
    margin-right: 14px;
    vertical-align: middle;
}
#demail {
    margin-top: 10px;
    color: #555;
    opacity: 0;
    transition: opacity 0.7s;
}
hr {
    height: 1px;
    background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
    background-image:    -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
    background-image:     -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
    background-image:      -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
    padding: 0;
    margin: 20px 0px 20px 0px;
    border: 0;
}
.ico {
    grid-column: span 1;
    vertical-align: top;
    border-left: 2px solid #cfcfcf;
    position: relative;
}
.ico img {
    border-radius: 5px;
    width: 100%;
    max-width: 80px;
    margin-left: 10px;
}
.desc {
    grid-column: span 10;
    vertical-align: top;
    font-size: 17px;
    padding-left: 20px;
    padding-bottom: 20px;
}
.entry {
}
.entry-dot {
    position: absolute;
    top: 0px;
    left: -8px;
    width: 10px;
    height: 10px;
    border-radius: 7px;
    background-color: #cfcfcf;
    border: 2px solid white;
}
.timespan {
    grid-column: span 1;
    font-size: 14px;
    text-align: right;
    padding-right: 5px;
    color: #bbb;
}
.hassets {
    position: relative;
}
@media (max-width: 991px) {
    .hassets {
        display: none;
    }
}
.hasset {
    position: absolute;
    margin: 0;
    padding: 0;
}
.ctitle {
    font-size: 36px;
    margin-bottom: 20px;
    margin-top: 40px;
}
#featured-talks .row {
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    padding-bottom: 30px;
}
.card {
    grid-column: span 3;
    vertical-align: top;
    background-color: #eee;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 5px;
    background-color: white;
    padding-bottom: 10px;
}
@media (max-width: 991px) {
    .card {
        grid-column: span 6;
    }
    #featured-talks .row {
        grid-column-gap: 5px;
        grid-row-gap: 5px;
    }
}
.card img {
    border-radius: 5px;
    width: 100%;
}
.cdesc {
    height: 30px;
    vertical-align: top;
    margin-bottom: 10px;
    font-size: 15px;
}
@media (max-width: 768px) {
    .cdesc {
        font-size: 14px;
        padding-bottom: 10px;
    }
}
#pet-projects .row {
    grid-column-gap: 10px;
    grid-row-gap: 10px;
}
.project {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}
.pico {
    float: left;
    margin-right: 10px;
}
.pdesc {
}
.pend {
    clear: both;
}
.pico img {
    height: 80px;
    border-radius: 5px;
    border: 1px solid #999;
}
.pub {
    font-size: 14px;
    border-left: 4px solid #aaa;
    padding: 2px 0px 2px 10px;
    margin-bottom: 10px;
}
.pub-title {
    display: inline;
    color: #333;
}
.pub-venue {
    display: inline;
    color: #090;
}
.pub-authors {
    display: block;
    color: #333;
}
.tul {
    text-align: center;
    padding: 0;
}
.til {
    display: inline-block;
    padding: 3px 15px 3px 15px;
    margin-bottom: 5px;
}
.tilb {
    border-right: 1px solid #ccc;
}
.nodot {
    list-style-type: none;
    padding-left: 0;
}
/* core competencies */
#core-competencies .cc-grid {
    grid-column-gap: 10px;
    grid-row-gap: 8px;
    margin-bottom: 30px;
}
.cc-item {
    grid-column: span 4;
    font-size: 15px;
    color: #333;
    padding: 8px 12px;
    border-left: 3px solid #cfcfcf;
    background: #fafafa;
    border-radius: 0 3px 3px 0;
}
@media (max-width: 991px) {
    .cc-item {
        grid-column: span 6;
    }
}
@media (max-width: 600px) {
    .cc-item {
        grid-column: span 12;
    }
}

/* ===== Tagline (hero subtext) ===== */
#tagline {
    font-size: 17px;
    color: #555;
    margin: 18px 0 0 0;
    max-width: 720px;
    line-height: 1.5;
}
#tagline strong { color: #222; font-weight: 600; }
#tagline em { color: #444; font-style: italic; }

/* ===== Eyebrow label above each section ===== */
.eyebrow {
    text-transform: uppercase;
    letter-spacing: 1.6px;
    font-size: 11px;
    color: #6e6e6e;
    margin-top: 36px;
    margin-bottom: 4px;
}

/* ===== Audience cards ===== */
#audience .row {
    grid-column-gap: 16px;
    grid-row-gap: 16px;
}
.aud-card {
    grid-column: span 4;
    padding: 16px 16px;
    border-left: 3px solid #cfcfcf;
    background: #fafafa;
    border-radius: 0 3px 3px 0;
    font-size: 15px;
    color: #333;
}
.aud-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 6px 0;
    color: #222;
}
.aud-card p { margin: 0 0 10px 0; }
.aud-card .ex {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #d6d6d6;
    font-size: 14px;
    color: #666;
}
.aud-card .ex b { color: #333; font-weight: 600; }
@media (max-width: 991px) {
    .aud-card { grid-column: span 12; }
}

/* ===== Work items (current-work list) ===== */
.work-item {
    padding: 14px 0;
    border-bottom: 1px solid #eee;
}
.work-item:last-child { border-bottom: 0; }
.work-meta {
    font-size: 12px;
    color: #6e6e6e;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2px;
}
.work-title {
    font-size: 17px;
    font-weight: 600;
    color: #222;
    margin-bottom: 4px;
}
.work-desc {
    font-size: 15px;
    color: #444;
    line-height: 1.5;
}

/* ===== Teaching list ===== */
.teach-list {
    list-style: none;
    padding: 0;
    margin: 0 0 12px 0;
}
.teach-list li {
    padding: 4px 0;
    font-size: 15px;
    color: #333;
}
.teach-list li::before {
    content: "— ";
    color: #bbb;
}
.teach-note {
    font-size: 15px;
    color: #666;
    font-style: italic;
    margin-top: 8px;
}

/* ===== Essay rows ===== */
.essay-row {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}
.essay-row:last-child { border-bottom: 0; }
.essay-date {
    font-size: 12px;
    color: #6e6e6e;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2px;
}
.essay-title {
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 4px 0;
}
.essay-title a { color: #222; text-decoration: none; }
.essay-title a:hover { text-decoration: underline; }
.essay-desc {
    font-size: 15px;
    color: #444;
    margin-bottom: 4px;
    line-height: 1.5;
}
.essay-read { font-size: 14px; }
.essay-read a { color: #333; }
.all-essays {
    margin-top: 12px;
    font-size: 14px;
}

/* ===== About paragraphs ===== */
.about p {
    font-size: 16px;
    color: #333;
    margin: 0 0 12px 0;
    line-height: 1.55;
    max-width: 720px;
}

/* ===== Contact ===== */
.contact-block { margin-bottom: 14px; }
.contact-block .label {
    font-size: 13px;
    color: #6e6e6e;
    margin-bottom: 2px;
}
.contact-block .val { font-size: 16px; }
.contact-block .val a { color: #333; }
.social-row { margin-top: 18px; }
.social-row a {
    display: inline-block;
    padding: 4px 12px;
    margin-right: 8px;
    margin-bottom: 6px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
}
.social-row a:hover { border-color: #999; }

/* ===== Site footer ===== */
.site-footer {
    margin-top: 50px;
    padding: 20px 0;
    border-top: 1px solid #eee;
    text-align: center;
    color: #6e6e6e;
    font-size: 13px;
}
.site-footer a { color: #6e6e6e; }
.site-footer .attribution {
    margin-top: 8px;
    color: #6e6e6e;
    font-size: 12px;
}
.site-footer .attribution a { color: #6e6e6e; }

/* ===== Restrained CTAs (hairline, not marketing pills) ===== */
.cta-row {
    margin-top: 22px;
    margin-bottom: 4px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.btn {
    display: inline-block;
    padding: 9px 16px;
    font-size: 14px;
    color: #111;
    background: #fff;
    border: 1px solid #222;
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: background 0.12s ease, color 0.12s ease;
}
.btn:hover {
    background: #111;
    color: #fff;
}
.btn-quiet {
    color: #333;
    border-color: #999;
}
.btn-quiet:hover {
    background: #f4f4f4;
    color: #111;
    border-color: #555;
}

/* ===== Top breadcrumb (used by subpages) ===== */
.topnav {
    margin-top: 18px;
    margin-bottom: 4px;
    font-size: 14px;
    color: #666;
}
.topnav a {
    color: #333;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    text-decoration-color: #999;
}
.topnav a:hover {
    color: #000;
    text-decoration-color: #000;
}
.topnav .sep {
    color: #bbb;
    margin: 0 8px;
}
.topnav .current {
    color: #6e6e6e;
}


/* ===== Blueprint figure (light, hairline, monochrome) ===== */
.blueprint {
    margin: 18px 0 0;
    padding: 24px 18px 18px;
    border: 1px solid #e5e5e5;
    background: #fcfcfc;
}
.blueprint svg {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 660px;
    height: auto;
}
.blueprint figcaption {
    margin-top: 14px;
    text-align: center;
    color: #6e6e6e;
    font-size: 13px;
    letter-spacing: 0.04em;
}

/* ===== Frameworks nav link in icon row ===== */
.iframeworks {
    margin-right: 14px;
    vertical-align: middle;
    font-size: 14px;
    color: #555;
    text-decoration: none;
    border-bottom: 1px dotted #bbb;
}
.iframeworks:hover { color: #000; border-bottom-color: #555; }

/* ============================================================================
   Accessibility: focus visibility
   ----------------------------------------------------------------------------
   WCAG 2.4.7 (AA): visible focus indicator on keyboard navigation.
   Use :focus-visible so mouse clicks don't draw a ring, but Tab nav does.
   ============================================================================ */
:focus { outline: none; }
:focus-visible {
    outline: 2px solid #2a6df4;
    outline-offset: 2px;
    border-radius: 2px;
}
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible {
    outline: 2px solid #2a6df4;
    outline-offset: 3px;
}

/* Skip-link target (added in HTML) -- shown only when focused */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: #111;
    color: #fff;
    padding: 8px 12px;
    text-decoration: none;
    z-index: 1000;
    border-radius: 0 0 4px 0;
}
.skip-link:focus,
.skip-link:focus-visible {
    left: 0;
    outline: 2px solid #2a6df4;
}
