:root {
  color-scheme: dark;
  --menu-height: 34px;
  --ink: #17181d;
  --paper: #f4f3f1;
  --muted: #6a6b72;
  --glass: rgba(22, 23, 28, 0.54);
  --glass-line: rgba(255, 255, 255, 0.17);
  --ease: cubic-bezier(0.2, 0.78, 0.22, 1);
  --window-shadow:
    0 42px 100px rgba(0, 0, 0, 0.48),
    0 10px 28px rgba(0, 0, 0, 0.3),
    inset 0 1px rgba(255, 255, 255, 0.8);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-width: 320px;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

html {
  background: #08090c;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI",
    sans-serif;
  color: #fff;
  background: #08090c;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button {
  padding: 0;
  color: inherit;
  font: inherit;
  border: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.72);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

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

::selection {
  color: #111;
  background: rgba(255, 255, 255, 0.88);
}

.desktop {
  position: relative;
  width: 100%;
  height: 100svh;
  isolation: isolate;
  overflow: hidden;
}

.wallpaper,
.wallpaper-shade,
.wallpaper-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.wallpaper {
  z-index: -4;
  inset: -8px;
  background: #0b0c10 url("/assets/desktop-wallpaper-v1.jpg") center / cover no-repeat;
  filter: contrast(1.04) saturate(0.86);
  transform: scale(1.012);
}

.wallpaper-shade {
  z-index: -3;
  background:
    radial-gradient(circle at 62% 54%, transparent 7%, rgba(5, 6, 9, 0.08) 39%, rgba(5, 6, 9, 0.58) 110%),
    linear-gradient(90deg, rgba(5, 6, 9, 0.66) 0%, rgba(5, 6, 9, 0.19) 44%, rgba(5, 6, 9, 0.05) 100%),
    linear-gradient(180deg, rgba(4, 5, 8, 0.2), transparent 24%, rgba(4, 5, 8, 0.25));
}

.wallpaper-grain {
  z-index: -2;
  opacity: 0.15;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.48'/%3E%3C/svg%3E");
}

/* Menu bar */

.menu-bar {
  position: relative;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: calc(var(--menu-height) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) 17px 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 530;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(10, 11, 14, 0.46);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.15);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  backdrop-filter: blur(22px) saturate(1.3);
}

.menu-bar__left,
.menu-bar__right,
.menu-nav {
  display: flex;
  align-items: center;
}

.menu-bar__left {
  gap: 20px;
}

.menu-brand,
.menu-nav button {
  background: transparent;
  transition:
    color 160ms ease,
    opacity 160ms ease;
}

.menu-brand {
  font-size: 13px;
  font-weight: 760;
  letter-spacing: -0.03em;
}

.menu-nav {
  gap: 19px;
}

.menu-nav button {
  color: rgba(255, 255, 255, 0.78);
}

.menu-brand:hover,
.menu-nav button:hover {
  color: #fff;
}

.menu-bar__right {
  gap: 15px;
  font-variant-numeric: tabular-nums;
}

.availability {
  display: flex;
  gap: 6px;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
}

.availability > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #87d65f;
  box-shadow: 0 0 9px rgba(135, 214, 95, 0.55);
}

/* Desktop */

.workspace {
  position: relative;
  height: calc(100svh - var(--menu-height) - env(safe-area-inset-top));
  overflow: hidden;
}

.intro-card {
  position: absolute;
  z-index: 2;
  top: clamp(42px, 8vh, 78px);
  left: clamp(30px, 4vw, 66px);
  width: min(470px, 42vw);
  padding: 26px 28px 28px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(33, 34, 41, 0.69), rgba(17, 18, 23, 0.53)),
    rgba(16, 17, 22, 0.52);
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.32),
    inset 0 1px rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(26px) saturate(1.2);
  backdrop-filter: blur(26px) saturate(1.2);
  animation: intro-in 720ms 80ms var(--ease) both;
}

.intro-card__eyebrow,
.project-kicker,
.info-eyebrow {
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.intro-card h1 {
  margin: 14px 0 15px;
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(33px, 3.5vw, 52px);
  font-weight: 580;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.intro-card__copy {
  max-width: 390px;
  margin: 0;
  color: rgba(255, 255, 255, 0.57);
  font-size: 13px;
  line-height: 1.55;
}

.intro-card__stack {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 9px;
  font-weight: 680;
  letter-spacing: 0.055em;
}

.intro-card__stack i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.intro-card__actions {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 23px;
}

.primary-button {
  display: inline-flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  padding: 0 14px 0 16px;
  color: #16171b;
  font-size: 12px;
  font-weight: 680;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.2),
    inset 0 1px #fff;
  transition:
    transform 180ms var(--ease),
    background 180ms ease;
}

.primary-button:hover {
  background: #fff;
  transform: translateY(-2px);
}

.text-button {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 600;
  background: transparent;
}

.text-button span {
  transition: transform 180ms var(--ease);
}

.text-button:hover span {
  transform: translateY(3px);
}

.desktop-files {
  position: absolute;
  inset: 0 0 96px;
  z-index: 1;
  pointer-events: none;
}

.desktop-file {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 112px;
  color: #fff;
  background: transparent;
  pointer-events: auto;
  transform-origin: center;
  animation: file-in 620ms var(--ease) both;
  transition: transform 180ms var(--ease);
}

.desktop-file:hover {
  transform: translateY(-5px);
}

.desktop-file:active {
  transform: translateY(-2px) scale(0.97);
}

.desktop-file--one {
  top: 10%;
  left: 53%;
  animation-delay: 120ms;
}

.desktop-file--two {
  top: 34%;
  left: 72%;
  animation-delay: 170ms;
}

.desktop-file--three {
  top: 61%;
  left: 57%;
  animation-delay: 220ms;
}

.desktop-file--four {
  top: 10%;
  right: 4%;
  animation-delay: 270ms;
}

.desktop-file--software {
  top: 65%;
  left: 9%;
  animation-delay: 320ms;
}

.desktop-file--resume {
  top: 67%;
  left: 36%;
  animation-delay: 370ms;
}

.file-preview {
  position: relative;
  display: block;
  width: 96px;
  height: 73px;
  overflow: hidden;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  box-shadow:
    0 13px 28px rgba(0, 0, 0, 0.32),
    inset 0 1px rgba(255, 255, 255, 0.22);
  transition:
    box-shadow 180ms ease,
    filter 180ms ease;
}

.desktop-file:hover .file-preview {
  filter: brightness(1.08);
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.4),
    0 0 0 3px rgba(255, 255, 255, 0.18);
}

.file-preview--one {
  background:
    radial-gradient(circle at 72% 62%, #d9dbe6 0 13%, transparent 14%),
    conic-gradient(from 210deg at 72% 63%, transparent 0 22%, #8f91a3 23% 38%, #252632 39% 68%, transparent 69%),
    linear-gradient(145deg, #15161d, #3d3e49);
}

.file-preview--two {
  background:
    linear-gradient(120deg, transparent 38%, rgba(255, 255, 255, 0.24) 39% 42%, transparent 43%),
    radial-gradient(circle at 70% 32%, #ffd5b5 0 14%, transparent 15%),
    linear-gradient(150deg, #663f47, #1a1821 72%);
}

.file-preview--three {
  background:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    radial-gradient(circle at 68% 54%, #b7dcff 0 9%, #466785 10% 23%, transparent 24%),
    linear-gradient(145deg, #1a2027, #20384b);
  background-size: 13px 13px, 13px 13px, auto, auto;
}

.file-preview--four {
  color: #111;
  background:
    linear-gradient(130deg, transparent 34%, rgba(0, 0, 0, 0.06) 35% 37%, transparent 38%),
    linear-gradient(145deg, #f5f3ed, #c5c0b5);
}

.file-preview__bar {
  position: absolute;
  top: 7px;
  left: 8px;
  display: flex;
  gap: 3px;
}

.file-preview__bar i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.42;
}

.file-preview__number {
  position: absolute;
  bottom: 7px;
  left: 9px;
  font-size: 17px;
  font-weight: 760;
  letter-spacing: -0.05em;
}

.file-preview__number--word {
  font-size: 13px;
  letter-spacing: -0.03em;
}

.file-preview__line {
  position: absolute;
  right: 9px;
  bottom: 11px;
  width: 29px;
  height: 1px;
  background: currentColor;
  opacity: 0.42;
}

.desktop-file__name {
  max-width: 110px;
  margin-top: 8px;
  padding: 2px 5px;
  overflow: hidden;
  font-size: 11px;
  font-weight: 640;
  line-height: 1.15;
  text-overflow: ellipsis;
  text-shadow: 0 1px 4px #000, 0 2px 12px #000;
  white-space: nowrap;
  border-radius: 4px;
}

.desktop-file__meta {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 9px;
  font-weight: 560;
  text-shadow: 0 1px 5px #000;
}

.desktop-file:hover .desktop-file__name,
.desktop-file:focus-visible .desktop-file__name {
  color: #15161a;
  text-shadow: none;
  background: rgba(255, 255, 255, 0.88);
}

.folder-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 88px;
  height: 60px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 780;
  letter-spacing: -0.04em;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px 9px 11px 11px;
  background: linear-gradient(145deg, #757883, #3e4048);
  box-shadow:
    0 13px 26px rgba(0, 0, 0, 0.34),
    inset 0 1px rgba(255, 255, 255, 0.34);
}

.folder-icon::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -8px;
  left: 6px;
  width: 38px;
  height: 17px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 7px 7px 0 0;
  background: #656873;
}

.folder-icon span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  background: rgba(13, 14, 18, 0.24);
}

.paper-icon {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 67px;
  height: 82px;
  padding: 14px 11px;
  overflow: hidden;
  color: #222328;
  border-radius: 4px 8px 7px 5px;
  background: linear-gradient(145deg, #fff, #d9d8d4);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.34),
    inset 0 1px #fff;
  transform: rotate(-2deg);
}

.paper-icon::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 16px;
  height: 16px;
  background: linear-gradient(225deg, rgba(0, 0, 0, 0.12) 0 48%, #f6f5f1 50%);
}

.paper-icon b {
  font-size: 18px;
  line-height: 1;
  letter-spacing: -0.08em;
}

.paper-icon i {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 10px;
  background: rgba(34, 35, 40, 0.22);
}

.paper-icon i:last-child {
  width: 67%;
}

.desktop-files.is-pulsing .desktop-file {
  animation: file-pulse 620ms var(--ease);
}

/* Windows */

.window {
  position: absolute;
  z-index: 100;
  overflow: hidden;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 18px;
  background: rgba(244, 243, 241, 0.95);
  box-shadow: var(--window-shadow);
  -webkit-backdrop-filter: blur(30px) saturate(1.2);
  backdrop-filter: blur(30px) saturate(1.2);
  transform-origin: center bottom;
}

.window.is-opening {
  animation: window-open 360ms var(--ease) both;
}

.window.is-closing {
  animation: window-close 190ms ease both;
}

.window.is-dragging {
  user-select: none;
  box-shadow:
    0 48px 110px rgba(0, 0, 0, 0.56),
    0 12px 34px rgba(0, 0, 0, 0.34);
}

.window.is-maximized {
  top: 8px !important;
  left: 10px !important;
  width: calc(100% - 20px) !important;
  height: calc(100% - 108px) !important;
}

.project-window {
  top: clamp(24px, 5vh, 54px);
  left: calc(50% - min(525px, 47vw));
  width: min(1050px, 94vw);
  height: min(700px, calc(100% - 134px));
  min-height: 540px;
}

.window-bar {
  position: relative;
  display: grid;
  grid-template-columns: 120px 1fr 120px;
  align-items: center;
  height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(29, 30, 35, 0.12);
  background: rgba(233, 232, 231, 0.88);
  cursor: grab;
}

.window-bar:active {
  cursor: grabbing;
}

.traffic-lights {
  display: flex;
  gap: 8px;
  align-items: center;
}

.traffic-light {
  position: relative;
  width: 12px;
  height: 12px;
  border: 0.5px solid rgba(0, 0, 0, 0.14);
  border-radius: 50%;
}

.traffic-light--close {
  background: #ff5f57;
}

.traffic-light--minimize {
  background: #febc2e;
}

.traffic-light--maximize {
  background: #28c840;
}

.traffic-light::after {
  position: absolute;
  inset: -4px;
  display: grid;
  place-items: center;
  color: rgba(0, 0, 0, 0.55);
  font-size: 8px;
  font-weight: 900;
  opacity: 0;
}

.traffic-light--close::after {
  content: "×";
}

.traffic-light--minimize::after {
  content: "−";
}

.traffic-light--maximize::after {
  content: "+";
}

.traffic-lights:hover .traffic-light::after {
  opacity: 1;
}

.window-bar__title {
  overflow: hidden;
  margin: 0;
  color: #4e4f55;
  font-size: 12px;
  font-weight: 650;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.window-bar__status {
  justify-self: end;
  color: #8b8b91;
  font-size: 10px;
  font-weight: 590;
}

.project-window__body {
  display: grid;
  grid-template-columns: minmax(320px, 1.12fr) minmax(320px, 0.88fr);
  height: calc(100% - 42px);
}

.project-media {
  position: relative;
  min-width: 0;
  isolation: isolate;
  overflow: hidden;
  background: #08090c;
}

.project-art {
  --art-bg: #171820;
  --art-accent: #c8cbd6;
  --art-accent-2: #5c5e6d;
  position: relative;
  width: 100%;
  height: 100%;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    var(--art-bg);
  background-size: 34px 34px, 34px 34px, auto;
}

.project-media__stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #08090c;
}

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

.project-media[data-kind="video"] .project-media__stage::before,
.project-media[data-kind="video-gallery"] .project-media__stage::before {
  content: "";
  position: absolute;
  inset: -34px;
  z-index: -1;
  background:
    linear-gradient(rgba(4, 5, 8, 0.42), rgba(4, 5, 8, 0.6)),
    var(--media-poster) center / cover no-repeat;
  filter: blur(22px) saturate(0.76);
  transform: scale(1.08);
}

.project-media[data-kind="video"] video {
  position: relative;
  z-index: 1;
  display: block;
  border: 0;
  background: #000;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.48);
}

.project-media[data-kind="video"][data-aspect="landscape"] video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

.project-media[data-kind="video"][data-aspect="portrait"] video {
  width: auto;
  max-width: 100%;
  height: 100%;
  aspect-ratio: 9 / 16;
}

.project-video-gallery {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  outline: none;
  touch-action: pan-y;
}

.project-video-gallery:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.92);
}

.project-video-gallery__track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 420ms var(--ease);
  will-change: transform;
}

.project-video-gallery__slide {
  position: relative;
  display: grid;
  flex: 0 0 100%;
  place-items: center;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.16);
}

.project-video-gallery__slide video {
  position: relative;
  z-index: 1;
  display: block;
  border: 0;
  background: #000;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.48);
}

.project-video-gallery__slide[data-aspect="landscape"] video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

.project-video-gallery__slide[data-aspect="portrait"] video {
  width: auto;
  max-width: 100%;
  height: 100%;
  aspect-ratio: 9 / 16;
}

.project-video-gallery__label,
.project-video-gallery__hint {
  position: absolute;
  z-index: 3;
  right: 16px;
  padding: 7px 9px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 8px;
  font-weight: 720;
  letter-spacing: 0.11em;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(10, 11, 14, 0.58);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
  pointer-events: none;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.project-video-gallery__label {
  top: 16px;
  text-transform: uppercase;
}

.project-video-gallery__hint {
  top: 50px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 6px;
}

.project-video-gallery__nav {
  position: absolute;
  z-index: 4;
  bottom: 54px;
  left: 50%;
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(9, 10, 13, 0.68);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  transform: translateX(-50%);
  -webkit-backdrop-filter: blur(17px);
  backdrop-filter: blur(17px);
}

.project-video-gallery__arrow,
.project-video-gallery__tab {
  display: grid;
  place-items: center;
  height: 27px;
  color: rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  transition:
    color 150ms ease,
    background 150ms ease;
}

.project-video-gallery__arrow {
  width: 27px;
  font-size: 12px;
}

.project-video-gallery__tab {
  min-width: 68px;
  padding: 0 10px;
  font-size: 7px;
  font-weight: 710;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-video-gallery__arrow:hover,
.project-video-gallery__arrow:focus-visible,
.project-video-gallery__tab:hover,
.project-video-gallery__tab:focus-visible,
.project-video-gallery__tab.is-active {
  color: #17181c;
  background: rgba(255, 255, 255, 0.92);
}

.project-video-status {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 16px;
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding: 7px 9px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 8px;
  font-weight: 720;
  letter-spacing: 0.12em;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(10, 11, 14, 0.58);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
  pointer-events: none;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.project-video-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff4d4d;
  box-shadow: 0 0 0 3px rgba(255, 77, 77, 0.16);
}

.project-site-preview {
  position: absolute;
  inset: 18px;
  display: grid;
  grid-template-rows: 38px 1fr auto;
  overflow: hidden;
  color: #1a1b20;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 13px;
  background: #fff;
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.48),
    0 8px 24px rgba(0, 0, 0, 0.28);
  transition:
    transform 220ms var(--ease),
    box-shadow 220ms ease;
}

.project-site-preview:hover,
.project-site-preview:focus-visible {
  transform: translateY(-3px);
  box-shadow:
    0 36px 82px rgba(0, 0, 0, 0.54),
    0 10px 28px rgba(0, 0, 0, 0.3);
}

.project-site-preview:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.94);
  outline-offset: 3px;
}

.project-site-preview__bar {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) 58px;
  gap: 8px;
  align-items: center;
  padding: 0 11px;
  border-bottom: 1px solid #dedee1;
  background: #f0f0f2;
}

.project-site-preview__lights {
  display: flex;
  gap: 6px;
}

.project-site-preview__lights i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5f57;
}

.project-site-preview__lights i:nth-child(2) {
  background: #febc2e;
}

.project-site-preview__lights i:nth-child(3) {
  background: #28c840;
}

.project-site-preview__address {
  overflow: hidden;
  padding: 5px 9px;
  color: #6e6f75;
  font-size: 8px;
  font-weight: 610;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  border: 1px solid #dddddf;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.82);
}

.project-site-preview__open {
  justify-self: end;
  color: #45464c;
  font-size: 8px;
  font-weight: 720;
}

.project-site-preview__viewport {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: #e9e9eb;
}

.project-site-preview__viewport img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 700ms var(--ease);
}

.project-site-preview:hover .project-site-preview__viewport img {
  transform: scale(1.018);
}

.project-site-preview__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 13px 12px;
  border-top: 1px solid #e0e0e2;
  background: rgba(255, 255, 255, 0.96);
}

.project-site-preview__caption > span {
  color: #9a9a9f;
  font-size: 7px;
  font-weight: 740;
  letter-spacing: 0.12em;
}

.project-site-preview__caption strong {
  color: #2f3035;
  font-size: 9px;
  font-weight: 680;
}

.project-media[data-kind="code"] .project-media__stage {
  padding: 18px;
  background:
    radial-gradient(circle at 85% 8%, color-mix(in srgb, var(--code-accent) 18%, transparent), transparent 30%),
    linear-gradient(145deg, #151821, #080a0f);
}

.project-code-preview {
  display: grid;
  grid-template-rows: 39px minmax(0, 1fr) auto;
  width: 100%;
  height: 100%;
  overflow: hidden;
  color: #e8eaf0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 13px;
  background: rgba(11, 13, 18, 0.94);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.45),
    inset 0 1px rgba(255, 255, 255, 0.07);
}

.project-code-preview__bar {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  padding: 0 11px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

.project-code-preview__lights {
  display: flex;
  gap: 6px;
}

.project-code-preview__lights i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5f57;
}

.project-code-preview__lights i:nth-child(2) {
  background: #febc2e;
}

.project-code-preview__lights i:nth-child(3) {
  background: #28c840;
}

.project-code-preview__file {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.67);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 8px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-code-preview__language {
  color: var(--code-accent);
  font-size: 7px;
  font-weight: 730;
  letter-spacing: 0.09em;
}

.project-code-preview__code {
  padding: 22px 16px 18px 47px;
  margin: 0;
  overflow: auto;
  color: #cdd1dc;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(8px, 0.86vw, 11px);
  line-height: 1.75;
  counter-reset: code-line;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
  scrollbar-width: thin;
}

.project-code-preview__code li {
  position: relative;
  min-height: 1.75em;
  list-style: none;
  counter-increment: code-line;
}

.project-code-preview__code li::before {
  content: counter(code-line, decimal-leading-zero);
  position: absolute;
  right: calc(100% + 14px);
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.86em;
}

.project-code-preview__code li:nth-child(3n + 2) code {
  color: color-mix(in srgb, var(--code-accent) 78%, #fff);
}

.project-code-preview__code code {
  white-space: pre;
}

.project-code-preview__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 13px 15px 14px;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
}

.project-code-preview__stats div + div {
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.project-code-preview__stats dt {
  color: rgba(255, 255, 255, 0.28);
  font-size: 6px;
  font-weight: 720;
  letter-spacing: 0.12em;
}

.project-code-preview__stats dd {
  margin: 5px 0 0;
  color: var(--code-accent);
  font-size: 8px;
  font-weight: 690;
}

.project-art[data-theme="warm"] {
  --art-bg: #38242a;
  --art-accent: #ffc7a6;
  --art-accent-2: #9a5362;
}

.project-art[data-theme="blue"] {
  --art-bg: #172733;
  --art-accent: #b5dcff;
  --art-accent-2: #3c6f91;
}

.project-art[data-theme="paper"] {
  --art-bg: #d6d1c7;
  --art-accent: #15161a;
  --art-accent-2: #8b8478;
  color: #15161a;
}

.project-art[data-theme="signal"] {
  --art-bg: #182b25;
  --art-accent: #a8f1c9;
  --art-accent-2: #2f785a;
}

.project-art[data-theme="violet"] {
  --art-bg: #262036;
  --art-accent: #d9c8ff;
  --art-accent-2: #69558f;
}

.project-art[data-theme="sun"] {
  --art-bg: #37291a;
  --art-accent: #ffe0a6;
  --art-accent-2: #a66b2e;
}

.project-art[data-theme="graphite"] {
  --art-bg: #1d2028;
  --art-accent: #ffb28f;
  --art-accent-2: #8f4e3b;
}

.project-art[data-theme="cyan"] {
  --art-bg: #10292d;
  --art-accent: #94f0ec;
  --art-accent-2: #277b80;
}

.project-art[data-theme="hotel"] {
  --art-bg: #2a2820;
  --art-accent: #f1cd70;
  --art-accent-2: #8e7538;
}

.project-art::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(132deg, transparent 42%, color-mix(in srgb, var(--art-accent) 20%, transparent) 43% 46%, transparent 47%),
    radial-gradient(circle at 68% 49%, color-mix(in srgb, var(--art-accent) 20%, transparent), transparent 34%);
}

.project-art__eyebrow {
  position: absolute;
  top: 24px;
  left: 25px;
  font-size: 9px;
  font-weight: 720;
  letter-spacing: 0.16em;
  opacity: 0.56;
}

.project-art strong {
  position: absolute;
  bottom: 19px;
  left: 22px;
  z-index: 3;
  font-size: clamp(64px, 8vw, 116px);
  font-weight: 540;
  line-height: 0.8;
  letter-spacing: -0.09em;
}

.project-art[data-size="compact"] strong {
  font-size: clamp(51px, 6vw, 84px);
  letter-spacing: -0.075em;
}

.project-art__orb {
  position: absolute;
  display: block;
  border-radius: 50%;
}

.project-art__orb--one {
  top: 24%;
  left: 50%;
  width: min(21vw, 220px);
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--art-accent) 70%, transparent);
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.55), transparent 17%),
    radial-gradient(circle at 38% 34%, var(--art-accent), var(--art-accent-2) 58%, rgba(0, 0, 0, 0.4));
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.36),
    inset -18px -20px 40px rgba(0, 0, 0, 0.28);
}

.project-art__orb--two {
  top: 17%;
  left: 38%;
  width: min(12vw, 125px);
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--art-accent) 46%, transparent);
  background: color-mix(in srgb, var(--art-bg) 70%, transparent);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}

.project-art__rule {
  position: absolute;
  right: 23px;
  bottom: 25px;
  width: 70px;
  height: 1px;
  background: currentColor;
  opacity: 0.42;
}

.project-copy {
  display: grid;
  grid-template-rows: 1fr auto auto;
  min-width: 0;
  padding: clamp(28px, 4vw, 52px) clamp(26px, 4vw, 48px) 22px;
  color: var(--ink);
  background:
    radial-gradient(circle at 95% 0%, rgba(255, 255, 255, 0.85), transparent 30%),
    var(--paper);
}

.project-copy[data-density="compact"] {
  padding: 33px 35px 17px;
}

.project-copy[data-density="compact"] h3 {
  margin: 10px 0 12px;
  font-size: clamp(31px, 3vw, 39px);
}

.project-copy[data-density="compact"] .project-copy__main > p:not(.project-kicker) {
  font-size: 11.5px;
  line-height: 1.47;
}

.project-copy[data-density="compact"] .project-tags {
  margin-top: 16px;
}

.project-copy[data-density="compact"] .project-facts {
  padding: 13px 0;
}

.project-copy[data-density="compact"] .project-footer {
  padding-top: 12px;
}

.project-kicker {
  color: #8c8c92;
}

.project-copy h3 {
  margin: 14px 0 16px;
  font-size: clamp(33px, 3.5vw, 49px);
  font-weight: 570;
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.project-copy__main > p:not(.project-kicker) {
  max-width: 420px;
  margin: 0;
  color: #6c6d73;
  font-size: 13px;
  line-height: 1.58;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 23px;
}

.project-tags span {
  padding: 6px 9px;
  color: #55565c;
  font-size: 9px;
  font-weight: 680;
  letter-spacing: 0.04em;
  border: 1px solid #d1d0cd;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
}

.project-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 20px 0;
  margin: 0;
  border-top: 1px solid #d8d7d4;
}

.project-facts div {
  min-width: 0;
}

.project-facts dt {
  margin-bottom: 5px;
  color: #99999d;
  font-size: 8px;
  font-weight: 720;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.project-facts dd {
  overflow: hidden;
  margin: 0;
  color: #4d4e54;
  font-size: 10px;
  font-weight: 620;
  line-height: 1.25;
}

.project-footer {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding-top: 17px;
  border-top: 1px solid #d8d7d4;
}

.project-footer__meta {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.project-footer__meta > span {
  color: #99999d;
  font-size: 9px;
  line-height: 1.35;
}

.project-footer__meta > a {
  width: fit-content;
  color: #33343a;
  font-size: 9px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid #adadb0;
}

.project-footer__meta > a:hover {
  color: #000;
  border-color: #000;
}

.project-footer button {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 15px;
  align-items: center;
  padding: 9px 11px 9px 13px;
  color: #fff;
  font-size: 10px;
  font-weight: 660;
  border-radius: 8px;
  background: #24252a;
  transition: transform 170ms var(--ease);
}

.project-footer button:hover {
  transform: translateX(3px);
}

.info-window {
  top: clamp(52px, 11vh, 100px);
  left: calc(50% - min(340px, 43vw));
  width: min(680px, 86vw);
  height: min(430px, calc(100% - 170px));
  min-height: 340px;
}

.info-window--about {
  left: calc(50% - min(390px, 44vw));
  width: min(780px, 88vw);
  height: min(500px, calc(100% - 155px));
}

.info-window--resume {
  top: clamp(25px, 5vh, 55px);
  left: calc(50% - min(470px, 46vw));
  width: min(940px, 92vw);
  height: min(700px, calc(100% - 130px));
}

.info-window__body {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  height: calc(100% - 42px);
}

.about-mark {
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(48px, 8vw, 86px);
  font-weight: 650;
  letter-spacing: -0.1em;
  background:
    radial-gradient(circle at 68% 35%, rgba(202, 199, 215, 0.42), transparent 23%),
    linear-gradient(145deg, #16171c, #393a44);
}

.info-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 35px 38px;
  background: var(--paper);
}

.info-eyebrow {
  color: #99999e;
}

.info-copy h3 {
  margin: 13px 0 16px;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 570;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.info-copy > p:not(.info-eyebrow) {
  margin: 0;
  color: #6d6e74;
  font-size: 13px;
  line-height: 1.55;
}

.info-copy > p + p {
  margin-top: 11px !important;
}

.info-links {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.info-links a {
  padding: 8px 10px;
  color: #fff;
  font-size: 9px;
  font-weight: 680;
  text-decoration: none;
  border-radius: 7px;
  background: #2b2c32;
  transition:
    transform 170ms var(--ease),
    background 170ms ease;
}

.info-links a:hover {
  background: #111216;
  transform: translateY(-2px);
}

.info-note {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 27px;
  color: #727379;
  font-size: 9px;
  font-weight: 630;
}

.info-note span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #73b657;
  box-shadow: 0 0 8px rgba(115, 182, 87, 0.38);
}

.resume-sheet {
  height: calc(100% - 42px);
  padding: clamp(29px, 4vw, 48px);
  overflow: auto;
  background:
    linear-gradient(90deg, transparent 28px, rgba(40, 41, 46, 0.05) 29px, transparent 30px),
    #f7f6f2;
}

.resume-sheet__top {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid #d3d1cc;
}

.resume-eyebrow {
  margin: 0;
  color: #8c8c92;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.14em;
}

.resume-sheet__top h3 {
  margin: 9px 0 7px;
  font-size: clamp(31px, 4vw, 49px);
  font-weight: 570;
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.resume-sheet__top > div > p:last-child {
  max-width: 460px;
  margin: 0;
  color: #6d6e74;
  font-size: 11px;
  line-height: 1.45;
}

.resume-download {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 18px;
  align-items: center;
  min-height: 38px;
  padding: 0 12px 0 14px;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  background: #24252a;
  box-shadow: 0 7px 16px rgba(0, 0, 0, 0.14);
  transition: transform 170ms var(--ease);
}

.resume-download:hover {
  transform: translateY(-2px);
}

.resume-summary {
  max-width: 760px;
  margin: 23px 0 29px;
  color: #55565c;
  font-size: 12px;
  line-height: 1.55;
}

.resume-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(230px, 0.65fr);
  gap: 42px;
  align-items: start;
}

.resume-section + .resume-section {
  margin-top: 28px;
}

.resume-section h4 {
  padding-bottom: 8px;
  margin: 0 0 14px;
  color: #8b8b91;
  font-size: 8px;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid #dbdad6;
}

.resume-entry {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 16px;
}

.resume-entry + .resume-entry {
  padding-top: 19px;
  margin-top: 19px;
  border-top: 1px solid #e1e0dc;
}

.resume-entry h5 {
  margin: 0;
  color: #25262b;
  font-size: 12px;
  font-weight: 720;
}

.resume-entry div > p,
.resume-entry time {
  margin: 3px 0 0;
  color: #86868b;
  font-size: 9px;
  font-style: normal;
}

.resume-entry time {
  margin: 1px 0 0;
  text-align: right;
}

.resume-entry ul {
  grid-column: 1 / -1;
  padding: 0 0 0 15px;
  margin: 10px 0 0;
  color: #5d5e64;
  font-size: 10px;
  line-height: 1.48;
}

.resume-entry li + li {
  margin-top: 5px;
}

.resume-skill-group + .resume-skill-group {
  margin-top: 14px;
}

.resume-skill-group strong {
  display: block;
  margin-bottom: 4px;
  color: #2e2f34;
  font-size: 10px;
}

.resume-skill-group p,
.resume-education {
  margin: 0;
  color: #6c6d73;
  font-size: 9px;
  line-height: 1.48;
}

.resume-awards {
  padding: 0 0 0 14px;
  margin: 0;
  color: #5f6066;
  font-size: 9px;
  line-height: 1.45;
}

.resume-awards li + li {
  margin-top: 6px;
}

.resume-education strong {
  display: block;
  margin-bottom: 4px;
  color: #303136;
  font-size: 10px;
}

/* Software window */

.software-window {
  top: clamp(28px, 6vh, 62px);
  left: calc(50% - min(460px, 46vw));
  width: min(920px, 92vw);
  height: min(748px, calc(100% - 110px));
  min-height: 480px;
}

.software-window__body {
  height: calc(100% - 42px);
  padding: clamp(28px, 4vw, 43px);
  overflow: auto;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.9), transparent 30%),
    #f3f2ef;
}

.software-window__intro {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  column-gap: 40px;
  align-items: end;
}

.software-window__intro .info-eyebrow {
  grid-column: 1 / -1;
}

.software-window__intro h3 {
  margin: 12px 0 0;
  font-size: clamp(31px, 4vw, 48px);
  font-weight: 570;
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.software-window__lead {
  display: grid;
  gap: 9px;
  align-self: end;
  margin-bottom: 3px;
}

.software-window__lead p {
  margin: 0;
  color: #717278;
  font-size: 11px;
  line-height: 1.5;
}

.software-window__lead a {
  width: fit-content;
  color: #34353a;
  font-size: 9px;
  font-weight: 690;
  text-decoration: none;
  border-bottom: 1px solid #aaa9a6;
}

.software-window__lead a:hover {
  color: #000;
  border-color: #000;
}

.software-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 31px;
}

.software-card {
  position: relative;
  display: flex;
  flex-direction: column;
  grid-column: span 3;
  min-height: 160px;
  padding: 17px;
  overflow: hidden;
  color: #fff;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 13px;
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.13),
    inset 0 1px rgba(255, 255, 255, 0.13);
  transition:
    transform 180ms var(--ease),
    box-shadow 180ms ease;
}

.software-card--featured {
  grid-column: span 3;
  min-height: 174px;
}

.software-card::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -37px;
  width: 115px;
  height: 115px;
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 50%;
}

.software-card--erp {
  background: linear-gradient(145deg, #152a22, #285742);
}

.software-card--qag {
  background: linear-gradient(145deg, #282035, #55416e);
}

.software-card--sangaroon {
  background: linear-gradient(145deg, #3a2a1b, #936235);
}

.software-card--sutus {
  background:
    radial-gradient(circle at 92% 5%, rgba(245, 207, 98, 0.2), transparent 32%),
    linear-gradient(145deg, #28281f, #6b5d38);
}

.software-card--middleclicker {
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 157, 111, 0.22), transparent 31%),
    linear-gradient(145deg, #151820, #363b4b);
}

.software-card--ydlidar {
  background:
    radial-gradient(circle at 88% 3%, rgba(98, 233, 225, 0.18), transparent 32%),
    linear-gradient(145deg, #10282d, #245a61);
}

.software-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.2),
    inset 0 1px rgba(255, 255, 255, 0.16);
}

.software-card__index {
  color: rgba(255, 255, 255, 0.48);
  font-size: 8px;
  font-weight: 720;
  letter-spacing: 0.09em;
}

.software-card strong {
  margin-top: 19px;
  font-size: 25px;
  font-weight: 580;
  letter-spacing: -0.055em;
}

.software-card p {
  max-width: 185px;
  margin: 9px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  line-height: 1.45;
}

.software-card__proof {
  width: fit-content;
  margin-top: 10px;
  padding: 5px 7px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 7px;
  font-weight: 690;
  letter-spacing: 0.035em;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.software-card__open {
  margin-top: auto;
  color: rgba(255, 255, 255, 0.8);
  font-size: 9px;
  font-weight: 680;
}

/* Contact Dock */

.dock-wrap {
  position: fixed;
  z-index: 6000;
  bottom: calc(15px + env(safe-area-inset-bottom));
  left: 50%;
  display: flex;
  justify-content: center;
  transform: translateX(-50%);
}

.dock {
  display: flex;
  gap: 7px;
  align-items: flex-end;
  min-height: 75px;
  padding: 9px 11px 10px;
  border: 1px solid var(--glass-line);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.05)),
    rgba(24, 25, 30, 0.5);
  box-shadow:
    0 24px 58px rgba(0, 0, 0, 0.42),
    inset 0 1px rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(28px) saturate(1.35);
  backdrop-filter: blur(28px) saturate(1.35);
}

.dock-item {
  --dock-scale: 1;
  --dock-lift: 0px;
  position: relative;
  display: block;
  flex: 0 0 55px;
  width: 55px;
  height: 55px;
  background: transparent;
  text-decoration: none;
  transform: translateY(var(--dock-lift)) scale(var(--dock-scale));
  transform-origin: center bottom;
  transition: transform 90ms linear;
  will-change: transform;
}

.dock-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: rgba(247, 247, 248, 0.96);
  box-shadow:
    0 8px 17px rgba(0, 0, 0, 0.32),
    inset 0 1px rgba(255, 255, 255, 0.7);
}

.dock-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.dock-item--linkedin .dock-icon {
  padding: 4px;
  background: #fff;
}

.dock-item--github .dock-icon {
  padding: 5px;
  background: #fff;
}

.dock-item--gmail .dock-icon {
  padding: 5px;
  background: #fff;
}

.dock-item--instagram .dock-icon,
.dock-item--facebook .dock-icon {
  padding: 0;
  background: transparent;
}

.dock-item:active {
  transition-duration: 60ms;
  filter: brightness(0.86);
}

.dock-tooltip {
  position: absolute;
  bottom: calc(100% + 13px);
  left: 50%;
  padding: 6px 9px;
  color: #fff;
  font-size: 10px;
  font-weight: 580;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 7px;
  background: rgba(22, 23, 28, 0.75);
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 5px);
  transition:
    opacity 130ms ease,
    transform 150ms var(--ease);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

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

.dock-separator {
  align-self: stretch;
  width: 1px;
  margin: 4px 2px;
  background: rgba(255, 255, 255, 0.2);
}

.dock-wrap.is-calling .dock {
  animation: dock-call 720ms var(--ease);
}

.dock-prompt {
  position: fixed;
  z-index: 5999;
  bottom: calc(101px + env(safe-area-inset-bottom));
  left: 50%;
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 10px;
  font-weight: 630;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9px;
  background: rgba(21, 22, 27, 0.65);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition:
    opacity 180ms ease,
    transform 220ms var(--ease);
  -webkit-backdrop-filter: blur(17px);
  backdrop-filter: blur(17px);
}

.dock-prompt.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Motion */

@keyframes intro-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
    filter: blur(6px);
  }
}

@keyframes file-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.94);
  }
}

@keyframes file-pulse {
  0%,
  100% {
    transform: none;
  }
  40% {
    transform: translateY(-9px) scale(1.04);
  }
}

@keyframes window-open {
  from {
    opacity: 0;
    transform: translateY(36px) scale(0.91);
    filter: blur(4px);
  }
}

@keyframes window-close {
  to {
    opacity: 0;
    transform: translateY(28px) scale(0.92);
    filter: blur(3px);
  }
}

@keyframes dock-call {
  0%,
  100% {
    transform: none;
  }
  32% {
    transform: translateY(-8px);
  }
  57% {
    transform: translateY(2px);
  }
  75% {
    transform: translateY(-3px);
  }
}

/* Mobile */

@media (max-width: 760px) {
  html,
  body {
    overflow: hidden;
  }

  .menu-bar {
    padding-right: 12px;
    padding-left: 12px;
  }

  .menu-bar__left {
    gap: 14px;
  }

  .menu-nav {
    gap: 12px;
  }

  .menu-nav button[data-action="projects"],
  .menu-nav button[data-open="software"] {
    display: none;
  }

  .availability {
    display: none;
  }

  .workspace {
    overflow-x: hidden;
    overflow-y: auto;
    padding-bottom: 120px;
    scrollbar-width: none;
  }

  .workspace::-webkit-scrollbar {
    display: none;
  }

  .intro-card {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    margin: 18px 14px 0;
    padding: 24px 22px 25px;
  }

  .intro-card h1 {
    font-size: clamp(36px, 11vw, 50px);
  }

  .intro-card__copy {
    font-size: 12px;
  }

  .intro-card__stack {
    margin-top: 16px;
  }

  .desktop-files {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 14px;
    margin: 38px 17px 28px;
  }

  .desktop-file {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: 100%;
  }

  .file-preview {
    width: 104px;
    height: 79px;
  }

  .window {
    position: fixed;
    z-index: 5500;
    top: calc(var(--menu-height) + env(safe-area-inset-top) + 7px) !important;
    right: 7px;
    bottom: calc(99px + env(safe-area-inset-bottom));
    left: 7px !important;
    width: auto !important;
    height: auto !important;
    min-height: 0;
    max-height: none;
    border-radius: 16px;
  }

  .window.is-maximized {
    right: 7px;
    bottom: calc(99px + env(safe-area-inset-bottom));
  }

  .window-bar {
    grid-template-columns: 83px 1fr 83px;
    height: 40px;
    padding: 0 11px;
  }

  .window-bar__status {
    font-size: 9px;
  }

  .project-window__body {
    display: block;
    height: calc(100% - 40px);
    overflow: auto;
    background: var(--paper);
  }

  .project-media {
    height: 40%;
    min-height: 220px;
  }

  .project-art {
    min-height: 100%;
  }

  .project-site-preview {
    inset: 10px;
    grid-template-rows: 34px 1fr auto;
    border-radius: 11px;
  }

  .project-site-preview__bar {
    grid-template-columns: 58px minmax(0, 1fr) 52px;
    padding: 0 9px;
  }

  .project-site-preview__caption {
    padding: 8px 10px 9px;
  }

  .project-site-preview__caption strong {
    font-size: 8px;
  }

  .project-media[data-kind="code"] .project-media__stage {
    padding: 10px;
  }

  .project-code-preview {
    grid-template-rows: 35px minmax(0, 1fr) auto;
    border-radius: 10px;
  }

  .project-code-preview__bar {
    grid-template-columns: 54px minmax(0, 1fr) auto;
    padding: 0 8px;
  }

  .project-code-preview__language {
    font-size: 6px;
  }

  .project-code-preview__code {
    padding: 16px 10px 14px 38px;
    font-size: 8px;
    line-height: 1.62;
  }

  .project-code-preview__stats {
    padding: 10px 11px 11px;
  }

  .project-code-preview__stats dd {
    font-size: 7px;
  }

  .project-video-status {
    top: 10px;
    left: 10px;
  }

  .project-video-gallery__label {
    top: 10px;
    right: 10px;
  }

  .project-video-gallery__hint {
    display: none;
  }

  .project-video-gallery__nav {
    bottom: 48px;
    padding: 4px;
  }

  .project-video-gallery__arrow {
    width: 24px;
    height: 24px;
  }

  .project-video-gallery__tab {
    min-width: 58px;
    height: 24px;
    padding: 0 8px;
    font-size: 6px;
  }

  .project-art__orb--one {
    width: 128px;
  }

  .project-art__orb--two {
    width: 76px;
  }

  .project-art strong {
    font-size: 72px;
  }

  .project-art[data-size="compact"] strong {
    font-size: 55px;
  }

  .project-copy {
    display: block;
    min-height: 60%;
    padding: 25px 23px 20px;
  }

  .project-copy h3 {
    font-size: 37px;
  }

  .project-facts {
    margin-top: 28px;
  }

  .project-footer {
    margin-top: 0;
  }

  .project-footer__meta {
    max-width: 54%;
  }

  .info-window__body {
    display: block;
    height: calc(100% - 40px);
    overflow: auto;
  }

  .about-mark {
    min-height: 35%;
  }

  .info-copy {
    min-height: 65%;
    padding: 30px 26px;
  }

  .info-copy h3 {
    font-size: 35px;
  }

  .software-window__body {
    height: calc(100% - 40px);
    padding: 27px 22px;
  }

  .software-window__intro {
    display: block;
  }

  .software-window__intro h3 {
    font-size: 36px;
  }

  .software-window__lead {
    margin-top: 13px;
  }

  .software-grid {
    grid-template-columns: 1fr;
    margin-top: 25px;
  }

  .software-card {
    grid-column: 1;
    min-height: 170px;
  }

  .software-card p {
    max-width: 260px;
  }

  .resume-sheet {
    height: calc(100% - 40px);
    padding: 31px 24px;
  }

  .resume-sheet__top {
    display: grid;
    gap: 18px;
    align-items: flex-start;
  }

  .resume-sheet__top h3 {
    font-size: 38px;
  }

  .resume-download {
    width: fit-content;
  }

  .resume-summary {
    margin-bottom: 25px;
  }

  .resume-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .dock-wrap {
    bottom: calc(11px + env(safe-area-inset-bottom));
  }

  .dock {
    gap: 5px;
    min-height: 67px;
    padding: 8px 9px 9px;
    border-radius: 19px;
  }

  .dock-item {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
    transition: transform 160ms var(--ease);
  }

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

  .dock-tooltip {
    display: none;
  }

  .dock-separator {
    margin: 4px 1px;
  }

  .dock-prompt {
    bottom: calc(87px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 380px) {
  .menu-nav {
    gap: 9px;
  }

  .menu-bar__right {
    display: none;
  }

  .intro-card__actions {
    gap: 13px;
  }

  .primary-button {
    gap: 12px;
    padding-right: 12px;
    padding-left: 13px;
  }

  .dock-item {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
  }
}

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