/**
 * Reset some basic elements
 */
body, h1, h2, h3, h4, h5, h6,
p, blockquote, pre, hr,
dl, dd, ol, ul, figure {
  margin: 0;
  padding: 0; }

/**
 * Basic styling
 */
body {
  font: 400 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: #111;
  background-color: #fdfdfd;
  -webkit-text-size-adjust: 100%;
  -webkit-font-feature-settings: "kern" 1;
  -moz-font-feature-settings: "kern" 1;
  -o-font-feature-settings: "kern" 1;
  font-feature-settings: "kern" 1;
  font-kerning: normal;
  display: flex;
  min-height: 100vh;
  flex-direction: column; }

/**
 * Set `margin-bottom` to maintain vertical rhythm
 */
h1, h2, h3, h4, h5, h6,
p, blockquote, pre,
ul, ol, dl, figure,
.highlight {
  margin-bottom: 15px; }

/**
 * `main` element
 */
main {
  display: block;
  /* Default value of `display` of `main` element is 'inline' in IE 11. */ }

/**
 * Images
 */
img {
  max-width: 100%;
  vertical-align: middle; }

/**
 * Figures
 */
figure > img {
  display: block; }

figcaption {
  font-size: 14px; }

/**
 * Lists
 */
ul, ol {
  margin-left: 30px; }

li > ul,
li > ol {
  margin-bottom: 0; }

/**
 * Headings
 */
h1, h2, h3, h4, h5, h6 {
  font-weight: 400; }

/**
 * Links
 */
a {
  color: #2a7ae2;
  text-decoration: none; }
  a:visited {
    color: #1756a9; }
  a:hover {
    color: #111;
    text-decoration: underline; }
  .social-media-list a:hover {
    text-decoration: none; }
    .social-media-list a:hover .username {
      text-decoration: underline; }

/**
 * Blockquotes
 */
blockquote {
  color: #828282;
  border-left: 4px solid #e8e8e8;
  padding-left: 15px;
  font-size: 18px;
  letter-spacing: -1px;
  font-style: italic; }
  blockquote > :last-child {
    margin-bottom: 0; }

/**
 * Code formatting
 */
pre,
code {
  font-size: 15px;
  border: 1px solid #e8e8e8;
  border-radius: 3px;
  background-color: #eef; }

code {
  padding: 1px 5px; }

pre {
  padding: 8px 12px;
  overflow-x: auto; }
  pre > code {
    border: 0;
    padding-right: 0;
    padding-left: 0; }

/**
 * Wrapper
 */
.wrapper {
  max-width: -webkit-calc(800px - (30px * 2));
  max-width: calc(800px - (30px * 2));
  margin-right: auto;
  margin-left: auto;
  padding-right: 30px;
  padding-left: 30px; }
  @media screen and (max-width: 800px) {
    .wrapper {
      max-width: -webkit-calc(800px - (30px));
      max-width: calc(800px - (30px));
      padding-right: 15px;
      padding-left: 15px; } }

/**
 * Clearfix
 */
.wrapper:after, .footer-col-wrapper:after {
  content: "";
  display: table;
  clear: both; }

/**
 * Icons
 */
.svg-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  fill: #828282;
  padding-right: 5px;
  vertical-align: text-top; }

.social-media-list li + li {
  padding-top: 5px; }

/**
 * Tables
 */
table {
  margin-bottom: 30px;
  width: 100%;
  text-align: left;
  color: #3f3f3f;
  border-collapse: collapse;
  border: 1px solid #e8e8e8; }
  table tr:nth-child(even) {
    background-color: #f7f7f7; }
  table th, table td {
    padding: 9.999999999px 15px; }
  table th {
    background-color: #f0f0f0;
    border: 1px solid #dedede;
    border-bottom-color: #c9c9c9; }
  table td {
    border: 1px solid #e8e8e8; }

/**
 * Site header
 */
.site-header {
  border-top: 5px solid #424242;
  border-bottom: 1px solid #e8e8e8;
  min-height: 55.95px;
  position: relative; }

.site-title {
  font-size: 26px;
  font-weight: 300;
  line-height: 54px;
  letter-spacing: -1px;
  margin-bottom: 0;
  float: left; }
  .site-title, .site-title:visited {
    color: #424242; }

.site-nav {
  float: right;
  line-height: 54px; }
  .site-nav .nav-trigger {
    display: none; }
  .site-nav .menu-icon {
    display: none; }
  .site-nav .page-link {
    color: #111;
    line-height: 1.5; }
    .site-nav .page-link:not(:last-child) {
      margin-right: 20px; }
  @media screen and (max-width: 600px) {
    .site-nav {
      position: absolute;
      top: 9px;
      right: 15px;
      background-color: #fdfdfd;
      border: 1px solid #e8e8e8;
      border-radius: 5px;
      text-align: right; }
      .site-nav label[for="nav-trigger"] {
        display: block;
        float: right;
        width: 36px;
        height: 36px;
        z-index: 2;
        cursor: pointer; }
      .site-nav .menu-icon {
        display: block;
        float: right;
        width: 36px;
        height: 26px;
        line-height: 0;
        padding-top: 10px;
        text-align: center; }
        .site-nav .menu-icon > svg {
          fill: #424242; }
      .site-nav input ~ .trigger {
        clear: both;
        display: none; }
      .site-nav input:checked ~ .trigger {
        display: block;
        padding-bottom: 5px; }
      .site-nav .page-link {
        display: block;
        margin-left: 20px;
        padding: 5px 10px; }
        .site-nav .page-link:not(:last-child) {
          margin-right: 0; } }

/**
 * Site footer
 */
.site-footer {
  border-top: 1px solid #e8e8e8;
  padding: 30px 0; }

.footer-heading {
  font-size: 18px;
  margin-bottom: 15px; }

.contact-list,
.social-media-list {
  list-style: none;
  margin-left: 0; }

.footer-col-wrapper {
  font-size: 15px;
  color: #828282;
  margin-left: -15px; }

.footer-col {
  float: left;
  margin-bottom: 15px;
  padding-left: 15px; }

.footer-col-1 {
  width: -webkit-calc(35% - (30px / 2));
  width: calc(35% - (30px / 2)); }

.footer-col-2 {
  width: -webkit-calc(20% - (30px / 2));
  width: calc(20% - (30px / 2)); }

.footer-col-3 {
  width: -webkit-calc(45% - (30px / 2));
  width: calc(45% - (30px / 2)); }

@media screen and (max-width: 800px) {
  .footer-col-1,
  .footer-col-2 {
    width: -webkit-calc(50% - (30px / 2));
    width: calc(50% - (30px / 2)); }

  .footer-col-3 {
    width: -webkit-calc(100% - (30px / 2));
    width: calc(100% - (30px / 2)); } }
@media screen and (max-width: 600px) {
  .footer-col {
    float: none;
    width: -webkit-calc(100% - (30px / 2));
    width: calc(100% - (30px / 2)); } }
/**
 * Page content
 */
.page-content {
  padding: 30px 0;
  flex: 1; }

.page-heading {
  font-size: 32px; }

.post-list-heading {
  font-size: 28px; }

.post-list {
  margin-left: 0;
  list-style: none; }
  .post-list > li {
    margin-bottom: 30px; }

.post-meta {
  font-size: 14px;
  color: #828282; }

.post-link {
  display: block;
  font-size: 24px; }

/**
 * Posts
 */
.post-header {
  margin-bottom: 30px; }

.post-title {
  font-size: 42px;
  letter-spacing: -1px;
  line-height: 1; }
  @media screen and (max-width: 800px) {
    .post-title {
      font-size: 36px; } }

.post-content {
  margin-bottom: 30px; }
  .post-content h2 {
    font-size: 32px; }
    @media screen and (max-width: 800px) {
      .post-content h2 {
        font-size: 28px; } }
  .post-content h3 {
    font-size: 26px; }
    @media screen and (max-width: 800px) {
      .post-content h3 {
        font-size: 22px; } }
  .post-content h4 {
    font-size: 20px; }
    @media screen and (max-width: 800px) {
      .post-content h4 {
        font-size: 18px; } }

/**
 * Syntax highlighting styles
 */
.highlight {
  background: #fff; }
  .highlighter-rouge .highlight {
    background: #eef; }
  .highlight .c {
    color: #998;
    font-style: italic; }
  .highlight .err {
    color: #a61717;
    background-color: #e3d2d2; }
  .highlight .k {
    font-weight: bold; }
  .highlight .o {
    font-weight: bold; }
  .highlight .cm {
    color: #998;
    font-style: italic; }
  .highlight .cp {
    color: #999;
    font-weight: bold; }
  .highlight .c1 {
    color: #998;
    font-style: italic; }
  .highlight .cs {
    color: #999;
    font-weight: bold;
    font-style: italic; }
  .highlight .gd {
    color: #000;
    background-color: #fdd; }
  .highlight .gd .x {
    color: #000;
    background-color: #faa; }
  .highlight .ge {
    font-style: italic; }
  .highlight .gr {
    color: #a00; }
  .highlight .gh {
    color: #999; }
  .highlight .gi {
    color: #000;
    background-color: #dfd; }
  .highlight .gi .x {
    color: #000;
    background-color: #afa; }
  .highlight .go {
    color: #888; }
  .highlight .gp {
    color: #555; }
  .highlight .gs {
    font-weight: bold; }
  .highlight .gu {
    color: #aaa; }
  .highlight .gt {
    color: #a00; }
  .highlight .kc {
    font-weight: bold; }
  .highlight .kd {
    font-weight: bold; }
  .highlight .kp {
    font-weight: bold; }
  .highlight .kr {
    font-weight: bold; }
  .highlight .kt {
    color: #458;
    font-weight: bold; }
  .highlight .m {
    color: #099; }
  .highlight .s {
    color: #d14; }
  .highlight .na {
    color: #008080; }
  .highlight .nb {
    color: #0086B3; }
  .highlight .nc {
    color: #458;
    font-weight: bold; }
  .highlight .no {
    color: #008080; }
  .highlight .ni {
    color: #800080; }
  .highlight .ne {
    color: #900;
    font-weight: bold; }
  .highlight .nf {
    color: #900;
    font-weight: bold; }
  .highlight .nn {
    color: #555; }
  .highlight .nt {
    color: #000080; }
  .highlight .nv {
    color: #008080; }
  .highlight .ow {
    font-weight: bold; }
  .highlight .w {
    color: #bbb; }
  .highlight .mf {
    color: #099; }
  .highlight .mh {
    color: #099; }
  .highlight .mi {
    color: #099; }
  .highlight .mo {
    color: #099; }
  .highlight .sb {
    color: #d14; }
  .highlight .sc {
    color: #d14; }
  .highlight .sd {
    color: #d14; }
  .highlight .s2 {
    color: #d14; }
  .highlight .se {
    color: #d14; }
  .highlight .sh {
    color: #d14; }
  .highlight .si {
    color: #d14; }
  .highlight .sx {
    color: #d14; }
  .highlight .sr {
    color: #009926; }
  .highlight .s1 {
    color: #d14; }
  .highlight .ss {
    color: #990073; }
  .highlight .bp {
    color: #999; }
  .highlight .vc {
    color: #008080; }
  .highlight .vg {
    color: #008080; }
  .highlight .vi {
    color: #008080; }
  .highlight .il {
    color: #099; }

:root {
  --ink: #1a1a2e;
  --text: #2d2d3a;
  --text-muted: #6b6b7b;
  --bg: #faf9f7;
  --surface: #ffffff;
  --surface-alt: #f3f2ef;
  --border: #e0ddd8;
  --border-strong: #ccc8c0;
  --orange: #c05621;
  --orange-hover: #a34a1c;
  --orange-soft: rgba(192,86,33,0.08);
  --mono: 'JetBrains Mono', monospace;
  --sans: 'Inter', sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
  --radius: 3px; }

:root[data-theme='dark'] {
  --ink: #e4e4e7;
  --text: #d4d4d8;
  --text-muted: #71717a;
  --bg: #141418;
  --surface: #1c1c22;
  --surface-alt: #222228;
  --border: #2a2a32;
  --border-strong: #3a3a44;
  --orange: #e8944a;
  --orange-hover: #f0a862;
  --orange-soft: rgba(232,148,74,0.10);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3); }

html, body {
  overscroll-behavior: none; }

body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  transition: background-color 0.2s ease, color 0.2s ease;
  -webkit-font-smoothing: antialiased; }

a {
  color: var(--orange);
  text-decoration: none;
  font-weight: 500; }

a:hover {
  text-decoration: underline;
  color: var(--orange-hover); }

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }

.site-header::after {
  content: none; }

.site-header.is-shrunk {
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06); }

.site-title {
  font-family: var(--mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.3px; }
  .site-title:hover {
    text-decoration: none;
    color: var(--ink); }

.site-nav {
  float: right;
  line-height: 56px; }
  .site-nav .nav-trigger {
    display: none; }
  .site-nav .menu-icon {
    display: none; }
  .site-nav .page-link {
    font-family: var(--mono);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    letter-spacing: 0.2px;
    transition: color 0.15s; }
    .site-nav .page-link:hover {
      color: var(--orange);
      text-decoration: none; }
    .site-nav .page-link.active {
      color: var(--orange);
      font-weight: 600; }
  @media screen and (max-width: 600px) {
    .site-nav {
      position: absolute;
      top: 9px;
      right: 12px;
      background-color: transparent;
      border: none;
      text-align: right; }
      .site-nav .nav-trigger {
        display: block;
        position: absolute;
        top: 4px;
        right: 4px;
        width: 40px;
        height: 40px;
        opacity: 0;
        z-index: 3;
        cursor: pointer; }
      .site-nav label[for="nav-trigger"] {
        display: block;
        float: right;
        width: 40px;
        height: 40px;
        z-index: 2;
        cursor: pointer;
        position: relative; }
      .site-nav .menu-icon {
        display: block;
        width: 22px;
        height: 18px;
        margin: 11px 9px 0;
        fill: var(--text); }
      .site-nav #nav-trigger:not(:checked) ~ .nav-links {
        display: none; }
      .site-nav #nav-trigger:checked ~ .nav-links {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        padding: 0.75rem 1rem;
        position: absolute;
        right: 0;
        top: 44px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); }
      .site-nav .theme-toggle-wrapper {
        align-self: flex-end; } }

.theme-toggle-wrapper {
  display: inline-block !important; }

#theme-toggle {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 4px;
  font-size: 0.95rem;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  cursor: pointer;
  line-height: 1;
  padding: 0;
  margin: 0;
  position: relative;
  top: 2px;
  transition: background-color 0.15s, border-color 0.15s; }
  #theme-toggle:hover {
    border-color: var(--border-strong); }

.hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border); }

.hero-main {
  max-width: 580px; }

.hero-aside {
  text-align: center; }

.name {
  font-family: var(--mono);
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.5px;
  margin-bottom: 0.1rem;
  line-height: 1.15; }

.tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.65rem; }

.summary {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text);
  max-width: 58ch;
  margin-bottom: 0.85rem; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
  padding: 0; }

.chip {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  padding: 0.25rem 0.55rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  letter-spacing: 0.3px;
  background: transparent;
  line-height: 1.2; }

.social-row {
  display: flex;
  gap: 1rem;
  font-family: var(--mono);
  font-size: 0.72rem; }
  .social-row a {
    font-weight: 500; }

.profile-pic img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 50%;
  border: none;
  background: var(--surface);
  display: block; }

.framed {
  background: var(--surface);
  padding: 0.6rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  width: 154px;
  height: 154px; }

.framed img {
  border-radius: 50%;
  display: block;
  box-shadow: none; }

.tab-bar {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; }

.tab-btn {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.3px;
  padding: 0.7rem 1.1rem;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block; }
  .tab-btn:hover {
    color: var(--text);
    text-decoration: none; }
  .tab-btn.active {
    color: var(--orange);
    border-bottom-color: var(--orange);
    font-weight: 600; }

.tab-content {
  display: none; }

.tab-content.visible {
  display: block; }

.section-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--orange);
  letter-spacing: 0.3px;
  margin-bottom: 1rem;
  font-weight: 600; }

.card {
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  position: relative;
  background: var(--surface);
  transition: background-color 0.2s ease, border-color 0.2s ease; }

.card:last-child {
  margin-bottom: 0; }

.card h3 {
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.15rem;
  line-height: 1.3; }

.card h3 .subtle {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 400; }

.card .role {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  font-weight: 500; }

.card .meta {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
  font-family: var(--mono); }

.card p {
  font-size: 0.82rem;
  margin: 0.35rem 0 0;
  color: var(--text);
  line-height: 1.5; }

.card ul {
  margin: 0.35rem 0 0 1rem;
  padding: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text); }

.card li {
  margin-top: 0.2rem; }

.card a {
  font-size: 0.8rem;
  font-weight: 600; }

.corner-tag {
  position: absolute;
  top: -1px;
  right: -1px;
  font-family: var(--mono);
  font-size: 0.52rem;
  padding: 0.15rem 0.5rem;
  border-radius: 0 var(--radius) 0 var(--radius);
  letter-spacing: 0.5px;
  font-weight: 500;
  background: var(--orange);
  color: #fff; }

.card .venue {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--orange);
  font-weight: 600;
  margin-top: 0.2rem; }

.card .authors {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic; }

.stack-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.4rem; }

.stack-tag {
  font-family: var(--mono);
  font-size: 0.58rem;
  padding: 0.18rem 0.45rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text-muted);
  letter-spacing: 0.3px; }

.stack-tags {
  list-style: none;
  margin: 0.35rem 0 0.55rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem; }

.stack-tags li {
  margin: 0;
  padding: 0; }

.tag-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  padding: 0.2rem 0.45rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text-muted);
  text-decoration: none;
  line-height: 1;
  transition: color 0.15s, border-color 0.15s; }
  .tag-badge:hover {
    color: var(--orange);
    border-color: var(--orange); }

.blog-card {
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  background: var(--surface);
  transition: background-color 0.2s ease, border-color 0.2s ease;
  display: block;
  text-decoration: none;
  color: inherit; }
  .blog-card:hover {
    border-color: var(--border-strong);
    text-decoration: none;
    color: inherit; }

.blog-card .blog-date {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.3px;
  display: block;
  margin-bottom: 0.2rem; }

.blog-card .blog-title {
  font-family: var(--mono);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 0.25rem; }

.blog-card .blog-excerpt {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden; }

.news-item {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem; }

.news-item:last-child {
  border-bottom: none; }

.news-date {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  white-space: nowrap;
  min-width: 80px; }

.news-item a {
  font-weight: 500; }

.profile-subsection {
  margin-bottom: 1.75rem; }
  .profile-subsection:last-child {
    margin-bottom: 0; }

.profile-subsection-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  font-weight: 600; }

.profile-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.75rem; }

@media (max-width: 600px) {
  .profile-card-grid {
    grid-template-columns: 1fr; } }
.page-content .page-heading {
  font-family: var(--mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem; }
.page-content .page-intro {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 65ch; }

.project-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem; }

.project-item {
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  background: var(--surface);
  transition: border-color 0.15s; }
  .project-item:hover {
    border-color: var(--border-strong); }
  .project-item h3 {
    font-family: var(--mono);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 0.15rem;
    line-height: 1.3; }
    .project-item h3 a {
      color: var(--ink); }
      .project-item h3 a:hover {
        color: var(--orange);
        text-decoration: none; }
  .project-item p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0.3rem 0 0.4rem;
    line-height: 1.45; }
  .project-item a {
    font-size: 0.78rem;
    font-weight: 600; }
  .project-item .card-link {
    position: absolute;
    inset: 0;
    z-index: 1; }

.publication-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem; }

.publication-item {
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.15s; }
  .publication-item:hover {
    border-color: var(--border-strong); }
  .publication-item h3 {
    font-family: var(--mono);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 0.15rem;
    line-height: 1.3; }
  .publication-item p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0.2rem 0;
    line-height: 1.45; }
    .publication-item p em {
      font-size: 0.78rem; }
  .publication-item a {
    font-size: 0.78rem;
    font-weight: 600; }
  .publication-item .pub-venue {
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--orange);
    font-weight: 600; }

.publication-years .heading-md {
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 1.5rem 0 0.5rem; }

.post-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem; }

.post-list li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  transition: border-color 0.15s; }
  .post-list li:hover {
    border-color: var(--border-strong);
    box-shadow: none; }

.post-list .post-meta {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.4px;
  font-weight: 500;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.2rem; }

.post-list .post-link {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink);
  text-decoration: none; }
  .post-list .post-link:hover {
    color: var(--orange); }

.post-list .post-excerpt {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  line-height: 1.45; }

.reading-time {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.3px; }

.post-header {
  margin-bottom: 1.5rem; }
  .post-header .post-title {
    font-family: var(--mono);
    font-size: clamp(1.3rem, 3vw, 1.7rem);
    font-weight: 700;
    color: var(--ink);
    line-height: 1.25;
    letter-spacing: -0.3px; }
  .post-header .post-meta {
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 0.3rem; }

.post-content {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text);
  max-width: 68ch; }
  .post-content h2 {
    font-family: var(--mono);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink);
    margin: 2rem 0 0.75rem;
    letter-spacing: -0.2px; }
  .post-content h3 {
    font-family: var(--mono);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ink);
    margin: 1.5rem 0 0.5rem; }
  .post-content p {
    margin: 0 0 1rem; }
  .post-content ul, .post-content ol {
    margin: 0 0 1rem 1.25rem; }
  .post-content li {
    margin-bottom: 0.3rem; }
  .post-content strong {
    color: var(--ink); }
  .post-content blockquote {
    border-left: 3px solid var(--orange);
    padding: 0.5rem 0 0.5rem 1rem;
    margin: 1rem 0;
    color: var(--text-muted);
    font-style: italic; }
  .post-content code {
    font-family: var(--mono);
    font-size: 0.85em;
    background: var(--surface-alt);
    padding: 0.15rem 0.35rem;
    border-radius: 2px;
    border: 1px solid var(--border); }
  .post-content pre {
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    overflow-x: auto;
    margin: 1rem 0; }
    .post-content pre code {
      background: none;
      border: none;
      padding: 0;
      font-size: 0.82rem;
      line-height: 1.5; }
  .post-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius); }
  .post-content a {
    font-weight: 500; }
  .post-content hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 2rem 0; }

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  font-size: 0.72rem;
  color: var(--text-muted);
  transition: background-color 0.2s ease, border-color 0.2s ease; }
  .site-footer a {
    font-weight: 500; }
  .site-footer p {
    margin: 0.25rem 0; }

.footer-col-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: flex-start; }

.footer-col {
  flex: 1 1 200px;
  min-width: 180px; }

.icon-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0; }

.icon-row li {
  margin: 0;
  padding: 0;
  line-height: 0; }

.icon-row img {
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: var(--surface-alt);
  transition: transform 0.15s; }
  .icon-row img:hover {
    transform: translateY(-2px); }

.site-footer .icon-row {
  justify-content: flex-end; }

.page-content h2 {
  font-family: var(--mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 1.75rem 0 0.75rem; }
.page-content details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.5rem; }
  .page-content details summary {
    font-family: var(--mono);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink);
    padding: 0.6rem 0.85rem;
    cursor: pointer; }
    .page-content details summary:hover {
      color: var(--orange); }
  .page-content details p {
    padding: 0 0.85rem 0.6rem;
    font-size: 0.82rem;
    color: var(--text);
    line-height: 1.5;
    margin: 0; }

.shared-research-landscape {
  margin-top: 2rem; }

.research-graph-wrap {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: background-color 0.2s ease, border-color 0.2s ease; }
  .research-graph-wrap #research-graph {
    width: 100%;
    height: 360px;
    display: block; }

.rg-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 88%);
  background: var(--surface);
  border-left: 1px solid var(--border);
  padding: 1.1rem 1.1rem 1rem;
  transform: translateX(102%);
  transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow-y: auto;
  font-family: var(--mono); }
  .rg-panel.is-open {
    transform: translateX(0); }
  .rg-panel .rg-tag {
    display: inline-block;
    font-size: 0.58rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.35rem; }
  .rg-panel h4 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    font-family: var(--mono);
    line-height: 1.2;
    color: var(--text); }
  .rg-panel .rg-desc {
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--text-muted); }
  .rg-panel .rg-papers {
    margin-top: 0.9rem; }
    .rg-panel .rg-papers h5 {
      font-size: 0.6rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      opacity: 0.6;
      margin: 0 0 0.4rem;
      font-weight: 600; }
    .rg-panel .rg-papers a {
      display: block;
      padding: 0.45rem 0.6rem;
      margin-bottom: 0.35rem;
      background: var(--surface-alt, rgba(0, 0, 0, 0.04));
      border-radius: 6px;
      border-left: 2px solid currentColor;
      font-size: 0.74rem;
      line-height: 1.35;
      color: var(--text);
      text-decoration: none;
      transition: transform 0.15s ease; }
      .rg-panel .rg-papers a:hover {
        transform: translateX(2px);
        text-decoration: none; }
      .rg-panel .rg-papers a .rg-paper-sub {
        display: block;
        font-size: 0.62rem;
        opacity: 0.62;
        margin-top: 0.15rem;
        color: var(--text-muted); }
  .rg-panel .rg-close {
    position: absolute;
    top: 0.45rem;
    right: 0.55rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    width: 26px;
    height: 26px;
    border-radius: 6px;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer; }
    .rg-panel .rg-close:hover {
      background: rgba(0, 0, 0, 0.06);
      color: var(--text); }

html[data-theme="dark"] .rg-panel .rg-papers a {
  background: rgba(255, 255, 255, 0.05); }

html[data-theme="dark"] .rg-panel .rg-close:hover {
  background: rgba(255, 255, 255, 0.08); }

@media (prefers-reduced-motion: reduce) {
  .rg-panel {
    transition: none; } }
.back-nav {
  margin-bottom: 1.25rem; }
  .back-nav a {
    font-family: var(--mono);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    letter-spacing: 0.2px;
    transition: color 0.15s; }
    .back-nav a:hover {
      color: var(--orange);
      text-decoration: none; }

.breadcrumbs {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-bottom: 1rem; }
  .breadcrumbs ol {
    list-style: none;
    display: flex;
    gap: 0.3rem;
    padding: 0;
    margin: 0; }
  .breadcrumbs li::before {
    content: "/";
    margin-right: 0.3rem;
    color: var(--border-strong); }
  .breadcrumbs li:first-child::before {
    content: none; }
  .breadcrumbs a {
    color: var(--text-muted); }
    .breadcrumbs a:hover {
      color: var(--orange); }

.heading-xl {
  font-family: var(--mono);
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--ink); }

.heading-lg {
  font-family: var(--mono);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink); }

.heading-md {
  font-family: var(--mono);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink); }

.heading-sm {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted); }

.body-lg {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 65ch; }

.body-sm {
  font-size: 0.78rem;
  color: var(--text-muted); }

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 1.5rem; }

  .hero-aside {
    order: -1; } }
@media (max-width: 600px) {
  body {
    font-size: 14px; }

  .wrapper {
    padding-left: 1rem;
    padding-right: 1rem; }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem; }
    .hero .hero-main {
      align-items: center;
      display: flex;
      flex-direction: column; }
    .hero .chips {
      justify-content: center; }
    .hero .social-row {
      justify-content: center;
      flex-wrap: wrap; }

  .summary {
    font-size: 0.82rem; }

  .profile-pic img {
    width: 100px;
    height: 100px; }

  .framed {
    width: 124px;
    height: 124px;
    padding: 0.5rem; }

  .tab-bar {
    gap: 0;
    margin-bottom: 1.25rem; }

  .tab-btn {
    padding: 0.55rem 0.6rem;
    font-size: 0.62rem; }

  .card {
    padding: 0.75rem 0.85rem; }

  .card h3 {
    font-size: 0.82rem; }

  .card p {
    font-size: 0.78rem; }

  .card .role {
    font-size: 0.68rem; }

  .card .meta {
    font-size: 0.65rem; }

  .blog-card {
    padding: 0.75rem 0.85rem; }

  .blog-card .blog-title {
    font-size: 0.82rem; }

  .blog-card .blog-excerpt {
    font-size: 0.75rem; }

  .section-label {
    font-size: 0.65rem; }

  .project-list, .publication-list {
    grid-template-columns: 1fr; }

  .profile-card-grid {
    grid-template-columns: 1fr; }

  .post-header .post-title {
    font-size: 1.2rem !important; }

  .corner-tag {
    font-size: 0.48rem;
    padding: 0.12rem 0.4rem; } }
@media (max-width: 420px) {
  .name {
    font-size: 1.5rem; }

  .tagline {
    font-size: 0.78rem; }

  .chip {
    font-size: 0.56rem;
    padding: 0.2rem 0.45rem; }

  .social-row {
    font-size: 0.65rem; }

  .tab-btn {
    padding: 0.5rem 0.45rem;
    font-size: 0.58rem; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important; } }
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important; }

.social-links {
  list-style: none;
  padding: 0;
  margin: 0; }

.social-links li {
  font-size: 0.72rem; }

.social-links .svg-icon {
  width: 18px;
  height: 18px; }
