body {
  font-family: Arial, sans-serif;
  margin: 40px;
  background-color: #f8f9fa;
  color: #333;
}

.container {
  max-width: 900px;
  margin: auto;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.hero-section {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 30px;
  padding: 20px 0;
}

.profile-container {
  flex-shrink: 0;
}

.profile-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #004085;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
  color: #004085;
}

.hero-content .title {
  font-size: 1.3em;
  color: #004085;
  font-weight: bold;
  margin: 10px 0;
}

.hero-content .tagline {
  font-size: 1.1em;
  color: #666;
  font-style: italic;
  margin: 10px 0 20px 0;
}

.contact-info {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  border-left: 4px solid #004085;
}

.contact-info p {
  margin: 5px 0;
  color: #333;
}

.welcome {
  text-align: center;
  margin-bottom: 40px;
  padding: 30px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.welcome h2 {
  color: #004085;
  margin-bottom: 20px;
}

.welcome p {
  font-size: 1.1em;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.navigation {
  margin: 30px 0;
}

.cv-link {
  display: inline-block;
  background-color: #004085;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 1.1em;
}

.cv-link:hover {
  background-color: #002752;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.overview-item {
  background-color: #f8f9fa;
  padding: 25px;
  border-radius: 8px;
  border-left: 4px solid #004085;
  text-align: center;
}

.overview-item h3 {
  color: #004085;
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.2em;
}

.overview-item p {
  margin: 0;
  color: #666;
  line-height: 1.5;
}

@media (max-width: 768px) {
  body {
    margin: 20px;
  }

  .home-page .hero {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .home-page .hero-image img {
    display: block;
    width: min(100%, 320px);
    height: auto;
    margin: 0 auto;
  }
  
  .hero-section {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  .profile-img {
    width: 150px;
    height: 150px;
  }
  
  .hero-content h1 {
    font-size: 2em;
  }
  
  .overview-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 20px;
  }
  
  body {
    margin: 10px;
  }
}

.interview-calendar, .wasm-demo {
    background: #f8f9fa;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
}

.slot-item {
    background: white;
    padding: 15px;
    margin: 10px 0;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-image img {
    width: 500px; 
    height: 500px;
    object-fit: cover;  
    border-radius: 50%;
}

.home-page .hero {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 40px;
  align-items: center;
  padding: 32px;
}

.home-page .top-nav,
.home-page .site-theme-toolbar {
  max-width: 1080px;
}

.cv-page .top-nav,
.cv-page .site-theme-toolbar {
  max-width: 900px;
}

.home-page .top-nav,
.cv-page .top-nav {
  margin-left: auto;
  margin-right: auto;
}

.home-page .hero-text h1 {
  margin: 0 0 16px;
  font-size: 3rem;
}

.home-page .hero-image {
  justify-self: center;
}

.home-page .hero-image img {
  display: block;
  width: min(100%, 360px);
  max-width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}

.home-page .bio-intro,
.home-page .bio-story,
.home-page .cta {
  line-height: 1.6;
  font-size: 1.05rem;
}

.home-page .hero-role {
  margin: -6px 0 18px;
  color: #004085;
  font-weight: 800;
  line-height: 1.4;
}

.home-page .cta a {
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-actions a,
.cv-recruiter-actions a,
.case-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #004085;
  border-radius: 6px;
  background: #004085;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.positioning-proof {
  max-width: 1080px;
  margin: 28px auto 0;
}

.positioning-proof h2 {
  margin: 0 0 16px;
  color: #102a43;
}

.home-proof-grid,
.case-study-grid,
.cv-impact-grid,
.cv-skill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.home-proof-card,
.case-card {
  padding: 18px;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  background: #fff;
  line-height: 1.55;
}

.home-proof-card span,
.case-card span {
  display: block;
  margin-bottom: 8px;
  color: #2f855a;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-proof-card h3,
.case-card h3 {
  margin: 0 0 10px;
  color: #102a43;
}

.home-proof-card p,
.case-card p {
  margin: 0;
  color: #52606d;
}

.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}

.nav-left {
  font-weight: 700;
  color: #004085;
}

.nav-right {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.nav-right a {
  color: #004085;
  text-decoration: none;
  font-weight: 600;
}

.nav-right a:hover {
  text-decoration: underline;
}

.blog-page {
  max-width: 980px;
  margin: 0 auto;
}

.blog-hero {
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid #d9e2ec;
}

.blog-kicker {
  margin: 0 0 10px;
  color: #004085;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.blog-hero h1 {
  margin: 0;
  color: #102a43;
  font-size: 2.4rem;
}

.blog-subtitle {
  max-width: 760px;
  color: #52606d;
  line-height: 1.6;
  font-size: 1.08rem;
}

.conversation {
  display: grid;
  gap: 18px;
}

.message {
  max-width: 780px;
  padding: 18px 20px;
  border-radius: 8px;
  line-height: 1.6;
}

.message.question {
  justify-self: start;
  background: #fff;
  border-left: 4px solid #829ab1;
}

.message.answer {
  justify-self: end;
  background: #eef5ff;
  border-left: 4px solid #004085;
}

.speaker {
  margin-bottom: 8px;
  color: #102a43;
  font-size: 0.9rem;
  font-weight: 700;
}

.message p {
  margin: 0;
}

.tech-notes {
  margin-top: 34px;
  padding: 24px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #d9e2ec;
}

.case-studies {
  margin-top: 34px;
  padding: 24px;
  background: #fff;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
}

.case-card a {
  margin-top: 16px;
}

.tech-notes h2 {
  margin-top: 0;
  color: #004085;
}

.tech-notes li {
  margin-bottom: 12px;
  line-height: 1.55;
}

.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
}

.source-links span {
  color: #627d98;
  font-size: 0.82rem;
  font-weight: 800;
}

.source-links a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid #bcccdc;
  border-radius: 999px;
  background: #f8fbff;
  color: #004085;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.source-links a:hover {
  border-color: #004085;
  background: #eef5ff;
}

.architecture-section,
.activity-log,
.homelab-todo,
.tree-key {
  margin-top: 34px;
  padding: 24px;
  background: #fff;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 18px;
}

.section-heading h1,
.section-heading h2 {
  margin: 0 0 10px;
  color: #102a43;
}

.section-heading p {
  margin: 0 0 12px;
  color: #52606d;
  line-height: 1.6;
}

.section-kicker {
  color: #004085;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.diagram-shell {
  overflow-x: auto;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  background: #f8fbff;
}

.homelab-map {
  display: block;
  width: 100%;
  min-width: 920px;
  height: auto;
}

.diagram-zone {
  fill: #f7fafc;
  stroke: #cbd5e1;
  stroke-width: 1.2;
}

.diagram-zone-source {
  fill: #f7fbff;
}

.diagram-zone-platform {
  fill: #f7fff9;
}

.diagram-zone-runtime {
  fill: #fffaf2;
}

.diagram-zone-title {
  fill: #102a43;
  font-size: 17px;
  font-weight: 800;
}

.diagram-node rect {
  fill: #fff;
  stroke-width: 1.5;
}

.diagram-node text {
  fill: #102a43;
  font-size: 16px;
  font-weight: 800;
}

.diagram-node .diagram-small,
.diagram-small {
  fill: #52606d;
  font-size: 13px;
  font-weight: 600;
}

.node-accent-blue rect {
  stroke: #2b6cb0;
}

.node-accent-teal rect {
  stroke: #2c7a7b;
}

.node-accent-red rect {
  stroke: #c53030;
}

.node-accent-green rect {
  stroke: #2f855a;
}

.node-accent-purple rect {
  stroke: #6b46c1;
}

.node-accent-orange rect {
  stroke: #b7791f;
}

.diagram-link {
  fill: none;
  stroke: #2b6cb0;
  stroke-width: 2.2;
  marker-end: url(#map-arrow);
}

.diagram-link-label {
  fill: #334e68;
  font-size: 13px;
  font-weight: 800;
}

.diagram-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
}

.diagram-caption {
  margin: 0;
  color: #52606d;
  line-height: 1.55;
}

.diagram-fun-link,
.tree-back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 6px;
  background: #004085;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
}

.diagram-fun-link:hover,
.tree-back-link:hover {
  background: #002752;
}

.activity-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.activity-list li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px;
  border: 1px solid #e6edf5;
  border-radius: 8px;
  background: #fbfdff;
  line-height: 1.55;
}

.activity-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 32px;
  border-radius: 999px;
  background: #e8f1ff;
  color: #004085;
  font-weight: 800;
}

.todo-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.todo-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-height: 76px;
  padding: 14px;
  border: 1px solid #e6edf5;
  border-radius: 8px;
  background: #fbfdff;
  line-height: 1.5;
}

.todo-checkbox {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 2px;
  border: 2px solid #9fb3c8;
  border-radius: 4px;
  background: #fff;
}

.visitor-ideas {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e6edf5;
}

.visitor-ideas h3 {
  margin: 0 0 10px;
  color: #102a43;
  font-size: 1.35rem;
}

.idea-status {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #bcccdc;
  background: #f8fbff;
  color: #334e68;
  font-weight: 700;
}

.idea-status-thanks {
  border-color: #b7ebc6;
  background: #effcf6;
  color: #276749;
}

.idea-status-invalid,
.idea-status-slow,
.idea-status-error {
  border-color: #fed7d7;
  background: #fff5f5;
  color: #9b2c2c;
}

.idea-form {
  display: grid;
  gap: 14px;
  max-width: 720px;
}

.idea-form label {
  display: grid;
  gap: 7px;
  color: #334e68;
  font-weight: 800;
}

.idea-form input,
.idea-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #bcccdc;
  border-radius: 8px;
  padding: 11px 12px;
  background: #fff;
  color: #102a43;
  font: inherit;
}

.idea-form textarea {
  resize: vertical;
  min-height: 120px;
}

.idea-form input:focus,
.idea-form textarea:focus {
  outline: 3px solid #d9eaff;
  border-color: #004085;
}

.idea-form button {
  justify-self: start;
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 6px;
  background: #004085;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.idea-form button:hover {
  background: #002752;
}

.idea-honey {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.visitor-idea-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.visitor-idea-list h4 {
  grid-column: 1 / -1;
  margin: 0;
  color: #102a43;
}

.visitor-idea-card {
  min-height: 120px;
  padding: 14px;
  border: 1px solid #e6edf5;
  border-radius: 8px;
  background: #fbfdff;
}

.visitor-idea-card p {
  margin: 0 0 14px;
  line-height: 1.5;
}

.visitor-idea-card footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  color: #627d98;
  font-size: 0.85rem;
  font-weight: 800;
}

.tree-page {
  max-width: 1120px;
  margin: 0 auto;
}

.tree-hero {
  margin-bottom: 34px;
}

.tree-hero .section-heading h1 {
  font-size: 2.4rem;
}

.tree-stage {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid #1f3a4d;
  background: #132635;
}

.christmas-homelab {
  display: block;
  width: 100%;
  min-width: 900px;
  height: auto;
}

.tree-sky {
  fill: #132635;
}

.tree-light {
  opacity: 0.95;
}

.tree-light-blue {
  fill: #9ed7ff;
}

.tree-light-gold {
  fill: #ffd166;
}

.tree-light-red {
  fill: #ff7a7a;
}

.tree-light-green {
  fill: #9cffb1;
}

.tree-star polygon {
  fill: #ffd166;
  stroke: #f2a900;
  stroke-width: 4;
}

.tree-star text,
.tree-ornament text,
.tree-bell text,
.tree-gift text,
.tree-trunk-text,
.tree-root-label,
.tree-garland-label {
  text-anchor: middle;
  font-size: 16px;
  font-weight: 800;
}

.tree-star text {
  fill: #412500;
}

.tree-small {
  font-size: 12px;
  font-weight: 700;
}

.tree-layer {
  stroke: #164f35;
  stroke-width: 3;
}

.tree-layer-top {
  fill: #1f7a4f;
}

.tree-layer-shadow {
  fill: #17613f;
  opacity: 0.9;
}

.garland {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 12 12;
}

.garland-blue {
  stroke: #9ed7ff;
}

.garland-gold {
  stroke: #ffd166;
}

.garland-red {
  stroke: #ff7a7a;
}

.tree-garland-label {
  fill: #f8fbff;
  font-size: 14px;
}

.tree-ornament circle {
  stroke: rgba(255, 255, 255, 0.85);
  stroke-width: 3;
}

.tree-ornament text {
  fill: #102a43;
}

.ornament-blue circle {
  fill: #b9e3ff;
}

.ornament-gold circle {
  fill: #ffe29a;
}

.ornament-red circle {
  fill: #ffb3b3;
}

.ornament-purple circle {
  fill: #d6c8ff;
}

.ornament-teal circle {
  fill: #aee9e4;
}

.ornament-green circle {
  fill: #bdedc6;
}

.tree-bell path {
  fill: #ffd166;
  stroke: #f2a900;
  stroke-width: 3;
}

.tree-bell circle {
  fill: #f2a900;
}

.tree-bell text {
  fill: #f8fbff;
  font-size: 13px;
}

.tree-trunk {
  fill: #7b4a2a;
  stroke: #4a2b16;
  stroke-width: 3;
}

.tree-trunk-text {
  fill: #fff5df;
}

.tree-root {
  fill: none;
  stroke: #7b4a2a;
  stroke-width: 8;
  stroke-linecap: round;
}

.tree-root-label {
  fill: #f8fbff;
  font-size: 14px;
}

.tree-gift rect {
  stroke: rgba(255, 255, 255, 0.85);
  stroke-width: 3;
}

.tree-gift path {
  stroke: rgba(255, 255, 255, 0.85);
  stroke-width: 5;
}

.tree-gift text {
  fill: #102a43;
}

.gift-blue rect {
  fill: #b9e3ff;
}

.gift-red rect {
  fill: #ffb3b3;
}

.gift-green rect {
  fill: #bdedc6;
}

.gift-gold rect {
  fill: #ffe29a;
}

.tree-key-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.tree-key-list li {
  min-height: 86px;
  padding: 14px;
  border: 1px solid #e6edf5;
  border-radius: 8px;
  background: #fbfdff;
  line-height: 1.5;
}

.tree-key-list strong {
  color: #004085;
}

@media (max-width: 768px) {
  body {
    margin: 24px;
  }

  .top-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .blog-hero h1 {
    font-size: 2rem;
  }

  .message,
  .message.answer {
    justify-self: stretch;
  }

  .architecture-section,
  .activity-log,
  .homelab-todo,
  .tree-key {
    padding: 18px;
  }

  .diagram-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .diagram-fun-link,
  .tree-back-link {
    white-space: normal;
    text-align: center;
  }

  .activity-list li {
    grid-template-columns: 1fr;
  }

  .tree-hero .section-heading h1 {
    font-size: 2rem;
  }
}

.site-theme-toolbar {
  max-width: 900px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  font-size: 0.9rem;
}

.site-theme-option {
  border: 1px solid #9fb3c8;
  background: #fff;
  color: #102a43;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
}

.site-theme-option.is-active {
  background: #004085;
  border-color: #004085;
  color: #fff;
}

.cv-container {
  position: relative;
  min-height: 520px;
}

.cv-proof-section,
.cv-skill-section,
.cv-recruiter-panel {
  margin: 28px 0;
  padding-top: 22px;
  border-top: 1px solid #d9e2ec;
}

.cv-impact-grid p {
  margin: 0;
  padding-left: 14px;
  border-left: 4px solid #004085;
  color: #334e68;
  font-weight: 700;
}

.cv-skill-grid article {
  padding-left: 14px;
  border-left: 4px solid #829ab1;
}

.cv-skill-grid h3 {
  margin: 0 0 8px;
  color: #102a43;
}

.cv-skill-grid p,
.cv-recruiter-panel li {
  line-height: 1.55;
}

.cv-recruiter-panel ul {
  display: grid;
  gap: 8px;
  padding-left: 20px;
}

.cv-recruiter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.cv-portrait-orbit {
  --portrait-rotation: 0deg;
  width: 160px;
  height: 160px;
  z-index: 2;
}

.cv-portrait-orbit svg {
  display: none;
}

.cv-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.cv-page.theme-dark,
body.home-page.theme-dark {
  background: #030603;
  color: #a8ffb0;
  font-family: "Courier New", "Lucida Console", Monaco, monospace;
}

.theme-dark .top-nav,
.theme-dark .site-theme-toolbar {
  color: #a8ffb0;
}

.theme-dark .nav-left,
.theme-dark .nav-right a {
  color: #a8ffb0;
}

.theme-dark .site-theme-option {
  background: #061106;
  border-color: #2b7a38;
  color: #a8ffb0;
  font-family: inherit;
}

.theme-dark .site-theme-option.is-active {
  background: #143b18;
  border-color: #a8ffb0;
}

.theme-dark .cv-container {
  background: #061106;
  border: 1px solid #2b7a38;
  border-radius: 0;
  box-shadow: 0 0 18px rgba(168, 255, 176, 0.12);
}

.theme-dark .cv-container h1,
.theme-dark .cv-container h2,
.theme-dark .cv-container strong {
  color: #c7ffd0;
  font-family: inherit;
}

.theme-dark .cv-container p {
  color: #a8ffb0;
  line-height: 1.55;
}

.theme-dark.home-page .hero {
  background: #061106;
  border: 1px solid #2b7a38;
  box-shadow: 0 0 18px rgba(168, 255, 176, 0.12);
}

.theme-dark.home-page .hero-text h1,
.theme-dark.home-page .cta a,
.theme-dark.home-page .hero-role {
  color: #c7ffd0;
  font-family: inherit;
}

.theme-dark.home-page .bio-intro,
.theme-dark.home-page .bio-story,
.theme-dark.home-page .cta {
  color: #a8ffb0;
}

.theme-dark.home-page .hero-image img {
  border-radius: 0;
  border: 2px solid #a8ffb0;
  filter: saturate(0.8) contrast(1.08);
}

.theme-dark .cv-header-text {
  min-height: 160px;
  padding-right: 190px;
}

.theme-dark .cv-portrait-orbit {
  position: absolute;
  top: 30px;
  right: 30px;
}

.theme-dark .cv-portrait-img {
  border-radius: 0;
  border: 2px solid #a8ffb0;
  filter: saturate(0.8) contrast(1.08);
}

body.theme-dark {
  background: #030603;
  color: #a8ffb0;
  font-family: "Courier New", "Lucida Console", Monaco, monospace;
}

body.theme-light {
  background: #fff;
  color: #111;
  font-family: "Brush Script MT", "Segoe Script", "Snell Roundhand", cursive;
}

body.cv-page.theme-light,
body.home-page.theme-light {
  background: #fff;
  color: #111;
  font-family: "Brush Script MT", "Segoe Script", "Snell Roundhand", cursive;
}

.theme-light .top-nav {
  color: #5f3f35;
}

.theme-light .nav-left,
.theme-light .nav-right a {
  color: #6f3d53;
}

.theme-light .site-theme-option {
  border-color: #c29aac;
  background: #fffaf7;
  color: #6f3d53;
}

.theme-light .site-theme-option.is-active {
  background: #6f3d53;
  border-color: #6f3d53;
  color: #fff;
}

.theme-light .cv-container {
  background: #fffaf7;
  border: 1px solid #ead5c6;
  box-shadow: 0 18px 40px rgba(95, 63, 53, 0.16);
}

.theme-light.home-page .hero {
  background: #fffaf7;
  border: 1px solid #ead5c6;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(95, 63, 53, 0.16);
}

.theme-light.home-page .hero-text h1 {
  color: #6f3d53;
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: 3.4rem;
  font-weight: 400;
}

.theme-light.home-page .bio-intro,
.theme-light.home-page .bio-story,
.theme-light.home-page .cta {
  color: #5f3f35;
}

.theme-light.home-page .cta a {
  color: #6f3d53;
}

.theme-light.home-page .hero-image img {
  border: 8px solid #fff;
  box-shadow: 0 12px 24px rgba(95, 63, 53, 0.2);
}

.theme-light .cv-header-text {
  text-align: center;
}

.theme-light .cv-header-text h1 {
  color: #6f3d53;
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: 3rem;
  font-weight: 400;
}

.theme-light .cv-portrait-orbit {
  position: relative;
  margin: 8px auto 28px;
  width: 260px;
  height: 260px;
}

.theme-light .cv-portrait-orbit svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  animation: orbitText 24s linear infinite;
}

.theme-light .cv-portrait-orbit text {
  fill: #6f3d53;
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: 18px;
  letter-spacing: 1px;
}

.theme-light .cv-portrait-img {
  position: absolute;
  inset: 45px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  border: 8px solid #fff;
  box-shadow: 0 12px 24px rgba(95, 63, 53, 0.2);
  transform: rotate(var(--portrait-rotation));
  transition: transform 120ms ease-out;
}

@keyframes orbitText {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.demos-page {
  max-width: 1040px;
  margin: 0 auto;
}

.demos-hero {
  margin-bottom: 24px;
}

.demos-hero h1 {
  margin: 0;
  color: #102a43;
  font-size: 2.4rem;
}

.demos-hero p {
  max-width: 760px;
  color: #52606d;
  line-height: 1.6;
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}

.demo-card {
  display: block;
  background: #fff;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 12px 28px rgba(16, 42, 67, 0.08);
  color: inherit;
  text-decoration: none;
}

.demo-catalog-card:hover {
  border-color: #9fb3c8;
  transform: translateY(-2px);
  transition: border-color 160ms ease, transform 160ms ease;
}

.demo-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.demo-label {
  margin: 0 0 4px;
  color: #2f855a;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-card h2 {
  margin: 0;
  color: #102a43;
}

.cruncher-icon {
  position: relative;
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: #e8fff1;
  border: 1px solid #b7ebc6;
}

.cruncher-icon-file {
  position: absolute;
  left: 17px;
  top: 12px;
  width: 28px;
  height: 38px;
  border-radius: 4px;
  background: #fff;
  border: 2px solid #2f855a;
  box-shadow: 6px 6px 0 #b7ebc6;
}

.cruncher-icon-file::before,
.cruncher-icon-file::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  height: 2px;
  background: #2f855a;
}

.cruncher-icon-file::before {
  top: 12px;
}

.cruncher-icon-file::after {
  top: 20px;
}

.cruncher-icon-spark {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 10px;
  height: 10px;
  background: #f6ad55;
  transform: rotate(45deg);
}

.demo-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #102a43;
  font-weight: 900;
}

.network-icon {
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 10px;
  box-sizing: border-box;
}

.network-icon span {
  display: block;
  align-self: end;
  width: 100%;
  border-radius: 999px 999px 0 0;
  background: #2563eb;
}

.network-icon span:nth-child(1) {
  height: 18px;
}

.network-icon span:nth-child(2) {
  height: 34px;
}

.network-icon span:nth-child(3) {
  height: 26px;
}

.toolbelt-icon {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #9a3412;
  font-family: "Courier New", monospace;
}

.architecture-icon {
  position: relative;
  background: #eef5ff;
  border-color: #bfdbfe;
}

.architecture-icon::before,
.architecture-icon::after {
  content: "";
  position: absolute;
  border-radius: 8px;
  background: #2563eb;
}

.architecture-icon::before {
  width: 34px;
  height: 12px;
  top: 15px;
}

.architecture-icon::after {
  width: 44px;
  height: 12px;
  bottom: 15px;
}

.traveler-icon {
  background: #ecfeff;
  border-color: #a5f3fc;
}

.traveler-icon::before {
  content: "↔";
  color: #0e7490;
  font-size: 30px;
}

.redactor-icon {
  background: #fff1f2;
  border-color: #fecdd3;
}

.redactor-icon::before {
  content: "";
  width: 38px;
  height: 24px;
  border-radius: 6px;
  background: repeating-linear-gradient(135deg, #be123c 0 7px, #ffe4e6 7px 14px);
}

.sentiment-icon {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.sentiment-icon::before {
  content: "Aa";
  color: #166534;
  font-family: Georgia, serif;
  font-size: 24px;
}

.drift-icon {
  background: #faf5ff;
  border-color: #e9d5ff;
}

.drift-icon::before {
  content: "∿";
  color: #7e22ce;
  font-size: 38px;
}

.mlops-icon {
  background: #eef2ff;
  border-color: #c7d2fe;
}

.mlops-icon::before {
  content: "ML";
  color: #3730a3;
  font-family: "Courier New", monospace;
  font-size: 22px;
}

body.theme-light .top-nav,
body.theme-light .site-theme-toolbar,
body.theme-light .nav-left,
body.theme-light .nav-right a,
body.theme-light .blog-kicker,
body.theme-light .section-kicker,
body.theme-light .demo-label,
body.theme-light .source-links span,
body.theme-light .source-links a {
  color: #111;
}

.site-theme-separator {
  font-weight: 900;
}

.site-theme-option[data-site-theme="dark"] {
  background: #030603;
  border-color: #2b7a38;
  color: #a8ffb0;
  font-family: "Courier New", "Lucida Console", Monaco, monospace;
}

.site-theme-option[data-site-theme="light"] {
  background: #fff;
  border-color: #111;
  color: #111;
  font-family: "Brush Script MT", "Segoe Script", "Snell Roundhand", cursive;
}

.site-theme-option.is-active {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.theme-dark .site-theme-option[data-site-theme="dark"].is-active {
  background: #030603;
  border-color: #a8ffb0;
  color: #a8ffb0;
}

.theme-light .site-theme-option[data-site-theme="light"].is-active {
  background: #fff;
  border-color: #111;
  color: #111;
}

.theme-dark .blog-hero,
.theme-dark .architecture-section,
.theme-dark .case-studies,
.theme-dark .activity-log,
.theme-dark .homelab-todo,
.theme-dark .tech-notes,
.theme-dark .home-proof-card,
.theme-dark .case-card,
.theme-dark .demo-card,
.theme-dark .message,
.theme-dark .todo-list li,
.theme-dark .activity-list li,
.theme-dark .visitor-idea-card,
.theme-dark .idea-status,
.theme-dark .source-links a {
  background: #061106;
  border-color: #2b7a38;
  color: #a8ffb0;
  box-shadow: 0 0 18px rgba(168, 255, 176, 0.1);
}

.theme-dark .blog-hero,
.theme-dark .demos-hero {
  border-color: #2b7a38;
}

.theme-dark .blog-hero h1,
.theme-dark .demos-hero h1,
.theme-dark .positioning-proof h2,
.theme-dark .home-proof-card h3,
.theme-dark .case-card h3,
.theme-dark .section-heading h1,
.theme-dark .section-heading h2,
.theme-dark .tech-notes h2,
.theme-dark .cv-skill-grid h3,
.theme-dark .speaker,
.theme-dark .visitor-ideas h3,
.theme-dark .visitor-idea-list h4,
.theme-dark .demo-card h2,
.theme-dark .cv-header-text h1 {
  color: #c7ffd0;
  font-family: inherit;
}

.theme-dark .blog-subtitle,
.theme-dark .home-proof-card p,
.theme-dark .case-card p,
.theme-dark .section-heading p,
.theme-dark .message p,
.theme-dark .demos-hero p,
.theme-dark .demo-card p,
.theme-dark .cv-impact-grid p,
.theme-dark .cv-skill-grid p,
.theme-dark .cv-recruiter-panel li,
.theme-dark .diagram-caption,
.theme-dark .visitor-idea-card footer,
.theme-dark .idea-form label,
.theme-dark .source-links span {
  color: #a8ffb0;
}

.theme-dark .cv-proof-section,
.theme-dark .cv-skill-section,
.theme-dark .cv-recruiter-panel {
  border-top-color: #2b7a38;
}

.theme-dark .cv-impact-grid p,
.theme-dark .cv-skill-grid article {
  border-left-color: #7cff9c;
}

.theme-dark .hero-actions a,
.theme-dark .cv-recruiter-actions a,
.theme-dark .case-card a {
  background: #030603;
  border-color: #a8ffb0;
  color: #a8ffb0;
}

.theme-dark .idea-form input,
.theme-dark .idea-form textarea {
  background: #030603;
  border-color: #2b7a38;
  color: #a8ffb0;
}

.theme-dark .diagram-shell {
  background: #030603;
  border-color: #2b7a38;
}

.theme-dark .diagram-zone {
  fill: #061106;
  stroke: #2b7a38;
}

.theme-dark .diagram-node rect {
  fill: #030603;
}

.theme-dark .diagram-zone-title,
.theme-dark .diagram-node text,
.theme-dark .diagram-link-label {
  fill: #c7ffd0;
}

.theme-dark .diagram-node .diagram-small,
.theme-dark .diagram-small {
  fill: #a8ffb0;
}

.theme-dark .diagram-link {
  stroke: #7cff9c;
}

.theme-light .container,
.theme-light.home-page .hero,
.theme-light .cv-container,
.theme-light .blog-hero,
.theme-light .architecture-section,
.theme-light .case-studies,
.theme-light .activity-log,
.theme-light .homelab-todo,
.theme-light .tech-notes,
.theme-light .home-proof-card,
.theme-light .case-card,
.theme-light .demo-card,
.theme-light .message,
.theme-light .todo-list li,
.theme-light .activity-list li,
.theme-light .visitor-idea-card,
.theme-light .idea-status,
.theme-light .source-links a {
  background: #fff;
  border-color: #111;
  color: #111;
  box-shadow: none;
}

.theme-light .blog-hero,
.theme-light .demos-hero {
  border-color: #111;
}

.theme-light .blog-hero h1,
.theme-light .demos-hero h1,
.theme-light .positioning-proof h2,
.theme-light .home-proof-card h3,
.theme-light .case-card h3,
.theme-light .section-heading h1,
.theme-light .section-heading h2,
.theme-light .tech-notes h2,
.theme-light .cv-skill-grid h3,
.theme-light .speaker,
.theme-light .visitor-ideas h3,
.theme-light .visitor-idea-list h4,
.theme-light .demo-card h2,
.theme-light .cv-header-text h1,
.theme-light.home-page .hero-text h1,
.theme-light.home-page .cta a {
  color: #111;
  font-family: inherit;
}

.theme-light .blog-subtitle,
.theme-light .home-proof-card p,
.theme-light .case-card p,
.theme-light .section-heading p,
.theme-light .message p,
.theme-light .demos-hero p,
.theme-light .demo-card p,
.theme-light .cv-impact-grid p,
.theme-light .cv-skill-grid p,
.theme-light .cv-recruiter-panel li,
.theme-light .diagram-caption,
.theme-light .visitor-idea-card footer,
.theme-light .idea-form label,
.theme-light .source-links span,
.theme-light.home-page .bio-intro,
.theme-light.home-page .bio-story,
.theme-light.home-page .cta {
  color: #111;
}

.theme-light .cv-proof-section,
.theme-light .cv-skill-section,
.theme-light .cv-recruiter-panel {
  border-top-color: #111;
}

.theme-light .cv-impact-grid p,
.theme-light .cv-skill-grid article {
  border-left-color: #111;
}

.theme-light .hero-actions a,
.theme-light .cv-recruiter-actions a,
.theme-light .case-card a {
  background: #fff;
  border-color: #111;
  color: #111;
}

.theme-light .idea-form input,
.theme-light .idea-form textarea {
  background: #fff;
  border-color: #111;
  color: #111;
}

.theme-light .diagram-shell {
  background: #fff;
  border-color: #111;
}

.theme-light .diagram-zone {
  fill: #fff;
  stroke: #111;
}

.theme-light .diagram-node rect {
  fill: #fff;
  stroke: #111;
}

.theme-light .diagram-zone-title,
.theme-light .diagram-node text,
.theme-light .diagram-link-label,
.theme-light .diagram-node .diagram-small,
.theme-light .diagram-small {
  fill: #111;
}

.theme-light .diagram-link {
  stroke: #111;
}

@media (max-width: 640px) {
  .site-theme-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .home-page .hero-image img {
    width: min(100%, 320px);
  }

  .theme-dark .cv-header-text {
    padding-right: 0;
    padding-top: 178px;
  }

  .theme-dark .cv-portrait-orbit {
    left: 30px;
    right: auto;
  }

  .theme-light .cv-header-text h1 {
    font-size: 2.35rem;
  }
}

body.theme-dark {
  background: #000;
  color: #39ff14;
  font-family: "Courier New", "Lucida Console", Monaco, monospace;
  font-size: 1rem;
  line-height: 1.56;
}

body.theme-light {
  background: #fffff0;
  color: #1b1610;
  font-family: "Brush Script MT", "Segoe Script", "Snell Roundhand", "Apple Chancery", cursive;
  font-size: 1.12rem;
  line-height: 1.68;
}

body.theme-dark .top-nav,
body.theme-dark .site-theme-toolbar,
body.theme-dark .nav-left,
body.theme-dark .nav-right a,
body.theme-dark a,
body.theme-dark .blog-kicker,
body.theme-dark .section-kicker,
body.theme-dark .demo-label,
body.theme-dark h1,
body.theme-dark h2,
body.theme-dark h3,
body.theme-dark h4,
body.theme-dark strong {
  color: #7cff7c;
  font-family: inherit;
}

body.theme-dark p,
body.theme-dark li,
body.theme-dark label,
body.theme-dark span,
body.theme-dark .blog-subtitle,
body.theme-dark .hero-role,
body.theme-dark .bio-intro,
body.theme-dark .bio-story,
body.theme-dark .cta,
body.theme-dark .diagram-caption,
body.theme-dark .source-links span,
body.theme-dark .visitor-idea-card footer {
  color: #39ff14;
}

body.theme-dark .container,
body.theme-dark.home-page .hero,
body.theme-dark .blog-hero,
body.theme-dark .demos-hero,
body.theme-dark .architecture-section,
body.theme-dark .case-studies,
body.theme-dark .activity-log,
body.theme-dark .homelab-todo,
body.theme-dark .tech-notes,
body.theme-dark .home-proof-card,
body.theme-dark .case-card,
body.theme-dark .demo-card,
body.theme-dark .message,
body.theme-dark .todo-list li,
body.theme-dark .activity-list li,
body.theme-dark .visitor-idea-card,
body.theme-dark .idea-status,
body.theme-dark .source-links a,
body.theme-dark .cv-impact-grid p,
body.theme-dark .cv-skill-grid article,
body.theme-dark .cv-recruiter-panel,
body.theme-dark .cv-proof-section,
body.theme-dark .cv-skill-section {
  background: #000;
  border-color: #1fbf3a;
  color: #39ff14;
  box-shadow: 0 0 16px rgba(57, 255, 20, 0.16);
}

body.theme-dark .hero-actions a,
body.theme-dark .cv-recruiter-actions a,
body.theme-dark .case-card a,
body.theme-dark .idea-form button,
body.theme-dark .site-theme-option {
  background: #000;
  border-color: #39ff14;
  color: #39ff14;
  font-family: inherit;
}

body.theme-dark .site-theme-option.is-active,
body.theme-dark .hero-actions a:hover,
body.theme-dark .cv-recruiter-actions a:hover,
body.theme-dark .case-card a:hover,
body.theme-dark .idea-form button:hover {
  background: #062b06;
  color: #b6ffb6;
}

body.theme-dark .idea-form input,
body.theme-dark .idea-form textarea,
body.theme-dark .diagram-shell {
  background: #000;
  border-color: #1fbf3a;
  color: #39ff14;
  font-family: inherit;
}

body.theme-dark .diagram-zone,
body.theme-dark .diagram-node rect {
  fill: #000;
  stroke: #1fbf3a;
}

body.theme-dark .diagram-zone-title,
body.theme-dark .diagram-node text,
body.theme-dark .diagram-link-label,
body.theme-dark .diagram-node .diagram-small,
body.theme-dark .diagram-small {
  fill: #39ff14;
}

body.theme-dark .diagram-link {
  stroke: #39ff14;
}

body.theme-light .top-nav,
body.theme-light .site-theme-toolbar,
body.theme-light .nav-left,
body.theme-light .nav-right a,
body.theme-light a,
body.theme-light .blog-kicker,
body.theme-light .section-kicker,
body.theme-light .demo-label,
body.theme-light h1,
body.theme-light h2,
body.theme-light h3,
body.theme-light h4,
body.theme-light strong {
  color: #1b1610;
  font-family: inherit;
}

body.theme-light p,
body.theme-light li,
body.theme-light label,
body.theme-light span,
body.theme-light .blog-subtitle,
body.theme-light .hero-role,
body.theme-light .bio-intro,
body.theme-light .bio-story,
body.theme-light .cta,
body.theme-light .diagram-caption,
body.theme-light .source-links span,
body.theme-light .visitor-idea-card footer {
  color: #1b1610;
}

body.theme-light .container,
body.theme-light.home-page .hero,
body.theme-light .blog-hero,
body.theme-light .demos-hero,
body.theme-light .architecture-section,
body.theme-light .case-studies,
body.theme-light .activity-log,
body.theme-light .homelab-todo,
body.theme-light .tech-notes,
body.theme-light .home-proof-card,
body.theme-light .case-card,
body.theme-light .demo-card,
body.theme-light .message,
body.theme-light .todo-list li,
body.theme-light .activity-list li,
body.theme-light .visitor-idea-card,
body.theme-light .idea-status,
body.theme-light .source-links a,
body.theme-light .cv-impact-grid p,
body.theme-light .cv-skill-grid article,
body.theme-light .cv-recruiter-panel,
body.theme-light .cv-proof-section,
body.theme-light .cv-skill-section {
  background: #fffff0;
  border-color: #1b1610;
  color: #1b1610;
  box-shadow: none;
}

body.theme-light .hero-actions a,
body.theme-light .cv-recruiter-actions a,
body.theme-light .case-card a,
body.theme-light .idea-form button,
body.theme-light .site-theme-option {
  background: #fffff0;
  border-color: #1b1610;
  color: #1b1610;
  font-family: inherit;
}

body.theme-light .site-theme-option.is-active,
body.theme-light .hero-actions a:hover,
body.theme-light .cv-recruiter-actions a:hover,
body.theme-light .case-card a:hover,
body.theme-light .idea-form button:hover {
  background: #1b1610;
  color: #fffff0;
}

body.theme-light .idea-form input,
body.theme-light .idea-form textarea,
body.theme-light .diagram-shell {
  background: #fffff0;
  border-color: #1b1610;
  color: #1b1610;
  font-family: inherit;
}

body.theme-light .diagram-zone,
body.theme-light .diagram-node rect {
  fill: #fffff0;
  stroke: #1b1610;
}

body.theme-light .diagram-zone-title,
body.theme-light .diagram-node text,
body.theme-light .diagram-link-label,
body.theme-light .diagram-node .diagram-small,
body.theme-light .diagram-small {
  fill: #1b1610;
}

body.theme-light .diagram-link {
  stroke: #1b1610;
}
