@font-face {
      font-family: 'DM Serif Display';
      font-style: normal;
      font-weight: 400;
      font-display: block;
      src: local('DM Serif Display'), url('fonts/DMSerifDisplay-latin.woff2') format('woff2')
    }

    @font-face {
      font-family: 'DM Sans';
      font-style: normal;
      font-weight: 300;
      font-display: block;
      src: local('DM Sans Light'), url('fonts/DMSans-300.woff2') format('woff2')
    }

    @font-face {
      font-family: 'DM Sans';
      font-style: normal;
      font-weight: 400;
      font-display: block;
      src: local('DM Sans'), url('fonts/DMSans-400.woff2') format('woff2')
    }

    @font-face {
      font-family: 'DM Sans';
      font-style: normal;
      font-weight: 500;
      font-display: block;
      src: local('DM Sans Medium'), url('fonts/DMSans-500.woff2') format('woff2')
    }

    *,
    ::after,
    ::before {
      box-sizing: border-box;
      margin: 0;
      padding: 0
    }

    ::selection {
      background: rgba(139, 92, 246, 0.18);
      color: var(--ink)
    }


    html {
      scroll-behavior: smooth;
      overflow-x: hidden
    }

    ::-webkit-scrollbar {
      width: 6px
    }

    ::-webkit-scrollbar-track {
      background: transparent
    }

    ::-webkit-scrollbar-thumb {
      background: #e2e8f0;
      border-radius: 10px
    }

    ::-webkit-scrollbar-thumb:hover {
      background: #cbd5e1
    }

    :root {
      --bg: #f8fafc;
      --ink: #0f172a;
      --slate: #475569
    }

    .wrap {
      width: min(90%, 1000px);
      margin: 0 auto
    }

    body {
      background: var(--bg);
      color: var(--ink);
      font-family: 'DM Sans', sans-serif;
      font-weight: 300;
      font-size: clamp(15px, .9375rem + .3125vw, 18px);
      line-height: 1.8;
      padding: clamp(60px, 5vw, 130px) 0 clamp(80px, 8vw, 180px);
      overflow-x: hidden
    }

    header {
      margin-bottom: clamp(48px, 6vw, 88px)
    }

    h1 {
      font-family: 'DM Serif Display', serif;
      font-size: clamp(48px, 3rem + 3vw, 88px);
      font-weight: 400;
      letter-spacing: -1.5px;
      line-height: 1.05;
      margin-bottom: 10px;
      padding-bottom: 8px
    }

    h1::after {
      content: '';
      display: block;
      width: 28px;
      height: 2px;
      margin-top: 6px;
      border-radius: 2px;
      background: rgba(139, 92, 246, 0.55);
    }

    .tagline {
      font-size: clamp(12px, .8rem + .2vw, 14px);
      color: var(--slate);
      margin-bottom: 18px;
      letter-spacing: .01em
    }

    .bio {
      font-size: clamp(14px, .875rem + .25vw, 17px);
      font-weight: 300;
      color: #334155;
      line-height: 1.8;
      width: min(100%, 640px);
      margin-bottom: 24px
    }

    .contacts {
      display: flex;
      flex-wrap: wrap;
      gap: 12px 24px;
      font-size: 13px;
      font-weight: 400
    }

    .contacts a {
      color: var(--slate);
      text-decoration: none;
      padding: 4px 0;
      position: relative;
      transition: color .15s
    }

    .contacts a::after {
      content: '';
      position: absolute;
      width: 100%;
      height: 1px;
      bottom: 0;
      left: 0;
      background-color: currentColor;
      transform: scaleX(0);
      transform-origin: bottom right;
      transition: transform .3s ease
    }

    .contacts a:hover {
      color: var(--ink)
    }

    .contacts a:hover::after {
      transform: scaleX(1);
      transform-origin: bottom left
    }

    section {
      margin-bottom: 54px;
    }

    .label {
      font-size: 10.5px;
      font-weight: 500;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: var(--slate);
      margin-bottom: 16px;
    }

    hr.rule {
      border: none;
      border-top: 1px solid #e2e8f0;
      margin-bottom: 18px;
    }

    .edu-name {
      font-family: 'DM Serif Display', serif;
      font-size: 20px;
      font-weight: 400;
      margin-bottom: 5px
    }

    .edu-meta {
      font-size: 13px;
      color: var(--slate)
    }

    .edu-gpa {
      margin-top: 9px;
      font-size: 13px;
      font-weight: 500
    }

    .edu-courses {
      margin-top: 12px;
      font-size: 13px;
      color: var(--slate)
    }

    .skills-grid {
      display: grid;
      grid-template-columns: minmax(110px, 150px) 1fr;
      gap: 11px 0;
      font-size: 14px
    }

    .skill-key {
      font-weight: 500;
      color: var(--slate);
      font-size: 12px;
      padding-top: 2px;
      letter-spacing: .02em
    }

    .skill-val {
      font-weight: 300;
      color: #1e293b
    }

    .learning-tag {
      font-size: 9.5px;
      font-weight: 500;
      letter-spacing: .07em;
      text-transform: uppercase;
      color: var(--slate);
      border: 1px solid #cbd5e1;
      padding: 1px 6px;
      border-radius: 3px;
      margin-left: 7px;
      vertical-align: middle
    }

    .project {
      margin-bottom: 36px;
      position: relative;
      padding: 16px;
      margin-left: -16px;
      margin-right: -16px;
      border-radius: 16px;
      border: 1px solid transparent;
      transition: all .3s ease;
    }

    .project:first-of-type {
      margin-top: -6px;
    }

    @media(min-width:600px) {
      .project {
        padding: 20px 24px;
        margin-left: -24px;
        margin-right: -24px;
        margin-bottom: 36px;
      }
      .project:first-of-type {
        margin-top: -8px;
      }
    }

    @media(hover:hover) {
      .project:hover {
        transform: translateY(-4px);
        background: rgba(255, 255, 255, 0.4);
        border-color: rgba(0, 0, 0, 0.03)
      }
    }

    .project-tech {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 14px
    }

    .tech-tag {
      font-size: 11px;
      font-weight: 500;
      color: var(--slate);
      background: rgba(71, 85, 105, 0.06);
      padding: 4px 10px;
      border-radius: 20px;
      border: 1px solid rgba(71, 85, 105, 0.1);
      letter-spacing: .03em
    }

    .tech-tag:not(:last-child)::after {
      display: none
    }

    .project-title {
      font-family: 'DM Serif Display', serif;
      font-size: 20px;
      font-weight: 400;
      margin-bottom: 6px;
      display: flex;
      align-items: center;
      gap: 12px;
      flex-wrap: wrap
    }

    .gh-link {
      font-family: 'DM Sans', sans-serif;
      font-size: 12px;
      font-weight: 400;
      color: var(--slate);
      text-decoration: none;
      letter-spacing: .01em;
      padding: 2px 0;
      white-space: nowrap;
      position: relative
    }

    .gh-link::after {
      content: '';
      position: absolute;
      width: 100%;
      height: 1px;
      bottom: 0;
      left: 0;
      background-color: currentColor;
      transform: scaleX(0);
      transform-origin: bottom right;
      transition: transform .3s ease
    }

    .gh-link:hover {
      color: #0f172a
    }

    .gh-link:hover::after {
      transform: scaleX(1);
      transform-origin: bottom left
    }

    .project-actions {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 8px;
      margin-top: 13px;
    }

    .project-gallery[hidden] {
      display: none;
    }

    .action-btn {
      font-family: 'DM Sans', sans-serif;
      font-size: 13px;
      line-height: 1.4;
      min-height: 44px;
      font-weight: 500;
      color: var(--ink);
      background: rgba(71, 85, 105, 0.05);
      padding: 10px 14px;
      border-radius: 8px;
      border: 1px solid rgba(71, 85, 105, 0.14);
      text-decoration: none;
      letter-spacing: .01em;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      cursor: pointer;
      transition: all .2s cubic-bezier(0.16, 1, 0.3, 1);
      white-space: nowrap;
    }

    .action-btn:focus-visible {
      outline: 2px solid var(--ink);
      outline-offset: 4px;
    }

    .gallery-count {
      font-size: 11px;
      color: var(--slate);
      padding-left: 8px;
      border-left: 1px solid currentColor;
    }

    .action-btn .action-icon {
      flex-shrink: 0;
      opacity: 0.75;
      transition: opacity .2s ease;
    }

    .action-btn .action-arrow {
      flex-shrink: 0;
      opacity: 0.45;
      transition: transform .2s cubic-bezier(0.16, 1, 0.3, 1), opacity .2s ease;
    }

    .action-btn .action-btn-thumb {
      width: 14px;
      height: 14px;
      border-radius: 4px;
      object-fit: cover;
      flex-shrink: 0;
      border: 1px solid rgba(71, 85, 105, 0.2);
    }

    .action-btn:hover {
      color: var(--ink);
      background: rgba(71, 85, 105, 0.1);
      border-color: rgba(71, 85, 105, 0.28);
      transform: translateY(-1px);
    }

    .action-btn:hover .action-icon {
      opacity: 1;
    }

    .action-btn:hover .action-arrow {
      opacity: 0.9;
      transform: translateX(3px);
    }

    .action-btn:active {
      transform: scale(0.97);
    }

    .badge {
      font-family: 'DM Sans', sans-serif;
      font-size: 11px;
      line-height: 1;
      font-weight: 500;
      letter-spacing: .01em;
      display: inline-flex;
      align-items: center;
      gap: 4.5px;
      padding: 3.5px 8px;
      border-radius: 12px;
      color: #b45309;
      background: rgba(245, 158, 11, 0.07);
      border: 1px solid rgba(245, 158, 11, 0.22);
      vertical-align: middle;
      transition: all .2s ease;
    }

    .badge.badge-silver,
    .badge.badge-finalist {
      color: #4338ca;
      background: rgba(99, 102, 241, 0.08);
      border-color: rgba(99, 102, 241, 0.22);
    }

    .badge .badge-icon {
      width: 12px;
      height: 12px;
      flex-shrink: 0;
      color: currentColor;
      opacity: 0.9;
      display: inline-block;
      vertical-align: middle;
      transform: translateY(-0.5px);
    }

    @media(prefers-color-scheme:dark){
      .action-btn {
        color: var(--ink);
        background: rgba(148, 163, 184, 0.06);
        border-color: rgba(148, 163, 184, 0.15);
      }
      .action-btn:hover {
        color: var(--ink);
        background: rgba(148, 163, 184, 0.14);
        border-color: rgba(248, 250, 252, 0.3);
      }
      .badge {
        color: #fbbf24;
        background: rgba(245, 158, 11, 0.09);
        border-color: rgba(245, 158, 11, 0.25);
      }
      .badge.badge-silver,
      .badge.badge-finalist {
        color: #a5b4fc;
        background: rgba(99, 102, 241, 0.12);
        border-color: rgba(99, 102, 241, 0.28);
      }
    }

    .project-sub {
      font-size: 12px;
      color: var(--slate);
      margin-bottom: 12px
    }

    .project ul {
      padding-left: 17px;
      font-size: 14px;
      color: var(--slate)
    }

    .project li {
      margin-bottom: 5px
    }


    .cert-list {
      list-style: none
    }

    .cert-list li {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      font-size: 14px;
      padding: 11px 12px;
      margin: 0 -12px;
      border-bottom: 1px solid #e2e8f0;
      border-radius: 8px;
      gap: 16px;
      transition: background 0.2s ease
    }

    .cert-list li:last-child {
      border-bottom: none
    }

    @media(hover:hover) {
      .cert-list li:hover {
        background: rgba(71, 85, 105, 0.04)
      }
    }

    .cert-name {
      font-weight: 400;
      color: #1e293b
    }

    .cert-issuer {
      font-size: 12px;
      color: var(--slate);
      white-space: nowrap;
      flex-shrink: 0
    }

    .honor {
      margin-bottom: 26px
    }

    .honor-title {
      font-weight: 500;
      font-size: 14px;
      color: #1e293b
    }

    .honor-desc {
      font-size: 13px;
      color: var(--slate);
      margin-top: 3px
    }

    .profiles {
      display: flex;
      flex-wrap: wrap;
      gap: 12px 0;
      list-style: none
    }

    .profiles li {
      width: 50%;
      font-size: 13px
    }

    .profiles a {
      color: var(--slate);
      text-decoration: none;
      padding: 4px 0;
      position: relative;
      transition: color .15s
    }

    .profiles a::after {
      content: '';
      position: absolute;
      width: 100%;
      height: 1px;
      bottom: 0;
      left: 0;
      background-color: currentColor;
      transform: scaleX(0);
      transform-origin: bottom right;
      transition: transform .3s ease
    }

    .profiles a:hover {
      color: var(--ink)
    }

    .profiles a:hover::after {
      transform: scaleX(1);
      transform-origin: bottom left
    }

    @media(max-width:600px) {
      body {
        padding: clamp(40px, 8vw, 60px) 0 80px;
        overflow-x: hidden;
      }

      .skills-grid {
        grid-template-columns: 1fr;
        gap: 4px 0
      }

      .skill-key {
        margin-top: 8px
      }

      .project-title {
        font-size: 19px;
        gap: 8px;
      }

      .action-btn {
        padding: 10px 14px;
        font-size: 13px;
      }

      .profiles li {
        width: 100%
      }

      .cert-list li {
        flex-direction: column;
        gap: 4px
      }

    }

    .pf-label {
      font-size: 10.5px;
      font-weight: 500;
      color: var(--slate);
      letter-spacing: .07em;
      text-transform: uppercase;
      margin-right: 9px
    }

    .separator {
      color: #cbd5e1
    }

    footer {
      margin-top: clamp(60px, 6vw, 100px);
      border-top: 1px solid #e2e8f0;
      padding-top: clamp(24px, 3vw, 40px);
      font-size: 12px;
      color: var(--slate);
      display: flex;
      flex-direction: column;
      gap: 6px;
      align-items: center;
      text-align: center
    }

    footer a {
      color: inherit;
      text-decoration: none;
      position: relative
    }

    footer a::after {
      content: '';
      position: absolute;
      width: 100%;
      height: 1px;
      bottom: 0;
      left: 0;
      background-color: currentColor;
      transform: scaleX(0);
      transform-origin: bottom right;
      transition: transform .3s ease
    }

    footer a:hover {
      color: #0f172a
    }

    footer a:hover::after {
      transform: scaleX(1);
      transform-origin: bottom left
    }

    .foot-sep {
      opacity: .4
    }

    .footer-main {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      gap: 4px 10px
    }

    .footer-links {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      gap: 4px 8px;
      font-size: 11px;
      color: var(--slate)
    }

    .footer-links a {
      color: inherit;
      text-decoration: none
    }

    @media(min-width:700px) {
      footer {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        gap: 4px 10px;
        text-align: left
      }

      .footer-main {
        display: contents
      }

      .footer-links {
        flex-basis: 100%;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        gap: 4px 8px;
        margin-top: 0
      }
    }

    @media(prefers-color-scheme:dark) {
      :root {
        --bg: #18181b;
        --ink: #f8fafc;
        --slate: #94a3b8;
        --surface: #1e293b;
        --border: #334155;
        --text-alt: #cbd5e1
      }

      .tech-tag {
        background: rgba(148, 163, 184, 0.05);
        color: var(--text-alt);
        border-color: rgba(148, 163, 184, 0.1)
      }

      .bio {
        color: var(--slate)
      }

      .cert-name,
      .honor-title,
      .skill-val {
        color: var(--text-alt)
      }

      .separator {
        color: var(--text-alt)
      }

      hr.rule {
        border-top-color: var(--surface)
      }

      .cert-list li {
        border-bottom-color: var(--surface)
      }

      .learning-tag {
        border-color: var(--border)
      }

      footer a:hover {
        color: var(--ink)
      }

      .gh-link:hover {
        color: var(--ink)
      }

      @media(hover:hover) {
        .project:hover {
          background: rgba(255, 255, 255, 0.015);
          border-color: rgba(255, 255, 255, 0.03)
        }
      }

      ::selection {
        background: rgba(167, 139, 250, 0.28)
      }

      h1::after {
        background: rgba(167, 139, 250, 0.65);
      }

      .cert-list li:hover {
        background: rgba(148, 163, 184, 0.05)
      }

      footer {
        border-top-color: var(--surface)
      }
    }

    @keyframes fadeUp {
      from {
        opacity: 0;
        transform: translateY(12px)
      }

      to {
        opacity: 1;
        transform: translateY(0)
      }
    }

    header,
    main,
    article,
    footer {
      opacity: 0;
      animation: fadeUp .6s cubic-bezier(.16, 1, .3, 1) forwards
    }

    header {
      animation-delay: 0s
    }

    main,
    article {
      animation-delay: .08s
    }

    footer {
      animation-delay: .16s
    }

    @media(prefers-reduced-motion:reduce) {

      .action-btn,
      .action-btn .action-arrow {
        transition: none;
      }

      header,
      main,
      article,
      footer {
        animation: none;
        opacity: 1;
        transform: none
      }
    }


/* ==========================================================================
   Shared Article & Blog Post Styles
   ========================================================================== */
.wrap-article,
body:has(article) .wrap {
  width: min(90%, 700px);
}

body:has(article) header,
.wrap-article header {
  margin-bottom: clamp(36px, 4vw, 48px);
}

body:has(article) footer,
.wrap-article footer {
  margin-top: clamp(32px, 4vw, 48px);
}

.article-footer-action {
  margin-top: 36px;
  margin-bottom: 0;
  display: flex;
  align-items: center;
}

article .action-btn {
  color: var(--ink);
  text-decoration: none;
}

article .action-btn::after {
  display: none !important;
}

body:has(article) h1,
.wrap-article h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 1.75rem + 1vw, 38px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 20px;
  padding-bottom: 0;
}

body:has(article) h1::after,
.wrap-article h1::after {
  display: none !important;
}

.nav-link {
  font-size: 14px;
  color: var(--slate);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 32px;
  position: relative;
  transition: color .15s;
  padding-bottom: 1px;
}
.nav-link svg {
  transition: transform .2s ease;
}
.nav-link:hover {
  color: var(--ink);
}
.nav-link:hover svg {
  transform: translateX(-3px);
}
.nav-link::after {
  content: '';
  position: absolute;
  width: calc(100% - 20px);
  height: 1px;
  bottom: 0;
  left: 20px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform .3s ease;
}
.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.meta {
  font-size: 14px;
  color: var(--slate);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-bottom: 28px;
}
.meta:not(:has(.platform-pill)) {
  justify-content: flex-start;
  gap: 12px;
}
.meta-author-group {
  display: flex;
  align-items: center;
  gap: 12px;
}
.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--slate);
  background: rgba(71, 85, 105, 0.05);
  border: 1px solid rgba(71, 85, 105, 0.14);
  padding: 5px 12px;
  border-radius: 20px;
  text-decoration: none;
  transition: all .2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}
.platform-pill svg {
  opacity: 0.6;
  transition: opacity .2s ease, transform .2s ease;
}
.platform-pill:hover {
  color: var(--ink);
  background: rgba(71, 85, 105, 0.1);
  border-color: rgba(71, 85, 105, 0.28);
  transform: translateY(-1px);
}
.platform-pill:hover svg {
  opacity: 1;
  transform: translate(1px, -1px);
}
.platform-pill::after {
  display: none !important;
}
.author-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.meta-info {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}
.meta-author {
  font-weight: 500;
  color: var(--ink);
}
.meta-details {
  font-size: 13px;
}
.meta-sub {
  font-size: 14px;
  color: var(--slate);
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.canonical-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #ffedd5;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background .15s;
}
.canonical-badge:hover {
  background: #ffedd5;
}

article {
  font-size: clamp(16px, 1rem + 0.25vw, 18px);
  color: #334155;
}
article p {
  margin-bottom: 28px;
}
article h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(22px, 1.35rem + 0.4vw, 28px);
  font-weight: 400;
  margin: 44px 0 20px;
  color: #0f172a;
  line-height: 1.25;
  letter-spacing: -0.015em;
}
article h3 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(19px, 1.2rem + 0.35vw, 23px);
  font-weight: 400;
  margin: 36px 0 14px;
  color: #0f172a;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
article em {
  font-style: italic;
  color: #1e293b;
}
article strong {
  font-weight: 500;
  color: #0f172a;
}
article blockquote {
  border-left: 2px solid rgba(139,92,246,0.3);
  padding-left: 24px;
  margin: 36px 0;
  font-family: 'DM Serif Display', serif;
  font-size: clamp(20px, 1.25rem + 0.4vw, 24px);
  line-height: 1.45;
  color: #1e293b;
  font-style: italic;
}
article blockquote p {
  margin-bottom: 0;
}
article a {
  color: inherit;
  text-decoration: none;
  position: relative;
  transition: color .15s;
}
article a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform .3s ease;
}
article a:hover {
  color: #0f172a;
}
article a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}
article code {
  font-family: ui-monospace, 'SF Mono', Monaco, Menlo, monospace;
  font-size: 0.88em;
  font-weight: 400;
  color: #1e293b;
  background: rgba(71,85,105,0.06);
  padding: 3px 6px;
  border-radius: 4px;
  border: 1px solid rgba(71,85,105,0.08);
}
article pre {
  background: rgba(15,23,42,0.03);
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 8px;
  padding: 20px;
  overflow-x: auto;
  margin: 32px 0;
  font-size: 14px;
  line-height: 1.6;
}
article pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: inherit;
}
article ul, article ol {
  margin: 24px 0;
  padding-left: 28px;
}
article li {
  margin-bottom: 12px;
  color: #334155;
}
.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 28px 0 36px;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 8px;
}
article table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  line-height: 1.6;
}
article th, article td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(226,232,240,0.8);
}
article th {
  font-weight: 500;
  color: #0f172a;
  background: rgba(71,85,105,0.04);
  white-space: nowrap;
}
article td {
  color: #334155;
}
article tr:last-child td {
  border-bottom: none;
}
.diagram-wrap {
  position: relative;
  margin: 40px 0;
}
.pipeline-arch-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  border: 1px solid rgba(71, 85, 105, 0.1);
  transition: border-color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}
.pipeline-arch-img:hover {
  border-color: rgba(71, 85, 105, 0.25);
  transform: scale(1.005);
}
.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  margin: 40px 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(71,85,105,0.08);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05);
}
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* 404 page styles */
.subtitle {
  font-size: clamp(20px, 1.5rem + 1vw, 28px);
  color: var(--slate);
  margin-bottom: 24px;
}
body:has(.subtitle) h1 {
  font-size: clamp(64px, 4rem + 4vw, 120px);
  margin-bottom: 12px;
}
main a {
  color: inherit;
  text-decoration: none;
  position: relative;
  font-weight: 400;
  transition: color .15s;
}
main a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform .3s ease;
}
main a:hover {
  color: #0f172a;
}
main a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

@media (prefers-color-scheme: dark) {
  article { color: var(--slate); }
  article h2 { color: var(--ink); }
  article h3 { color: var(--ink); }
  article em { color: var(--text-alt); }
  article strong { color: var(--ink); }
  article li { color: var(--slate); }
  article blockquote { color: var(--text-alt); border-left-color: rgba(167,139,250,0.35); }
  article a:hover { color: var(--ink); border-bottom-color: var(--ink); }
  article code { color: var(--text-alt); background: rgba(148,163,184,0.08); border-color: rgba(148,163,184,0.12); }
  article pre { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.08); color: var(--text-alt); }
  article th { background: rgba(255,255,255,0.04); color: var(--ink); border-color: rgba(63,63,70,0.4); }
  article td { color: var(--slate); border-color: rgba(63,63,70,0.4); }
  .canonical-badge { background: rgba(194, 65, 12, 0.15); color: #fb923c; border-color: rgba(194, 65, 12, 0.3); }
  .meta-author { color: var(--ink); }
  .pipeline-arch-img { border-color: rgba(148, 163, 184, 0.15); }
  .pipeline-arch-img:hover { border-color: rgba(148, 163, 184, 0.3); }
  .table-wrap { border-color: rgba(63, 63, 70, 0.4); }
  .platform-pill { color: var(--slate); background: rgba(148, 163, 184, 0.06); border-color: rgba(148, 163, 184, 0.16); }
  .platform-pill:hover { color: var(--ink); background: rgba(148, 163, 184, 0.14); border-color: rgba(248, 250, 252, 0.3); }
  .video-container { border-color: rgba(255,255,255,0.15); box-shadow: 0 10px 30px -10px rgba(0,0,0,0.3); }
  body:has(.subtitle) h1 { background: linear-gradient(to right, #f8fafc, #94a3b8); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
  main a:hover { color: var(--ink); }
}
