:root {
  --navy: #18255c;
  --navy-dark: #10183f;
  --blue: #3157d5;
  --cyan: #5ee0ff;
  --mint: #78f5c8;
  --cream: #f4f0e5;
  --paper: #fffdf7;
  --gray: #c8c7bd;
  --ink: #151823;
  --shadow: 5px 7px 0 rgba(8, 12, 35, 0.25);
  --border: 2px solid var(--ink);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  color: var(--ink);
  font-family: "Inter", sans-serif;
  background: var(--navy);
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

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

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

.boot-logo {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font: 700 78px/1 "Inter", sans-serif;
  letter-spacing: -6px;
}

.boot-logo span {
  color: var(--cyan);
  font: 600 16px "IBM Plex Mono", monospace;
  letter-spacing: 2px;
}

.boot-screen p {
  margin: 24px 0 12px;
  font-family: "IBM Plex Mono", monospace;
}

.boot-progress {
  width: 280px;
  height: 15px;
  padding: 2px;
  border: 2px solid white;
}

.boot-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--cyan);
  animation: booting 1.35s ease forwards;
}

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

.desktop {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    radial-gradient(circle at 72% 38%, #334fba 0, transparent 36%),
    linear-gradient(145deg, #17235b 0%, #0e173f 100%);
  background-size: 28px 28px, 28px 28px, auto, auto;
}

.desktop::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: 8%;
  bottom: 7%;
  width: 38vw;
  height: 38vw;
  border: 1px solid rgba(94, 224, 255, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(94, 224, 255, .03), 0 0 0 90px rgba(94, 224, 255, .025);
}

.desktop-brand {
  position: absolute;
  z-index: 1;
  top: 45%;
  left: 55%;
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(255,255,255,.08);
  transform: translate(-50%, -50%) rotate(-7deg);
  user-select: none;
}

.desktop-brand > span {
  font-size: clamp(120px, 17vw, 270px);
  font-weight: 700;
  line-height: .8;
  letter-spacing: -24px;
}

.desktop-brand p {
  font: 600 clamp(14px, 1.4vw, 22px)/1.5 "IBM Plex Mono", monospace;
  letter-spacing: 3px;
}

.desktop-icons {
  position: absolute;
  z-index: 2;
  display: grid;
  top: 0;
  bottom: 43px;
  left: 0;
  width: max-content;
  padding: 16px 14px;
  grid-auto-columns: 92px;
  grid-auto-flow: column;
  grid-template-rows: repeat(auto-fill, minmax(76px, 1fr));
  gap: 4px 8px;
  overflow: hidden;
}

.desktop-icon {
  display: flex;
  width: 92px;
  min-height: 72px;
  padding: 6px 4px;
  align-items: center;
  flex-direction: column;
  gap: 6px;
  color: white;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  text-shadow: 1px 2px #111938;
}

.desktop-icon:hover,
.desktop-icon:focus-visible {
  border: 1px solid rgba(94, 224, 255, .8);
  outline: 1px solid rgba(94, 224, 255, .25);
  background: rgba(94, 224, 255, .13);
}

.desktop-icon > span:last-child {
  font-size: 12px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.icon-art {
  position: relative;
  display: block;
  width: 44px;
  height: 42px;
  filter: drop-shadow(2px 3px 0 rgba(0,0,0,.3));
}

.folder-icon {
  height: 34px;
  margin-top: 5px;
  background: #ffcf55;
  border: 2px solid #222;
  box-shadow: inset 0 5px #ffe899;
}

.folder-icon::before {
  content: "";
  position: absolute;
  top: -8px;
  left: -2px;
  width: 21px;
  height: 8px;
  background: #ffcf55;
  border: 2px solid #222;
  border-bottom: 0;
}

.computer-icon {
  width: 43px;
  height: 32px;
  background: #d9e0df;
  border: 3px solid #222;
  box-shadow: inset 0 0 0 4px #91cef2;
}

.computer-icon::after {
  content: "";
  position: absolute;
  left: 10px;
  bottom: -11px;
  width: 20px;
  height: 8px;
  background: #d9e0df;
  border: 2px solid #222;
}

.disk-icon {
  width: 38px;
  height: 42px;
  margin-left: 3px;
  background: #5e7dde;
  border: 3px solid #222;
}

.disk-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 7px;
  width: 20px;
  height: 14px;
  background: #dce6e5;
  border: 2px solid #222;
  border-top: 0;
}

.disk-icon::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 7px;
  width: 19px;
  height: 11px;
  background: #fff;
  border: 2px solid #222;
}

.mail-icon {
  width: 44px;
  height: 31px;
  margin-top: 5px;
  background: #fff4d9;
  border: 3px solid #222;
}

.mail-icon::before,
.mail-icon::after {
  content: "";
  position: absolute;
  top: 2px;
  width: 27px;
  height: 3px;
  background: #222;
}

.mail-icon::before { left: -1px; transform: rotate(35deg); }
.mail-icon::after { right: -1px; transform: rotate(-35deg); }

.text-icon {
  width: 34px;
  height: 42px;
  margin-left: 5px;
  background: #fff;
  border: 2px solid #222;
}

.resume-icon {
  width: 35px;
  height: 43px;
  margin-left: 4px;
  color: white;
  background: #d94242;
  border: 2px solid #222;
}

.resume-icon::before {
  content: "PDF";
  position: absolute;
  right: 2px;
  bottom: 5px;
  left: 2px;
  font: 700 10px "IBM Plex Mono", monospace;
  text-align: center;
}

.resume-icon::after {
  content: "";
  position: absolute;
  top: -2px;
  right: -2px;
  border-top: 10px solid var(--navy);
  border-left: 10px solid #f3aaaa;
}

.calendar-icon {
  width: 40px;
  height: 39px;
  margin-top: 2px;
  background: #fffdf7;
  border: 2px solid #222;
}

.calendar-icon::before {
  content: "16";
  position: absolute;
  inset: 9px 4px 3px;
  display: grid;
  place-items: center;
  color: #9e1f2d;
  font: 700 17px "IBM Plex Mono", monospace;
  border-top: 7px solid #b62635;
}

.calendar-icon::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 7px;
  width: 3px;
  height: 8px;
  background: #222;
  box-shadow: 19px 0 #222;
}

.text-icon::before {
  content: "";
  position: absolute;
  inset: 9px 5px;
  background: repeating-linear-gradient(to bottom, #3157d5 0 2px, transparent 2px 6px);
}

.window {
  position: absolute;
  z-index: 10;
  display: none;
  min-width: 340px;
  max-width: calc(100% - 16px);
  max-height: calc(100% - 58px);
  background: var(--gray);
  border: var(--border);
  box-shadow: var(--shadow), inset 1px 1px white;
}

.window.is-open {
  display: flex;
  flex-direction: column;
  animation: window-in .18s ease-out;
}

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

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

@keyframes window-in {
  from { opacity: 0; transform: scale(.96); }
}

.welcome-window {
  top: 8%;
  left: 19%;
  width: min(890px, 72vw);
}

.content-window {
  top: 12%;
  left: 25%;
  width: min(760px, 67vw);
  max-height: 75vh;
}

.projects-window {
  top: 8%;
  left: 20%;
  width: min(970px, 76vw);
}

.contact-window {
  top: 16%;
  left: 28%;
}

.notepad-window {
  top: 14%;
  left: 31%;
  width: min(640px, 58vw);
}

.resume-window {
  top: 5%;
  left: 23%;
  width: min(850px, 72vw);
  height: min(760px, 84vh);
}

.events-window {
  top: 6%;
  left: 21%;
  width: min(940px, 74vw);
  height: min(780px, 82vh);
}

.window-titlebar {
  display: flex;
  min-height: 34px;
  padding: 4px;
  align-items: center;
  justify-content: space-between;
  color: white;
  background: linear-gradient(90deg, var(--navy), #4167df);
  cursor: move;
  user-select: none;
}

.window-title {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
}

.window-title > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-icon {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  flex: 0 0 auto;
  color: var(--navy);
  font: 700 10px "IBM Plex Mono", monospace;
  background: var(--cyan);
  border: 1px solid white;
}

.window-controls {
  display: flex;
  gap: 3px;
}

.window-controls button {
  display: grid;
  width: 25px;
  height: 24px;
  padding: 0;
  place-items: center;
  font: 700 16px/1 Arial, sans-serif;
  background: #d6d5ca;
  border: 1px solid #fff;
  border-right-color: #303030;
  border-bottom-color: #303030;
  cursor: pointer;
}

.window-controls button:active,
.retro-button:active,
.start-button:active {
  border: 1px solid #303030;
  border-right-color: #fff;
  border-bottom-color: #fff;
}

.window-menu {
  display: flex;
  gap: 18px;
  padding: 5px 10px;
  font-size: 12px;
  border-bottom: 1px solid #7e7d76;
}

.window-content {
  min-height: 0;
  margin: 0 4px;
  overflow: auto;
  background: var(--paper);
  border: 2px inset #fff;
}

.welcome-content {
  display: grid;
  min-height: min(430px, calc(100vh - 160px));
  padding: clamp(30px, 5vw, 68px);
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 44px;
  background:
    linear-gradient(rgba(30, 37, 91, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 37, 91, .04) 1px, transparent 1px),
    var(--paper);
  background-size: 18px 18px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #3157d5;
  font: 600 11px/1.4 "IBM Plex Mono", monospace;
  letter-spacing: 1.3px;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4.5vw, 62px);
  line-height: .98;
  letter-spacing: -3px;
}

h1 strong {
  color: var(--blue);
}

.welcome-copy > p:not(.eyebrow) {
  max-width: 490px;
  color: #4b4e59;
  font-size: 15px;
  line-height: 1.65;
}

.welcome-actions {
  display: flex;
  gap: 10px;
  margin-top: 25px;
}

.retro-button {
  padding: 11px 15px;
  font-size: 13px;
  font-weight: 600;
  background: #d8d7cd;
  border: 2px solid #fff;
  border-right-color: #373737;
  border-bottom-color: #373737;
  cursor: pointer;
}

.retro-button.primary {
  color: white;
  background: var(--blue);
}

.terminal-card {
  overflow: hidden;
  width: min(360px, 100%);
  color: #eaf7f5;
  background: #11183b;
  border: 2px solid #101010;
  box-shadow: 8px 9px 0 rgba(49, 87, 213, .18);
  transform: rotate(2deg);
}

.terminal-top {
  display: flex;
  gap: 5px;
  padding: 9px;
  background: #293262;
}

.terminal-top span {
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
}

.terminal-top span:nth-child(2) { background: #ffce58; }
.terminal-top span:nth-child(3) { background: #ff788c; }

.terminal-body {
  min-height: 175px;
  padding: 20px 17px;
  font: 11px/1.7 "IBM Plex Mono", monospace;
}

.terminal-answer {
  color: #aeb9ce;
}

.terminal-user { color: var(--mint); }
.terminal-path { color: var(--cyan); }
.cursor {
  display: inline-block;
  width: 7px;
  height: 13px;
  background: var(--cyan);
  animation: blink .8s steps(1) infinite;
}

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

.window-status {
  margin: 4px;
  padding: 4px 7px;
  font-size: 11px;
  border: 1px inset white;
}

.about-content {
  display: grid;
  padding: 34px;
  grid-template-columns: 180px 1fr;
  gap: 34px;
}

.profile-panel {
  align-self: start;
  padding: 18px;
  text-align: center;
  background: #e8e7dd;
  border: 1px solid #999;
}

.pixel-avatar {
  width: 132px;
  height: 148px;
  margin: 0 auto 14px;
  background: var(--navy);
  border: 3px solid var(--ink);
  box-shadow: 7px 7px 0 #8ee5d2;
  overflow: hidden;
}

.pixel-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 32%;
}

.profile-panel strong,
.profile-panel small {
  display: block;
}

.profile-panel small {
  margin-top: 4px;
  color: #666;
}

.profile-panel small + small {
  color: var(--blue);
  font: 500 9px/1.4 "IBM Plex Mono", monospace;
}

.about-content h2,
.skills-content h2,
.contact-content h2 {
  margin-bottom: 16px;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.08;
  letter-spacing: -1.5px;
}

.about-content article > p:not(.eyebrow),
.contact-content > div > p:not(.eyebrow) {
  color: #555866;
  font-size: 14px;
  line-height: 1.7;
}

.info-grid {
  display: grid;
  margin-top: 24px;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
}

.info-grid div {
  padding: 12px;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

.info-grid > div > span,
.info-grid > div > strong {
  display: block;
}

.info-grid > div > span {
  margin-bottom: 3px;
  color: #777;
  font: 10px "IBM Plex Mono", monospace;
  text-transform: uppercase;
}

.info-grid > div > strong {
  font-size: 12px;
}

#current-age {
  display: inline;
}

.status-online::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 5px;
  background: #16ad72;
  border-radius: 50%;
}

.experience-note {
  margin-top: 20px;
  padding: 14px;
  background: #f0efe8;
  border-left: 4px solid var(--blue);
}

.experience-note span,
.experience-note strong {
  display: block;
}

.experience-note span {
  margin-bottom: 5px;
  color: var(--blue);
  font: 600 9px "IBM Plex Mono", monospace;
  letter-spacing: 1px;
}

.experience-note strong {
  font-size: 12px;
}

.experience-period {
  margin-top: 4px;
  color: #646773;
  font: 10px "IBM Plex Mono", monospace;
}

.experience-note p {
  margin: 6px 0 0;
  color: #626570;
  font-size: 11px;
  line-height: 1.5;
}

.address-bar {
  display: flex;
  padding: 5px;
  align-items: center;
  gap: 7px;
  font-size: 11px;
}

.address-bar div {
  flex: 1;
  padding: 5px 8px;
  background: white;
  border: 1px inset white;
}

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

.project-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  background: white;
  border: 1px solid #b8b8b0;
  transition: transform .15s, box-shadow .15s;
}

.project-card:hover {
  z-index: 1;
  box-shadow: 6px 7px 0 #b8c4ec;
  transform: translateY(-3px);
}

.project-preview {
  position: relative;
  display: grid;
  min-height: 140px;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid #aaa;
}

.project-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 14px 14px;
}

.preview-one { background: #0d1424; }
.preview-two { background: linear-gradient(135deg, #dff8ee, #f8fffc); }
.preview-three { background: linear-gradient(145deg, #d6e4f2, #82a8cf); }
.preview-four { background: #080b09; }
.preview-five { background: #0d1117; }
.preview-six { background: #080605; }

.cover-edvaldo-shot {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(.9) contrast(1.06) brightness(.82);
}

.preview-four::before {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(5, 8, 6, .2), transparent 60%),
    linear-gradient(rgba(196, 255, 62, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 255, 62, .08) 1px, transparent 1px);
  background-size: auto, 14px 14px, 14px 14px;
}

.cover-client-badge {
  position: absolute;
  z-index: 3;
  top: 9px;
  left: 9px;
  padding: 5px 7px;
  color: #10140d;
  font: 700 8px "IBM Plex Mono", monospace;
  letter-spacing: .8px;
  background: #c8ff3d;
  border: 1px solid #10140d;
}

.cover-number {
  position: absolute;
  z-index: 3;
  right: 8px;
  bottom: 6px;
  color: rgba(255,255,255,.7);
  font: 700 11px "IBM Plex Mono", monospace;
}

.preview-two .cover-number,
.preview-three .cover-number {
  color: rgba(18, 45, 48, .55);
}

.preview-four .cover-number {
  color: #c8ff3d;
  text-shadow: 1px 1px #050805;
}

.preview-five::before {
  z-index: 1;
  background:
    radial-gradient(circle at 16% 22%, rgba(124, 92, 255, .32), transparent 25%),
    linear-gradient(rgba(124, 92, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 92, 255, .08) 1px, transparent 1px);
  background-size: auto, 15px 15px, 15px 15px;
}

.preview-five .cover-number {
  color: #a78bfa;
  text-shadow: 1px 1px #05080f;
}

.preview-six::before {
  z-index: 1;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 79, 163, .32), transparent 30%),
    radial-gradient(circle at 84% 28%, rgba(255, 223, 63, .22), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,.05), transparent 45%),
    linear-gradient(rgba(255, 79, 163, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 223, 63, .08) 1px, transparent 1px);
  background-size: auto, auto, auto, 15px 15px, 15px 15px;
}

.preview-six .cover-number {
  color: #ffdf3f;
  text-shadow: 1px 1px #ff4fa3;
}

.cover-dev-badge {
  position: absolute;
  z-index: 3;
  top: 9px;
  right: 9px;
  padding: 5px 7px;
  color: #f8f7ff;
  font: 700 8px "IBM Plex Mono", monospace;
  letter-spacing: .7px;
  background: rgba(124, 92, 255, .9);
  border: 1px solid rgba(196, 181, 253, .8);
}

.cover-prototype-badge {
  position: absolute;
  z-index: 3;
  top: 9px;
  right: 9px;
  padding: 5px 7px;
  color: #0b0908;
  font: 800 8px "IBM Plex Mono", monospace;
  letter-spacing: .7px;
  background: #ffdf3f;
  border: 1px solid #ff4fa3;
  box-shadow: 3px 3px 0 #ff4fa3;
}

.cover-live-badge,
.cover-review-badge {
  position: absolute;
  z-index: 3;
  top: 9px;
  right: 9px;
  padding: 5px 7px;
  font: 800 8px "IBM Plex Mono", monospace;
  letter-spacing: .7px;
}

.cover-live-badge {
  color: #082017;
  background: #5eead4;
  border: 1px solid #0d9c70;
  box-shadow: 3px 3px 0 rgba(13, 156, 112, .45);
}

.cover-review-badge {
  color: #172238;
  background: #d2a15b;
  border: 1px solid #f1cf91;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, .24);
}

.cover-peu {
  position: relative;
  z-index: 2;
  width: 84%;
  min-height: 104px;
  padding: 12px;
  color: #fff8ee;
  background:
    linear-gradient(90deg, rgba(255, 79, 163, .16), transparent 58%),
    rgba(8, 6, 5, .92);
  border: 1px solid rgba(255, 248, 238, .18);
  box-shadow: 8px 8px 0 rgba(255, 79, 163, .34);
  transform: rotate(-1.5deg);
}

.peu-brand {
  display: flex;
  margin-bottom: 8px;
  align-items: flex-start;
  flex-direction: column;
}

.peu-brand strong {
  color: #ffdf3f;
  font-size: 16px;
  line-height: .85;
  text-shadow: 2px 2px #ff4fa3;
}

.peu-brand small {
  margin-top: 3px;
  color: #ff4fa3;
  font: 800 6px "IBM Plex Mono", monospace;
  letter-spacing: .8px;
}

.peu-headline {
  width: 60%;
  color: #fff8ee;
  font-size: 18px;
  font-weight: 900;
  line-height: .85;
  letter-spacing: -.7px;
}

.peu-notes {
  position: absolute;
  right: 10px;
  bottom: 22px;
  display: grid;
  width: 42%;
  gap: 4px;
}

.peu-notes span,
.peu-notes strong {
  display: block;
  padding: 5px 7px;
  color: #17100d;
  font: 800 6px "IBM Plex Mono", monospace;
  background: #fff8ee;
  box-shadow: 3px 3px 0 rgba(255, 79, 163, .72);
  transform: rotate(-1deg);
}

.peu-notes span:first-child {
  background: #ffdf3f;
}

.peu-notes strong {
  color: #17100d;
  font: 900 16px "Inter", sans-serif;
  background: #ff4fa3;
}

.peu-tags {
  position: absolute;
  bottom: 8px;
  left: 12px;
  display: flex;
  gap: 5px;
}

.peu-tags span {
  padding: 4px 5px;
  color: #1b1510;
  font: 800 6px "IBM Plex Mono", monospace;
  background: #ffdf3f;
}

.cover-portfy {
  position: relative;
  z-index: 2;
  width: 82%;
  padding: 10px;
  color: #f8f7ff;
  background: #111722;
  border: 1px solid #273244;
  border-radius: 8px;
  box-shadow: 8px 9px 20px rgba(2, 6, 23, .45);
  transform: rotate(1.5deg);
}

.portfy-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.portfy-logo {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #0d1117;
  font-size: 16px;
  background: linear-gradient(135deg, #27d7ff, #8b5cf6 55%, #ff4fd8);
  border-radius: 7px 2px 7px 2px;
}

.portfy-top strong {
  display: block;
  font-size: 12px;
  line-height: 1;
}

.portfy-top small {
  display: block;
  margin-top: 2px;
  color: #a7b0c0;
  font-size: 6px;
}

.portfy-progress {
  height: 4px;
  margin: 11px 0 10px;
  background: #20283a;
  border-radius: 999px;
  overflow: hidden;
}

.portfy-progress span {
  display: block;
  width: 76%;
  height: 100%;
  background: linear-gradient(90deg, #5eead4, #7c5cff);
}

.portfy-board {
  display: grid;
  grid-template-columns: 1.25fr .8fr .8fr;
  gap: 5px;
}

.portfy-board div {
  min-width: 0;
  padding: 6px;
  background: #171e2b;
  border: 1px solid #2b3548;
  border-radius: 6px;
}

.portfy-board small {
  display: block;
  margin-bottom: 4px;
  color: #8c95a7;
  font: 600 5px "IBM Plex Mono", monospace;
  letter-spacing: .5px;
}

.portfy-board strong {
  display: block;
  color: #fff;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.portfy-action {
  margin-top: 8px;
  padding: 6px;
  color: white;
  font-size: 7px;
  font-weight: 700;
  text-align: center;
  background: linear-gradient(135deg, #6d5dfc, #8b5cf6);
  border-radius: 5px;
}

.cover-window {
  position: relative;
  z-index: 2;
  display: flex;
  width: 70%;
  padding: 12px;
  align-items: stretch;
  flex-direction: column;
  border-radius: 5px;
  box-shadow: 5px 6px 14px rgba(0,0,0,.2);
  transform: rotate(-2deg);
}

.cover-pericia {
  color: white;
  background: #18253b;
  border: 1px solid #34445e;
}

.cover-app-icon {
  display: grid;
  width: 26px;
  height: 26px;
  margin: 0 auto 6px;
  place-items: center;
  color: #172238;
  font: 700 13px "IBM Plex Mono", monospace;
  background: #d2a15b;
  border-radius: 5px;
}

.cover-window strong {
  margin-bottom: 8px;
  font-size: 11px;
  text-align: center;
}

.cover-field {
  height: 8px;
  margin-bottom: 5px;
  background: #10182a;
  border: 1px solid #2b3950;
  border-radius: 2px;
}

.cover-button {
  padding: 3px;
  color: #172238;
  font-size: 7px;
  font-weight: 700;
  text-align: center;
  background: #d2a15b;
  border-radius: 2px;
}

.cover-fincontrol {
  width: 74%;
  color: #122c25;
  background: rgba(255,255,255,.93);
  transform: rotate(2deg);
}

.cover-fincontrol .cover-app-icon {
  color: white;
  background: #0d9c70;
}

.cover-fincontrol small {
  margin-bottom: 2px;
  font: 500 5px "IBM Plex Mono", monospace;
  letter-spacing: .6px;
}

.cover-fincontrol strong {
  margin: 0;
  font-size: 14px;
  text-align: left;
}

.cover-chart {
  display: flex;
  height: 31px;
  margin-top: 7px;
  padding: 4px 6px;
  align-items: end;
  gap: 5px;
  background: #e8f8f2;
  border-radius: 3px;
}

.cover-chart i {
  display: block;
  width: 14%;
  height: 35%;
  background: #11a878;
  border-radius: 2px 2px 0 0;
}

.cover-chart i:nth-child(2) { height: 65%; }
.cover-chart i:nth-child(3) { height: 48%; }
.cover-chart i:nth-child(4) { height: 88%; }

.cover-desktop-window {
  position: relative;
  z-index: 2;
  width: 78%;
  color: #222;
  background: #f4f4f4;
  border: 1px solid #355b82;
  box-shadow: 5px 6px 12px rgba(23, 45, 72, .25);
  transform: rotate(-1.5deg);
}

.cover-titlebar {
  display: flex;
  padding: 3px 5px;
  align-items: center;
  justify-content: space-between;
  color: white;
  font: 5px "Inter", sans-serif;
  background: #1262aa;
}

.cover-titlebar b {
  font-size: 8px;
}

.cover-school {
  display: flex;
  padding: 8px 20px 10px;
  flex-direction: column;
}

.cover-school strong {
  margin-bottom: 5px;
  font-size: 10px;
  text-align: center;
}

.cover-school small {
  margin-bottom: 1px;
  font-size: 5px;
}

.school-field {
  height: 7px;
  margin-bottom: 4px;
  background: white;
  border: 1px solid #a7a7a7;
}

.school-button {
  padding: 3px;
  color: white;
  font-size: 6px;
  text-align: center;
  background: #0078d7;
}

.project-info {
  display: flex;
  height: 100%;
  padding: 17px;
  flex-direction: column;
}

.project-type {
  color: var(--blue);
  font: 600 9px "IBM Plex Mono", monospace;
  letter-spacing: 1px;
}

.project-info h3 {
  margin: 6px 0 8px;
  font-size: 18px;
}

.project-info p {
  color: #646670;
  font-size: 12px;
  line-height: 1.55;
}

@media (max-width: 1100px) {
  .projects-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.tags {
  display: flex;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 5px;
}

.tags span {
  padding: 3px 5px;
  font: 9px "IBM Plex Mono", monospace;
  background: #e9ecf5;
  border: 1px solid #c7cbd8;
}

.project-info a {
  margin-top: auto;
  color: var(--blue);
  font: 600 11px "IBM Plex Mono", monospace;
  text-decoration: none;
}

.project-status {
  margin-top: auto;
  width: fit-content;
  padding: 5px 8px;
  color: #5a5d66;
  font: 600 10px "IBM Plex Mono", monospace;
  background: #f0efe8;
  border: 1px solid #c7c3b8;
  box-shadow: inset -1px -1px 0 #fff, inset 1px 1px 0 #9a968c;
}

.skills-content {
  padding: 24px;
}

.skills-content .eyebrow {
  margin-bottom: 8px;
}

.skills-content h2 {
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1;
}

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

.skill-group {
  padding: 12px;
  background: #f0efe8;
  border: 1px solid #bbb;
}

.skill-group h3 {
  margin-bottom: 10px;
  padding-bottom: 7px;
  font-size: 13px;
  border-bottom: 2px solid var(--blue);
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.skill-list span {
  padding: 5px 6px;
  font: 10px "IBM Plex Mono", monospace;
  background: white;
  border: 1px solid #d1d1ca;
}

.skill-list span::before {
  content: ">";
  margin-right: 4px;
  color: var(--blue);
  font-weight: 700;
}

.contact-content {
  display: grid;
  padding: 36px;
  grid-template-columns: .85fr 1.15fr;
  gap: 38px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.contact-links a {
  display: grid;
  padding: 13px;
  grid-template-columns: 38px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  background: #eeede5;
  border: 1px solid #bbb;
  text-decoration: none;
}

.contact-links a:hover {
  color: white;
  background: var(--blue);
}

.contact-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--blue);
  background: white;
  border: 1px solid #aaa;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-links a:hover .contact-icon {
  color: var(--blue);
}

.whatsapp-icon {
  color: #0b9b61;
}

.linkedin-icon {
  color: #0a66c2;
}

.github-icon {
  color: #24292f;
}

.contact-links small,
.contact-links strong {
  display: block;
}

.contact-links small {
  margin-bottom: 2px;
  font-size: 9px;
  text-transform: uppercase;
}

.contact-links strong {
  overflow-wrap: anywhere;
  font-size: 11px;
}

.notepad-text {
  min-height: 340px;
  padding: 22px;
  overflow: auto;
  background: white;
  border: 2px inset white;
  font: 13px/1.6 "IBM Plex Mono", monospace;
  white-space: normal;
}

.resume-toolbar {
  display: flex;
  padding: 7px;
  gap: 8px;
  border-bottom: 1px solid #777;
}

.resume-toolbar a {
  color: var(--ink);
  text-decoration: none;
}

.resume-toolbar a.primary {
  color: white;
}

.resume-viewer {
  position: relative;
  min-height: 0;
  flex: 1;
  margin: 0 4px;
  background: #555;
  border: 2px inset white;
}

.resume-viewer iframe {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
}

.resume-viewer > p {
  position: absolute;
  inset: 20px;
  color: white;
  text-align: center;
}

.resume-viewer > p a {
  color: var(--cyan);
}

.events-content {
  min-height: 0;
  padding: 34px 38px 48px;
  flex: 1;
  background:
    linear-gradient(rgba(30, 37, 91, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 37, 91, .035) 1px, transparent 1px),
    var(--paper);
  background-size: 18px 18px;
}

.events-heading {
  max-width: 630px;
  margin-bottom: 30px;
}

.events-heading h2 {
  margin-bottom: 8px;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -2px;
}

.events-heading > p:last-child {
  color: #60636f;
  font-size: 13px;
  line-height: 1.6;
}

.timeline {
  position: relative;
  padding-left: 27px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: -28px;
  left: 7px;
  width: 3px;
  background: var(--blue);
  box-shadow: 3px 0 0 rgba(49, 87, 213, .15);
}

.timeline-item {
  position: relative;
}

.timeline-item + .timeline-item {
  margin-top: 34px;
}

.timeline-marker {
  position: absolute;
  top: 5px;
  left: -27px;
  width: 17px;
  height: 17px;
  background: var(--mint);
  border: 3px solid var(--navy);
  box-shadow: 0 0 0 4px var(--paper);
}

.timeline-date {
  display: flex;
  margin-bottom: 11px;
  align-items: center;
  gap: 9px;
}

.timeline-date time {
  color: var(--navy);
  font: 700 12px "IBM Plex Mono", monospace;
}

.timeline-date span {
  padding: 3px 6px;
  color: white;
  font: 600 8px "IBM Plex Mono", monospace;
  letter-spacing: .5px;
  text-transform: uppercase;
  background: var(--blue);
}

.timeline-card {
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(210px, .8fr) 1.2fr;
  background: white;
  border: 1px solid #b9b9b1;
  box-shadow: 7px 8px 0 rgba(49, 87, 213, .13);
}

.timeline-photo {
  position: relative;
  min-height: 330px;
  margin: 0;
  overflow: hidden;
  background: #821d29;
  border-right: 1px solid #aaa;
  cursor: zoom-in;
}

.timeline-photo::after {
  content: "AMPLIAR +";
  position: absolute;
  right: 9px;
  bottom: 9px;
  padding: 5px 7px;
  color: white;
  font: 600 8px "IBM Plex Mono", monospace;
  letter-spacing: .7px;
  background: rgba(12, 18, 48, .82);
  border: 1px solid rgba(255,255,255,.65);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .15s, transform .15s;
}

.timeline-photo:hover::after,
.timeline-photo:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.timeline-photo:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: -3px;
}

.timeline-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
}

.image-lightbox {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: none;
  padding: clamp(16px, 4vw, 50px);
  place-items: center;
  background: rgba(5, 8, 25, .92);
  backdrop-filter: blur(5px);
}

.image-lightbox.is-open {
  display: grid;
  animation: lightbox-in .18s ease-out;
}

.image-lightbox figure {
  display: flex;
  max-width: min(1100px, 94vw);
  max-height: 88vh;
  margin: 0;
  align-items: center;
  flex-direction: column;
  gap: 10px;
}

.image-lightbox img {
  display: block;
  max-width: 100%;
  max-height: calc(88vh - 42px);
  object-fit: contain;
  background: #111;
  border: 3px solid white;
  box-shadow: 10px 12px 0 rgba(94, 224, 255, .18);
}

.image-lightbox figcaption {
  color: white;
  font: 11px/1.5 "IBM Plex Mono", monospace;
  text-align: center;
}

.lightbox-close {
  position: fixed;
  top: 15px;
  right: 18px;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  color: var(--navy);
  font: 700 27px/1 Arial, sans-serif;
  background: white;
  border: 2px solid white;
  border-right-color: #555;
  border-bottom-color: #555;
  cursor: pointer;
}

@keyframes lightbox-in {
  from { opacity: 0; }
}

.timeline-copy {
  display: flex;
  padding: clamp(22px, 3vw, 36px);
  justify-content: center;
  flex-direction: column;
}

.event-type {
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 4px 7px;
  color: white;
  font: 600 9px "IBM Plex Mono", monospace;
  letter-spacing: 1px;
  background: #a92534;
}

.timeline-copy h3 {
  margin-bottom: 13px;
  font-size: clamp(20px, 2.5vw, 29px);
  line-height: 1.08;
  letter-spacing: -1px;
}

.timeline-copy p {
  margin-bottom: 20px;
  color: #575a65;
  font-size: 12px;
  line-height: 1.7;
}

.event-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.event-tags span {
  padding: 4px 6px;
  font: 9px "IBM Plex Mono", monospace;
  background: #e9ecf5;
  border: 1px solid #c7cbd8;
}

.timeline-item-gdg .timeline-marker {
  background: #a774ff;
}

.timeline-item-gdg .timeline-photo {
  background: #706f74;
}

.timeline-item-gdg .timeline-photo img {
  object-position: 50% 57%;
}

.timeline-item-gdg .event-type {
  background: #6b43d6;
}

.timeline-item-gdg .timeline-card {
  box-shadow: 7px 8px 0 rgba(107, 67, 214, .13);
}

.timeline-item-ai .timeline-marker {
  background: #62e5ff;
}

.timeline-item-ai .timeline-photo {
  background: #252b34;
}

.timeline-item-ai .timeline-photo img {
  object-position: 50% 45%;
}

.timeline-item-ai .event-type {
  background: #2463a7;
}

.timeline-item-ai .timeline-card {
  box-shadow: 7px 8px 0 rgba(36, 99, 167, .14);
}

.timeline-item-cobmais .timeline-marker {
  background: #79c8ff;
}

.timeline-item-cobmais .timeline-photo {
  background: #273f5f;
}

.timeline-item-cobmais .timeline-photo img {
  object-position: 50% 48%;
}

.timeline-item-cobmais .event-type {
  background: #315d8f;
}

.timeline-item-cobmais .timeline-card {
  box-shadow: 7px 8px 0 rgba(49, 93, 143, .14);
}

.start-menu {
  position: absolute;
  z-index: 1000;
  bottom: 46px;
  left: 4px;
  display: none;
  width: min(340px, calc(100% - 8px));
  min-height: 0;
  background: #d5d4ca;
  border: 2px solid white;
  border-right-color: #242424;
  border-bottom-color: #242424;
  box-shadow: 4px 5px 0 rgba(0,0,0,.3);
}

.start-menu.is-open {
  display: flex;
}

.start-menu-side {
  display: flex;
  width: 40px;
  padding: 10px 7px;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  color: rgba(255,255,255,.65);
  background: var(--navy);
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 1px;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.start-menu-side > span {
  color: white;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
}

.start-menu-side strong {
  color: white;
  font-size: 9px;
  letter-spacing: 1px;
}

.start-menu-items {
  flex: 1;
  padding: 7px;
}

.start-profile {
  display: flex;
  margin: -7px -7px 8px;
  padding: 12px;
  align-items: center;
  gap: 10px;
  color: white;
  background: linear-gradient(90deg, #3157d5, #6b89e7);
}

.start-profile > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--navy);
  font-size: 17px;
  font-weight: 700;
  background: var(--cyan);
  border: 2px solid white;
}

.start-profile strong,
.start-profile small {
  display: block;
}

.start-profile small {
  margin-top: 2px;
  font-size: 10px;
}

.start-menu-items button {
  display: flex;
  width: 100%;
  min-height: 48px;
  padding: 8px 10px;
  align-items: center;
  gap: 11px;
  font-size: 16px;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.start-menu-items button:hover {
  color: white;
  background: var(--blue);
}

.start-menu-items button .menu-icon {
  position: relative;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--navy);
  flex: 0 0 30px;
  overflow: hidden;
  font: 700 12px "IBM Plex Mono", monospace;
  background: var(--cyan);
  border: 1px solid var(--ink);
}

.menu-icon-folder::before {
  content: "";
  position: absolute;
  left: 6px;
  bottom: 7px;
  width: 18px;
  height: 13px;
  background: #172255;
  box-shadow: 0 -5px 0 -2px #172255;
}

.menu-icon-folder::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 6px;
  width: 10px;
  height: 4px;
  background: #172255;
}

.menu-icon-skill::before {
  content: "";
  width: 11px;
  height: 11px;
  background: var(--navy);
  transform: rotate(45deg);
}

.menu-icon-pdf {
  align-items: end;
  padding-bottom: 4px;
  color: white !important;
  background: #d94242 !important;
}

.menu-icon-pdf::after {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  border-top: 9px solid #f4b4b4;
  border-left: 9px solid transparent;
}

.menu-icon-info,
.menu-icon-calendar,
.menu-icon-mail,
.menu-icon-help {
  background: #5ee0ff;
}

.start-divider {
  margin: 5px 7px;
  border-top: 1px solid #888;
  border-bottom: 1px solid white;
}

.taskbar {
  position: absolute;
  z-index: 2000;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  height: 43px;
  padding: 4px;
  align-items: stretch;
  background: #c9c8bf;
  border-top: 2px solid white;
  box-shadow: 0 -1px #252525;
}

.start-button {
  display: flex;
  padding: 3px 9px 3px 5px;
  align-items: center;
  gap: 6px;
  background: #d6d5cc;
  border: 2px solid white;
  border-right-color: #333;
  border-bottom-color: #333;
  cursor: pointer;
}

.start-button.is-active {
  background: #bdbcb4;
  border: 2px solid #333;
  border-right-color: white;
  border-bottom-color: white;
}

.start-logo {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: white;
  font-size: 11px;
  font-weight: 700;
  background: var(--blue);
}

.task-divider {
  width: 2px;
  margin: 2px 5px;
  border-left: 1px solid #777;
  border-right: 1px solid white;
}

.task-buttons {
  display: flex;
  min-width: 0;
  flex: 1;
  gap: 4px;
  overflow: hidden;
}

.task-button {
  min-width: 0;
  width: min(190px, 22vw);
  padding: 4px 8px;
  overflow: hidden;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: #d6d5cc;
  border: 2px solid white;
  border-right-color: #444;
  border-bottom-color: #444;
  cursor: pointer;
}

.task-button.is-active {
  font-weight: 600;
  background: repeating-linear-gradient(135deg, #c4c3bb, #c4c3bb 2px, #dad9d1 2px, #dad9d1 4px);
  border: 2px solid #555;
  border-right-color: white;
  border-bottom-color: white;
}

.system-tray {
  display: flex;
  min-width: 92px;
  padding: 0 10px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: 11px "IBM Plex Mono", monospace;
  border: 2px inset white;
}

.connection-dot {
  width: 8px;
  height: 8px;
  background: #15af70;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(21,175,112,.2);
}

@media (max-width: 800px) {
  .desktop-icons {
    position: absolute;
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    display: grid;
    width: 100%;
    height: 122px;
    padding: 8px 8px 6px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(2, 53px);
    grid-auto-flow: row;
    gap: 4px;
    overflow: hidden;
  }

  .desktop-icon {
    width: auto;
    min-width: 0;
    min-height: 53px;
    padding: 3px 2px;
    font-size: 10px;
    gap: 2px;
    justify-content: flex-start;
  }

  .desktop-icon > span:last-child {
    display: block;
    margin-top: 0;
    font-size: 8px;
    line-height: 1.08;
  }

  .icon-art {
    flex: 0 0 31px;
    transform: scale(.66);
    transform-origin: center top;
  }

  .computer-icon {
    margin-bottom: 5px;
    transform: scale(.6);
  }

  .welcome-window,
  .content-window,
  .projects-window,
  .contact-window,
  .notepad-window {
    top: 126px;
    left: 6px;
    width: calc(100% - 12px);
    max-height: calc(100% - 183px);
    min-width: 0;
  }

  .resume-window {
    top: 126px;
    left: 6px;
    width: calc(100% - 12px);
    height: calc(100% - 183px);
    max-height: none;
    min-width: 0;
  }

  .events-window {
    top: 126px;
    left: 6px;
    width: calc(100% - 12px);
    height: calc(100% - 183px);
    max-height: none;
    min-width: 0;
  }

  .events-content {
    padding: 22px 18px 34px;
  }

  .timeline-card {
    grid-template-columns: 190px 1fr;
  }

  .timeline-photo {
    min-height: 310px;
  }

  .welcome-content {
    min-height: 0;
    padding: 20px;
    grid-template-columns: 1fr;
  }

  .terminal-card {
    display: none;
  }

  .projects-content {
    grid-template-columns: 1fr;
  }

  .project-card {
    display: grid;
    grid-template-columns: minmax(105px, 28%) 1fr;
  }

  .project-preview {
    min-height: 100%;
    border-right: 1px solid #aaa;
    border-bottom: 0;
  }

  .about-content,
  .contact-content {
    padding: 22px;
    grid-template-columns: 1fr;
  }

  .profile-panel {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
  }

  .pixel-avatar {
    width: 72px;
    height: 72px;
    margin: 0;
  }

  .skill-groups { grid-template-columns: 1fr; }
  .task-button { max-width: 115px; }
}

@media (max-width: 520px) {
  .desktop-icons {
    height: 118px;
    padding: 6px 7px 4px;
    grid-template-rows: repeat(2, 53px);
  }

  .welcome-window,
  .content-window,
  .projects-window,
  .contact-window,
  .notepad-window {
    top: 122px;
    max-height: calc(100% - 178px);
  }

  .resume-window {
    top: 122px;
    height: calc(100% - 178px);
  }

  .events-window {
    top: 122px;
    height: calc(100% - 178px);
  }

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

  .timeline-photo {
    height: 260px;
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid #aaa;
  }

  .timeline-copy {
    padding: 20px;
  }

  .welcome-content {
    padding: 15px 14px;
  }

  h1 {
    font-size: clamp(24px, 8.8vw, 32px);
    letter-spacing: -1.6px;
    line-height: 1.02;
  }

  .window-titlebar {
    min-height: 29px;
    padding: 3px;
  }

  .window-title {
    font-size: 11px;
  }

  .window-controls button {
    width: 23px;
    height: 22px;
    font-size: 14px;
  }

  .window-menu {
    padding: 4px 8px;
    gap: 12px;
    font-size: 11px;
  }

  .welcome-copy > p:not(.eyebrow) {
    font-size: 12px;
    line-height: 1.45;
  }

  .eyebrow {
    margin-bottom: 8px;
    font-size: 9px;
  }

  .welcome-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 7px;
    margin-top: 15px;
  }

  .retro-button {
    padding: 9px 12px;
    font-size: 12px;
  }

  .about-content,
  .skills-content,
  .contact-content {
    padding: 18px;
  }

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

  .project-card {
    display: flex;
  }

  .project-preview {
    min-height: 90px;
    border-right: 0;
    border-bottom: 1px solid #aaa;
  }

  .start-menu {
    width: min(278px, calc(100% - 24px));
    max-height: calc(100% - 78px);
    overflow-x: hidden;
    overflow-y: auto;
  }

  .start-profile {
    padding: 7px 9px;
    gap: 8px;
  }

  .start-profile > span {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  .start-profile strong {
    font-size: 13px;
  }

  .start-profile small {
    font-size: 9px;
  }

  .start-menu-side {
    width: 26px;
    padding-inline: 5px;
    gap: 8px;
    font-size: 10px;
    letter-spacing: .5px;
  }

  .start-menu-side > span {
    font-size: 14px;
  }

  .start-menu-side strong {
    display: inline;
    font-size: 7px;
  }

  .start-menu-items {
    min-width: 0;
    padding: 5px;
  }

  .start-menu-items button {
    min-height: 34px;
    padding: 4px 7px;
    gap: 8px;
    font-size: 12px;
  }

  .start-menu-items button .menu-icon {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
    font-size: 9px;
  }

  .menu-icon-folder::before {
    left: 5px;
    bottom: 5px;
    width: 13px;
    height: 10px;
  }

  .menu-icon-folder::after {
    top: 6px;
    left: 5px;
    width: 8px;
    height: 3px;
  }

  .menu-icon-skill::before {
    width: 8px;
    height: 8px;
  }

  .menu-icon-pdf {
    padding-bottom: 3px;
  }

  .start-divider {
    margin: 4px 7px;
  }

  .start-button {
    padding-right: 6px;
  }

  .start-button strong {
    display: none;
  }

  .task-divider {
    margin-inline: 3px;
  }

  .task-button {
    width: min(125px, 31vw);
    padding-inline: 5px;
    font-size: 11px;
  }

  .system-tray {
    min-width: 58px;
    padding: 0 6px;
  }

  .connection-dot {
    display: none;
  }
}

@media (max-width: 380px) {
  .desktop-icons {
    height: 120px;
    grid-template-rows: repeat(2, 54px);
    padding-inline: 5px;
    gap: 2px;
  }

  .desktop-icon {
    min-height: 54px;
    gap: 1px;
  }

  .icon-art {
    flex-basis: 31px;
    transform: scale(.62);
  }

  .computer-icon {
    margin-bottom: 5px;
    transform: scale(.56);
  }

  .desktop-icon > span:last-child {
    margin-top: 0;
    font-size: 7.5px;
    line-height: 1.05;
  }

  .window-title {
    font-size: 11px;
  }

  .window-controls button {
    width: 23px;
  }

  .window-menu {
    gap: 10px;
    overflow: hidden;
  }

  .welcome-content,
  .about-content,
  .skills-content,
  .contact-content,
  .events-content {
    padding: 14px 12px;
  }

  .welcome-window,
  .content-window,
  .projects-window,
  .contact-window,
  .notepad-window {
    top: 124px;
    max-height: calc(100% - 178px);
  }

  .resume-window,
  .events-window {
    top: 124px;
    height: calc(100% - 178px);
  }

  .projects-content {
    padding: 12px;
  }

  .project-info {
    padding: 14px;
  }

  .contact-links a {
    grid-template-columns: 34px minmax(0, 1fr) 14px;
    padding: 10px 8px;
  }

  .resume-toolbar {
    flex-wrap: wrap;
  }

  .resume-toolbar .retro-button {
    flex: 1 1 140px;
    text-align: center;
  }

  .system-tray {
    min-width: 50px;
    font-size: 10px;
  }
}

@media (max-height: 700px) and (min-width: 801px) {
  .desktop-icons {
    padding-block: 10px;
    grid-auto-columns: 86px;
    grid-template-rows: repeat(auto-fill, minmax(68px, 1fr));
  }

  .desktop-icon {
    width: 86px;
    min-height: 64px;
    padding-block: 2px;
  }

  .desktop-icon > span:last-child {
    font-size: 11px;
  }

  .icon-art {
    transform: scale(.88);
  }

  .welcome-window,
  .content-window,
  .projects-window,
  .contact-window,
  .notepad-window,
  .events-window,
  .resume-window {
    top: 8px;
    max-height: calc(100% - 59px);
  }

  .welcome-window {
    height: calc(100% - 67px);
  }

  .events-window,
  .resume-window {
    height: calc(100% - 59px);
  }

  .welcome-content {
    flex: 1;
    min-height: 0;
    padding: 18px 32px;
    grid-template-columns: 1fr minmax(350px, .9fr);
    gap: 18px;
    align-items: center;
    overflow: hidden;
  }

  h1 {
    margin-bottom: 10px;
    font-size: clamp(32px, 3.8vw, 44px);
    line-height: .96;
  }

  .welcome-copy > p:not(.eyebrow) {
    max-width: 410px;
    font-size: 12px;
    line-height: 1.4;
  }

  .welcome-actions {
    margin-top: 13px;
  }

  .retro-button {
    padding: 9px 13px;
    font-size: 12px;
  }

  .terminal-card {
    width: min(410px, 100%);
    transform: rotate(1deg) scale(.96);
    transform-origin: center;
  }

  .terminal-body {
    min-height: 152px;
    padding: 16px 15px;
    font-size: 10px;
    line-height: 1.65;
  }
}

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