@font-face {
  font-family: "Mona Sans";
  src: url("../public/fonts/MonaSans-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Mona Sans";
  src: url("../public/fonts/MonaSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Mona Sans";
  src: url("../public/fonts/MonaSans-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --text: #182231;
  --muted: #647080;
  --faint: #9ca8b6;
  --panel: rgba(249, 251, 253, 0.88);
  --panel-strong: rgba(255, 255, 255, 0.96);
  --line: rgba(68, 83, 101, 0.16);
  --line-strong: rgba(30, 44, 61, 0.24);
  --shadow: 0 34px 70px rgba(3, 12, 26, 0.34);
  --shadow-soft: 0 18px 42px rgba(8, 29, 53, 0.18);
  --blue: #2674d9;
  --cyan: #39b5dc;
  --green: #37a65b;
  --violet: #8b5bdc;
  --amber: #c8751a;
  --danger: #ff5f57;
  --warning: #febc2e;
  --success: #28c840;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow: hidden;
  font-family: "Mona Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #142438;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: 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;
}

.portfolio-os {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(900px 560px at 82% 18%, rgba(130, 190, 226, 0.66), transparent 56%),
    radial-gradient(760px 520px at 42% 92%, rgba(215, 236, 245, 0.58), transparent 56%),
    radial-gradient(640px 420px at 6% 84%, rgba(55, 122, 162, 0.66), transparent 58%),
    linear-gradient(135deg, #0b1728 0%, #1f4665 42%, #0d1b2d 100%);
}

.portfolio-os::before,
.portfolio-os::after {
  content: "";
  position: absolute;
  inset: auto;
  pointer-events: none;
}

.portfolio-os::before {
  width: 86vw;
  height: 58vw;
  left: -14vw;
  bottom: -22vw;
  border: 1px solid rgba(235, 248, 255, 0.42);
  border-radius: 52% 48% 44% 56%;
  background:
    linear-gradient(126deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.02) 28%, transparent 58%),
    radial-gradient(circle at 62% 24%, rgba(255, 255, 255, 0.26), transparent 28%);
  box-shadow: inset 18px 16px 36px rgba(255, 255, 255, 0.18), inset -24px -18px 42px rgba(13, 33, 58, 0.44);
  transform: rotate(-10deg);
}

.portfolio-os::after {
  width: 72vw;
  height: 48vw;
  right: -20vw;
  top: -12vw;
  border: 1px solid rgba(230, 248, 255, 0.48);
  border-radius: 48% 52% 58% 42%;
  background:
    linear-gradient(132deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0.06) 30%, transparent 58%),
    radial-gradient(circle at 34% 56%, rgba(255, 255, 255, 0.28), transparent 31%);
  box-shadow: inset 22px 18px 42px rgba(255, 255, 255, 0.2), inset -22px -22px 54px rgba(6, 22, 42, 0.42);
  transform: rotate(13deg);
}

.menu-bar {
  position: relative;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 30px;
  padding: 0 18px;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(18, 36, 54, 0.42);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  font-size: 14px;
  line-height: 1;
}

.menu-left,
.menu-right,
.menu-left nav {
  display: flex;
  align-items: center;
}

.menu-left {
  min-width: 0;
  gap: 14px;
}

.menu-left strong {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.menu-left nav {
  gap: 4px;
}

.menu-bar button {
  border: 0;
  border-radius: 5px;
  background: transparent;
  cursor: pointer;
}

.menu-left nav button {
  min-height: 24px;
  padding: 0 9px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 14px;
}

.menu-left nav button:hover,
.system-mark:hover {
  background: rgba(255, 255, 255, 0.12);
}

.system-mark {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: white;
}

.system-mark svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.menu-right {
  gap: 12px;
  white-space: nowrap;
  font-size: 13px;
}

.signal {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 12px;
}

.signal::before,
.signal::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  border: 2px solid transparent;
  border-top-color: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
}

.signal::before {
  width: 18px;
  height: 18px;
  top: 2px;
}

.signal::after {
  width: 10px;
  height: 10px;
  top: 6px;
}

.desktop {
  position: relative;
  z-index: 2;
  height: calc(100vh - 30px);
  height: calc(100svh - 30px);
}

.desktop-icons {
  position: absolute;
  z-index: 4;
  inset: 0;
  pointer-events: none;
}

.desktop-icon {
  position: absolute;
  left: var(--icon-x);
  top: var(--icon-y);
  display: grid;
  justify-items: center;
  gap: 5px;
  width: 92px;
  padding: 6px 4px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: white;
  background: transparent;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
  cursor: grab;
  touch-action: none;
  user-select: none;
  pointer-events: auto;
}

.desktop-icon:hover,
.desktop-icon:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
  outline: none;
}

.desktop-icon.is-dragging {
  z-index: 80;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
  cursor: grabbing;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.22));
}

.desktop-icon .icon-label {
  max-width: 88px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.15;
}

.drive-icon,
.folder-icon,
.file-icon,
.notes-icon,
.pdf-icon {
  display: block;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.3));
}

.drive-icon {
  position: relative;
  width: 50px;
  height: 58px;
  border-radius: 7px;
  background: linear-gradient(180deg, #f2f4f5, #9ba6af 54%, #58636b);
  border: 1px solid rgba(255, 255, 255, 0.52);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.drive-icon::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 10px;
  height: 25px;
  border-radius: 50%;
  border: 2px solid rgba(43, 51, 59, 0.5);
  background: radial-gradient(circle, #d6dde2 0 27%, #8f9aa2 28% 42%, transparent 43%);
}

.drive-icon::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 7px;
  height: 5px;
  border-radius: 999px;
  background: rgba(38, 47, 55, 0.56);
}

.folder-icon {
  position: relative;
  width: 58px;
  height: 42px;
  margin-top: 4px;
  border-radius: 5px;
  background: linear-gradient(180deg, #76dcff, #35a6da);
  border: 1px solid rgba(255, 255, 255, 0.46);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.folder-icon::before {
  content: "";
  position: absolute;
  width: 25px;
  height: 8px;
  top: -6px;
  left: 5px;
  border-radius: 5px 5px 0 0;
  background: #64cfff;
}

.folder-cyan {
  background: linear-gradient(180deg, #88e4ff, #43bfdc);
}

.folder-ink {
  background: linear-gradient(180deg, #77b8ff, #3979ce);
}

.folder-green {
  background: linear-gradient(180deg, #7ce2a7, #36a764);
}

.folder-violet {
  background: linear-gradient(180deg, #b99cff, #7656dc);
}

.folder-amber {
  background: linear-gradient(180deg, #ffd37b, #d58b22);
}

.file-icon {
  position: relative;
  width: 38px;
  height: 48px;
  display: grid;
  place-items: end center;
  padding-bottom: 9px;
  color: #263341;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: linear-gradient(160deg, #ffffff 0 72%, #dfe5eb 73% 100%);
  font-size: 7px;
  font-weight: 600;
  text-shadow: none;
}

.file-icon::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  border-style: solid;
  border-width: 0 13px 13px 0;
  border-color: transparent #c5ced7 transparent transparent;
}

.notes-icon {
  width: 58px;
  height: 58px;
  background: transparent url("./assets/icons/notes.png") center / 116% 116% no-repeat;
}

.pdf-icon {
  position: relative;
  width: 43px;
  height: 52px;
  overflow: hidden;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.18)),
    linear-gradient(135deg, #6f8798 0%, #d0d8df 38%, #2f5b81 39%, #0f253f 100%);
}

.pdf-icon span {
  position: absolute;
  inset: 8px 7px;
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.16));
}

.windows-layer {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}

.window {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  height: min(var(--h), calc(100vh - 136px));
  min-width: 300px;
  min-height: 260px;
  display: none;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(28px) saturate(1.2);
  -webkit-backdrop-filter: blur(28px) saturate(1.2);
  pointer-events: auto;
}

.window.is-open {
  display: flex;
  flex-direction: column;
  animation: window-in 190ms ease-out both;
}

.window.is-dragging {
  user-select: none;
  transition: none;
}

.window.is-resizing {
  user-select: none;
  transition: none;
}

.window-resize-handle {
  position: absolute;
  z-index: 4;
  background: transparent;
  touch-action: none;
}

.window-resize-handle.handle-n,
.window-resize-handle.handle-s {
  left: 10px;
  right: 10px;
  height: 8px;
  cursor: ns-resize;
}

.window-resize-handle.handle-n {
  top: 0;
}

.window-resize-handle.handle-s {
  bottom: 0;
}

.window-resize-handle.handle-e,
.window-resize-handle.handle-w {
  top: 10px;
  bottom: 10px;
  width: 8px;
  cursor: ew-resize;
}

.window-resize-handle.handle-e {
  right: 0;
}

.window-resize-handle.handle-w {
  left: 0;
}

.window-resize-handle.handle-ne,
.window-resize-handle.handle-nw,
.window-resize-handle.handle-se,
.window-resize-handle.handle-sw {
  width: 14px;
  height: 14px;
}

.window-resize-handle.handle-ne {
  top: 0;
  right: 0;
  cursor: nesw-resize;
}

.window-resize-handle.handle-nw {
  top: 0;
  left: 0;
  cursor: nwse-resize;
}

.window-resize-handle.handle-se {
  right: 0;
  bottom: 0;
  cursor: nwse-resize;
}

.window-resize-handle.handle-sw {
  left: 0;
  bottom: 0;
  cursor: nesw-resize;
}

.window-titlebar {
  position: relative;
  z-index: 5;
  flex: 0 0 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.54);
  cursor: grab;
}

.window.is-dragging .window-titlebar {
  cursor: grabbing;
}

.window-titlebar strong {
  font-size: 13px;
  font-weight: 500;
  color: #4b5562;
}

.traffic-lights {
  position: absolute;
  z-index: 6;
  left: 14px;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.traffic {
  position: relative;
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.traffic::before,
.traffic::after {
  content: "";
  position: absolute;
  display: block;
  left: 50%;
  top: 50%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 100ms ease;
}

.traffic-lights:hover .traffic::before,
.traffic-lights:hover .traffic::after,
.traffic:focus-visible::before,
.traffic:focus-visible::after {
  opacity: 1;
}

.traffic.close::before,
.traffic.close::after {
  width: 7px;
  height: 1.5px;
  border-radius: 999px;
  background: rgba(120, 24, 22, 0.82);
  transform: translate(-50%, -50%) rotate(45deg);
}

.traffic.close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.traffic.minimize::before {
  width: 7px;
  height: 1.5px;
  border-radius: 999px;
  background: rgba(126, 82, 14, 0.82);
  transform: translate(-50%, -50%);
}

.traffic.zoom::before,
.traffic.zoom::after {
  width: 5px;
  height: 5px;
  border-color: rgba(18, 92, 28, 0.82);
  border-style: solid;
}

.traffic.zoom::before {
  border-width: 1.5px 1.5px 0 0;
  transform: translate(-35%, -65%);
}

.traffic.zoom::after {
  border-width: 0 0 1.5px 1.5px;
  transform: translate(-65%, -35%);
}

.traffic.close {
  background: var(--danger);
}

.traffic.minimize {
  background: var(--warning);
}

.traffic.zoom {
  background: var(--success);
}

.titlebar-actions {
  position: absolute;
  left: 128px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #697584;
}

.chevron {
  width: 8px;
  height: 8px;
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.chevron.right {
  transform: rotate(225deg);
}

.columns {
  width: 13px;
  height: 13px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  box-shadow: inset 5px 0 0 rgba(105, 117, 132, 0.24);
}

.finder-shell {
  display: grid;
  grid-template-columns: 136px 1fr;
  min-height: 0;
  flex: 1;
}

.finder-sidebar {
  overflow: auto;
  padding: 16px 8px;
  border-right: 1px solid var(--line);
  background: rgba(238, 242, 246, 0.68);
}

.finder-sidebar p {
  margin: 10px 6px 7px;
  color: #697584;
  font-size: 12px;
  line-height: 1;
}

.sidebar-item {
  width: 100%;
  min-height: 31px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 8px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #4d5866;
  font-size: 12px;
  text-align: left;
  cursor: pointer;
}

.sidebar-item:hover,
.sidebar-item:focus-visible,
.sidebar-item.is-selected {
  background: rgba(129, 148, 169, 0.18);
  outline: none;
}

.mini-icon {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  position: relative;
  color: #6c7886;
}

.mini-icon::before,
.mini-icon::after {
  content: "";
  position: absolute;
  inset: 0;
}

.mini-icon.home::before {
  border: 1.5px solid currentColor;
  border-top: 0;
  border-radius: 2px;
  top: 6px;
}

.mini-icon.home::after {
  width: 10px;
  height: 10px;
  left: 2px;
  top: 1px;
  border-left: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.mini-icon.projects::before {
  top: 4px;
  height: 9px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
}

.mini-icon.projects::after {
  top: 1px;
  left: 1px;
  width: 7px;
  height: 4px;
  border-radius: 2px 2px 0 0;
  background: currentColor;
}

.mini-icon.blog::before {
  border: 1.5px solid currentColor;
  border-radius: 2px;
}

.mini-icon.blog::after {
  top: 4px;
  left: 4px;
  right: 4px;
  bottom: 4px;
  border-top: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
}

.mini-icon.photos::before {
  border: 1.5px solid currentColor;
  border-radius: 2px;
}

.mini-icon.photos::after {
  left: 3px;
  top: 5px;
  width: 9px;
  height: 6px;
  background: linear-gradient(135deg, transparent 45%, currentColor 46% 54%, transparent 55%),
    linear-gradient(225deg, transparent 42%, currentColor 43% 52%, transparent 53%);
}

.mini-icon.mail::before,
.mini-icon.contact::before {
  top: 3px;
  height: 9px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
}

.mini-icon.mail::after {
  top: 4px;
  left: 2px;
  width: 10px;
  height: 8px;
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
}

.mini-icon.contact::before {
  inset: 1px 3px 1px 2px;
  height: auto;
  border-radius: 3px;
  box-shadow: -2px 2px 0 -1px currentColor;
}

.mini-icon.contact::after {
  left: 6px;
  top: 4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 6px 0 2px currentColor;
}

.mini-icon.bot::before {
  inset: 0;
  border: 0;
  background: currentColor;
  clip-path: polygon(50% 0, 61% 38%, 100% 50%, 61% 62%, 50% 100%, 39% 62%, 0 50%, 39% 38%);
}

.mini-icon.bot::after {
  left: 10px;
  top: 1px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: -8px 10px 0 -1px currentColor;
}

.mini-icon.x-mini::before,
.mini-icon.x-mini::after {
  left: 2px;
  top: 7px;
  width: 12px;
  height: 1.8px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(52deg);
}

.mini-icon.x-mini::after {
  transform: rotate(-52deg);
}

.mini-icon.drive::before {
  inset: 2px 1px 1px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
}

.tag-row {
  min-height: 31px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 8px;
  color: #4d5866;
  font-size: 12px;
}

.tag-row i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.tag-blue {
  background: var(--blue);
}

.tag-green {
  background: var(--green);
}

.tag-violet {
  background: var(--violet);
}

.tag-amber {
  background: var(--amber);
}

.finder-content,
.window-content {
  min-height: 0;
  overflow: auto;
  background: rgba(255, 255, 255, 0.82);
}

.finder-content {
  padding: 30px 44px 18px;
}

.intro-panel h1 {
  margin: 0;
  font-size: clamp(34px, 3vw, 44px);
  line-height: 0.98;
  font-weight: 600;
  letter-spacing: 0;
}

.intro-panel > p {
  max-width: 560px;
  margin: 12px 0 18px;
  color: #4c5868;
  font-size: 15px;
  line-height: 1.62;
}

.status-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.status-list div {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 11px;
}

.status-list p {
  margin: 0;
  color: #5c6775;
  font-size: 12px;
  line-height: 1.45;
}

.status-list strong {
  color: #243140;
  font-size: 13px;
  font-weight: 600;
}

.status-icon {
  width: 31px;
  height: 31px;
  display: inline-block;
  border-radius: 7px;
  background: #2f3b49;
  position: relative;
}

.status-icon.cap::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 9px;
  width: 21px;
  height: 12px;
  background: white;
  clip-path: polygon(50% 0, 100% 37%, 50% 75%, 0 37%);
}

.status-icon.cap::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 17px;
  width: 12px;
  height: 7px;
  border: 2px solid white;
  border-top: 0;
  border-radius: 0 0 8px 8px;
}

.status-icon.briefcase::before {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  top: 7px;
  height: 5px;
  border: 2px solid white;
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
}

.status-icon.briefcase::after {
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  top: 13px;
  bottom: 7px;
  border-radius: 3px;
  background: white;
}

.projects-preview {
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.section-heading h2 {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.2;
}

.section-heading button {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #354150;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.section-heading button:hover {
  border-color: rgba(38, 116, 217, 0.4);
  color: var(--blue);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.project-card {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.78);
}

.project-card {
  display: flex;
  min-height: 180px;
  flex-direction: column;
  padding: 0 0 14px;
  overflow: hidden;
  text-align: left;
  cursor: pointer;
}

.project-card:hover,
.project-card:focus-visible {
  border-color: rgba(38, 116, 217, 0.35);
  box-shadow: var(--shadow-soft);
  outline: none;
  transform: translateY(-1px);
}

.project-thumb {
  display: block;
  width: 100%;
  height: 84px;
  overflow: hidden;
  background-color: #d7dde4;
}

.project-thumb.aero {
  background:
    linear-gradient(156deg, rgba(255, 255, 255, 0.78) 0 26%, transparent 27%),
    linear-gradient(18deg, transparent 0 45%, rgba(20, 27, 34, 0.94) 46% 52%, transparent 53%),
    radial-gradient(ellipse at 72% 72%, rgba(0, 0, 0, 0.36), transparent 44%),
    linear-gradient(130deg, #edf1f4, #aab6c0 46%, #313b45);
}

.project-thumb.display {
  background:
    linear-gradient(145deg, transparent 18%, rgba(56, 177, 220, 0.9) 19% 20%, transparent 21% 73%, rgba(68, 133, 226, 0.9) 74% 75%, transparent 76%),
    linear-gradient(27deg, rgba(255, 255, 255, 0.12), transparent 42%),
    linear-gradient(135deg, #0a0f17, #1d3144 52%, #06101a);
}

.project-thumb.headlight {
  background:
    radial-gradient(ellipse at 58% 60%, rgba(255, 255, 255, 0.9) 0 4%, transparent 5%),
    repeating-linear-gradient(108deg, rgba(255, 255, 255, 0.86) 0 5px, rgba(216, 234, 248, 0.32) 6px 14px, transparent 15px 21px),
    linear-gradient(166deg, transparent 0 33%, rgba(20, 25, 33, 0.96) 34% 49%, rgba(228, 240, 248, 0.9) 50% 54%, transparent 55%),
    linear-gradient(135deg, #e7edf2, #5c7184 39%, #0b1118 86%);
}

.project-card strong {
  margin: 11px 12px 5px;
  color: #1f2b38;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.28;
}

.project-card > span:not(.project-thumb) {
  margin: 0 12px;
  color: #596575;
  font-size: 12px;
  line-height: 1.34;
}

.project-card small {
  margin: auto 12px 0;
  color: var(--blue);
  font-size: 12px;
  line-height: 1;
}

.project-card:nth-child(2) small {
  color: var(--green);
}

.project-card:nth-child(3) small {
  color: var(--violet);
}

.finance-row {
  width: 100%;
  min-height: 62px;
  display: grid;
  grid-template-columns: 46px 1fr 24px;
  align-items: center;
  gap: 20px;
  margin-top: 14px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(249, 250, 252, 0.86);
  color: #334052;
  text-align: left;
  cursor: pointer;
}

.finance-row:hover,
.finance-row:focus-visible {
  border-color: rgba(38, 116, 217, 0.36);
  outline: none;
}

.finance-row strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
}

.finance-row small {
  display: block;
  margin-top: 4px;
  color: #6a7583;
  font-size: 12px;
}

.chart-icon {
  position: relative;
  display: inline-block;
  width: 34px;
  height: 34px;
  border-left: 3px solid var(--blue);
  border-bottom: 3px solid var(--blue);
}

.chart-icon::before {
  content: "";
  position: absolute;
  left: 6px;
  bottom: 8px;
  width: 22px;
  height: 16px;
  border-left: 3px solid var(--blue);
  border-top: 3px solid var(--blue);
  transform: skew(-25deg);
}

.chart-icon::after {
  content: "";
  position: absolute;
  right: 0;
  top: 5px;
  width: 8px;
  height: 8px;
  border-top: 3px solid var(--blue);
  border-right: 3px solid var(--blue);
}

.external-arrow {
  width: 18px;
  height: 18px;
  border-top: 2px solid #2e3947;
  border-right: 2px solid #2e3947;
  transform: rotate(45deg);
}

.agent-window {
  background: rgba(255, 255, 255, 0.88);
}

.agent-window .window-titlebar {
  justify-content: center;
}

.new-chat {
  position: absolute;
  right: 14px;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  cursor: pointer;
}

.new-chat::before,
.new-chat::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  top: 11px;
  height: 1.5px;
  background: #4d5866;
}

.new-chat::after {
  transform: rotate(90deg);
}

.new-chat:hover {
  background: rgba(74, 90, 108, 0.1);
}

.chat-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 24px 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(247, 250, 252, 0.72));
}

.message {
  max-width: 92%;
  border-radius: 7px;
  font-size: 13px;
  line-height: 1.55;
}

.message.user {
  align-self: flex-end;
  padding: 10px 12px;
  background: #dcefff;
  border: 1px solid rgba(38, 116, 217, 0.16);
}

.message.agent {
  align-self: flex-start;
  padding: 14px 16px;
  color: #263242;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(17, 36, 57, 0.08);
}

.message p {
  margin: 0 0 10px;
}

.message p:last-child {
  margin-bottom: 0;
}

.message ul {
  margin: 8px 0 0;
  padding-left: 19px;
}

.chat-input {
  display: grid;
  grid-template-columns: 1fr 32px;
  align-items: center;
  gap: 8px;
  padding: 13px 18px 18px;
  background: rgba(255, 255, 255, 0.78);
}

.chat-input input {
  min-width: 0;
  height: 40px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font-size: 13px;
  outline: none;
}

.chat-input input:focus {
  border-color: rgba(38, 116, 217, 0.48);
  box-shadow: 0 0 0 3px rgba(38, 116, 217, 0.12);
}

.chat-input button {
  position: relative;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(180deg, #b4c3d3, #8fa0b3);
  cursor: pointer;
}

.chat-input button::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 9px;
  width: 10px;
  height: 10px;
  border-top: 2px solid white;
  border-right: 2px solid white;
  transform: rotate(45deg);
}

.standard-window .window-content {
  flex: 1;
  padding: 24px;
}

.project-folder-view {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 20px;
  min-height: 100%;
}

.project-folder-grid {
  align-content: start;
  display: grid;
  grid-template-columns: repeat(3, minmax(118px, 1fr));
  gap: 22px 18px;
}

.project-folder-card {
  min-height: 150px;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 7px;
  padding: 14px 10px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: #273546;
  text-align: center;
  cursor: pointer;
}

.project-folder-card:hover,
.project-folder-card:focus-visible,
.project-folder-card.is-selected {
  background: rgba(38, 116, 217, 0.08);
  border-color: rgba(38, 116, 217, 0.18);
  outline: none;
}

.project-folder-card .folder-project {
  width: 70px;
  height: 50px;
  margin: 8px 0 5px;
  filter: drop-shadow(0 11px 17px rgba(34, 67, 92, 0.22));
}

.project-folder-card .folder-project::before {
  width: 31px;
  height: 10px;
  top: -7px;
}

.project-folder-card strong {
  max-width: 128px;
  color: #253142;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.24;
}

.project-folder-card small {
  color: #6a7585;
  font-size: 11px;
}

.project-preview-pane {
  align-self: start;
  position: sticky;
  top: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.78);
}

.project-preview-pane .project-thumb {
  height: 136px;
  margin-bottom: 16px;
}

.project-preview-pane h2,
.contact-panel h2,
.resume-preview h2 {
  margin: 0 16px 8px;
  font-size: 18px;
  line-height: 1.24;
  font-weight: 600;
}

.project-preview-pane p,
.contact-panel p,
.resume-preview p {
  margin: 0 16px 14px;
  color: #5a6675;
  font-size: 13px;
  line-height: 1.55;
}

.project-preview-pane a,
.contact-actions a,
.resume-preview a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  margin: 0 16px;
  padding: 0 11px;
  border: 1px solid rgba(38, 116, 217, 0.22);
  border-radius: 6px;
  color: #1b66bf;
  background: rgba(238, 246, 255, 0.72);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.project-preview-pane a:hover,
.contact-actions a:hover,
.resume-preview a:hover {
  border-color: rgba(38, 116, 217, 0.46);
  background: rgba(223, 239, 255, 0.88);
}

.photo-grid {
  display: grid;
  grid-template-columns: minmax(230px, 0.92fr) 1fr;
  gap: 18px;
}

.photo-hero {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
}

.photo-hero img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.photo-hero figcaption {
  padding: 10px 12px 12px;
  color: #5b6572;
  font-size: 13px;
}

.photo-stack {
  display: grid;
  gap: 12px;
}

.photo-chip {
  min-height: 92px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 7px;
  color: white;
  background: #234058;
  text-align: left;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.44);
  cursor: pointer;
}

.photo-chip.manchester {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent),
    linear-gradient(135deg, #28516a, #6f8fa0);
}

.photo-chip.seoul {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent),
    linear-gradient(135deg, #6f404f, #d58a52);
}

.photo-chip.garage {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent),
    linear-gradient(135deg, #111827, #5c6c7b);
}

.photo-chip.screen {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent),
    linear-gradient(135deg, #1d4b66, #263985 68%, #6b55a5);
}

.notes-list {
  display: grid;
  gap: 12px;
}

.notes-list a {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.notes-list a:hover {
  border-color: rgba(38, 116, 217, 0.38);
}

.notes-list span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
}

.notes-list strong {
  color: #253141;
  font-size: 16px;
}

.notes-list small {
  color: #627080;
  font-size: 13px;
  line-height: 1.45;
}

.contact-panel,
.resume-preview,
.text-note {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

.contact-panel h2,
.contact-panel p,
.resume-preview h2,
.resume-preview p {
  margin-left: 0;
  margin-right: 0;
}

.contact-actions {
  display: grid;
  gap: 10px;
}

.contact-actions a,
.resume-preview a {
  width: fit-content;
  margin: 0;
}

.contact-window {
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: #343437;
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(0, 0, 0, 0.18) inset;
}

.contact-window .window-titlebar {
  flex-basis: 56px;
  border-bottom: 0;
  background: #343437;
}

.contact-window .window-titlebar strong {
  opacity: 0;
}

.contact-toolbar-actions {
  position: absolute;
  top: 10px;
  right: 13px;
  bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: default;
}

.contact-toolbar-actions button,
.contact-search-pill {
  height: 36px;
  border: 0;
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.105);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.075),
    0 8px 24px rgba(0, 0, 0, 0.16);
  font-size: 14px;
  font-weight: 650;
}

.contact-toolbar-actions button {
  padding: 0 14px;
  cursor: pointer;
}

.contact-toolbar-actions button:hover {
  background: rgba(255, 255, 255, 0.16);
}

.contact-add-button {
  position: relative;
  width: 36px;
  padding: 0;
}

.contact-add-button::before,
.contact-add-button::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 15px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.contact-add-button::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.contact-search-pill {
  display: flex;
  min-width: 166px;
  align-items: center;
  gap: 9px;
  padding: 0 18px;
  color: rgba(255, 255, 255, 0.62);
}

.contact-search-pill i {
  position: relative;
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.contact-search-pill i::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -4px;
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(45deg);
}

.standard-window.contact-window .window-content,
.contact-window .contact-panel {
  padding: 0;
  background: #343437;
}

.contact-panel {
  display: block;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.94);
}

.contact-detail-panel {
  height: 100%;
  overflow: auto;
  border-radius: 0;
  background: #343437;
}

.contact-detail-panel::-webkit-scrollbar {
  width: 11px;
}

.contact-detail-panel::-webkit-scrollbar-track {
  background: transparent;
}

.contact-detail-panel::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 999px;
  background: rgba(12, 12, 14, 0.68);
  background-clip: padding-box;
}

.contact-detail-content {
  width: min(calc(100% - 72px), 520px);
  margin: 0 auto;
  padding: 30px 0 46px;
}

.contact-profile {
  display: grid;
  justify-items: center;
  gap: 24px;
  padding: 0 0 34px;
}

.contact-profile img {
  width: 292px;
  height: 292px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 32%;
  background: #7d7d82;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.32);
}

.contact-profile h2 {
  margin: 0;
  color: white;
  font-size: 38px;
  font-weight: 760;
  line-height: 1.03;
  text-align: center;
}

.contact-card {
  overflow: hidden;
  margin-bottom: 16px;
  border-radius: 18px;
  background: #4c4c50;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.contact-share-card {
  display: grid;
  min-height: 78px;
  grid-template-columns: 42px 1fr 18px;
  align-items: center;
  gap: 14px;
  padding: 0 18px 0 16px;
}

.contact-share-avatar {
  width: 42px;
  height: 42px;
  overflow: hidden;
  border-radius: 50%;
  background: #7b7b80;
}

.contact-share-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
}

.contact-share-copy {
  display: grid;
  gap: 3px;
}

.contact-share-copy strong {
  color: white;
  font-size: 17px;
  font-weight: 720;
  line-height: 1.05;
}

.contact-share-copy em {
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
  font-style: normal;
  line-height: 1.05;
}

.contact-chevron {
  width: 11px;
  height: 11px;
  border-top: 2px solid rgba(255, 255, 255, 0.86);
  border-right: 2px solid rgba(255, 255, 255, 0.86);
  transform: rotate(45deg);
}

.contact-row {
  position: relative;
  display: grid;
  gap: 4px;
  min-height: 86px;
  padding: 17px 66px 17px 20px;
}

.contact-row + .contact-row,
.contact-buttons > * + * {
  border-top: 1px solid rgba(255, 255, 255, 0.045);
}

.contact-row span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 14px;
  font-weight: 500;
}

.contact-row a,
.contact-row strong {
  color: white;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.25;
  text-decoration: none;
}

.contact-row a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-action-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-50%);
}

.contact-action-icon::before,
.contact-action-icon::after {
  content: "";
  position: absolute;
}

.contact-action-icon.mail::before {
  width: 17px;
  height: 12px;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 2px;
}

.contact-action-icon.mail::after {
  width: 12px;
  height: 12px;
  border-left: 2px solid rgba(255, 255, 255, 0.88);
  border-bottom: 2px solid rgba(255, 255, 255, 0.88);
  transform: translateY(-3px) rotate(-45deg);
}

.contact-action-icon.location::before {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 50% 50% 50% 0;
  transform: translateY(-2px) rotate(-45deg);
}

.contact-action-icon.location::after {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  transform: translateY(-3px);
}

.contact-buttons {
  display: grid;
  margin-bottom: 0;
}

.contact-buttons a,
.contact-buttons button {
  min-height: 58px;
  padding: 0 20px;
  border: 0;
  color: white;
  background: transparent;
  font-size: 18px;
  font-weight: 650;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.contact-buttons a {
  display: flex;
  align-items: center;
}

.contact-buttons a:hover,
.contact-buttons button:hover,
.contact-buttons button.is-copied {
  background: rgba(255, 255, 255, 0.08);
}

.standard-window.resume-window .window-content,
.standard-window .resume-viewer {
  padding: 0;
  background: #3f4650;
}

.resume-viewer {
  overflow: auto;
}

.resume-pages {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 18px;
  width: 100%;
  min-height: 100%;
  padding: 14px;
  background: #3f4650;
}

.resume-pages img {
  display: block;
  width: 100%;
  max-width: 980px;
  height: auto;
  border-radius: 3px;
  background: white;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
}

.x-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgba(248, 250, 252, 0.88);
}

.x-address {
  min-height: 34px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: #485464;
  background: rgba(255, 255, 255, 0.8);
  font-size: 13px;
}

.x-profile {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
}

.x-banner {
  height: 112px;
  background:
    radial-gradient(circle at 22% 26%, rgba(255, 255, 255, 0.48), transparent 26%),
    radial-gradient(circle at 82% 18%, rgba(80, 198, 255, 0.42), transparent 30%),
    linear-gradient(135deg, #0a0d12, #273142 52%, #0f1724);
}

.x-profile-main {
  position: relative;
  padding: 42px 18px 18px;
}

.x-avatar {
  position: absolute;
  left: 16px;
  top: -35px;
  width: 70px;
  height: 70px;
  border: 4px solid white;
  border-radius: 18px;
  background: #050505;
  box-shadow: 0 10px 22px rgba(10, 18, 30, 0.18);
}

.x-profile-main h2 {
  margin: 0;
  color: #182231;
  font-size: 22px;
  line-height: 1.1;
}

.x-profile-main p {
  margin: 3px 0 12px;
  color: #687486;
  font-size: 13px;
}

.x-profile-main span {
  display: block;
  color: #344152;
  font-size: 13px;
  line-height: 1.48;
}

.x-post-list {
  display: grid;
  gap: 10px;
}

.x-post-list article {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
}

.x-post-list strong {
  display: block;
  margin-bottom: 5px;
  color: #182231;
  font-size: 13px;
}

.x-post-list p {
  margin: 0;
  color: #4f5c6d;
  font-size: 13px;
  line-height: 1.5;
}

.text-note {
  align-items: flex-start;
  gap: 12px;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  color: #263343;
}

.text-note p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}

.notes-app-window {
  background: rgba(250, 250, 250, 0.96);
}

.notes-app-window .notes-titlebar {
  flex: 0 0 72px;
  justify-content: flex-end;
  gap: 18px;
  padding: 0 22px 0 98px;
  border-bottom-color: rgba(0, 0, 0, 0.08);
  background: rgba(250, 250, 250, 0.84);
  backdrop-filter: blur(28px) saturate(1.2);
  -webkit-backdrop-filter: blur(28px) saturate(1.2);
}

.notes-window-title {
  margin-right: auto;
  display: grid;
  gap: 3px;
  min-width: 124px;
  line-height: 1.05;
}

.notes-window-title strong {
  color: #333438;
  font-size: 18px;
  font-weight: 600;
}

.notes-window-title span {
  color: #85868a;
  font-size: 15px;
}

.notes-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.08);
}

.notes-toolbar-divider {
  width: 1px;
  height: 26px;
  margin: 0 4px;
  background: rgba(0, 0, 0, 0.1);
}

.notes-tool {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #56575b;
  background: transparent;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
}

.notes-tool:hover,
.notes-tool:focus-visible,
.notes-tool.is-active {
  color: #24262a;
  background: rgba(0, 0, 0, 0.08);
  outline: none;
}

.notes-tool-round {
  width: 42px;
  font-size: 19px;
  letter-spacing: 0;
}

.tool-underline {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tool-list {
  font-weight: 600;
}

.tool-checklist {
  position: relative;
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.tool-checklist::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 5px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translate(1px, -1px) rotate(-45deg);
}

.standard-window.notes-app-window .window-content {
  padding: 0;
}

.notes-editor-shell {
  display: grid;
  grid-template-columns: 284px minmax(0, 1fr);
  min-height: 0;
  overflow: auto;
  background: #fbfbfb;
}

.notes-index {
  min-height: 0;
  overflow: auto;
  padding: 18px 14px 24px;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(246, 246, 247, 0.96);
}

.notes-index h2 {
  margin: 8px 4px 14px;
  color: #2f3034;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.05;
}

.notes-index-item {
  display: grid;
  gap: 6px;
  width: 100%;
  min-height: 92px;
  padding: 13px 14px;
  border: 0;
  border-radius: 12px;
  color: #2f3034;
  background: transparent;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.notes-index-item:hover,
.notes-index-item:focus-visible {
  background: rgba(0, 0, 0, 0.055);
  outline: none;
}

.notes-index-item.is-selected {
  background: #ffe890;
}

.notes-index-item strong {
  font-size: 17px;
  font-weight: 720;
  line-height: 1.12;
}

.notes-index-item span {
  overflow: hidden;
  color: rgba(47, 48, 52, 0.62);
  font-size: 13px;
  line-height: 1.28;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.notes-index-item em {
  color: rgba(47, 48, 52, 0.5);
  font-size: 12px;
  font-style: normal;
  line-height: 1;
}

.notes-main-scroll {
  min-height: 0;
  overflow: auto;
  background: #fbfbfb;
}

.note-editor {
  min-height: 100%;
  max-width: 760px;
  padding: 52px 64px 86px;
  color: #3e4044;
  font-family: "Mona Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  outline: none;
}

.note-editor h1,
.note-editor h2,
.note-editor p,
.note-editor ul,
.note-editor ol,
.note-editor .editor-check-row {
  margin-left: 0;
  margin-right: 0;
}

.note-editor h1 {
  margin: 0 0 18px;
  color: #333438;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.05;
}

.note-editor h2 {
  margin: 28px 0 10px;
  color: #333438;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.2;
}

.note-editor p {
  margin: 0 0 17px;
  font-size: 17px;
  line-height: 1.58;
}

.note-editor ul,
.note-editor ol {
  margin-top: 0;
  margin-bottom: 18px;
  padding-left: 24px;
  font-size: 17px;
  line-height: 1.58;
}

.editor-check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 30px;
  margin-bottom: 8px;
  font-size: 17px;
  line-height: 1.5;
}

.editor-check-row input {
  width: 19px;
  height: 19px;
  accent-color: #f7bf10;
}

.standard-window .window-content.intro-note {
  justify-content: flex-start;
  gap: 14px;
  padding: 34px 38px;
  font-family: "Mona Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1f2937;
}

.intro-note h2 {
  margin: 0 0 2px;
  color: #151d2a;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.05;
}

.intro-note p {
  max-width: 570px;
  color: #354255;
  font-size: 15px;
  line-height: 1.68;
}

.note-link {
  display: inline;
  padding: 0;
  border: 0;
  color: #1f6ed4;
  background: transparent;
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.note-link:hover,
.note-link:focus-visible {
  color: #1652a3;
}

.resume-preview dl {
  display: grid;
  gap: 10px;
  margin: 4px 0 18px;
}

.resume-preview dl div {
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.72);
}

.resume-preview dt {
  margin-bottom: 3px;
  color: #697585;
  font-size: 12px;
}

.resume-preview dd {
  margin: 0;
  color: #263343;
  font-size: 13px;
}

.dock {
  position: absolute;
  z-index: 60;
  left: 50%;
  bottom: 14px;
  display: flex;
  align-items: end;
  gap: 12px;
  max-width: min(calc(100vw - 28px), 760px);
  padding: 10px 16px 8px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 20px;
  background: rgba(176, 196, 214, 0.36);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(28px) saturate(1.35);
  -webkit-backdrop-filter: blur(28px) saturate(1.35);
  transform: translateX(-50%);
}

.dock-item {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0;
  min-width: 58px;
  padding: 0;
  border: 0;
  color: white;
  background: transparent;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.58);
  cursor: pointer;
}

.dock-item::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: transparent;
}

.dock-item.is-active::after {
  background: rgba(255, 255, 255, 0.94);
}

.dock-item span:last-child {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 22px);
  z-index: 5;
  min-width: max-content;
  padding: 7px 14px 8px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 15px;
  color: rgba(28, 30, 34, 0.94);
  background: rgba(230, 231, 233, 0.93);
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  text-shadow: none;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 7px) scale(0.98);
  transition: opacity 110ms ease, transform 110ms ease;
}

.dock-item span:last-child::after {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(100% - 1px);
  width: 0;
  height: 0;
  border-top: 8px solid rgba(230, 231, 233, 0.93);
  border-right: 7px solid transparent;
  border-left: 7px solid transparent;
  filter: drop-shadow(0 3px 2px rgba(0, 0, 0, 0.12));
  transform: translateX(-50%);
}

.dock-item:hover span:last-child,
.dock-item:focus-visible span:last-child {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.dock-icon {
  position: relative;
  width: 52px;
  height: 52px;
  overflow: hidden;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 14px 26px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -1px 0 rgba(0, 0, 0, 0.08);
  transition: transform 160ms ease;
}

.dock-item:hover .dock-icon,
.dock-item:focus-visible .dock-icon {
  transform: translateY(-7px) scale(1.06);
}

.dock-item:focus-visible {
  outline: none;
}

.dock-item:focus-visible .dock-icon {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.42), 0 14px 26px rgba(0, 0, 0, 0.24);
}

.dock-icon.finder {
  background: transparent url("./assets/icons/finder.png") center / 112% 112% no-repeat;
  box-shadow: none;
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.24));
}

.dock-icon.finder::before,
.dock-icon.finder::after {
  display: none;
}

.dock-icon.finder::before {
  width: 4px;
  height: 4px;
  left: 14px;
  top: 18px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 22px 0 0 currentColor, 10px 10px 0 -1px currentColor;
}

.dock-icon.finder::after {
  left: 14px;
  right: 14px;
  bottom: 14px;
  height: 12px;
  border-bottom: 2px solid currentColor;
  border-radius: 0 0 18px 18px;
  background: transparent;
}

.dock-icon.projects {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), transparent 38%),
    linear-gradient(180deg, #9ee9ff 0%, #31aee4 100%);
}

.dock-icon.projects::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 13px;
  width: 34px;
  height: 25px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 5px;
  background: linear-gradient(180deg, #78dcff, #27a2d7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58), 0 8px 14px rgba(3, 48, 82, 0.22);
}

.dock-icon.projects::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 9px;
  width: 16px;
  height: 8px;
  border-radius: 5px 5px 0 0;
  background: #86e2ff;
}

.dock-icon.photos {
  background: transparent url("./assets/icons/photos.png") center / 116% 116% no-repeat;
  box-shadow: none;
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.24));
}

.dock-icon.photos::before {
  display: none;
}

.dock-icon.photos::after {
  display: none;
}

.dock-icon.agent {
  background: transparent url("./assets/icons/gemini.png") center / 116% 116% no-repeat;
  box-shadow: none;
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.24));
}

.dock-icon.agent::before {
  display: none;
}

.dock-icon.agent::after {
  display: none;
}

.dock-icon.blog {
  background: transparent url("./assets/icons/notes.png") center / 116% 116% no-repeat;
  box-shadow: none;
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.24));
}

.dock-icon.blog::before {
  display: none;
}

.dock-icon.blog::after {
  display: none;
}

.dock-icon.contacts {
  background: transparent url("./assets/icons/contacts.png") center / 118% 118% no-repeat;
  box-shadow: none;
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.24));
}

.dock-icon.contacts::before,
.dock-icon.contacts::after {
  display: none;
}

.dock-icon.x {
  background: transparent url("./assets/icons/x.png") center / 118% 118% no-repeat;
  box-shadow: none;
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.24));
}

.dock-icon.x::before,
.dock-icon.x::after {
  display: none;
}

.dock-item:focus-visible .dock-icon.finder,
.dock-item:focus-visible .dock-icon.photos,
.dock-item:focus-visible .dock-icon.agent,
.dock-item:focus-visible .dock-icon.blog,
.dock-item:focus-visible .dock-icon.contacts,
.dock-item:focus-visible .dock-icon.x {
  box-shadow: none;
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.24));
}

@keyframes window-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 980px) {
  body {
    overflow: hidden;
  }

  .portfolio-os {
    height: 100vh;
    height: 100svh;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
  }

  .menu-left nav {
    display: none;
  }

  .menu-right {
    font-size: 12px;
    gap: 8px;
  }

  .desktop {
    min-height: calc(100vh - 30px);
    min-height: calc(100svh - 30px);
    height: calc(100vh - 30px);
    height: calc(100svh - 30px);
    overflow: hidden;
    padding: 18px 14px 116px;
  }

  .desktop-icons {
    position: relative;
    inset: auto;
    top: auto;
    right: auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(76px, 1fr));
    gap: 12px;
    width: 100%;
    margin-bottom: 16px;
  }

  .desktop-icon {
    position: relative;
    left: auto !important;
    top: auto !important;
    width: auto;
  }

  .windows-layer {
    position: absolute;
    inset: 0;
    display: block;
    z-index: 10;
  }

  .window,
  .window.is-open {
    position: absolute;
    left: 14px !important;
    right: 14px;
    top: 0 !important;
    width: auto;
    height: calc(100% - 12px);
    min-height: 0;
    max-height: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .notes-app-window {
    background: #fbfbfb;
  }

  .notes-app-window .notes-titlebar {
    background: #fafafa;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .notes-editor-shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    overflow: hidden;
  }

  .notes-index {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(180px, 48%);
    gap: 10px;
    max-height: 126px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 12px 14px;
    border-right: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .notes-index h2 {
    display: none;
  }

  .notes-index-item {
    min-height: 88px;
  }

  .window.resume-window,
  .window.resume-window.is-open {
    height: min(760px, calc(100svh - 176px));
    min-height: min(560px, calc(100svh - 176px));
  }

  .resume-pages {
    gap: 12px;
    padding: 10px;
  }

  .window:not(.is-open) {
    display: none;
  }

  .window-titlebar {
    cursor: default;
  }

  .notes-app-window .notes-titlebar {
    flex: 0 0 66px;
    gap: 10px;
    padding: 0 12px 0 82px;
  }

  .notes-window-title {
    min-width: 86px;
  }

  .notes-window-title strong {
    font-size: 16px;
  }

  .notes-window-title span {
    font-size: 12px;
  }

  .notes-toolbar {
    max-width: min(390px, calc(100vw - 206px));
    overflow-x: auto;
    gap: 3px;
    padding: 4px;
  }

  .notes-tool {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
  }

  .notes-tool-round {
    width: 38px;
    flex-basis: 38px;
  }

  .note-editor {
    max-width: none;
    padding: 34px 30px 106px;
  }

  .note-editor h1 {
    font-size: 32px;
  }

  .note-editor p,
  .note-editor ul,
  .note-editor ol,
  .editor-check-row {
    font-size: 16px;
  }

  .contact-window,
  .contact-window.is-open {
    height: min(760px, calc(100svh - 176px));
  }

  .contact-window .window-titlebar {
    flex-basis: 54px;
  }

  .contact-toolbar-actions {
    right: 10px;
    gap: 8px;
  }

  .contact-search-pill {
    min-width: 132px;
  }

  .contact-window .contact-panel {
    padding: 0;
  }

  .contact-detail-content {
    width: min(calc(100% - 54px), 500px);
    padding: 28px 0 42px;
  }

  .contact-profile img {
    width: 230px;
    height: 230px;
  }

  .contact-profile h2 {
    font-size: 34px;
  }

  .window-resize-handle {
    display: none;
  }

  .finder-shell {
    grid-template-columns: 1fr;
  }

  .finder-sidebar {
    display: none;
  }

  .finder-content {
    padding: 28px 22px 22px;
  }

  .project-grid,
  .project-folder-view,
  .photo-grid {
    grid-template-columns: 1fr;
  }

  .project-folder-grid {
    grid-template-columns: repeat(2, minmax(118px, 1fr));
  }

  .project-preview-pane {
    position: static;
  }

  .project-card {
    min-height: 0;
  }

  .project-thumb {
    height: 132px;
  }

  .dock {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
    justify-content: space-between;
    gap: 6px;
    padding: 10px 10px 8px;
    border-radius: 18px;
    transform: none;
  }

  .dock-item {
    min-width: 0;
    flex: 1;
  }

  .dock-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
  }

}

@media (max-width: 560px) {
  .menu-bar {
    padding: 0 10px;
  }

  .menu-left {
    gap: 9px;
  }

  .menu-left strong {
    max-width: 138px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  #clock {
    display: none;
  }

  .desktop-icons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .traffic-lights {
    left: 10px;
    gap: 7px;
  }

  .window-titlebar strong {
    max-width: 48%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .notes-app-window .notes-titlebar {
    min-height: 94px;
    align-items: start;
    justify-content: flex-start;
    padding: 36px 10px 10px;
  }

  .notes-window-title {
    display: none;
  }

  .notes-toolbar {
    width: 100%;
    max-width: none;
  }

  .note-editor {
    padding: 28px 22px 112px;
  }

  .contact-toolbar-actions {
    right: 10px;
    gap: 7px;
  }

  .contact-toolbar-actions button:first-child,
  .contact-search-pill {
    display: none;
  }

  .contact-window .contact-panel {
    padding: 0;
  }

  .contact-detail-content {
    width: min(calc(100% - 28px), 420px);
    padding: 22px 0 112px;
  }

  .contact-profile img {
    width: 170px;
    height: 170px;
  }

  .contact-profile h2 {
    font-size: 28px;
  }

  .contact-row a,
  .contact-row strong,
  .contact-buttons a,
  .contact-buttons button {
    font-size: 16px;
  }

  .contact-share-copy strong {
    font-size: 16px;
  }

  .contact-share-copy em,
  .contact-row span {
    font-size: 13px;
  }

  .titlebar-actions {
    display: none;
  }

  .intro-panel h1 {
    font-size: 34px;
  }

  .finance-row {
    grid-template-columns: 36px 1fr;
  }

  .external-arrow {
    display: none;
  }

  .standard-window .window-content {
    padding: 18px;
  }

  .standard-window.resume-window .window-content {
    padding: 0;
  }
}
