/*
Theme Name: ZHQ OS Portfolio
Theme URI: https://www.zhuhuiqing.com/
Author: Zhu Huiqing
Author URI: https://www.zhuhuiqing.com/
Description: A clean custom WordPress theme for Zhu Huiqing's macOS-style portfolio desktop.
Version: 0.1.70
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: Proprietary
Text Domain: zhq-os-portfolio
*/

:root {
  --text: #f7f8fb;
  --muted: rgba(247, 248, 251, 0.68);
  --line: rgba(255, 255, 255, 0.2);
  --panel: rgba(18, 20, 28, 0.58);
  --panel-strong: rgba(13, 15, 22, 0.86);
  --chrome: rgba(17, 22, 32, 0.74);
  --chrome-text: #f4f7ff;
  --accent: #2f74ff;
  --z-menu: 800;
  --z-window: 200;
  --z-widget: 205;
  --z-dock: 850;
  --z-spotlight: 900;
  --z-boot: 1000;
  --wp-admin-offset: 0px;
}

* {
  box-sizing: border-box;
}

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

html {
  margin-top: 0 !important;
}

body {
  overflow: hidden;
  color: var(--text);
  background: #05070e;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

body.admin-bar {
  --wp-admin-offset: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar {
    --wp-admin-offset: 46px;
  }
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.os-shell,
.desktop {
  position: relative;
  min-height: 100dvh;
}

.boot-screen {
  position: fixed;
  top: var(--wp-admin-offset);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: var(--z-boot);
  width: 100vw;
  height: calc(100dvh - var(--wp-admin-offset));
  cursor: none;
  overflow: hidden;
  background: #06101f;
  opacity: 1;
  transition: opacity 500ms ease-out, visibility 500ms ease-out;
}

body.is-hello-ready .boot-screen {
  cursor: auto;
}

.boot-screen::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(rgba(2, 5, 14, 0.18), rgba(2, 5, 14, 0.28));
  content: "";
  pointer-events: none;
}

.boot-wallpaper-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
}

body.is-booted .boot-screen {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.boot-startup,
.boot-hello {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
}

.boot-startup {
  gap: 2rem;
  align-content: center;
  justify-items: center;
  transition: opacity 240ms ease, transform 240ms ease, visibility 0s linear 240ms;
}

body.is-apple-out .boot-startup {
  visibility: hidden;
  opacity: 0;
  transform: translateY(-10px) scale(0.985);
}

.boot-apple-mark {
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
}

.boot-apple {
  width: 88px;
  height: 88px;
  color: #fff;
  fill: currentColor;
  transform: translateX(-1px);
}

.boot-progress {
  overflow: hidden;
  width: 150px;
  height: 4px;
  border-radius: 50px;
  background: #1d1d1f;
}

.boot-indicator {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: #f5f5f7;
  transform: translateX(-100%);
  animation: boot-progress 3000ms cubic-bezier(0.83, 0, 0.17, 1) forwards;
}

.boot-hello {
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px) scale(0.99);
  transition: opacity 260ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 260ms;
}

body.is-hello .boot-hello {
  visibility: visible;
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
}

.hello-script {
  width: min(574px, 68vw);
  height: auto;
  display: grid;
  place-items: center;
  overflow: visible;
}

.hello-word {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  color: #fff;
}

.hello-path {
  opacity: 0;
  stroke: currentColor;
  stroke-width: 14.8883;
  stroke-dasharray: 0 1;
  stroke-dashoffset: 0;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.is-hello .hello-path-lead {
  animation: hello-draw-lead 920ms linear forwards;
}

body.is-hello .hello-path-main {
  animation: hello-draw-main 4480ms linear 920ms forwards;
}

.boot-get-started {
  position: absolute;
  right: 0;
  bottom: 32px;
  left: 0;
  display: flex;
  width: max-content;
  margin: 0 auto;
  padding: 0;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 260ms ease, transform 260ms ease;
}

body.is-hello-ready .boot-get-started {
  opacity: 1;
  transform: translateY(0);
}

.get-started-icon {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.3);
}

.get-started-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.boot-get-started:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 6px;
}

.startup-audio {
  position: absolute;
  z-index: -9999;
  display: none;
}

.desktop {
  height: 100dvh;
  overflow: hidden;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 700ms ease-out 220ms, transform 700ms ease-out 220ms;
}

body.is-booted .desktop {
  opacity: 1;
  transform: scale(1);
}

.wallpaper,
.desktop-shade {
  position: fixed;
  top: var(--wp-admin-offset);
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
}

.wallpaper {
  overflow: hidden;
  background-color: #06101f;
  background-image: url("assets/wallpaper-blue-room.webp");
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
}

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

.desktop-shade {
  background: rgba(4, 7, 16, 0.18);
}

.menu-bar {
  position: fixed;
  top: var(--wp-admin-offset);
  right: 0;
  left: 0;
  z-index: var(--z-menu);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 24px;
  padding: max(0px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) 0 max(8px, env(safe-area-inset-left));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.35);
  backdrop-filter: blur(20px) saturate(1.35);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  isolation: isolate;
}

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

.menu-right {
  color: #fff;
}

.menu-item {
  position: relative;
  display: grid;
  place-items: center;
}

.menu-left button,
.portfolio-title,
.status-time {
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.32);
}

.menu-left button {
  height: 20px;
  padding: 0 8px;
  cursor: pointer;
}

.portfolio-title {
  padding: 0 8px 0 3px;
  font-weight: 600;
}

.menu-left button:hover,
.menu-left button:focus-visible,
.menu-item.is-open > [data-menu-button],
.status-time:hover {
  background: rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  outline: none;
}

.system-mark {
  display: grid;
  width: 40px;
  padding: 0;
  place-items: center;
}

.system-mark img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: invert(1);
}

.menu-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 2;
  display: none;
  min-width: 224px;
  margin: 0;
  padding: 5px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(24, 27, 42, 0.78);
  -webkit-backdrop-filter: blur(44px) saturate(1.55) brightness(0.82);
  backdrop-filter: blur(44px) saturate(1.55) brightness(0.82);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  color: #f5f7ff;
  isolation: isolate;
  list-style: none;
}

.menu-dropdown::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(18, 20, 34, 0.54);
  content: "";
  pointer-events: none;
}

.menu-dropdown > * {
  position: relative;
  z-index: 1;
}

.menu-item.is-open .menu-dropdown {
  display: block;
}

.menu-dropdown button {
  display: flex;
  width: 100%;
  height: 27px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-radius: 5px;
  color: #f5f7ff;
  font-size: 13px;
  text-align: left;
  text-shadow: none;
}

.menu-dropdown button:hover,
.menu-dropdown button:focus-visible {
  background: #2f74ff;
  color: #fff;
}

.menu-dropdown button:disabled {
  color: rgba(245, 247, 255, 0.38);
  cursor: default;
}

.menu-dropdown button:disabled:hover {
  background: transparent;
  color: rgba(245, 247, 255, 0.38);
}

.menu-dropdown kbd {
  font-family: inherit;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.menu-divider {
  height: 1px;
  margin: 5px;
  background: rgba(255, 255, 255, 0.13);
}

.status-time {
  color: rgba(255, 255, 255, 0.8);
}

.status-time {
  min-width: 132px;
  height: 24px;
  padding: 0 4px;
  border-radius: 6px;
  cursor: default;
  text-align: right;
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  user-select: none;
}

.desktop-icons {
  position: fixed;
  top: 50px;
  left: max(10px, env(safe-area-inset-left));
  z-index: 20;
  display: grid;
  gap: 6px;
}

.desktop-icon {
  display: grid;
  width: 96px;
  min-height: 108px;
  justify-items: center;
  align-content: center;
  gap: 5px;
  padding: 8px 6px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.95);
  cursor: pointer;
  text-shadow: 0 1px 7px rgba(0, 0, 0, 0.72);
}

.desktop-icon:hover,
.desktop-icon:focus-visible {
  background: rgba(255, 255, 255, 0.15);
  outline: none;
}

.desktop-app-icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
  pointer-events: none;
}

.desktop-about-icon {
  border-radius: 0;
  object-fit: contain;
  box-shadow: none;
}

.desktop-label {
  max-width: 110%;
  overflow-wrap: anywhere;
  border-radius: 4px;
  padding: 1px 4px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  pointer-events: none;
}

.window {
  position: fixed;
  top: calc(var(--y) + var(--wp-admin-offset));
  left: var(--x);
  z-index: var(--z-window);
  display: none;
  width: min(var(--w), calc(100vw - 36px));
  height: min(var(--h), calc(100dvh - var(--wp-admin-offset) - 124px));
  min-width: 300px;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  background: rgba(14, 18, 28, 0.68);
  -webkit-backdrop-filter: blur(28px) saturate(1.25);
  backdrop-filter: blur(28px) saturate(1.25);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  color: var(--chrome-text);
}

.window.is-open {
  display: block;
  animation: window-in 180ms ease-out both;
}

.window.is-active {
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.window-chrome {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 64px;
  align-items: center;
  height: 36px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(18, 23, 34, 0.7);
  cursor: grab;
  user-select: none;
}

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

.window.is-resizing,
.window.is-resizing .window-chrome {
  cursor: default;
  user-select: none;
}

.window.is-minimized {
  display: none;
}

.window[data-window="spotify"]:not(.is-open):not(.is-minimized) {
  top: 48px !important;
  left: 0 !important;
  width: 320px !important;
  height: 180px !important;
  display: block;
  opacity: 0.001;
  pointer-events: none;
  transform: scale(0.01);
  transform-origin: top left;
}

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

.traffic {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.traffic.red {
  background: #ff5f57;
}

.traffic.yellow {
  background: #febc2e;
}

.traffic.green {
  background: #28c840;
}

.window-chrome h1 {
  margin: 0;
  overflow: hidden;
  color: rgba(247, 249, 255, 0.88);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.window-tools {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  visibility: hidden;
}

.window-tools span {
  display: none;
  width: 17px;
  height: 17px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.12);
}

.resize-handle {
  position: absolute;
  z-index: 3;
  pointer-events: auto;
}

.resize-handle[data-resize-direction="n"],
.resize-handle[data-resize-direction="s"] {
  right: 14px;
  left: 14px;
  height: 8px;
}

.resize-handle[data-resize-direction="e"],
.resize-handle[data-resize-direction="w"] {
  top: 38px;
  bottom: 14px;
  width: 8px;
}

.resize-handle[data-resize-direction="n"] {
  top: 0;
  cursor: ns-resize;
}

.resize-handle[data-resize-direction="s"] {
  bottom: 0;
  cursor: ns-resize;
}

.resize-handle[data-resize-direction="e"] {
  right: 0;
  cursor: ew-resize;
}

.resize-handle[data-resize-direction="w"] {
  left: 0;
  cursor: ew-resize;
}

.resize-handle[data-resize-direction="ne"],
.resize-handle[data-resize-direction="nw"],
.resize-handle[data-resize-direction="se"],
.resize-handle[data-resize-direction="sw"] {
  width: 16px;
  height: 16px;
}

.resize-handle[data-resize-direction="ne"] {
  top: 0;
  right: 0;
  cursor: nesw-resize;
}

.resize-handle[data-resize-direction="nw"] {
  top: 0;
  left: 0;
  cursor: nwse-resize;
}

.resize-handle[data-resize-direction="se"] {
  right: 0;
  bottom: 0;
  cursor: nwse-resize;
}

.resize-handle[data-resize-direction="sw"] {
  bottom: 0;
  left: 0;
  cursor: nesw-resize;
}

.finder-layout {
  display: grid;
  grid-template-columns: 176px 1fr;
  height: calc(100% - 36px);
}

.finder-sidebar {
  display: grid;
  align-content: start;
  gap: 5px;
  padding: 16px 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.08);
}

.finder-sidebar button {
  width: 100%;
  height: 32px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: rgba(247, 249, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.finder-sidebar button.is-selected,
.finder-sidebar button:hover,
.finder-sidebar button:focus-visible {
  background: rgba(74, 128, 255, 0.28);
  color: #f7f9ff;
  outline: none;
}

.finder-main {
  min-height: 0;
  padding: 24px;
}

.window-body {
  height: calc(100% - 36px);
  padding: 24px;
}

.section-heading,
.stage-copy {
  display: grid;
  gap: 6px;
}

.section-heading p,
.stage-copy p,
.kicker {
  margin: 0;
  color: rgba(247, 249, 255, 0.58);
  font-size: 12px;
  font-weight: 800;
}

.section-heading strong {
  font-size: 22px;
  line-height: 1.08;
  text-wrap: balance;
}

.file-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.file-card {
  display: grid;
  min-height: 132px;
  align-content: center;
  justify-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #f7f9ff;
  cursor: pointer;
}

.file-card:hover,
.file-card:focus-visible {
  background: rgba(74, 128, 255, 0.22);
  outline: none;
}

.file-card img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.file-card span,
.file-card small {
  margin: 0;
}

.file-card span {
  max-width: 100%;
  overflow: hidden;
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-card small {
  color: rgba(247, 249, 255, 0.52);
  font-size: 11px;
  font-weight: 700;
}

.projects-window {
  min-width: 780px;
  min-height: 460px;
}

.project-browser {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  height: calc(100% - 38px);
  min-height: 0;
  overflow: hidden;
  border-radius: 0 0 8px 8px;
  background:
    radial-gradient(circle at 74% 8%, rgba(94, 145, 255, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(11, 14, 24, 0.86), rgba(5, 7, 14, 0.78));
}

.project-browser.is-detail-open {
  grid-template-columns: minmax(0, 1fr);
}

.project-browser.is-detail-open .project-sidebar {
  display: none;
}

.project-sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  padding: 17px 10px 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.09);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.025)),
    rgba(7, 10, 18, 0.28);
}

.project-sidebar-title {
  display: none;
  gap: 3px;
  margin-bottom: 10px;
  padding: 0 8px;
}

.project-sidebar-title span,
.project-section-heading span,
.project-card-head span,
.project-detail-header span,
.project-feature-copy span {
  color: rgba(248, 250, 255, 0.56);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.project-sidebar-title strong {
  color: #f8faff;
  font-size: 19px;
  line-height: 1.1;
}

.project-filter {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 9px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(248, 250, 255, 0.82);
  font: inherit;
  font-size: 14px;
  font-weight: 760;
  text-align: left;
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease;
}

.project-filter span:nth-child(2) {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-filter em {
  display: grid;
  width: 32px;
  min-width: 0;
  height: 25px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
  color: rgba(248, 250, 255, 0.82);
  font-style: normal;
  font-size: 12px;
  font-weight: 860;
  font-variant-numeric: tabular-nums;
}

.project-filter-icon {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: currentColor;
}

.project-filter-icon svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.project-filter.is-selected,
.project-filter:hover,
.project-filter:focus-visible {
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  color: #0a84ff;
}

.project-filter.is-selected em,
.project-filter:hover em,
.project-filter:focus-visible em {
  background: rgba(20, 24, 36, 0.82);
  color: #f8faff;
}

.project-sidebar-profile {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  margin-top: auto;
  padding: 10px 6px 2px;
  background: transparent;
}

.project-sidebar-avatar {
  width: 46px;
  height: 46px;
  overflow: hidden;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.13);
}

.project-sidebar-profile div {
  min-width: 0;
}

.project-sidebar-profile strong,
.project-sidebar-profile small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-sidebar-profile strong {
  color: #fff;
  font-size: 16px;
  line-height: 1.08;
}

.project-sidebar-profile small {
  margin-top: 3px;
  color: rgba(248, 250, 255, 0.58);
  font-size: 12px;
  font-weight: 700;
}

.project-main {
  min-width: 0;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 20px;
}

.project-main::-webkit-scrollbar,
.project-detail-content::-webkit-scrollbar {
  width: 10px;
}

.project-main::-webkit-scrollbar:horizontal,
.project-detail-content::-webkit-scrollbar:horizontal {
  display: none;
  height: 0;
}

.project-main::-webkit-scrollbar-corner,
.project-detail-content::-webkit-scrollbar-corner {
  background: transparent;
}

.project-main::-webkit-scrollbar-thumb,
.project-detail-content::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.26);
  background-clip: padding-box;
}

.project-list-view {
  display: grid;
  gap: 16px;
}

.project-feature {
  position: relative;
  display: grid;
  min-height: 214px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: radial-gradient(circle at 80% 26%, rgba(95, 213, 194, 0.2), transparent 30%), rgba(255, 255, 255, 0.07);
}

.project-feature > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
}

.project-feature::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(6, 8, 16, 0.94), rgba(6, 8, 16, 0.58) 48%, rgba(6, 8, 16, 0.18));
}

.project-feature-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  justify-items: start;
  gap: 9px;
  max-width: 430px;
  padding: 28px;
}

.project-feature-copy h2,
.project-feature-copy p,
.project-section-heading strong,
.project-card h3 {
  margin: 0;
}

.project-feature-copy h2 {
  color: #fff;
  font-family: "New York", Georgia, serif;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 0.94;
}

.project-feature-copy p {
  display: -webkit-box;
  max-width: 38em;
  overflow: hidden;
  color: rgba(248, 250, 255, 0.72);
  font-size: 14px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.project-primary-button,
.project-card-head button,
.project-detail-toolbar button,
.project-detail-header a {
  display: inline-grid;
  min-height: 32px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.project-primary-button {
  padding: 0 16px;
  background: #2675ff;
  color: #fff;
  box-shadow: 0 12px 28px rgba(38, 117, 255, 0.32);
}

.project-section-heading {
  display: grid;
  gap: 4px;
}

.project-section-heading strong {
  color: #fff;
  font-size: 23px;
  line-height: 1.1;
}

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

.project-card {
  display: grid;
  gap: 11px;
  min-width: 0;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.105);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.052));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 16px 34px rgba(0, 0, 0, 0.18);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.project-card:hover,
.project-card:focus-within {
  border-color: rgba(255, 255, 255, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.075));
  transform: translateY(-1px);
}

.project-card.is-hidden,
.project-card[hidden],
.project-feature[hidden] {
  display: none;
}

.project-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
  min-height: 43px;
}

.project-card-head div {
  min-width: 0;
}

.project-card h3 {
  overflow: hidden;
  color: #fff;
  font-size: 17px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-card-head button {
  min-height: 29px;
  padding: 0 13px;
  background: rgba(255, 255, 255, 0.92);
  color: #111622;
  transition: background 140ms ease, transform 140ms ease;
}

.project-card-head button:hover,
.project-card-head button:focus-visible {
  outline: none;
  background: #fff;
  transform: translateY(-1px);
}

.project-card-preview {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9.6;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #0d111c;
  cursor: pointer;
  line-height: 0;
  outline-offset: 3px;
}

.project-card-preview::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.project-card-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.16);
  transition: transform 220ms ease;
}

.project-card:hover .project-card-preview img,
.project-card:focus-within .project-card-preview img {
  transform: scale(1.21);
}

.project-detail-view {
  min-height: 100%;
}

.project-detail-toolbar {
  position: sticky;
  top: -22px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  margin: -22px -22px 22px;
  padding: 10px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 10, 18, 0.78);
  backdrop-filter: blur(18px);
}

.project-detail-toolbar button {
  padding: 0 13px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.project-detail-toolbar span {
  color: rgba(248, 250, 255, 0.54);
  font-size: 12px;
  font-weight: 800;
}

.project-detail-panel {
  display: grid;
  gap: 20px;
  max-width: 760px;
  margin: 0 auto;
}

.project-detail-panel[hidden],
.project-detail-view[hidden],
.project-list-view[hidden] {
  display: none;
}

.project-detail-status {
  display: grid;
  min-height: 360px;
  max-width: 520px;
  margin: 0 auto;
  place-content: center;
  gap: 8px;
  color: rgba(247, 249, 255, 0.62);
  text-align: center;
}

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

.project-detail-status strong {
  color: #fff;
  font-size: 18px;
}

.project-detail-status p {
  max-width: 32ch;
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}

.project-detail-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.vibe-detail-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.vibe-window .project-filter {
  grid-template-columns: 22px minmax(0, 1fr);
}

.vibe-window .project-detail-toolbar {
  border-bottom: 0;
}

.project-detail-header h2 {
  margin: 4px 0 0;
  color: #fff;
  font-family: "New York", Georgia, serif;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 0.96;
}

.project-detail-header a {
  flex: 0 0 auto;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.9);
  color: #111622;
}

.project-detail-content {
  display: grid;
  gap: 18px;
  color: rgba(248, 250, 255, 0.78);
  font-size: 15px;
  line-height: 1.72;
}

.project-detail-content p {
  max-width: 68ch;
  margin: 0 auto;
}

.project-detail-content h2,
.project-detail-content h3,
.project-detail-content h4,
.project-detail-content ul,
.project-detail-content ol,
.project-detail-content blockquote,
.project-detail-content hr {
  width: min(100%, 68ch);
  margin-right: auto;
  margin-left: auto;
}

.project-detail-content h2,
.project-detail-content h3,
.project-detail-content h4 {
  margin-top: 12px;
  margin-bottom: -2px;
  color: #fff;
  line-height: 1.15;
}

.project-detail-content h2 {
  font-size: 25px;
}

.project-detail-content h3 {
  font-size: 20px;
}

.project-detail-content h4 {
  font-size: 16px;
}

.project-detail-content ul,
.project-detail-content ol {
  display: grid;
  gap: 7px;
  padding-left: 1.35em;
}

.project-detail-content blockquote,
.project-detail-content .project-callout {
  border-left: 3px solid rgba(74, 128, 255, 0.76);
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  background: rgba(74, 128, 255, 0.1);
  color: rgba(248, 250, 255, 0.88);
}

.project-detail-content .project-lead {
  color: rgba(248, 250, 255, 0.9);
  font-size: 17px;
  line-height: 1.62;
}

.project-detail-content .project-caption,
.project-detail-content figcaption {
  margin-top: -8px;
  color: rgba(248, 250, 255, 0.5);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.project-detail-content hr {
  height: 1px;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
}

.project-detail-content figure,
.project-detail-content .project-detail-image {
  width: 100%;
  margin: 0;
}

.project-detail-content img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  cursor: zoom-in;
}

.project-image-viewer {
  position: fixed;
  inset: var(--wp-admin-offset) 0 0;
  z-index: 1500;
  display: none;
  place-items: center;
  padding: clamp(18px, 3vw, 42px) clamp(18px, 3vw, 42px) 96px;
  background: rgba(2, 4, 10, 0.86);
  -webkit-backdrop-filter: blur(26px) saturate(1.2);
  backdrop-filter: blur(26px) saturate(1.2);
}

.project-image-viewer.is-open {
  display: grid;
}

.project-image-viewer figure {
  display: grid;
  width: min(94vw, 1560px);
  height: min(88dvh, 980px);
  margin: 0;
  place-items: center;
  overflow: hidden;
  touch-action: none;
  cursor: pointer;
}

.project-image-viewer img {
  width: var(--project-image-fit-width, auto);
  height: var(--project-image-fit-height, auto);
  max-width: none;
  max-height: none;
  border-radius: 8px;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.52);
  cursor: pointer;
  transform: translate3d(var(--project-image-pan-x, 0px), var(--project-image-pan-y, 0px), 0) rotate(var(--project-image-rotation, 0deg)) scale(var(--project-image-zoom, 1));
  transform-origin: var(--project-image-origin, center);
  transition: transform 120ms ease-out;
  user-select: none;
  -webkit-user-drag: none;
  will-change: transform;
}

.project-image-viewer.is-draggable figure,
.project-image-viewer.is-draggable img,
.project-image-viewer.is-zoomed.is-draggable img {
  cursor: grab;
}

.project-image-viewer.is-space-panning figure,
.project-image-viewer.is-space-panning img {
  cursor: grab;
}

.project-image-viewer.is-panning figure,
.project-image-viewer.is-panning img {
  cursor: grabbing;
}

.project-image-close {
  position: absolute;
  top: calc(var(--wp-admin-offset) + 18px);
  right: 22px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
  color: #fff;
  backdrop-filter: blur(18px);
}

.project-image-close::before,
.project-image-close::after {
  position: absolute;
  content: "";
}

.project-image-close::before,
.project-image-close::after {
  top: 17px;
  left: 10px;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
}

.project-image-close::before {
  transform: rotate(45deg);
}

.project-image-close::after {
  transform: rotate(-45deg);
}

.project-image-close:hover,
.project-image-close:focus-visible {
  outline: none;
  background: rgba(255, 255, 255, 0.22);
}

.project-image-controls {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 11px;
  height: 54px;
  padding: 0 17px;
  border-radius: 6px;
  background: rgba(10, 15, 24, 0.92);
  color: rgba(245, 248, 255, 0.94);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.38);
  transform: translateX(-50%);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
  backdrop-filter: blur(20px) saturate(1.15);
}

.project-image-control {
  display: grid;
  width: 33px;
  height: 33px;
  border: 0;
  border-radius: 999px;
  place-items: center;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.project-image-control svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.project-image-control:hover,
.project-image-control:focus-visible {
  outline: none;
  background: rgba(255, 255, 255, 0.12);
}

.project-image-control:disabled {
  cursor: default;
  opacity: 0.34;
}

.project-image-count {
  min-width: 54px;
  color: rgba(245, 248, 255, 0.92);
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.project-image-divider {
  width: 1px;
  height: 32px;
  margin: 0 4px;
  background: rgba(255, 255, 255, 0.12);
}

.projects-empty {
  display: grid;
  min-height: 100%;
  align-content: center;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.projects-empty img {
  width: 62px;
  height: 62px;
}

.projects-empty strong {
  color: #fff;
  font-size: 18px;
}

.projects-empty p {
  max-width: 32ch;
  margin: 0;
  color: rgba(248, 250, 255, 0.58);
  font-size: 13px;
}

.weekly-window {
  min-width: 760px;
  min-height: 480px;
}

.weekly-app {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  height: calc(100% - 36px);
  min-height: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 42%),
    rgba(6, 8, 14, 0.5);
}

.weekly-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  overflow-y: auto;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 11px 14px;
  background: rgba(255, 255, 255, 0.075);
  -webkit-backdrop-filter: blur(24px) saturate(1.08);
  backdrop-filter: blur(24px) saturate(1.08);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.28) transparent;
}

.weekly-sidebar::-webkit-scrollbar {
  width: 8px;
}

.weekly-sidebar::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  background-clip: content-box;
}

.weekly-sidebar-title {
  display: grid;
  gap: 3px;
  margin: 0 5px 10px;
}

.weekly-sidebar-title span,
.weekly-toolbar p,
.weekly-week-head span {
  margin: 0;
  color: rgba(247, 249, 255, 0.54);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.weekly-sidebar-title strong {
  color: #fff;
  font-size: 20px;
  line-height: 1.04;
}

.weekly-year-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 4px 2px;
  padding: 0 0 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.weekly-year-filter {
  min-height: 27px;
  border: 0;
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(248, 250, 255, 0.68);
  cursor: pointer;
  font-size: 12px;
  font-weight: 780;
  transition: background 140ms ease, color 140ms ease;
}

.weekly-year-filter.is-selected,
.weekly-year-filter:hover,
.weekly-year-filter:focus-visible {
  outline: none;
  background: rgba(10, 132, 255, 0.18);
  color: #0a84ff;
}

.weekly-filter {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  padding: 0 9px;
  background: transparent;
  color: rgba(248, 250, 255, 0.78);
  cursor: pointer;
  font-size: 13px;
  font-weight: 760;
  text-align: left;
  transition: background 140ms ease, color 140ms ease;
}

.weekly-filter span:nth-child(2) {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.weekly-filter-icon,
.weekly-filter-icon svg {
  display: block;
  width: 20px;
  height: 20px;
}

.weekly-filter-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.weekly-filter.is-selected,
.weekly-filter:hover,
.weekly-filter:focus-visible {
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  color: #0a84ff;
}

.weekly-filter.is-year-hidden {
  display: none;
}

.weekly-main {
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr);
}

.weekly-toolbar {
  display: flex;
  min-height: 86px;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  padding: 18px 22px;
  background: rgba(9, 12, 20, 0.26);
}

.weekly-toolbar strong {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-size: 27px;
  line-height: 1.02;
  text-wrap: balance;
}

.weekly-search {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  width: min(240px, 42%);
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(247, 249, 255, 0.7);
}

.weekly-search svg {
  display: block;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.weekly-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.weekly-search input::placeholder {
  color: rgba(247, 249, 255, 0.5);
}

.weekly-feed {
  min-height: 0;
  overflow: auto;
  padding: 18px 22px 26px;
}

.weekly-feed::-webkit-scrollbar {
  width: 10px;
}

.weekly-feed::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  background-clip: content-box;
}

.weekly-week {
  display: grid;
  gap: 10px;
}

.weekly-week + .weekly-week {
  margin-top: 22px;
}

.weekly-week.is-hidden,
.weekly-link-card.is-hidden {
  display: none;
}

.weekly-week-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  padding: 0 2px;
}

.weekly-week-head strong {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  line-height: 1.18;
}

.weekly-week-head em {
  flex: 0 0 auto;
  color: rgba(247, 249, 255, 0.5);
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}

.weekly-links {
  display: grid;
  gap: 8px;
}

.weekly-link-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 26px;
  align-items: center;
  gap: 12px;
  min-height: 70px;
  border: 1px solid rgba(255, 255, 255, 0.095);
  border-radius: 8px;
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.058);
  color: #fff;
  text-decoration: none;
  transition: background 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.weekly-link-card:hover,
.weekly-link-card:focus-visible {
  border-color: rgba(74, 128, 255, 0.44);
  background: rgba(74, 128, 255, 0.14);
  outline: none;
  transform: translateY(-1px);
}

.weekly-link-index {
  color: rgba(247, 249, 255, 0.38);
  font-size: 12px;
  font-weight: 860;
  font-variant-numeric: tabular-nums;
}

.weekly-link-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.weekly-link-copy strong,
.weekly-link-copy p {
  overflow: hidden;
  text-overflow: ellipsis;
}

.weekly-link-copy strong {
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  line-height: 1.24;
  text-wrap: pretty;
}

.weekly-link-copy p {
  display: -webkit-box;
  margin: 0;
  color: rgba(247, 249, 255, 0.6);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.weekly-link-arrow {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(247, 249, 255, 0.64);
  font-size: 13px;
  font-weight: 800;
}

.weekly-empty {
  display: grid;
  min-height: 100%;
  place-content: center;
  gap: 7px;
  padding: 28px;
  color: rgba(247, 249, 255, 0.62);
  text-align: center;
}

.weekly-empty[hidden] {
  display: none;
}

.weekly-empty strong {
  color: #fff;
  font-size: 20px;
}

.weekly-empty p {
  max-width: 32ch;
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}

.compact-window {
  min-width: 320px;
}

.about-panel {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 34px 46px 40px;
  background: #171b26;
  color: #f8faff;
  text-align: center;
}

.about-avatar {
  width: 108px;
  height: 108px;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.26), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  object-fit: cover;
}

.about-identity {
  margin-top: 28px;
}

.about-identity h2,
.about-identity p,
.about-facts {
	margin: 0;
}

.about-identity h2 {
  color: #fff;
  font-size: 24px;
  font-weight: 760;
  line-height: 1.08;
  letter-spacing: 0;
}

.about-identity p {
  margin-top: 7px;
  color: rgba(248, 250, 255, 0.58);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.about-facts {
  display: grid;
  width: min(100%, 360px);
  gap: 12px;
  margin-top: 34px;
  text-align: left;
}

.about-facts div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.about-facts dt {
  color: rgba(248, 250, 255, 0.86);
  font-size: 14px;
  font-weight: 760;
  line-height: 1.35;
  text-align: right;
}

.about-facts dd {
  margin: 0;
  color: rgba(248, 250, 255, 0.58);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.about-bio {
  width: min(100%, 360px);
  margin-top: 22px;
  color: rgba(248, 250, 255, 0.62);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.55;
  text-align: left;
}

.about-bio p {
  margin: 0 0 8px;
}

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

.window-body.contact-panel {
  display: flex;
  min-height: 0;
  flex-direction: column;
  justify-content: flex-start;
  padding: 34px 0 36px;
  overflow: auto;
  background: #171b26;
  color: #f8faff;
  container-type: inline-size;
}

.contact-card {
  width: 100%;
  margin: auto 0;
}

.contact-header {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  width: min(calc(100% - 56px), 348px);
  margin: 0 auto;
}

.contact-avatar {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  object-fit: cover;
}

.contact-identity h2,
.contact-identity p,
.contact-details,
.contact-status {
  margin: 0;
}

.contact-identity h2 {
  overflow: hidden;
  color: #fff;
  font-size: 24px;
  font-weight: 760;
  line-height: 1.08;
  text-overflow: ellipsis;
  text-wrap: balance;
  white-space: nowrap;
}

.contact-identity p {
  margin-top: 6px;
  color: rgba(248, 250, 255, 0.58);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-wrap: pretty;
}

.contact-actions {
  display: flex;
  justify-content: center;
  gap: clamp(22px, 8cqi, 34px);
  margin: 36px auto 32px;
}

.contact-action {
  display: grid;
  width: 48px;
  justify-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: #0a84ff;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.contact-action span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 999px;
  background: #0a84ff;
  box-shadow: 0 10px 24px rgba(10, 132, 255, 0.2);
  color: #fff;
  transition: transform 140ms ease, background 140ms ease;
}

.contact-action svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.contact-action em {
  color: #0a84ff;
  font-style: normal;
  font-size: 13px;
  font-weight: 650;
  line-height: 1;
}

.contact-action:hover,
.contact-action:focus-visible {
  outline: none;
}

.contact-action:hover span,
.contact-action:focus-visible span {
  background: #238cff;
  transform: translateY(-1px);
}

.contact-details {
  display: grid;
  width: min(calc(100% - 72px), 360px);
  gap: 11px;
  margin: 0 auto;
}

.contact-details div {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 34px;
}

.contact-details dt {
  color: rgba(248, 250, 255, 0.86);
  font-size: 14px;
  font-weight: 760;
  line-height: 1.35;
  text-align: right;
}

.contact-details dd {
  min-width: 0;
  margin: 0;
  color: rgba(248, 250, 255, 0.58);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.contact-details a {
  color: inherit;
  text-decoration: none;
}

.contact-details a:hover,
.contact-details a:focus-visible {
  color: #0a84ff;
  outline: none;
}

.contact-status {
  margin-top: 14px;
  padding: 0 20px;
  color: rgba(248, 250, 255, 0.5);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.contact-status:empty {
  display: none;
}

@container (max-width: 420px) {
  .contact-header {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 14px;
    width: min(calc(100% - 40px), 318px);
  }

  .contact-avatar {
    width: 56px;
    height: 56px;
  }

  .contact-identity h2 {
    font-size: 21px;
  }

  .contact-identity p {
    font-size: 12px;
  }

  .contact-actions {
    margin: 30px auto 28px;
  }

  .contact-action,
  .contact-action span {
    width: 44px;
  }

  .contact-action span {
    height: 44px;
  }

  .contact-action svg {
    width: 21px;
    height: 21px;
  }

  .contact-details div {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
  }
}

@container (max-width: 340px) {
  .contact-header {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
    text-align: center;
  }

  .contact-identity h2 {
    white-space: normal;
  }

  .contact-actions {
    gap: 18px;
    margin: 28px auto 24px;
  }

  .contact-action,
  .contact-action span {
    width: 40px;
  }

  .contact-action span {
    height: 40px;
  }

  .contact-action em {
    font-size: 12px;
  }

  .contact-details div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .contact-details dt {
    text-align: left;
  }
}

.trash-frame {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 18px;
  background: rgba(12, 16, 26, 0.42);
}

.trash-frame img {
  width: 82px;
  height: 82px;
  object-fit: contain;
}

.resume-window {
  min-width: 540px;
}

.pdf-preview {
  display: grid;
  height: calc(100% - 36px);
  min-height: 0;
  grid-template-rows: 48px minmax(0, 1fr);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 34%),
    rgba(7, 9, 14, 0.58);
}

.pdf-toolbar {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  padding: 8px 12px;
  background: rgba(18, 23, 34, 0.56);
  -webkit-backdrop-filter: blur(18px) saturate(1.16);
  backdrop-filter: blur(18px) saturate(1.16);
}

.pdf-title {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
}

.pdf-title img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.pdf-title div {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.pdf-title strong,
.pdf-title span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pdf-title strong {
  color: #fff;
  font-size: 13px;
  line-height: 1.05;
}

.pdf-title span {
  color: rgba(247, 249, 255, 0.5);
  font-size: 11px;
  font-weight: 700;
}

.pdf-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
}

.pdf-actions button,
.pdf-actions a {
  display: grid;
  flex: 0 0 auto;
  width: 30px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(247, 249, 255, 0.92);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.pdf-actions [data-pdf-zoom-reset] {
  width: 38px;
  font-size: 11px;
}

.pdf-actions [data-pdf-page-label],
.pdf-actions [data-pdf-zoom-label] {
  flex: 0 0 auto;
  width: 48px;
  color: rgba(247, 249, 255, 0.68);
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.pdf-actions [data-pdf-page-label] {
  width: 82px;
}

.pdf-divider {
  width: 1px;
  height: 20px;
  margin: 0 2px;
  background: rgba(255, 255, 255, 0.16);
}

.pdf-actions button:hover,
.pdf-actions button:focus-visible,
.pdf-actions a:hover,
.pdf-actions a:focus-visible {
  background: rgba(74, 128, 255, 0.28);
  outline: none;
}

.pdf-actions button:disabled {
  cursor: default;
  opacity: 0.42;
}

.pdf-actions button:disabled:hover {
  background: rgba(255, 255, 255, 0.09);
}

.pdf-stage {
  position: relative;
  display: block;
  min-height: 0;
  overflow: auto;
  padding: 14px;
  background:
    radial-gradient(circle at top left, rgba(74, 128, 255, 0.14), transparent 28%),
    rgba(2, 4, 8, 0.32);
  scroll-behavior: smooth;
}

.pdf-stage:focus-visible {
  outline: 2px solid rgba(74, 128, 255, 0.72);
  outline-offset: -4px;
}

.pdf-status {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(18, 23, 34, 0.76);
  color: rgba(247, 249, 255, 0.74);
  font-size: 12px;
  font-weight: 800;
  transform: translate(-50%, -50%);
}

.pdf-stage:not(.is-loading) .pdf-status {
  display: none;
}

.pdf-pages {
  display: grid;
  justify-items: center;
  gap: 18px;
  min-width: max-content;
  padding-bottom: 18px;
}

.pdf-page {
  display: grid;
  justify-items: center;
}

.pdf-page canvas {
  display: block;
  max-width: none;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.pdf-stage.is-loading .pdf-pages {
  opacity: 0;
}

.number-grid {
  display: grid;
  grid-template-columns: repeat(3, 56px);
  gap: 8px;
}

.number-grid span {
  height: 40px;
  border-radius: 6px;
  background: rgba(68, 196, 128, 0.22);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  background: rgba(12, 16, 26, 0.42);
}

.media-grid span {
  min-height: 150px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.photos-app {
  position: relative;
  display: grid;
  grid-template-columns: 178px minmax(0, 1fr);
  height: calc(100% - 36px);
  overflow: hidden;
  background: rgba(8, 10, 16, 0.42);
}

.photos-sidebar {
  display: grid;
  align-content: start;
  gap: 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 12px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px);
}

.photos-library-title {
  display: grid;
  gap: 4px;
  margin: 0 4px 10px;
}

.photos-library-title span,
.photos-toolbar p {
  margin: 0;
  color: rgba(247, 249, 255, 0.58);
  font-size: 12px;
  font-weight: 800;
}

.photos-library-title strong {
  color: #f7f9ff;
  font-size: 18px;
  line-height: 1.05;
}

.photos-sidebar button {
  display: flex;
  height: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 0;
  border-radius: 7px;
  padding: 0 10px;
  background: transparent;
  color: rgba(247, 249, 255, 0.72);
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
}

.photos-sidebar button em {
  color: rgba(247, 249, 255, 0.48);
  font-style: normal;
  font-size: 12px;
}

.photos-sidebar button.is-selected,
.photos-sidebar button:hover,
.photos-sidebar button:focus-visible {
  background: rgba(74, 128, 255, 0.28);
  color: #fff;
  outline: none;
}

.photos-main {
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-template-rows: auto 1fr;
}

.photos-toolbar {
  display: flex;
  min-height: 84px;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  padding: 18px 22px;
}

.photos-toolbar strong {
  display: block;
  margin-top: 3px;
  color: #fff;
  font-size: 28px;
  letter-spacing: 0;
  line-height: 1;
}

.photos-toolbar span {
  color: rgba(247, 249, 255, 0.58);
  font-size: 13px;
  font-weight: 700;
}

.photo-masonry {
  display: grid;
  min-height: 0;
  grid-template-columns: repeat(4, minmax(92px, 1fr));
  grid-auto-rows: 86px;
  grid-auto-flow: dense;
  gap: 8px;
  overflow: auto;
  padding: 14px;
}

.photo-masonry::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.photo-tile {
  position: relative;
  min-height: 0;
  grid-row: span 2;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  padding: 0;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: zoom-in;
  isolation: isolate;
  transform: translateZ(0);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.photo-tile:nth-child(6n + 1),
.photo-tile:nth-child(9n + 4) {
  grid-column: span 2;
  grid-row: span 3;
}

.photo-tile.is-portrait {
  grid-row: span 3;
}

.photo-tile.is-filtered-out {
  display: none;
}

.photo-tile img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  aspect-ratio: var(--ratio);
  object-fit: cover;
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1), filter 220ms ease;
}

.photo-tile::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(255, 255, 255, 0.08);
  content: "";
  opacity: 0;
  transition: opacity 200ms ease;
}

.photo-tile:hover,
.photo-tile:focus-visible {
  z-index: 2;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
  outline: none;
  transform: translateY(-3px) scale(1.018);
}

.photo-tile:hover img,
.photo-tile:focus-visible img {
  filter: saturate(1.08) contrast(1.02);
  transform: scale(1.045);
}

.photo-tile:hover::after,
.photo-tile:focus-visible::after {
  opacity: 1;
}

.photos-empty {
  display: grid;
  place-content: center;
  gap: 6px;
  padding: 30px;
  text-align: center;
}

.photos-empty strong {
  font-size: 20px;
}

.photos-empty p {
  margin: 0;
  color: rgba(247, 249, 255, 0.62);
}

.photo-viewer {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  align-items: center;
  gap: 10px;
  padding: 48px 24px 28px;
  background: rgba(4, 5, 8, 0.76);
  backdrop-filter: blur(34px);
  opacity: 0;
  pointer-events: none;
  transform: scale(1.012);
  transition: opacity 180ms ease, transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.photos-app.is-viewing .photo-viewer {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.photo-viewer figure {
  display: grid;
  min-width: 0;
  width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  overflow: hidden;
  justify-items: center;
  place-items: center;
  touch-action: none;
}

.photo-viewer img {
  --photo-zoom: 1;
  display: block;
  max-width: 100%;
  max-height: min(440px, calc(100dvh - 240px));
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
  cursor: zoom-in;
  object-fit: contain;
  transform: translate3d(var(--photo-pan-x, 0px), var(--photo-pan-y, 0px), 0) scale(var(--photo-zoom));
  transform-origin: center;
  transition: transform 120ms ease-out;
  user-select: none;
  -webkit-user-drag: none;
  will-change: transform;
}

.photo-viewer.is-zoomed img {
  cursor: zoom-out;
}

.photo-viewer-close,
.photo-viewer-nav {
  position: relative;
  display: grid;
  border: 0;
  place-items: center;
  padding: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  font-size: 0;
  line-height: 0;
  backdrop-filter: blur(18px);
}

.photo-viewer-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
}

.photo-viewer-nav {
  width: 42px;
  height: 42px;
  border-radius: 999px;
}

.photo-viewer-close::before,
.photo-viewer-close::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  transform-origin: center;
}

.photo-viewer-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

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

.photo-viewer-nav::before {
  width: 12px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  content: "";
}

.photo-viewer-nav.is-prev::before {
  transform: translateX(2px) rotate(-45deg);
}

.photo-viewer-nav.is-next::before {
  transform: translateX(-2px) rotate(135deg);
}

.photo-viewer-close:hover,
.photo-viewer-close:focus-visible,
.photo-viewer-nav:hover,
.photo-viewer-nav:focus-visible {
  background: rgba(255, 255, 255, 0.22);
  outline: none;
}

.notes-frame {
  display: grid;
  background: rgba(12, 16, 26, 0.42);
}

.terminal-chrome {
  background: rgba(18, 23, 34, 0.86);
}

.terminal-chrome h1 {
  color: rgba(255, 255, 255, 0.82);
}

.terminal-frame {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 12px;
  min-height: 0;
  overflow: hidden;
  background: #11141c;
  color: #dce6ff;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  line-height: 1.45;
}

.terminal-output {
  min-height: 0;
  overflow: auto;
  padding-right: 4px;
  scrollbar-color: rgba(220, 230, 255, 0.22) transparent;
}

.terminal-output::-webkit-scrollbar {
  width: 8px;
}

.terminal-output::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(220, 230, 255, 0.22);
}

.terminal-output p,
.terminal-output pre,
.terminal-command-line {
  margin: 0;
}

.terminal-output p + p,
.terminal-output pre + p,
.terminal-output p + pre {
  margin-top: 6px;
}

.terminal-output pre {
  overflow-x: auto;
  color: rgba(220, 230, 255, 0.92);
  font: inherit;
  white-space: pre-wrap;
}

.terminal-output button {
  border: 0;
  padding: 0;
  background: transparent;
  color: #79c0ff;
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
}

.terminal-output button:hover,
.terminal-output button:focus-visible {
  color: #a8d5ff;
  outline: none;
}

.terminal-muted {
  color: rgba(220, 230, 255, 0.55);
}

.terminal-command-line {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 7px;
  align-items: center;
}

.terminal-command-line label {
  color: #dce6ff;
}

.terminal-command-line input {
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  caret-color: #dce6ff;
  color: #dce6ff;
  font: inherit;
  outline: none;
}

.terminal-snake {
  display: grid;
  gap: 8px;
  margin-top: 9px;
  overflow-x: auto;
}

.terminal-snake-status {
  color: rgba(220, 230, 255, 0.72);
}

.terminal-snake-board {
  display: grid;
  width: max-content;
  grid-template-columns: repeat(18, 13px);
  gap: 3px;
  border-radius: 8px;
  padding: 8px;
  background: rgba(0, 0, 0, 0.24);
}

.terminal-snake-cell {
  width: 13px;
  height: 13px;
  border-radius: 3px;
  background: rgba(220, 230, 255, 0.08);
}

.terminal-snake-cell.is-snake {
  background: #79c0ff;
}

.terminal-snake-cell.is-head {
  background: #dce6ff;
}

.terminal-snake-cell.is-food {
  background: #ffcc66;
}

.music-frame {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  overflow: hidden;
  padding: 12px;
  background: #111;
  scrollbar-color: rgba(255, 255, 255, 0.24) transparent;
}

.music-frame::-webkit-scrollbar {
  width: 8px;
}

.music-frame::-webkit-scrollbar-track {
  background: transparent;
}

.music-frame::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  background-clip: padding-box;
}

.spotify-embed-shell {
  min-height: 0;
}

.spotify-embed {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 8px;
}

.spotify-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 8px;
}

.trash-frame p {
  margin: 0;
  color: rgba(247, 249, 255, 0.64);
  font-size: 13px;
  font-weight: 700;
}

.dock-wrap {
  position: fixed;
  right: 0;
  bottom: max(10px, env(safe-area-inset-bottom));
  left: 0;
  z-index: var(--z-dock);
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.desktop-icp {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 42;
  max-width: min(260px, calc(100vw - 36px));
  overflow: hidden;
  padding: 4px 6px;
  border-radius: 6px;
  color: rgba(247, 248, 251, 0.34);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.2;
  text-align: right;
  text-decoration: none;
  text-overflow: ellipsis;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.42);
  white-space: nowrap;
  transition: background 140ms ease, color 140ms ease, opacity 140ms ease;
}

.desktop-icp:hover,
.desktop-icp:focus-visible {
  background: rgba(13, 16, 24, 0.22);
  color: rgba(247, 248, 251, 0.72);
  outline: none;
  -webkit-backdrop-filter: blur(12px) saturate(1.15);
  backdrop-filter: blur(12px) saturate(1.15);
}

.dock {
  display: flex;
  max-width: calc(100vw - 24px);
  align-items: end;
  gap: 5px;
  height: 82px;
  overflow: visible;
  padding: 12px 12px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  background: rgba(20, 24, 34, 0.24);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
  backdrop-filter: blur(22px) saturate(1.25);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  pointer-events: auto;
  scrollbar-width: none;
}

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

.dock-item {
  --dock-size: 50px;
  --dock-icon-size: 48px;
  --dock-lift: 0px;
  --dock-label-bottom: 59px;
  --dock-running-bottom: -1px;
  position: relative;
  display: grid;
  flex: 0 0 var(--dock-size);
  width: var(--dock-size);
  height: 56px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  transform: translateY(var(--dock-lift));
  transition: flex-basis 120ms ease-out, width 120ms ease-out, transform 120ms ease-out;
}

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

.dock-icon-img {
  width: var(--dock-icon-size);
  height: var(--dock-icon-size);
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.28));
  transition: width 120ms ease-out, height 120ms ease-out;
}

.dock-label {
  position: absolute;
  bottom: var(--dock-label-bottom);
  left: 50%;
  z-index: 2;
  width: max-content;
  max-width: 170px;
  padding: 3px 8px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 7px;
  background: rgba(247, 248, 251, 0.92);
  color: #171a21;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.15;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 5px);
  transition: bottom 120ms ease-out, opacity 120ms ease-out, transform 120ms ease-out;
  white-space: nowrap;
}

.dock-label::after {
  position: absolute;
  bottom: -9px;
  left: 50%;
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-top-color: rgba(247, 248, 251, 0.92);
  content: "";
  transform: translateX(-50%);
}

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

.dock-running {
  position: absolute;
  bottom: var(--dock-running-bottom);
  left: 50%;
  display: none;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(238, 240, 246, 0.9);
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.16);
  transform: translateX(-50%);
  transition: bottom 120ms ease-out;
}

.dock-item.is-running .dock-running {
  display: block;
}

.dock-divider {
  flex: 0 0 1px;
  width: 1px;
  height: 42px;
  margin: 0 4px;
  background: rgba(255, 255, 255, 0.28);
}

.spotlight {
  position: fixed;
  inset: 0;
  z-index: var(--z-spotlight);
  display: none;
  place-items: start center;
  padding-top: 16dvh;
  background: rgba(2, 4, 8, 0.2);
}

.spotlight.is-open {
  display: grid;
}

.spotlight-panel {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  width: min(620px, calc(100vw - 32px));
  height: 62px;
  gap: 12px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 14px;
  background: rgba(22, 27, 38, 0.88);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
  color: #f7f9ff;
}

.spotlight-panel input {
  width: 100%;
  border: 0;
  background: transparent;
  color: #f7f9ff;
  font-size: 21px;
  outline: none;
}

.spotlight-panel input::placeholder {
  color: rgba(247, 249, 255, 0.45);
}

.spotlight-panel kbd {
  border-radius: 7px;
  padding: 5px 8px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(247, 249, 255, 0.62);
  font-size: 12px;
}

.magnifier {
  position: relative;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(247, 249, 255, 0.68);
  border-radius: 999px;
}

.magnifier::after {
  position: absolute;
  right: -7px;
  bottom: -4px;
  width: 9px;
  height: 2px;
  border-radius: 999px;
  background: rgba(247, 249, 255, 0.68);
  content: "";
  transform: rotate(45deg);
}

@keyframes boot-progress {
  to {
    transform: translateX(0);
  }
}

@keyframes hello-draw-lead {
  0% {
    opacity: 0;
    stroke-dasharray: 0 1;
  }

  8% {
    opacity: 1;
  }

  to {
    opacity: 1;
    stroke-dasharray: 1 1;
  }
}

@keyframes hello-draw-main {
  0% {
    opacity: 1;
    stroke-dasharray: 0 1;
  }

  to {
    opacity: 1;
    stroke-dasharray: 1 1;
  }
}

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

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

@media (max-width: 720px) {
  body {
    overflow: auto;
  }

  .desktop {
    min-height: 100dvh;
    height: auto;
    padding-bottom: 104px;
  }

  .menu-left .menu-item:nth-of-type(n + 4) {
    display: none;
  }

  .portfolio-title {
    max-width: 132px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .desktop-icons {
    position: relative;
    top: auto;
    left: auto;
    z-index: 30;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding: 68px 14px 0;
  }

  .desktop-icon {
    width: auto;
    min-height: 104px;
  }

  .desktop-app-icon {
    width: 62px;
    height: 62px;
  }

  .window,
  .window.is-open {
    position: fixed;
    top: 48px !important;
    right: 10px;
    bottom: 94px;
    left: 10px !important;
    width: auto;
    height: auto;
    min-width: 0;
    transform: none !important;
  }

  .resume-window {
    min-width: 0;
  }

  .pdf-preview {
    grid-template-rows: auto minmax(0, 1fr);
  }

  .pdf-toolbar {
    flex-wrap: wrap;
    align-items: start;
  }

  .pdf-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .projects-window {
    min-width: 0;
  }

  .finder-layout,
  .notes-frame,
  .project-browser,
  .photos-app,
  .weekly-app {
    grid-template-columns: 1fr;
  }

  .project-browser {
    height: calc(100% - 38px);
  }

  .project-sidebar {
    flex-direction: row;
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-template-rows: none;
    align-items: center;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px;
  }

  .project-sidebar-title,
  .project-sidebar-profile {
    display: none;
  }

  .project-filter {
    grid-template-columns: 22px max-content 32px;
    min-width: max-content;
    min-height: 38px;
    font-size: 14px;
  }

  .project-filter-icon,
  .project-filter-icon svg {
    width: 20px;
    height: 20px;
  }

  .project-filter em {
    width: 32px;
    height: 25px;
    font-size: 12px;
  }

  .project-main {
    padding: 16px;
  }

  .project-feature {
    min-height: 230px;
  }

  .project-feature-copy {
    padding: 22px;
  }

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

  .project-detail-toolbar {
    top: -16px;
    margin: -16px -16px 18px;
  }

  .project-detail-header {
    display: grid;
    align-items: start;
  }

  .vibe-detail-actions {
    justify-content: flex-start;
  }

  .photos-sidebar {
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px;
  }

  .photos-library-title {
    display: none;
  }

  .weekly-window {
    min-width: 0;
  }

  .weekly-sidebar {
    flex-direction: row;
    align-items: center;
    overflow-x: auto;
    overflow-y: hidden;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px;
  }

  .weekly-sidebar-title {
    display: none;
  }

  .weekly-year-group {
    flex: 0 0 auto;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
    border-bottom: 0;
  }

  .weekly-year-filter {
    flex: 0 0 auto;
  }

  .weekly-filter {
    grid-template-columns: 20px max-content;
    min-width: max-content;
  }

  .weekly-toolbar {
    min-height: 88px;
    align-items: start;
    flex-direction: column;
    padding: 14px 16px;
  }

  .weekly-toolbar strong {
    font-size: 22px;
  }

  .weekly-search {
    width: 100%;
  }

  .weekly-feed {
    padding: 14px 14px 22px;
  }

  .weekly-link-card {
    grid-template-columns: 34px minmax(0, 1fr) 24px;
    gap: 9px;
    min-height: 68px;
    padding: 10px;
  }

  .photos-main {
    min-height: 0;
  }

  .photos-toolbar {
    min-height: 70px;
    padding: 14px 16px;
  }

  .photos-toolbar strong {
    font-size: 22px;
  }

  .finder-sidebar {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid rgba(20, 24, 32, 0.12);
    padding: 10px;
  }

  .finder-sidebar button {
    height: 30px;
    padding: 0 6px;
    font-size: 12px;
    text-align: center;
  }

  .finder-main,
  .window-body {
    padding: 18px;
  }

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

  .photo-masonry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 10px;
  }

  .photo-tile:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }

  .photo-viewer {
    grid-template-columns: 42px 1fr 42px;
    padding: 48px 12px 22px;
  }

  .photo-viewer img {
    max-height: min(430px, calc(100dvh - 250px));
  }

  .dock {
    justify-content: flex-start;
    height: 68px;
    overflow-x: auto;
    overflow-y: visible;
  }

  .dock-item {
    --dock-size: 46px;
    --dock-icon-size: 42px;
    --dock-lift: 0px;
    flex-basis: var(--dock-size);
    width: var(--dock-size);
    height: 50px;
  }

  .dock-icon-img {
    width: var(--dock-icon-size);
    height: var(--dock-icon-size);
  }

  .dock-label {
    display: none;
  }

  .desktop-icp {
    right: max(12px, env(safe-area-inset-right));
    bottom: calc(max(10px, env(safe-area-inset-bottom)) + 76px);
    max-width: calc(100vw - 24px);
    font-size: 10px;
  }
}

@media (min-width: 721px) and (max-width: 980px) {
  .dock {
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: visible;
  }

  .dock-item {
    --dock-size: 50px;
    --dock-icon-size: 48px;
    --dock-lift: 0px;
  }

  .dock-label {
    display: none;
  }

  .desktop-icp {
    bottom: calc(max(10px, env(safe-area-inset-bottom)) + 84px);
  }
}

@media (max-width: 420px) {
  .desktop-icp {
    right: 12px;
    left: 12px;
    text-align: center;
  }
}

@media (max-height: 760px) and (min-width: 721px) {
  .projects-window {
    height: min(var(--h), calc(100dvh - var(--wp-admin-offset) - 176px));
  }
}

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