@font-face {
    font-family: 'OpenAI';
    src: url('../fonts/TestSignifier-Extralight.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'OpenAI';
    src: url('../fonts/TestSignifier-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'OpenAI M';
    src: url('../fonts/TestSignifier-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'OpenAI';
    src: url('../fonts/TestSignifier-ExtralightItalic.woff2') format('woff2');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'OpenAI B';
    src: url('../fonts/TestSignifier-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'OpenAI';
    src: url('../fonts/TestSignifier-BoldItalic.woff2') format('woff2');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'OpenAI L';
    src: url('../fonts/TestSignifier-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'OpenAI';
    src: url('../fonts/TestSignifier-LightItalic.woff2') format('woff2');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'OpenAI';
    src: url('../fonts/TestSignifier-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'OpenAI';
    src: url('../fonts/TestSignifier-BlackItalic.woff2') format('woff2');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'OpenAI';
    src: url('../fonts/TestSignifier-MediumItalic.woff2') format('woff2');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'OpenAI';
    src: url('../fonts/TestSignifier-RegularItalic.woff2') format('woff2');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'OpenAI';
    src: url('../fonts/TestSignifier-Thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'OpenAI';
    src: url('../fonts/TestSignifier-ThinItalic.woff2') format('woff2');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}
/* Layout and typography carried over from the original PaperMod customization. */
:root {
  --gap: 24px;
  --primary: rgb(30, 30, 30);
  --secondary: rgb(108, 108, 108);
  --code-bg: rgb(245, 245, 245);
  --border: rgb(238, 238, 238);
  --darkpurple: #8e7bd0;
  --midpurple: #c0b5e5;
  --radius: 8px;
}
*, ::before, ::after { box-sizing: border-box; }
html { -webkit-tap-highlight-color: transparent; overflow-y: scroll; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--primary);
  background: white;
  font-family: 'OpenAI', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  word-break: break-word;
}
body.list { background: var(--code-bg); }
h1, h2, h3, h4, h5, h6, p { margin: 0; }
h1, h2, h3, h4, h5, h6 { line-height: 1.2; }
a { color: inherit; text-decoration: none; }
figure, ul { margin: 0; }
ul { padding: 0; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font: inherit; color: inherit; }
a:focus-visible, summary:focus-visible, button:focus-visible, .news-scroll:focus-visible { outline: 2px solid var(--darkpurple); outline-offset: 4px; }
.main { position: relative; min-height: calc(100vh - 114px); max-width: calc(720px + var(--gap) * 2); margin: auto; padding: var(--gap); }
.home { --code-bg: #fff; }
.home .main { max-width: 1080px; padding: 48px 32px; }
.profile { display: grid; grid-template-columns: 176px minmax(0, 1fr); gap: 56px; font-size: 16px; line-height: 1.55; }
.profile_inner { min-width: 0; }
.identity { position: sticky; top: 48px; align-self: start; }
.portrait { width: 144px; height: 144px; object-fit: cover; border-radius: 8px; }
.identity h1 { margin-top: 18px; font-size: 24px; line-height: 1.2; font-weight: 500; font-family: 'OpenAI M', 'OpenAI', serif; }
.social-icons { display: flex; flex-wrap: wrap; gap: 13px; padding: 15px 0 0; }
.social-icons a { display: inline-flex; }
.social-icons svg { width: 21px; height: 21px; }
.social-icons a:hover { color: var(--darkpurple); }
.biography { font-size: 17px; line-height: 1.55; margin-bottom: 38px; }
.profile_inner section > h2 { font-size: 26px; font-weight: 500; font-family: 'OpenAI M', 'OpenAI', serif; }
.profile_inner section > hr { border: 0; border-top: 1px solid #dedede; margin: 14px 0 0; }
@media (max-width: 960px) {
  .home .main { max-width: 800px; padding: 32px 24px; }
  .profile { display: block; }
  .identity { position: static; display: flex; align-items: center; gap: 24px; margin-bottom: 28px; }
  .portrait { width: 100px; height: 100px; }
  .identity h1 { margin: 0; font-size: 30px; }
}
@media (max-width: 480px) {
  .home .main { padding: 28px 20px; }
  .identity { gap: 18px; }
  .portrait { width: 80px; height: 80px; }
  .identity h1 { font-size: 26px; }
  .social-icons { gap: 12px; }
  .biography { font-size: 16px; margin-bottom: 30px; }
}
/* Equivalent to the original section-separating line breaks. */
.section-spacer { height: 23.2px; }
table { display: block; width: 100%; border-collapse: collapse; border-spacing: 0; overflow-x: auto; word-break: keep-all; }
/* Compact research cards: text sets the height; the image is cropped to fit. */
.post-entry { position: relative; margin-bottom: var(--gap); padding: var(--gap); background: white; border-radius: var(--radius); border: 2px solid var(--border); }
.post-entry:hover { border-color: var(--midpurple); }
.entry-header { min-width: 0; }
.entry-header h2 { font-size: 20px; line-height: 1.45; }
.blog-title { display: flex; align-items: flex-start; gap: 9px; }
.blog-title-icon { display: inline-flex; flex: 0 0 22px; margin-top: 3px; }
.blog-title-icon svg { width: 22px; height: 24px; }
.entry-header .authors { font-size: 15px; }
.entry-header .links { font-size: 15px; line-height: 1.45; color: var(--secondary); }
.entry-header .links a { color: var(--primary); }
.entry-content { margin: 20px 10px; color: var(--secondary); font-size: 15px; line-height: 1.45; }
.entry-footer { font-size: 15px; }
.venue { color: rgb(0, 162, 255); }
.venue-spotlight { color: rgb(255, 0, 0); }
.research-card { display: grid; grid-template-columns: minmax(0, 1fr) 200px; align-items: start; gap: 28px; min-height: 0; padding: 0; margin: 0 0 30px; background: transparent; border: 0; border-radius: 0; overflow: visible; }
.research-copy { min-width: 0; display: flex; flex-direction: column; gap: 9px; }
.research-copy h2 { font-family: 'OpenAI M', 'OpenAI', serif; font-weight: 500; font-size: 21px; line-height: 1.3; }
.research-copy .authors { font-size: 14px; line-height: 1.45; color: var(--secondary); }
.research-copy .authors strong, .research-result strong { color: var(--primary); }
.research-description { font-size: 15px; line-height: 1.5; }
.research-result { font-size: 15px; line-height: 1.5; color: var(--secondary); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.research-meta { margin-top: 3px; }
.research-venue { font-size: 14px; line-height: 1.45; color: var(--secondary); }
.resource-links { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 14px; }
.research-copy .resource-links { font-size: 14px; line-height: 1.5; }
.resource-links a { display: inline-flex; align-items: center; gap: 5px; line-height: 1.5; }
.resource-links a > span:last-child { text-decoration: underline; text-underline-offset: 2px; }
.resource-icon { display: inline-flex; align-self: center; flex-shrink: 0; }
.resource-icon svg { display: block; width: 13px; height: 13px; }
.resource-links a:hover { color: var(--darkpurple); }
.research-visual { display: block; align-self: center; overflow: hidden; border-radius: 6px; }
.research-visual img { display: block; width: 100%; height: 150px; object-fit: cover; }
.paper-card { grid-template-columns: minmax(0, 1fr) 170px; }
.paper-card + .paper-card { padding-top: 26px; border-top: 1px solid #dedede; }
.paper-card .research-copy { gap: 6px; }
.paper-card .resource-links { margin-top: 4px; }
.paper-visual img { height: auto; max-height: 170px; object-fit: contain; }
.blog-card .coverage-link { flex-basis: 100%; }
@media (max-width: 600px) {
  .research-card { grid-template-columns: minmax(0, 1fr) 160px; gap: 20px; }
  .research-copy h2 { font-size: 18px; }
  .research-visual img { height: 150px; }
  .paper-card { grid-template-columns: minmax(0, 1fr) 125px; }
  .paper-visual img { height: auto; }
}
@media (max-width: 440px) {
  .research-card { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .blog-card .research-visual { grid-row: 1; }
  .blog-card .research-visual img { height: auto; aspect-ratio: 2.3; }
  .paper-visual { max-width: 160px; }
  .paper-visual img { max-height: 100px; }
}
/* Existing paper pages and downloads retain their URLs. */
.nav { display: flex; line-height: 44px; background: var(--code-bg); }
.logo { display: flex; margin: auto var(--gap); }
.logo a { display: block; font-size: 16px; font-weight: 500; }
.logo img { display: inline; vertical-align: middle; transform: translateY(-10%); border-radius: 6px; margin-inline-end: 8px; }
.page-header, .post-header { margin: 24px auto 20px; }
.page-header h1 { font-size: 25px; }
.post-title { margin-bottom: 20px; font-size: 36px; }
.post-meta { color: var(--secondary); font-size: 15px; }
.post-content { line-height: 1.45; font-size: 18px; }
.post-content h1 { margin: 40px auto 32px; font-size: 40px; }
.post-content h2 { margin: 32px auto 24px; font-size: 24px; }
.post-content h3, .post-content h4, .post-content h5, .post-content h6 { margin: 24px 0 16px; }
.post-content h3 { font-size: 19px; }
.post-content h4, .post-content h5 { font-size: 14px; font-weight: 500; text-transform: uppercase; color: rgb(165, 165, 165); }
.post-content h4 { font-size: 15px; }
.post-content h6 { font-size: 13px; color: var(--secondary); }
.post-content a, .post-meta a { box-shadow: 0 2px 0 var(--darkpurple); }
.post-content p, .post-content figure, .post-content ul, .post-content ol { margin-bottom: 20px; }
.post-content ol, .post-content ul { padding-inline-start: 20px; margin-left: 26px; }
.post-content li { margin-top: 5px; }
.post-content li::marker { color: rgb(165, 165, 165); }
.post-content li p { margin-bottom: 0; }
.post-content hr { margin: 30px 0; height: 2px; background: rgb(214, 214, 214); border: 0; }
.post-content img { border-radius: 4px; margin: 1rem 0; }
.post-content iframe { max-width: 100%; }
.post-content code { margin: auto 4px; padding: 4px 6px; font-size: .78em; line-height: 1.45; background: var(--code-bg); border-radius: 2px; border: 1px solid var(--border); }
.post-content .highlight { margin: 10px auto; background: rgb(28, 29, 33); border-radius: var(--radius); }
.post-content .highlight pre { margin: 0; }
.post-content pre code { display: block; margin: auto 0; padding: 10px; color: var(--secondary); border-radius: var(--radius); overflow-x: auto; word-break: break-all; }
.copy-code { font-size: 14px; float: right; padding: 4px 8px; }
.footer { margin: auto; padding: calc((70px - var(--gap)) / 2) var(--gap); text-align: center; line-height: 20px; background: var(--code-bg); font-size: 13px; color: var(--secondary); }
.footer span { margin-inline: 1px; }
.footer a:hover { border-bottom: 2px solid var(--darkpurple); }
@media screen and (max-width: 768px) {
  :root { --gap: 14px; }
  .footer { padding: calc((70px - var(--gap) - 10px) / 2) var(--gap); }
}

.resource-icon-wired, .resource-icon-time { position: relative; }
.resource-icon-wired::after, .resource-icon-time::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; border-bottom: 1px solid currentColor; }
.resource-icon-wired svg { width: 45px; height: 12px; }
.resource-icon-intology svg { width: 14px; height: 15px; }

.resource-icon-time svg { width: 38px; height: 12px; }

/* One chronological timeline, with understated markers distinguishing artifacts. */
.timeline { list-style: none; padding: 0; margin: 28px 0 0 4px; }
.timeline-item { position: relative; border-left: 1px solid #dedede; padding: 0 0 32px 26px; }
.timeline-item:not(:last-child)::after { content: ""; position: absolute; left: 26px; right: 0; bottom: 16px; height: 1px; background: #efedf1; pointer-events: none; }
.timeline-item:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline-item::before { content: ""; position: absolute; top: 6px; left: -4px; width: 7px; height: 7px; border: 1px solid #b5b0bb; border-radius: 50%; background: #fff; }
.timeline-work::before { background: #82758f; border-color: #82758f; }
.timeline-meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 14px; margin-bottom: 10px; line-height: 1.5; }
.timeline-date { white-space: nowrap; font-size: 14px; color: var(--secondary); }
.timeline-kind { font-size: 12px; color: #82758f; }
.timeline .research-card { margin-bottom: 0; }
.update-text { font-size: 15px; line-height: 1.55; }
.update-text a { text-decoration: underline; text-underline-offset: 3px; }
.research-copy h2 a:hover, .update-text a:hover { color: var(--darkpurple); }
@media (max-width: 480px) {
  .timeline-item { padding-left: 20px; }
  .timeline-item:not(:last-child)::after { left: 20px; }
}
