@font-face {
  font-family: "Sysfont";
  font-style: normal;
  font-weight: 400;
  src:
    url("assets/fonts/sysfont/sysfont/webfonts/sysfont.woff2") format("woff2"),
    url("assets/fonts/sysfont/sysfont/webfonts/sysfont.woff") format("woff");
}

@font-face {
  font-family: "Classic Geneva";
  font-style: normal;
  font-weight: 400;
  src:
    local("Geneva"),
    url("file:///System/Library/Fonts/Geneva.ttf") format("truetype");
}

@font-face {
  font-family: "Classic Monaco";
  font-style: normal;
  font-weight: 400;
  src:
    local("Monaco"),
    url("file:///System/Library/Fonts/Monaco.ttf") format("truetype");
}

:root {
  color-scheme: light;
  --black: #050505;
  --white: #fffef8;
  --paper: #f7f7ef;
  --gray-1: #eeeeee;
  --gray-2: #c8c8c8;
  --gray-3: #9b9b9b;
  --gray-4: #5a5a5a;
  --teal: #007f7a;
  --red: #b83232;
  --gold: #b58900;
  --shadow: 7px 7px 0 rgba(0, 0, 0, 0.28);
  --font-ui: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "Classic Monaco", Monaco, "Courier New", Courier, monospace;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow: hidden;
  background:
    linear-gradient(45deg, rgba(255, 255, 255, 0.22) 25%, transparent 25%) 0 0 / 4px 4px,
    linear-gradient(-45deg, rgba(0, 0, 0, 0.12) 25%, transparent 25%) 0 0 / 4px 4px,
    #bfc0bc;
  color: var(--black);
  font-family: var(--font-ui);
  font-size: 16px;
  font-synthesis: none;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button,
input,
a {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: var(--black);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

.boot {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #d9d9d4;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

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

.boot-card {
  width: min(320px, calc(100vw - 40px));
  padding: 30px 24px;
  border: 3px solid var(--black);
  background: var(--paper);
  box-shadow: var(--shadow);
  text-align: center;
}

.boot-logo {
  display: block;
  width: 82px;
  height: auto;
  margin: 0 auto 18px;
}

.boot-logo path:nth-child(1),
.boot-logo path:nth-child(2) {
  fill: var(--black);
}

.boot-logo path:nth-child(n+3) {
  fill: #FECD45;
}

.boot-card p {
  margin: 0 0 14px;
  font-weight: 700;
}

.boot-bar {
  height: 18px;
  border: 2px solid var(--black);
  background: var(--white);
  padding: 2px;
}

.boot-bar span {
  display: block;
  height: 100%;
  width: 0;
  background:
    repeating-linear-gradient(90deg, var(--black) 0 8px, var(--white) 8px 12px);
  animation: load 1.1s steps(12, end) forwards;
}

@keyframes load {
  to {
    width: 100%;
  }
}

.language-setup {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: grid;
  place-items: center;
  padding: 20px;
  background:
    linear-gradient(45deg, rgba(255, 255, 255, 0.18) 25%, transparent 25%) 0 0 / 4px 4px,
    linear-gradient(-45deg, rgba(0, 0, 0, 0.12) 25%, transparent 25%) 0 0 / 4px 4px,
    #cfcfca;
}

.language-setup[hidden] {
  display: none;
}

.language-card {
  width: min(440px, calc(100vw - 32px));
  border: 3px solid var(--black);
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: 24px;
  text-align: center;
}

.setup-logo {
  display: block;
  width: 76px;
  height: auto;
  margin: 0 auto 16px;
}

.setup-logo path:nth-child(1),
.setup-logo path:nth-child(2) {
  fill: var(--black);
}

.setup-logo path:nth-child(n+3) {
  fill: #FECD45;
}

.setup-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.language-card h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1;
}

.setup-copy {
  margin: 10px 0 18px;
  color: var(--gray-4);
  font-size: 14px;
}

.language-options {
  display: grid;
  gap: 10px;
}

.language-options button {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  min-height: 62px;
  border: 2px solid var(--black);
  background: var(--white);
  box-shadow: 3px 3px 0 var(--black);
  padding: 10px 14px;
  text-align: left;
  cursor: pointer;
}

.language-options button:hover,
.language-options button:focus-visible {
  background: var(--black);
  color: var(--white);
}

.language-options span {
  color: var(--gray-4);
  font-size: 13px;
}

.language-options button:hover span,
.language-options button:focus-visible span {
  color: var(--white);
}

.desktop {
  height: 100vh;
  min-height: 580px;
  position: relative;
}

.menu-bar {
  position: relative;
  z-index: 1000;
  display: flex;
  align-items: center;
  height: 34px;
  border-bottom: 3px solid var(--black);
  background: var(--white);
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.65);
  user-select: none;
}

.menu-item {
  position: relative;
  height: 100%;
}

.menu-bar button {
  height: 100%;
  border: 0;
  border-right: 2px solid transparent;
  border-left: 2px solid transparent;
  background: transparent;
  padding: 0 11px;
  cursor: pointer;
}

.menu-bar button:hover {
  background: var(--black);
  color: var(--white);
}

.menu-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 72px;
  font-weight: 900;
}

.menu-logo:hover .menu-logo-svg path:nth-child(1),
.menu-logo:hover .menu-logo-svg path:nth-child(2) {
  fill: var(--white);
}

.menu-logo-svg {
  width: 18px;
  height: auto;
  flex-shrink: 0;
}

.menu-logo-svg path:nth-child(1),
.menu-logo-svg path:nth-child(2) {
  fill: var(--black);
}

.menu-logo-svg path:nth-child(n+3) {
  fill: #FECD45;
}

.menu-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1100;
  min-width: 220px;
  border: 3px solid var(--black);
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 4px 0;
  font-size: 14px;
}

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

.menu-dropdown button {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  border-left: 0;
  border-right: 0;
  background: transparent;
  padding: 7px 14px;
  text-align: left;
  cursor: pointer;
}

.menu-dropdown button:hover {
  background: var(--black);
  color: var(--white);
}

.menu-dropdown hr {
  margin: 3px 0;
  border: 0;
  border-top: 1.5px solid var(--black);
}

.menu-nav {
  display: flex;
  height: 100%;
}

.menu-status {
  display: flex;
  align-items: center;
  height: 100%;
  margin-left: auto;
}

.clock-button {
  min-width: 74px;
}

.screen {
  position: relative;
  height: calc(100vh - 34px);
  min-height: 550px;
  overflow: hidden;
  padding: 16px;
}

.desktop-icons {
  position: absolute;
  top: 22px;
  left: 20px;
  z-index: 3;
  display: grid;
  grid-template-columns: 82px;
  gap: 14px;
}

.desktop-icon {
  display: grid;
  justify-items: center;
  gap: 6px;
  width: 82px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: center;
}

.desktop-icon span:last-child {
  max-width: 82px;
  padding: 2px 4px;
  background: var(--white);
  border: 1px dotted transparent;
  font-size: 14px;
  line-height: 1.15;
}

.desktop-icon:hover span:last-child,
.desktop-icon:focus-visible span:last-child {
  background: var(--black);
  color: var(--white);
}

.desktop-svg-icon {
  width: 44px;
  height: 40px;
  display: block;
  filter: drop-shadow(3px 3px 0 rgba(0, 0, 0, 0.22));
}

.window {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: min(var(--w), calc(100vw - 130px));
  height: min(var(--h), calc(100vh - 72px));
  min-width: 260px;
  min-height: 180px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  border: 3px solid var(--black);
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.window[hidden] {
  display: none;
}

.window.active {
  z-index: 50;
}

.window.is-zoomed {
  left: 18px !important;
  top: 46px !important;
  width: calc(100vw - 140px) !important;
  height: calc(100vh - 78px) !important;
}

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

.resize-handle {
  position: absolute;
  right: 1px;
  bottom: 1px;
  z-index: 200;
  width: 20px;
  height: 20px;
  cursor: nwse-resize;
}

.resize-handle::before {
  content: "";
  position: absolute;
  right: 3px;
  bottom: 3px;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(135deg, transparent 4px, var(--gray-3) 4px, var(--gray-3) 5px, transparent 5px) 0 0 no-repeat,
    linear-gradient(135deg, transparent 8px, var(--gray-3) 8px, var(--gray-3) 9px, transparent 9px) 0 0 no-repeat,
    linear-gradient(135deg, transparent 12px, var(--gray-3) 12px, var(--gray-3) 13px, transparent 13px) 0 0 no-repeat;
  pointer-events: none;
}

.terminal-window .resize-handle::before {
  background:
    linear-gradient(135deg, transparent 4px, var(--gray-4) 4px, var(--gray-4) 5px, transparent 5px) 0 0 no-repeat,
    linear-gradient(135deg, transparent 8px, var(--gray-4) 8px, var(--gray-4) 9px, transparent 9px) 0 0 no-repeat,
    linear-gradient(135deg, transparent 12px, var(--gray-4) 12px, var(--gray-4) 13px, transparent 13px) 0 0 no-repeat;
}

.title-bar {
  display: grid;
  grid-template-columns: 24px 1fr 24px;
  align-items: center;
  min-height: 32px;
  border-bottom: 3px solid var(--black);
  background:
    repeating-linear-gradient(0deg, transparent 0 2px, var(--black) 2px 3px, transparent 3px 5px),
    var(--white);
  cursor: grab;
  user-select: none;
}

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

.title-bar strong {
  justify-self: center;
  padding: 2px 10px;
  background: var(--white);
  border-right: 2px solid var(--black);
  border-left: 2px solid var(--black);
  font-size: 15px;
}

.window-close,
.window-zoom {
  width: 15px;
  height: 15px;
  margin: 0 auto;
  padding: 0;
  border: 2px solid var(--black);
  background: var(--white);
  cursor: pointer;
}

.window-close:hover {
  background: var(--red);
}

.window-zoom:hover {
  background: var(--teal);
}

.window-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 22px;
  font-size: 16px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0.48)),
    var(--paper);
}

.about-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 22px;
}

.profile-disk {
  border: 3px double var(--black);
  background: var(--white);
  padding: 16px;
}

.avatar-wrap {
  position: relative;
  width: 128px;
  margin: 0 auto 12px;
}

.avatar-wrap::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 2px,
    rgba(0, 0, 0, 0.07) 2px,
    rgba(0, 0, 0, 0.07) 4px
  );
  pointer-events: none;
}

.avatar {
  display: block;
  width: 128px;
  height: 128px;
  margin: 0;
  border: 3px solid var(--black);
  filter: grayscale(1) contrast(1.35);
  image-rendering: pixelated;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: 23px;
  line-height: 1.12;
  margin-bottom: 7px;
}

h2 {
  font-size: 25px;
  line-height: 1.16;
}

h3 {
  font-size: 18px;
  line-height: 1.25;
  margin-bottom: 6px;
}

p {
  line-height: 1.55;
}

.profile-role {
  margin-top: 2px;
  margin-bottom: 0;
  font-size: 14px;
  color: var(--gray-4);
}

.profile-info {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5px 10px;
  margin: 14px 0;
  padding: 12px 0;
  border-top: 2px dotted var(--black);
  border-bottom: 2px dotted var(--black);
  font-size: 14px;
}

.profile-info dt {
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--gray-4);
  align-self: center;
}

.profile-info dd {
  margin: 0;
  align-self: center;
}

.status-led {
  display: flex;
  gap: 7px;
  align-items: center;
  margin: 14px 0;
  font-size: 14px;
}

.status-led span {
  width: 10px;
  height: 10px;
  border: 2px solid var(--black);
  background: var(--teal);
}

.contact-row {
  display: grid;
  gap: 8px;
}

.contact-row a,
.system-link,
.project-card a,
.clippings a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 34px;
  border: 2px solid var(--black);
  background: var(--white);
  padding: 6px 10px;
  box-shadow: 2px 2px 0 var(--black);
  text-decoration: none;
}

.contact-row a:hover,
.system-link:hover,
.project-card a:hover,
.clippings a:hover {
  background: var(--black);
  color: var(--white);
}

.lead {
  font-size: 18px;
  line-height: 1.6;
  padding-bottom: 16px;
  border-bottom: 3px solid var(--black);
}

.section-label {
  margin: 20px 0 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gray-4);
}

.capabilities {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin: 18px 0;
}

.cap-group {
  border: 2px solid var(--black);
  background: var(--white);
  padding: 14px;
}

.cap-label {
  margin: 0 0 10px;
  padding: 5px 0 8px;
  border-bottom: 2px solid var(--black);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.cap-label::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 12px;
  margin-right: 6px;
  vertical-align: -1px;
  border: 2px solid var(--black);
  border-radius: 0;
  background:
    linear-gradient(var(--black), var(--black)) 0 0 / 100% 2px no-repeat,
    var(--gold);
}

.cap-tree {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cap-tree li {
  position: relative;
  padding: 4px 0 4px 18px;
  font-size: 13px;
  line-height: 1.4;
}

.cap-tree li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 0;
  bottom: 0;
  width: 0;
  border-left: 1.5px solid var(--gray-3);
}

.cap-tree li::after {
  content: "";
  position: absolute;
  left: 1px;
  top: 12px;
  width: 10px;
  border-top: 1.5px solid var(--gray-3);
}

.cap-tree li:last-child::before {
  height: 12px;
}

.cap-tree li:first-child::before {
  top: 12px;
}

.interests {
  border-top: 2px dotted var(--black);
  padding-top: 13px;
}

.interest-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.interest-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--black);
  background: var(--white);
  padding: 14px 8px;
  box-shadow: 2px 2px 0 var(--black);
}

.interest-card span {
  font-size: 12px;
  text-align: center;
  line-height: 1.2;
}

.interest-svg {
  width: 36px;
  height: 36px;
}

.split-header {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: start;
  border-bottom: 3px solid var(--black);
  padding-bottom: 14px;
  margin-bottom: 14px;
}

.eyebrow {
  margin-bottom: 5px;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0;
}

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

.timeline li {
  display: grid;
  grid-template-columns: 185px 1fr;
  gap: 16px;
  border: 2px solid var(--black);
  background: var(--white);
  padding: 14px;
}

.timeline time {
  font-weight: 900;
  font-size: 14px;
}

.timeline p,
.education-grid p,
.project-card p,
.clippings p {
  margin-bottom: 0;
}

.education-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.education-grid section {
  border: 2px solid var(--black);
  background: var(--white);
  padding: 14px;
}

.finder-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-bottom: 3px solid var(--black);
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.finder-toolbar button {
  border: 2px solid var(--black);
  background: var(--white);
  padding: 7px 12px;
  box-shadow: 2px 2px 0 var(--black);
  cursor: pointer;
}

.finder-toolbar button.selected,
.finder-toolbar button:hover {
  background: var(--black);
  color: var(--white);
}

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

.project-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 10px;
  min-height: 240px;
  border: 3px solid var(--black);
  background: var(--white);
  padding: 14px;
}

.project-card.is-hidden {
  display: none;
}

.mini-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 34px;
  border: 2px solid var(--black);
  background: var(--gold);
  color: var(--black);
  font-size: 13px;
  font-weight: 900;
}

.clippings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.clippings article {
  border: 2px solid var(--black);
  background: var(--white);
  padding: 14px;
}

.clippings time {
  display: inline-block;
  margin-bottom: 7px;
  padding: 4px 8px;
  background: var(--black);
  color: var(--white);
}

.clippings a {
  margin-top: 12px;
}

.terminal-window {
  background: var(--black);
}

.terminal-body {
  display: grid;
  grid-template-rows: 1fr auto;
  flex: 1;
  min-height: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 15px;
}

.terminal-output {
  overflow: auto;
  padding: 16px;
  line-height: 1.55;
}

.terminal-output p {
  margin: 0 0 6px;
  white-space: pre-wrap;
}

.terminal-input {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  border-top: 2px solid var(--white);
  padding: 12px 14px;
}

.terminal-input input {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--white);
  outline: 0;
  caret-color: var(--white);
}

.toast {
  position: absolute;
  left: 20px;
  bottom: 18px;
  z-index: 2000;
  max-width: min(430px, calc(100vw - 40px));
  border: 3px solid var(--black);
  background: var(--white);
  color: var(--black);
  box-shadow: var(--shadow);
  padding: 12px 14px;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.dock {
  display: none;
}

.home-indicator {
  display: none;
}

.mobile-home {
  display: none;
}

.desktop.is-inverted {
  filter: invert(1) grayscale(1) contrast(1.1);
}

.desktop.is-watch-mode .screen {
  background:
    radial-gradient(circle at 50% 44%, transparent 0 76px, rgba(0, 0, 0, 0.22) 77px 80px, transparent 82px),
    transparent;
}

.desktop.is-agent-mode .menu-bar {
  background:
    repeating-linear-gradient(90deg, var(--white) 0 16px, #dff8f6 16px 32px);
}

.desktop.is-shutdown {
  filter: brightness(0.12);
  cursor: pointer;
}

.desktop.is-shutdown::after {
  content: "Click anywhere to restart";
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 14px;
  pointer-events: none;
  white-space: nowrap;
}

body.konami {
  filter: contrast(1.55) saturate(0.35) brightness(0.92);
}

body.konami .menu-bar {
  background: repeating-linear-gradient(90deg, #2a2a2a 0 4px, var(--gold) 4px 8px);
  color: var(--gold);
}

@media (max-width: 900px) {
  body {
    overflow: hidden;
    background: #1a1a18;
  }

  .desktop {
    min-height: auto;
    height: 100dvh;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .menu-bar {
    position: relative;
    top: 0;
    z-index: 2000;
    height: 48px;
    border-bottom: 0;
    background: var(--black);
    color: var(--white);
    box-shadow: none;
    justify-content: center;
  }

  .menu-bar button {
    color: var(--white);
    border-left-color: transparent;
    border-right-color: transparent;
  }

  .menu-bar button:hover {
    background: transparent;
    color: var(--white);
  }

  .menu-logo {
    display: none;
  }

  .menu-nav {
    display: none;
  }

  .menu-status {
    margin: 0;
    width: 100%;
    justify-content: center;
  }

  .command-button {
    display: none;
  }

  .clock-button {
    min-width: auto;
    font-size: 16px;
    font-weight: 700;
    font-family: var(--font-ui);
  }

  .screen {
    height: calc(100dvh - 140px);
    min-height: 0;
    flex: 0 0 calc(100dvh - 140px);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 16px 14px 18px;
    background:
      linear-gradient(45deg, rgba(255, 255, 255, 0.06) 25%, transparent 25%) 0 0 / 4px 4px,
      linear-gradient(-45deg, rgba(0, 0, 0, 0.22) 25%, transparent 25%) 0 0 / 4px 4px,
      #2a2a28;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .mobile-home {
    display: grid;
    gap: 14px;
    width: min(100%, 440px);
    margin: 0 auto;
  }

  .mobile-hero {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    align-items: end;
    min-height: 174px;
    border: 3px solid var(--black);
    background:
      linear-gradient(90deg, rgba(0, 127, 122, 0.16), transparent 56%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(247, 247, 239, 0.96)),
      var(--paper);
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.55);
    padding: 18px;
    overflow: hidden;
  }

  .mobile-hero::before {
    content: "";
    position: absolute;
    inset: 10px 10px auto auto;
    width: 72px;
    height: 34px;
    background:
      repeating-linear-gradient(90deg, var(--black) 0 5px, transparent 5px 9px),
      repeating-linear-gradient(0deg, transparent 0 6px, rgba(0, 0, 0, 0.24) 6px 8px);
    opacity: 0.18;
    pointer-events: none;
  }

  .mobile-hero-copy {
    position: relative;
    z-index: 1;
  }

  .mobile-kicker,
  .mobile-section-head p {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
  }

  .mobile-hero h1 {
    max-width: 260px;
    margin: 0;
    font-size: 34px;
    line-height: 0.95;
  }

  .mobile-hero p:last-child {
    max-width: 245px;
    margin: 10px 0 0;
    color: var(--gray-4);
    font-size: 14px;
    line-height: 1.35;
  }

  .mobile-avatar-button {
    position: relative;
    z-index: 1;
    width: 76px;
    height: 88px;
    align-self: end;
    border: 3px solid var(--black);
    background: var(--white);
    box-shadow: 3px 3px 0 var(--black);
    padding: 5px;
    cursor: pointer;
  }

  .mobile-avatar-button img {
    display: block;
    width: 100%;
    height: 64px;
    border: 2px solid var(--black);
    object-fit: cover;
    filter: grayscale(1) contrast(1.35);
    image-rendering: pixelated;
  }

  .mobile-avatar-button span {
    position: absolute;
    right: 7px;
    bottom: 7px;
    width: 13px;
    height: 13px;
    border: 2px solid var(--black);
    background: var(--teal);
  }

  .mobile-quick-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
  }

  .mobile-quick-actions button,
  .mobile-quick-actions a {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 7px;
    min-height: 86px;
    border: 2px solid var(--black);
    background: var(--white);
    color: var(--black);
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.45);
    padding: 8px 5px;
    text-decoration: none;
    cursor: pointer;
  }

  .mobile-quick-actions span:last-child {
    overflow-wrap: anywhere;
    text-align: center;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.1;
  }

  .mobile-glyph {
    position: relative;
    display: block;
    width: 34px;
    height: 34px;
    border: 2px solid var(--black);
    background: var(--paper);
  }

  .mobile-glyph::before,
  .mobile-glyph::after {
    content: "";
    position: absolute;
    background: var(--black);
  }

  .mobile-glyph-doc::before {
    inset: 8px 7px auto;
    height: 3px;
    box-shadow: 0 7px 0 var(--black), 0 14px 0 var(--black);
  }

  .mobile-glyph-folder {
    background:
      linear-gradient(var(--gold), var(--gold)) 3px 8px / 15px 7px no-repeat,
      linear-gradient(var(--paper), var(--paper)) 3px 13px / 25px 15px no-repeat,
      var(--white);
  }

  .mobile-glyph-paper::before {
    inset: 6px 6px auto;
    height: 4px;
    box-shadow: 0 8px 0 var(--black), 0 16px 0 var(--black);
  }

  .mobile-glyph-link::before {
    left: 9px;
    top: 9px;
    width: 16px;
    height: 16px;
    border: 3px solid var(--black);
    background: transparent;
  }

  .mobile-glyph-link::after {
    left: 16px;
    top: 7px;
    width: 3px;
    height: 21px;
    transform: rotate(45deg);
  }

  .mobile-pocket-files {
    display: grid;
    gap: 9px;
  }

  .mobile-pocket-files button,
  .mobile-pocket-files a {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 10px 12px;
    align-items: center;
    min-height: 72px;
    border: 2px solid var(--black);
    background: var(--white);
    color: var(--black);
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.45);
    padding: 10px 12px;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
  }

  .mobile-pocket-files strong {
    font-size: 15px;
    line-height: 1.15;
  }

  .mobile-pocket-files span {
    color: var(--gray-4);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
  }

  .mobile-pocket-files button,
  .mobile-pocket-files a {
    grid-template-columns: 92px 1fr;
    min-height: 56px;
    background: var(--paper);
  }

  .desktop-icons {
    position: relative;
    top: auto;
    left: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px 12px;
    width: 100%;
    max-width: 390px;
    margin: 0 auto;
    flex: 0 0 auto;
    align-content: start;
    padding: 2px 0 4px;
  }

  .desktop-icons::before {
    content: var(--desktop-icons-label, "Discos");
    grid-column: 1 / -1;
    color: var(--white);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
  }

  .desktop-icon {
    width: 100%;
    justify-items: center;
    gap: 8px;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35));
  }

  .desktop-svg-icon {
    width: 62px;
    height: 56px;
    filter: none;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 3px 0 rgba(0,0,0,0.25);
  }

  .desktop-icon span:last-child {
    max-width: none;
    padding: 0;
    background: transparent;
    border: 0;
    font-size: 11px;
    color: #ccc;
    font-weight: 500;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(0,0,0,0.6);
  }

  .desktop-icon:hover span:last-child,
  .desktop-icon:focus-visible span:last-child {
    background: transparent;
    color: #fff;
  }

  .window {
    position: fixed;
    left: 0 !important;
    top: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    max-width: 100vw;
    min-width: auto;
    min-height: auto;
    z-index: 3000;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    animation: windowIn 0.25s ease;
  }

  @keyframes windowIn {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
  }

  .window[hidden] {
    display: none;
  }

  .window-body {
    padding: 18px 16px;
    background:
      linear-gradient(45deg, rgba(0, 0, 0, 0.035) 25%, transparent 25%) 0 0 / 5px 5px,
      var(--paper);
  }

  .title-bar {
    grid-template-columns: 52px 1fr 52px;
    min-height: 52px;
    background: var(--black);
    cursor: default;
    border-bottom: 2px solid var(--black);
  }

  .title-bar strong {
    background: var(--black);
    color: var(--white);
    border-color: transparent;
    font-size: 16px;
    font-weight: 700;
    font-family: var(--font-ui);
  }

  .window-close {
    position: relative;
    width: 52px;
    height: 52px;
    margin: 0;
    border: 0;
    background: transparent;
  }

  .window-close::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 19px;
    width: 13px;
    height: 13px;
    border-left: 3px solid var(--white);
    border-bottom: 3px solid var(--white);
    transform: rotate(45deg);
  }

  .window-close::after {
    content: "";
    position: absolute;
    left: 18px;
    top: 25px;
    width: 19px;
    border-top: 3px solid var(--white);
  }

  .window-close:hover,
  .window-close:focus-visible {
    background: rgba(255, 255, 255, 0.12);
  }

  .window-zoom {
    display: none;
  }

  .window.is-zoomed {
    position: fixed;
    left: 0 !important;
    top: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
  }

  .resize-handle {
    display: none;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .profile-disk {
    text-align: center;
    padding: 12px;
  }

  .avatar-wrap {
    width: 80px;
  }

  .avatar {
    width: 80px;
    height: 80px;
  }

  h1 {
    font-size: 20px;
  }

  .profile-role {
    font-size: 13px;
  }

  .profile-info {
    gap: 4px 8px;
    margin: 10px 0;
    padding: 10px 0;
    font-size: 13px;
  }

  .status-led {
    justify-content: center;
    font-size: 13px;
  }

  .lead {
    font-size: 15px;
  }

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

  .interest-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .split-header {
    display: block;
  }

  .system-link {
    margin-top: 8px;
  }

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

  .timeline time {
    font-size: 13px;
  }

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

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

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

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

  .dock {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 8px;
    position: fixed;
    bottom: 10px;
    left: 12px;
    right: 12px;
    z-index: 2000;
    height: 72px;
    padding: 6px 10px;
    background: rgba(30, 30, 28, 0.85);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 22px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .dock-icon {
    display: grid;
    justify-items: center;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    cursor: pointer;
    padding: 0;
  }

  .dock-svg {
    width: 44px;
    height: 40px;
    border-radius: 11px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.4);
  }

  .home-indicator {
    display: block;
    position: fixed;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2100;
    width: 140px;
    height: 5px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.35);
  }

  .toast {
    left: 12px;
    bottom: 100px;
    max-width: calc(100vw - 24px);
    z-index: 4000;
  }

  .desktop.is-agent-mode .menu-bar {
    background: repeating-linear-gradient(90deg, var(--black) 0 16px, #1a3a36 16px 32px);
  }

  body.konami .menu-bar {
    background: repeating-linear-gradient(90deg, #1a1a18 0 4px, var(--gold) 4px 8px);
    color: var(--gold);
  }

  body.konami .dock {
    border-color: var(--gold);
  }

  .desktop.is-watch-mode .screen {
    background: radial-gradient(circle at 50% 44%, transparent 0 80px, rgba(255,255,255,0.08) 81px 84px, transparent 86px), #2a2a28;
  }
}

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