:root {
  --ink: #23233b;
  --line: #6472a6;
  --pink: #ffd3fb;
  --peach: #abc3ff;
  --lavender: #cad2ff;
  --mint: #aee7ff;
  --cream: #f4f6fc;
  --shadow: rgba(29, 33, 56, 0.16);
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath fill='%23f4f6fc' stroke='%2323233b' stroke-width='2' d='M6 3h5v5h5v5h5v5h-5v-5H6z' shape-rendering='crispEdges'/%3E%3Cpath fill='%23ffd3fb' d='M9 6h2v2H9zm5 5h2v2h-2z'/%3E%3C/svg%3E") 6 6, auto;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
  color: var(--ink);
  font-family: "Press Start 2P", system-ui, sans-serif;
  image-rendering: pixelated;
}

button {
  border: 0;
  color: inherit;
  font: inherit;
  cursor: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.desktop {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.18) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 2px, transparent 2px),
    linear-gradient(135deg, #85afff 0%, #b2bdff 50%, #d67bfb 100%);
  background-size: 24px 24px, 24px 24px, 100% 100%;
}

.desktop::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.35), transparent 34%);
}

.boot-screen {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background: #3b2b42;
  transition: opacity 600ms steps(6), visibility 600ms steps(6);
}

.boot-screen.hidden {
  visibility: hidden;
  opacity: 0;
}

.boot-card {
  width: min(420px, calc(100vw - 36px));
  padding: 30px;
  border: 4px solid var(--cream);
  background: var(--pink);
  box-shadow: 10px 10px 0 #201525;
  text-align: center;
}

.boot-logo {
  display: grid;
  justify-content: center;
}

.boot-logo img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  object-position: top center;
  border: 4px solid var(--ink);
  background: #8060b6;
  box-shadow: 7px 7px 0 rgba(32, 21, 37, 0.38);
  image-rendering: auto;
}

.boot-title,
.boot-status {
  margin: 22px 0;
  font-size: 13px;
  line-height: 1.8;
}

.boot-bar {
  height: 22px;
  border: 3px solid var(--ink);
  background: var(--cream);
  overflow: hidden;
}

.boot-bar span {
  display: block;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(90deg, var(--mint) 0 12px, #74c8e8 12px 24px);
  animation: load 1800ms steps(12) both;
  transform-origin: left;
}

.menu-bar {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  padding: 0 14px;
  border-bottom: 3px solid rgba(59, 43, 66, 0.42);
  background: rgba(255, 247, 215, 0.78);
  box-shadow: 0 4px 0 rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  font-size: 10px;
}

.menu-left {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.apple-button {
  width: 24px;
  height: 24px;
  padding: 0;
  background: transparent;
  color: #ff6fb2;
  text-shadow: 2px 2px 0 #fff;
}

.clock {
  white-space: nowrap;
}

.cloud {
  position: absolute;
  z-index: 1;
  width: 128px;
  height: 42px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 14px 14px 0 rgba(255, 255, 255, 0.32);
  animation: drift 28s linear infinite;
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  background: inherit;
}

.cloud::before {
  width: 48px;
  height: 48px;
  left: 18px;
  top: -24px;
}

.cloud::after {
  width: 56px;
  height: 56px;
  right: 18px;
  top: -32px;
}

.cloud-one {
  left: 7vw;
  top: 16vh;
}

.cloud-two {
  left: 58vw;
  top: 12vh;
  animation-duration: 35s;
  transform: scale(0.82);
}

.cloud-three {
  top: 35%;
  right: 15%;
  animation-duration: 40s;
  animation-delay: -10s;
}

/* Flying Birds */
.bird {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--ink);
  z-index: 2;
  opacity: 0.4;
}

.bird-1 {
  top: 15%;
  left: -20px;
  animation: fly 25s linear infinite, flap 0.6s steps(2) infinite;
}

.bird-2 {
  top: 25%;
  left: -20px;
  animation: fly 35s linear infinite, flap 0.7s steps(2) infinite;
  animation-delay: 8s;
}

.bird-3 {
  top: 40%;
  left: -20px;
  animation: fly 30s linear infinite, flap 0.5s steps(2) infinite;
  animation-delay: 15s;
}

.bird-4 {
  top: 10%;
  left: -20px;
  animation: fly 28s linear infinite, flap 0.4s steps(2) infinite;
  animation-delay: 5s;
  transform: scale(0.6);
}

.bird-5 {
  top: 32%;
  left: -20px;
  animation: fly 38s linear infinite, flap 0.8s steps(2) infinite;
  animation-delay: 20s;
  transform: scale(0.8);
}

.bird-6 {
  top: 48%;
  left: -20px;
  animation: fly 22s linear infinite, flap 0.5s steps(2) infinite;
  animation-delay: 2s;
  transform: scale(0.5);
}

@keyframes fly {
  0% { left: -20px; transform: translateY(0); }
  25% { transform: translateY(-15px); }
  50% { transform: translateY(10px); }
  75% { transform: translateY(-5px); }
  100% { left: calc(100vw + 20px); transform: translateY(0); }
}

@keyframes flap {
  0% {
    box-shadow: 
      -4px -4px 0 var(--ink),
      4px -4px 0 var(--ink),
      -8px -8px 0 var(--ink),
      8px -8px 0 var(--ink);
  }
  50% {
    box-shadow: 
      -4px 4px 0 var(--ink),
      4px 4px 0 var(--ink),
      -8px 8px 0 var(--ink),
      8px 8px 0 var(--ink);
  }
}

.sticky-note {
  display: none;
}

.sticky-note p {
  margin: 0;
  font-size: 10px;
  line-height: 1.8;
}

.pin {
  position: absolute;
  top: 10px;
  left: calc(50% - 8px);
  width: 16px;
  height: 16px;
  background: #ff82bd;
  box-shadow: 3px 3px 0 #b95b8d;
}

.boot-bar {
  height: 22px;
  border: 3px solid var(--ink);
  background: var(--cream);
  overflow: hidden;
}

.boot-bar span {
  display: block;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(90deg, var(--mint) 0 12px, #74c8e8 12px 24px);
  animation: load 1800ms steps(12) both;
  transform-origin: left;
}

.menu-bar {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  padding: 0 14px;
  border-bottom: 3px solid rgba(59, 43, 66, 0.42);
  background: rgba(255, 247, 215, 0.78);
  box-shadow: 0 4px 0 rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  font-size: 10px;
}

.menu-left {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.apple-button {
  width: 24px;
  height: 24px;
  padding: 0;
  background: transparent;
  color: #ff6fb2;
  text-shadow: 2px 2px 0 #fff;
}

.clock {
  white-space: nowrap;
}

.cloud {
  position: absolute;
  z-index: 1;
  width: 128px;
  height: 42px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 14px 14px 0 rgba(255, 255, 255, 0.32);
  animation: drift 28s linear infinite;
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  background: inherit;
}

.cloud::before {
  width: 48px;
  height: 48px;
  left: 18px;
  top: -24px;
}

.cloud::after {
  width: 56px;
  height: 56px;
  right: 18px;
  top: -32px;
}

.cloud-one {
  left: 7vw;
  top: 16vh;
}

.cloud-two {
  left: 58vw;
  top: 12vh;
  animation-duration: 35s;
  transform: scale(0.82);
}

.cloud-three {
  top: 35%;
  right: 15%;
  animation-duration: 40s;
  animation-delay: -10s;
}

/* Flying Birds */
.bird {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--ink);
  z-index: 2;
  opacity: 0.4;
}

.bird-1 {
  top: 15%;
  left: -20px;
  animation: fly 25s linear infinite, flap 0.6s steps(2) infinite;
}

.bird-2 {
  top: 25%;
  left: -20px;
  animation: fly 35s linear infinite, flap 0.7s steps(2) infinite;
  animation-delay: 8s;
}

.bird-3 {
  top: 40%;
  left: -20px;
  animation: fly 30s linear infinite, flap 0.5s steps(2) infinite;
  animation-delay: 15s;
}

.bird-4 {
  top: 10%;
  left: -20px;
  animation: fly 28s linear infinite, flap 0.4s steps(2) infinite;
  animation-delay: 5s;
  transform: scale(0.6);
}

.bird-5 {
  top: 32%;
  left: -20px;
  animation: fly 38s linear infinite, flap 0.8s steps(2) infinite;
  animation-delay: 20s;
  transform: scale(0.8);
}

.bird-6 {
  top: 48%;
  left: -20px;
  animation: fly 22s linear infinite, flap 0.5s steps(2) infinite;
  animation-delay: 2s;
  transform: scale(0.5);
}

@keyframes fly {
  0% { left: -20px; transform: translateY(0); }
  25% { transform: translateY(-15px); }
  50% { transform: translateY(10px); }
  75% { transform: translateY(-5px); }
  100% { left: calc(100vw + 20px); transform: translateY(0); }
}

@keyframes flap {
  0% {
    box-shadow: 
      -4px -4px 0 var(--ink),
      4px -4px 0 var(--ink),
      -8px -8px 0 var(--ink),
      8px -8px 0 var(--ink);
  }
  50% {
    box-shadow: 
      -4px 4px 0 var(--ink),
      4px 4px 0 var(--ink),
      -8px 8px 0 var(--ink),
      8px 8px 0 var(--ink);
  }
}

.sticky-note {
  display: none;
}

.sticky-note p {
  margin: 0;
  font-size: 10px;
  line-height: 1.8;
}

.pin {
  position: absolute;
  top: 10px;
  left: calc(50% - 8px);
  width: 16px;
  height: 16px;
  background: #ff82bd;
  box-shadow: 3px 3px 0 #b95b8d;
}

.desktop-icons {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 32px;
  background: var(--cream);
  border-bottom: 3px solid var(--ink);
  box-shadow: 0 4px 0 var(--shadow);
}

.desktop-icon {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 600;
  text-align: left;
  text-decoration: none;
  padding: 4px 8px;
  transition: transform 100ms ease;
  cursor: pointer;
}

.desktop-icon:hover,
.desktop-icon:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.28);
}

.pixel-icon {
  display: inline-block;
  width: 38px;
  height: 38px;
  border: 3px solid var(--ink);
  background: var(--cream);
  box-shadow: 4px 4px 0 var(--shadow);
  position: relative;
}

.icon-dashboard {
  background:
    linear-gradient(#91d7ff 0 8px, transparent 8px),
    linear-gradient(90deg, var(--pink) 0 10px, var(--cream) 10px 22px, var(--mint) 22px);
}

.icon-dashboard::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 6px;
  height: 15px;
  background: linear-gradient(90deg, #ff7fb0 0 7px, transparent 7px 11px, #80c8ef 11px 19px, transparent 19px 23px, #8fd5ae 23px);
}

.icon-profile {
  background: linear-gradient(#4e3a58 0 13px, #f3bf98 13px 27px, #171717 27px);
}

.icon-profile::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 16px;
  width: 4px;
  height: 4px;
  background: var(--ink);
  box-shadow: 12px 0 0 var(--ink), 6px 8px 0 #8d4b4d;
}

.icon-rocket {
  background: var(--lavender);
}

.icon-rocket::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 5px;
  width: 12px;
  height: 24px;
  background: var(--cream);
  box-shadow: inset 0 -8px 0 #ff7fb0, -7px 18px 0 #91d7ff, 7px 18px 0 #91d7ff;
}

.icon-growth {
  background: var(--cream);
}

.icon-growth::before {
  content: "";
  position: absolute;
  left: 7px;
  bottom: 7px;
  width: 7px;
  height: 9px;
  background: #ff8fc6;
  box-shadow: 9px -8px 0 #92dcff, 18px -18px 0 var(--mint);
}

.icon-growth::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 5px;
  width: 10px;
  height: 10px;
  border-top: 4px solid var(--ink);
  border-right: 4px solid var(--ink);
}

.icon-megaphone {
  background: #ffcae4;
}

.icon-megaphone::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 13px;
  width: 22px;
  height: 12px;
  background: var(--cream);
  box-shadow: 18px -5px 0 #91d7ff, 4px 14px 0 #3b2b42;
}

.icon-seo {
  background: #b7f0da;
}

.icon-seo::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 7px;
  width: 16px;
  height: 16px;
  border: 4px solid var(--ink);
  background: var(--cream);
}

.icon-seo::after {
  content: "";
  position: absolute;
  right: 6px;
  bottom: 7px;
  width: 14px;
  height: 4px;
  background: var(--ink);
  transform: rotate(45deg);
}

.icon-contact {
  background: var(--cream);
}

.icon-contact::before {
  content: "";
  position: absolute;
  inset: 8px 5px;
  background:
    linear-gradient(135deg, transparent 0 12px, #ff8fc6 12px 16px, transparent 16px),
    linear-gradient(#91d7ff 0 7px, var(--cream) 7px);
  border: 3px solid var(--ink);
}

.icon-socials {
  background: var(--cream);
}

.icon-socials::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 7px;
  width: 9px;
  height: 9px;
  background: #111;
  box-shadow: 16px 0 0 #ff5aa5, 0 16px 0 #2867b2, 16px 16px 0 #ff0033;
}

.icon-chat {
  background: var(--lavender);
}

.icon-chat::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  width: 23px;
  height: 17px;
  border: 3px solid var(--ink);
  background: var(--cream);
  box-shadow: 7px 12px 0 -4px var(--cream), 7px 12px 0 -1px var(--ink);
}

.icon-chat::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 16px;
  width: 4px;
  height: 4px;
  background: #ff7fb0;
  box-shadow: 7px 0 0 #92dcff, 14px 0 0 var(--mint);
}

.icon-palette {
  border-radius: 0;
  background: var(--cream);
}

.icon-palette::before {
  content: "";
  position: absolute;
  inset: 6px;
  background:
    radial-gradient(circle at 20% 25%, #ff79b0 0 4px, transparent 5px),
    radial-gradient(circle at 72% 24%, #8ed7ff 0 4px, transparent 5px),
    radial-gradient(circle at 34% 72%, var(--mint) 0 4px, transparent 5px),
    radial-gradient(circle at 70% 70%, #ffd86f 0 4px, transparent 5px);
}

.icon-game {
  background: #b7f0da;
}

.icon-game::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 13px;
  width: 20px;
  height: 8px;
  background: var(--ink);
  box-shadow: 0 -8px 0 var(--cream), 0 8px 0 #ff87bd;
}

.icon-trash {
  background: linear-gradient(#c9d1d8 0 8px, #edf3f4 8px);
}

.icon-trash::before {
  content: "";
  position: absolute;
  left: -5px;
  top: -8px;
  width: 42px;
  height: 8px;
  border: 3px solid var(--ink);
  background: #edf3f4;
}

.window {
  position: absolute;
  z-index: 10;
  display: none;
  width: min(470px, calc(100vw - 32px));
  min-height: 270px;
  border: 4px solid var(--ink);
  background: #fffaf0;
  box-shadow: 10px 10px 0 var(--shadow);
}

.window.open {
  display: block;
}

.window-titlebar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 34px;
  padding: 0 10px;
  border-bottom: 4px solid var(--ink);
  background: linear-gradient(90deg, var(--pink), var(--lavender));
  font-size: 9px;
  user-select: none;
}

.traffic {
  display: flex;
  gap: 6px;
}

.traffic button {
  width: 13px;
  height: 13px;
  padding: 0;
  border: 2px solid var(--ink);
  background: #ff6f9f;
}

.traffic button:nth-child(2) {
  background: #ffd76d;
}

.traffic button:nth-child(3) {
  background: #8adcae;
}

.window-body {
  padding: 22px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}

.window-body h1 {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.6;
}

.window-body p,
.window-body li,
.project-grid span,
.project-grid a,
.timeline-list span,
.timeline-list em,
.skill-cloud span {
  font-size: 9px;
  line-height: 1.9;
}

.window-body a {
  color: #6347a7;
  text-decoration: none;
}

.window-body a:hover,
.window-body a:focus-visible {
  background: var(--peach);
  outline: 2px solid var(--pink);
}

.profile-window {
  width: min(560px, calc(100vw - 32px));
}

.profile-card {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 18px;
  align-items: center;
}

.profile-card img {
  width: 132px;
  aspect-ratio: 1;
  object-fit: cover;
  border: 4px solid var(--ink);
  background: #8060b6;
  box-shadow: 7px 7px 0 var(--shadow);
  image-rendering: auto;
}

.role-line {
  color: #7b4fa5;
}

.socials-window {
  width: min(680px, calc(100vw - 32px));
}

.chat-window {
  width: min(520px, calc(100vw - 32px));
}

.chat-body {
  display: grid;
  gap: 12px;
}

.chat-log {
  display: grid;
  align-content: start;
  gap: 10px;
  height: 260px;
  overflow: auto;
  padding: 12px;
  border: 3px solid var(--ink);
  background:
    linear-gradient(rgba(255, 255, 255, 0.42) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.42) 1px, transparent 1px),
    var(--cream);
  background-size: 12px 12px;
}

.chat-message {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}

.chat-message.user {
  grid-template-columns: minmax(0, 1fr);
  justify-items: end;
}

.chat-message p {
  max-width: 100%;
  margin: 0;
  padding: 10px;
  border: 2px solid var(--line);
  background: #f1fff7;
  font-size: 8px;
  line-height: 1.8;
}

.chat-message.user p {
  background: var(--pink);
}

.mini-avatar {
  position: relative;
  display: block;
  width: 32px;
  height: 36px;
  border: 2px solid var(--ink);
  background: linear-gradient(#282326 0 10px, #d9a279 10px 24px, #1f1f22 24px);
}

.mini-avatar::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 14px;
  width: 3px;
  height: 3px;
  background: var(--ink);
  box-shadow: 11px 0 0 var(--ink), 5px 8px 0 #2a2327, 10px 8px 0 #2a2327;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.chat-form input {
  min-width: 0;
  padding: 12px;
  border: 3px solid var(--ink);
  background: var(--cream);
  color: var(--ink);
  font: inherit;
  font-size: 8px;
  line-height: 1.5;
  cursor: text;
}

.chat-form button,
.quick-asks button {
  padding: 10px 12px;
  border: 3px solid var(--ink);
  background: var(--mint);
  box-shadow: 4px 4px 0 var(--shadow);
  font-size: 8px;
}

.quick-asks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quick-asks button {
  background: var(--cream);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(86px, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.social-tile {
  display: grid;
  justify-items: center;
  gap: 9px;
  min-height: 104px;
  padding: 12px 8px;
  border: 3px solid var(--ink);
  background: var(--cream);
  box-shadow: 5px 5px 0 var(--shadow);
}

.social-tile b {
  color: var(--ink);
  font-size: 7px;
  line-height: 1.4;
  text-align: center;
}

.social-logo {
  position: relative;
  display: block;
  width: 42px;
  height: 42px;
  border: 3px solid var(--ink);
  background: #fff;
}

.logo-x {
  background: #111;
}

.logo-x::before,
.logo-x::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 4px;
  width: 5px;
  height: 28px;
  background: #fff;
}

.logo-x::before {
  transform: rotate(45deg);
}

.logo-x::after {
  transform: rotate(-45deg);
}

.logo-instagram {
  background: linear-gradient(135deg, #ffd15d, #ff5aa5 48%, #845ec2);
}

.logo-instagram::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 4px solid #fff;
}

.logo-instagram::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 8px;
  width: 5px;
  height: 5px;
  background: #fff;
  box-shadow: -10px 10px 0 4px transparent, -10px 10px 0 0 #fff;
}

.logo-linkedin {
  background: #2867b2;
}

.logo-linkedin::before {
  content: "in";
  position: absolute;
  left: 6px;
  bottom: 3px;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0;
}

.logo-youtube {
  background: #ff0033;
}

.logo-youtube::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 12px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 14px solid #fff;
}

.logo-email {
  background: #7ec8ef;
}

.logo-email::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 9px;
  width: 26px;
  height: 20px;
  border: 3px solid #fff;
  background: var(--cream);
}

.logo-email::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 12px;
  width: 18px;
  height: 18px;
  border-left: 4px solid #ff5aa5;
  border-bottom: 4px solid #ff5aa5;
  transform: rotate(-45deg);
}

.project-grid {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}

.project-grid span {
  padding: 8px;
  border: 2px solid var(--line);
  background: #f1fff7;
}

.pixel-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 78px;
  padding: 12px;
  border: 3px solid var(--ink);
  background: var(--cream);
}

.pixel-chart i {
  display: block;
  width: 38px;
  background: #ff8fc6;
}

.pixel-chart i:nth-child(1) { height: 28px; }
.pixel-chart i:nth-child(2) { height: 44px; background: #92dcff; }
.pixel-chart i:nth-child(3) { height: 58px; background: var(--mint); }
.pixel-chart i:nth-child(4) { height: 36px; background: #ffd76d; }
.pixel-chart i:nth-child(5) { height: 64px; }

.mini-kpi {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 12px;
  min-height: 116px;
  margin-top: 18px;
  padding: 14px;
  border: 3px solid var(--ink);
  background: var(--cream);
}

.mini-kpi span,
.mini-kpi b {
  display: grid;
  place-items: center;
  min-height: 52px;
  border: 3px solid var(--ink);
  background: #ffcae4;
  font-size: 13px;
}

.mini-kpi b {
  min-height: 92px;
  background: var(--mint);
}

.mini-kpi i {
  grid-column: 1 / -1;
  font-size: 9px;
  font-style: normal;
  text-align: center;
}

.timeline-list {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.timeline-list li {
  padding: 10px;
  border: 2px solid var(--line);
  background: #f1fff7;
}

.timeline-list b,
.timeline-list span,
.timeline-list em {
  display: block;
}

.timeline-list b {
  font-size: 9px;
  line-height: 1.8;
}

.timeline-list span {
  color: #7b4fa5;
}

.timeline-list em {
  font-style: normal;
}

.skill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.skill-cloud span {
  padding: 8px;
  border: 2px solid var(--line);
  background: var(--peach);
}

.results-window {
  width: min(690px, calc(100vw - 32px));
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.results-grid article {
  padding: 20px 24px;
  border: 3px solid #6b6299;
  background: #f1fbf5;
  box-shadow: 4px 4px 0 #d9dce6;
}

.results-grid b {
  display: block;
  margin-bottom: 12px;
  color: #6b6299;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.results-grid span {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: #334155;
  line-height: 1.6;
}

.swatches {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.swatches span {
  height: 86px;
  border: 3px solid var(--ink);
}

.swatches span:nth-child(1) { background: var(--pink); }
.swatches span:nth-child(2) { background: var(--peach); }
.swatches span:nth-child(3) { background: var(--mint); }
.swatches span:nth-child(4) { background: var(--lavender); }

.mini-scene {
  height: 150px;
  margin-top: 20px;
  border: 3px solid var(--ink);
  background: linear-gradient(#aee9ff 0 58%, #b7efce 58%);
  position: relative;
  overflow: hidden;
}

.sun {
  position: absolute;
  top: 18px;
  right: 34px;
  width: 32px;
  height: 32px;
  background: #ffd76d;
  box-shadow: 0 0 0 7px rgba(255, 215, 109, 0.36);
}

.hill {
  position: absolute;
  left: 40px;
  bottom: 0;
  width: 170px;
  height: 72px;
  background: #82d7a2;
  clip-path: polygon(0 100%, 45% 0, 100% 100%);
}

.spark {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--cream);
  animation: blink 900ms steps(2) infinite;
}

.spark.one { top: 42px; left: 58px; }
.spark.two { top: 76px; right: 112px; animation-delay: 300ms; }

.pixel-girl {
  position: absolute;
  z-index: 8;
  left: 50%;
  bottom: 94px;
  width: 104px;
  height: 160px;
  transform: translateX(-50%) scale(0.7);
  animation: stroll 5200ms steps(6) infinite;
  outline: none;
  touch-action: none;
}

.pixel-girl div {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.pixel-girl.dragging {
  animation: none;
}

.avatar-dismiss {
  position: absolute;
  top: -10px;
  right: -30px;
  width: 28px;
  height: 28px;
  border: 3px solid var(--ink);
  background: var(--pink);
  color: var(--ink);
  font-weight: 900;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 2px 2px 0 var(--shadow);
  padding: 0;
  line-height: 1;
  transition: transform 100ms ease;
}

.avatar-dismiss:hover {
  background: #ff5aa5;
  transform: scale(1.1);
}

.speech-bubble {
  position: absolute;
  left: 66px;
  top: -64px;
  z-index: 4;
  transform: none;
  display: none;
  width: 245px;
  padding: 10px;
  border: 3px solid var(--ink);
  background: var(--cream);
  box-shadow: 5px 5px 0 var(--shadow);
  font-size: 8px;
  line-height: 1.7;
}

.speech-bubble::after {
  content: "";
  position: absolute;
  left: 18px;
  bottom: -13px;
  width: 14px;
  height: 14px;
  border-right: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  background: var(--cream);
}

.pixel-girl.talking .speech-bubble {
  display: block;
}

.hair {
  top: 1px;
  width: 66px;
  height: 42px;
  border-radius: 8px 8px 1px 1px;
  background: #2a2327;
  box-shadow: -12px 11px 0 #2a2327, 9px 8px 0 #2a2327, 18px 22px 0 #2a2327, -4px -8px 0 #2a2327;
}

.hair::before {
  content: "";
  position: absolute;
  left: -3px;
  top: -7px;
  width: 48px;
  height: 14px;
  border-radius: 8px 8px 0 0;
  background: #3b3336;
  box-shadow: 8px -4px 0 #3b3336;
}

.face {
  top: 31px;
  width: 50px;
  height: 44px;
  border-radius: 0 0 8px 8px;
  background: #d9a279;
  box-shadow: inset 7px 0 0 #efbd95, inset -7px 0 0 #b77b61, 0 31px 0 -12px #2a2327;
}

.face::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 13px;
  width: 6px;
  height: 6px;
  background: var(--ink);
  box-shadow: 21px 0 0 var(--ink), 10px 12px 0 #70423a, 2px 21px 0 #2a2327, 8px 23px 0 #2a2327, 14px 23px 0 #2a2327, 20px 21px 0 #2a2327;
}

.face::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  width: 12px;
  height: 4px;
  background: #2a2327;
  box-shadow: 20px 0 0 #2a2327;
}

.body {
  top: 74px;
  width: 74px;
  height: 58px;
  border-radius: 2px;
  background: #1f1f22;
  box-shadow: inset 0 22px 0 #26262a, inset 20px 31px 0 #d95643, inset 32px 37px 0 #ee7964, -20px 8px 0 #1f1f22, 20px 8px 0 #1f1f22;
}

.legs {
  top: 132px;
  width: 48px;
  height: 24px;
  background: linear-gradient(90deg, #6f62b3 0 17px, transparent 17px 31px, #6f62b3 31px);
  box-shadow: -6px 20px 0 #1f1f22, 24px 20px 0 #1f1f22;
}



@keyframes load {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes drift {
  0% { margin-left: -12vw; }
  100% { margin-left: 22vw; }
}

@keyframes blink {
  50% { opacity: 0; }
}

@keyframes idle {
  0% { transform: translateX(-50%) translateY(0) scale(0.7); }
  50% { transform: translateX(-50%) translateY(3px) scale(0.7); }
  100% { transform: translateX(-50%) translateY(0) scale(0.7); }
}

@keyframes stroll {
  0% { transform: translateX(-50%) translateY(0) scale(0.7); }
  18% { transform: translateX(calc(-50% - 18px)) translateY(3px) scale(0.7); }
  36% { transform: translateX(calc(-50% - 30px)) translateY(0) scale(0.7); }
  58% { transform: translateX(calc(-50% + 18px)) translateY(3px) scale(0.7); }
  78% { transform: translateX(calc(-50% + 30px)) translateY(0) scale(0.7); }
  100% { transform: translateX(-50%) translateY(0) scale(0.7); }
}


/* Hero Introduction Styling */
.hero-intro {
  position: absolute;
  left: max(20px, 10vw);
  top: max(84px, 14vh);
  width: min(540px, 90vw);
  z-index: 5;
  background: var(--cream);
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--shadow);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-sizing: border-box;
  max-height: 85vh;
  overflow-y: auto;
}

.hero-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.hero-avatar {
  width: 80px;
  height: 80px;
  border-radius: 4px;
  border: 3px solid var(--ink);
  object-fit: cover;
  box-shadow: 4px 4px 0 var(--shadow);
  flex-shrink: 0;
}

.hero-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.5;
  margin: 0;
  margin-top: 12px;
}

.hero-desc {
  font-size: 10px;
  font-weight: 400;
  color: #4b5563;
  line-height: 2;
  margin: 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-btn-primary {
  background: #171717;
  color: #ffffff;
  font-size: 10px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  transition: all 150ms ease;
}

.hero-btn-primary svg {
  transition: transform 150ms ease;
}

.hero-btn-primary:hover {
  background: var(--pink);
  color: var(--ink);
}

.hero-btn-primary:hover svg {
  transform: translateX(3px);
}

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

.hero-btn-link {
  color: #4b5563;
  font-size: 10px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  transition: color 150ms ease;
}

.hero-btn-link svg {
  transition: transform 150ms ease;
}

.hero-btn-link:hover {
  color: #111827;
}

.hero-btn-link:hover svg {
  transform: translateX(3px);
}

.hero-socials {
  display: flex;
  gap: 20px;
  align-items: center;
}

.hero-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: #4b5563;
  transition: all 150ms ease;
  text-decoration: none;
}

.hero-social-link:hover {
  color: var(--ink);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  align-items: center;
  border-top: 1px solid #e5e7eb;
  padding-top: 24px;
  margin-top: 8px;
}

.hero-stat-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stat-col:not(:last-child) {
  border-right: 1px solid #e5e7eb;
  padding-right: 20px;
}

.hero-stat-col:not(:first-child) {
  padding-left: 20px;
}

.hero-stat-col h3 {
  font-size: 12px;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
  line-height: 1.5;
}

.hero-stat-col span {
  font-size: 7px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

@media (max-width: 760px) {
  .hero-intro {
    left: 16px !important;
    top: 84px !important;
    width: calc(100vw - 32px) !important;
    padding: 24px;
    gap: 16px;
    box-shadow: 4px 4px 0 var(--shadow);
  }

  .hero-header {
    flex-direction: column-reverse;
    align-items: center;
    gap: 12px;
  }

  .hero-avatar {
    width: 64px;
    height: 64px;
    margin-bottom: 8px;
  }

  .hero-title {
    font-size: 24px;
    margin-top: 0;
    text-align: center;
  }

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

  .hero-btn-primary, .hero-btn-link {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .hero-stat-col:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
    padding-right: 0;
    padding-bottom: 12px;
  }

  .hero-stat-col:not(:first-child) {
    padding-left: 0;
  }

  .menu-left span:not(:first-of-type) {
    display: none;
  }

  .sticky-note {
    display: none; /* Hide sticky note on mobile to prevent clutter */
  }

  .desktop-icons {
    top: 0 !important;
    bottom: auto !important;
    left: 0 !important;
    transform: none;
    justify-content: flex-start;
    padding: 0 16px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    gap: 20px;
  }

  .desktop-icon {
    width: auto;
    font-size: 9px;
    flex-shrink: 0;
  }

  .window {
    width: calc(100vw - 32px);
    max-height: calc(100vh - 160px);
    overflow: auto;
  }

  .window:nth-of-type(1) { left: 16px !important; top: 80px !important; }
  .window:nth-of-type(2) { left: 24px !important; top: 100px !important; z-index: 11; }
  .window:nth-of-type(3) { left: 32px !important; top: 120px !important; z-index: 12; }
  .window:nth-of-type(4) { left: 40px !important; top: 140px !important; z-index: 13; }

  .window-body h1 {
    font-size: 11px;
  }

  .window-body p,
  .window-body li,
  .project-grid span,
  .chat-message p {
    font-size: 8px;
  }

  .social-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .results-grid {
    grid-template-columns: 1fr;
  }

  .pixel-girl {
    bottom: 86px;
    transform: translateX(-50%) scale(0.82);
  }

  .speech-bubble {
    left: -60px;
    top: -86px;
    width: 172px;
  }

  .chat-form {
    grid-template-columns: 1fr;
  }





  .hero-stat-col h3 {
    font-size: 18px;
  }

  .hero-stat-col span {
    font-size: 7px;
    line-height: 1.2;
  }
}

@media (min-width: 761px) and (max-width: 1024px) {
  .hero-intro {
    width: min(540px, 85vw);
  }
  .desktop-icons {
    gap: 24px;
  }
}
