:root {
  --paper: #f7f3e8;
  --ink: #0a0a0a;
  --muted: #5f5a51;
  --red: #f03b22;
  --blue: #1f57ff;
  --yellow: #ffbc00;
  --magenta: #f249b6;
  --line: rgba(10, 10, 10, 0.16);
  --max: 1720px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
}

body.has-case-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.nav {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px clamp(18px, 4vw, 64px);
  color: var(--ink);
}

.nav-links {
  display: flex;
  justify-self: start;
  gap: clamp(16px, 3vw, 42px);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.nav-links a,
.footer-links a {
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.nav-links a:hover,
.footer-links a:hover {
  text-decoration-line: underline;
}

.lang-switch {
  justify-self: end;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  border: 2px solid currentColor;
}

.lang-switch button {
  min-width: 48px;
  min-height: 38px;
  border: 0;
  border-right: 2px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.lang-switch button:last-child {
  border-right: 0;
}

.lang-switch button.is-active {
  background: var(--ink);
  color: var(--paper);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  padding: 130px clamp(18px, 4vw, 64px) clamp(64px, 8vw, 112px);
  border-bottom: 2px solid var(--ink);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(8, 1fr);
  pointer-events: none;
}

.shape {
  display: block;
  opacity: 0;
  animation: block-in 740ms cubic-bezier(0.19, 1, 0.22, 1) forwards;
  transition: transform 0.3s ease-out;
}

.shape.animation-complete {
  animation: none;
  opacity: 1;
}

.shape-red {
  grid-column: 1 / 5;
  grid-row: 8 / 9;
  background: var(--red);
  animation-delay: 120ms;
}

.shape-blue {
  grid-column: 10 / 13;
  grid-row: 1 / 5;
  background: var(--blue);
  animation-delay: 240ms;
}

.shape-black {
  grid-column: 10 / 12;
  grid-row: 7 / 9;
  background: var(--ink);
  animation-delay: 360ms;
}

.hero-content {
  position: relative;
  z-index: 2;
  align-self: end;
  max-width: min(1280px, 100%);
}

.eyebrow,
.section-head p {
  margin: 0;
  font-size: clamp(0.74rem, 1.2vw, 0.95rem);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--muted);
}

.project-index {
  margin: 0;
  font-size: clamp(0.74rem, 1.2vw, 0.95rem);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--ink);
}

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

h1 {
  margin-bottom: clamp(22px, 3vw, 46px);
  max-width: 11ch;
  font-size: clamp(4.3rem, 12.7vw, 13.5rem);
  line-height: 0.84;
  letter-spacing: 0;
  text-transform: uppercase;
  font-weight: 800;
}

.specialization {
  max-width: min(680px, 88vw);
  margin-bottom: 38px;
  font-size: clamp(1.1rem, 2vw, 1.8rem);
  line-height: 1.18;
  font-weight: 650;
  text-wrap: balance;
}

.cta {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 0 22px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.cta:hover {
  transform: translateY(-3px);
  background: var(--yellow);
  color: var(--ink);
}

.projects {
  padding: clamp(56px, 8vw, 120px) 0 0;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 18px;
  max-width: var(--max);
  margin: 0 auto clamp(26px, 4vw, 62px);
  padding: 0 clamp(18px, 4vw, 64px);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.8rem, 7.4vw, 8.2rem);
  line-height: 0.88;
  text-transform: uppercase;
  font-weight: 800;
}

.project-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  min-height: clamp(300px, 34svh, 430px);
  overflow: hidden;
  border-top: 2px solid var(--ink);
  color: var(--ink);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.project-card:last-child {
  border-bottom: 2px solid var(--ink);
}

.cititrak {
  background: var(--yellow);
}

.carskillpeople {
  background: #dc2626;
  color: var(--paper);
}

.carskillpeople h3 {
  font-family: Georgia, serif;
  font-weight: 700;
  white-space: nowrap;
  max-width: none;
}

.carskillpeople .project-index {
  color: var(--paper);
}

.carskillpeople .project-brand {
  filter: brightness(0) invert(1);
}

.carskillpeople .project-pill,
.carskillpeople .project-meta span {
  border-color: var(--paper);
  background: rgba(247, 243, 232, 0.2);
  color: var(--paper);
}

.carskillpeople .project-pill:hover {
  background: var(--paper);
  color: #dc2626;
}

.carskillpeople .project-arrow {
  color: var(--paper);
}

.carskillpeople:hover .project-arrow {
  background: var(--paper);
  color: #dc2626;
}

.magnit {
  background:
    linear-gradient(135deg, #f7f3e8 0 58%, #ffd426 58% 70%, #e30613 70% 100%);
  color: #16110f;
}

.magnit h3 {
  color: #e30613;
}

.magnit .project-pill,
.magnit .project-meta span {
  border-color: #e30613;
  background: #ffffff;
  color: #e30613;
}

.magnit .project-pill:hover {
  background: #e30613;
  color: #ffffff;
}

.magnit:hover .project-arrow {
  background: #e30613;
  color: #ffffff;
}

.lychea {
  background:
    radial-gradient(circle at 82% 18%, rgba(100, 255, 184, 0.38) 0 16%, transparent 17%),
    linear-gradient(135deg, #101417 0%, #202a25 48%, #d7ff5f 48% 100%);
  color: #f7f3e8;
}

.lychea h3 {
  max-width: 10ch;
  color: #f7f3e8;
}

.lychea .project-main p {
  max-width: 700px;
}

.lychea .project-index {
  color: #d7ff5f;
}

.lychea .project-pill,
.lychea .project-meta span {
  border-color: #d7ff5f;
  background: rgba(16, 20, 23, 0.72);
  color: #d7ff5f;
}

.lychea .project-pill:hover {
  background: #d7ff5f;
  color: #101417;
}

.lychea:hover .project-arrow {
  background: #d7ff5f;
  color: #101417;
}

.portio {
  background:
    radial-gradient(circle at 78% 18%, rgba(11, 132, 255, 0.28) 0 14%, transparent 15%),
    linear-gradient(135deg, #eafff1 0%, #f7f3e8 48%, #0b84ff 48% 64%, #19c37d 64% 100%);
  color: #08251a;
}

.portio h3 {
  color: #08251a;
}

.portio .project-index {
  color: #0b6b49;
}

.portio .project-pill,
.portio .project-meta span {
  border-color: #08251a;
  background: rgba(255, 255, 255, 0.76);
  color: #08251a;
}

.portio .project-pill:hover {
  background: #08251a;
  color: #eafff1;
}

.portio:hover .project-arrow {
  background: #08251a;
  color: #eafff1;
}

.poethic {
  background:
    linear-gradient(90deg, rgba(247, 243, 232, 0.08) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(180deg, rgba(247, 243, 232, 0.07) 1px, transparent 1px) 0 0 / 28px 28px,
    #151515;
  color: #f7f3e8;
}

.poethic h3 {
  color: #f7f3e8;
}

.poethic .project-index {
  color: #b7ff6a;
}

.poethic .project-main p {
  max-width: 680px;
}

.poethic .project-pill,
.poethic .project-meta span {
  border-color: #b7ff6a;
  background: rgba(183, 255, 106, 0.12);
  color: #b7ff6a;
}

.poethic .project-pill:hover {
  background: #b7ff6a;
  color: #151515;
}

.poethic:hover .project-arrow {
  background: #b7ff6a;
  color: #151515;
}

.magenta {
  background: var(--magenta);
}

.project-main,
.project-meta,
.project-arrow {
  display: flex;
  padding: clamp(22px, 3vw, 48px);
}

.project-brand {
  flex: 0 0 auto;
  width: clamp(44px, 5.4vw, 78px);
  height: auto;
  filter: brightness(0);
}

.project-title-row {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  margin-bottom: clamp(18px, 2vw, 30px);
}

.project-main {
  position: relative;
  z-index: 2;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  max-width: calc(100% - clamp(82px, 9vw, 150px));
}

h3 {
  margin-bottom: 0;
  font-size: clamp(3.1rem, 7.5vw, 9.1rem);
  line-height: 0.9;
  text-transform: uppercase;
  font-weight: 800;
  max-width: 12ch;
}

.project-main p {
  max-width: 620px;
  margin-bottom: clamp(24px, 3vw, 40px);
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  line-height: 1.14;
  font-weight: 650;
}

.project-meta {
  padding: 0;
  flex-wrap: wrap;
  gap: 12px;
}

.project-pill,
.project-meta span {
  width: fit-content;
  padding: 8px 10px;
  border: 2px solid var(--ink);
  background: rgba(247, 243, 232, 0.5);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.75rem;
  font-family: inherit;
  font-weight: 900;
  text-transform: uppercase;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.project-pill:hover {
  background: var(--ink);
  color: var(--paper);
}

.project-arrow {
  width: clamp(82px, 9vw, 150px);
  align-items: center;
  justify-content: center;
  font-size: clamp(3.5rem, 8vw, 9rem);
  line-height: 1;
  transition: background 180ms ease, color 180ms ease;
}

.project-card:hover .project-arrow {
  background: var(--ink);
  color: var(--paper);
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  padding: clamp(36px, 5vw, 74px) clamp(18px, 4vw, 64px);
  background: var(--ink);
  color: var(--paper);
}

.footer-title {
  margin-bottom: 10px;
  font-size: clamp(1.6rem, 3vw, 3rem);
  line-height: 0.9;
  font-weight: 900;
  text-transform: uppercase;
}

.footer p:last-child {
  margin-bottom: 0;
  color: rgba(247, 243, 232, 0.72);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-content: end;
  justify-content: flex-end;
  gap: 14px 24px;
  font-style: normal;
  font-weight: 850;
  text-transform: uppercase;
}

.case-viewer,
.choice-viewer {
  position: fixed;
  z-index: 100;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.case-viewer {
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--ink);
  color: var(--paper);
}

.case-viewer-shell {
  display: contents;
}

.case-viewer-win95-menubar,
.case-viewer-address,
.case-viewer-status {
  display: none;
}

.case-frame-shell {
  position: relative;
  min-height: 0;
  overflow: auto;
  background: var(--paper);
}

.case-viewer.is-open,
.choice-viewer.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.case-viewer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
  padding: 14px clamp(18px, 3vw, 42px);
  border-bottom: 2px solid var(--paper);
}

.case-viewer-bar p {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
}

.case-viewer-bar button {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--paper);
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.pdf-pages {
  display: grid;
  justify-items: center;
  gap: 18px;
  min-height: 100%;
  padding: clamp(14px, 2vw, 28px);
  background: #303030;
}

.pdf-page-canvas {
  display: block;
  max-width: 100%;
  height: auto !important;
  background: #ffffff;
}

.pdf-loading,
.pdf-fallback {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 12px 14px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pdf-fallback {
  top: auto;
  bottom: 18px;
  border: 2px solid currentColor;
  opacity: 0;
  pointer-events: none;
}

.choice-viewer {
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(10, 10, 10, 0.88);
  color: var(--ink);
}

.choice-dialog {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(28px, 5vw, 72px);
  width: min(920px, 100%);
  padding: clamp(28px, 5vw, 64px);
  border: 2px solid var(--ink);
  background: var(--yellow);
}

.choice-kicker {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.choice-dialog h2 {
  font-size: clamp(3rem, 7vw, 7rem);
}

.choice-actions {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
}

.choice-actions a,
.choice-actions button {
  min-width: 210px;
  padding: 16px 18px;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 900;
  text-align: left;
  text-transform: uppercase;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.choice-actions a:hover,
.choice-actions button:hover {
  background: var(--ink);
  color: var(--paper);
}

.choice-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

@keyframes block-in {
  from {
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
  }

  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@media (max-width: 980px) {
  .nav {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    justify-self: start;
  }

  .project-card {
    grid-template-columns: 1fr auto;
    min-height: auto;
  }

  .project-main {
    min-height: 280px;
  }

  .project-arrow {
    grid-column: 2;
    grid-row: 1;
  }
}

@media (max-width: 860px) {
  h1 {
    font-size: clamp(4rem, 18vw, 8.8rem);
    max-width: 8ch;
  }

  .specialization {
    max-width: min(560px, 88vw);
  }

  .shape-black {
    grid-column: 10 / 13;
    grid-row: 7 / 9;
  }
}

@media (max-width: 680px) {
  .nav {
    position: absolute;
    grid-template-columns: auto auto auto;
    justify-content: space-between;
    gap: 8px;
    padding: 16px 10px;
    color: var(--ink);
  }

  .nav-links {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    gap: 8px;
    font-size: 0.62rem;
  }

  .lang-switch {
    grid-column: 3;
    grid-row: 1;
  }

  .lang-switch button {
    min-width: 32px;
    min-height: 30px;
    font-size: 0.62rem;
  }

  .hero {
    min-height: 100svh;
    padding: 112px 18px 44px;
  }

  .shape-blue {
    grid-column: 9 / 13;
    grid-row: 2 / 4;
  }

  .shape-red {
    grid-column: 1 / 6;
    grid-row: 8 / 9;
  }

  .shape-black {
    grid-column: 9 / 13;
    grid-row: 8 / 9;
  }

  h1 {
    max-width: 9ch;
    font-size: clamp(3.2rem, 18vw, 5.4rem);
    line-height: 0.9;
  }

  .eyebrow,
  .section-head p,
  .project-index {
    font-size: 0.68rem;
  }

  .specialization {
    max-width: 21rem;
    margin-bottom: 28px;
    font-size: 1rem;
    line-height: 1.22;
  }

  .cta {
    min-height: 48px;
    padding: 0 18px;
    font-size: 0.78rem;
  }

  .projects {
    padding-top: 46px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 34px;
    padding: 0 18px;
  }

  h2 {
    font-size: clamp(3rem, 17vw, 5rem);
    line-height: 0.9;
  }

  .project-card {
    grid-template-columns: 1fr;
    min-height: 360px;
  }

  .project-main {
    min-height: 360px;
    justify-content: flex-end;
    padding: 24px 18px 28px;
    max-width: none;
  }

  h3 {
    max-width: calc(100vw - 36px);
    margin-bottom: 18px;
    font-size: clamp(2.7rem, 14vw, 4.25rem);
    line-height: 0.94;
  }

  .project-main p {
    max-width: 20rem;
    margin-bottom: 24px;
    font-size: 0.95rem;
    line-height: 1.2;
  }

  .project-meta {
    grid-column: 1;
    grid-row: auto;
    flex-wrap: wrap;
    gap: 8px;
  }

  .project-pill,
  .project-meta span {
    padding: 7px 9px;
    font-size: 0.68rem;
  }

  .project-arrow {
    position: absolute;
    top: 24px;
    right: 18px;
    width: auto;
    min-height: auto;
    padding: 0;
    border-top: 0;
    font-size: 4.5rem;
  }

  .project-brand {
    width: 44px;
  }

  .project-title-row {
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
  }

  .footer {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 42px 18px;
  }

  .footer-title {
    font-size: 2.1rem;
  }

  .footer-links {
    flex-direction: column;
    align-items: flex-start;
    align-content: flex-start;
    justify-content: flex-start;
    gap: 12px;
    font-size: 0.9rem;
  }

  .case-viewer-bar {
    min-height: 58px;
    padding: 10px 12px 10px 18px;
  }

  .case-viewer-bar button {
    width: 40px;
    height: 40px;
  }

  .choice-dialog {
    grid-template-columns: 1fr;
    padding: 28px 18px 18px;
  }

  .choice-actions a,
  .choice-actions button {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 390px) {
  .nav {
    grid-template-columns: auto auto auto;
    padding-inline: 8px;
    gap: 6px;
  }

  .lang-switch {
    grid-column: 3;
    justify-self: end;
  }

  .hero {
    padding-top: 140px;
  }

  h1 {
    font-size: clamp(2.9rem, 17vw, 4.3rem);
  }

  h3 {
    font-size: clamp(2.45rem, 13vw, 3.8rem);
  }
}

/* Custom liquid cursor */
body {
  cursor: none;
}

body.hero-minimal-active {
  cursor: url('./catpaw1-medium.png') 32 32, auto;
}

body.hero-minimal-active.clicking {
  cursor: url('./catpaw2-medium.png') 32 32, auto;
}

a,
button,
[role="button"] {
  cursor: none;
}

body.hero-minimal-active a,
body.hero-minimal-active button,
body.hero-minimal-active [role="button"] {
  cursor: url('./catpaw1-medium.png') 32 32, auto;
}

body.hero-minimal-active.clicking a,
body.hero-minimal-active.clicking button,
body.hero-minimal-active.clicking [role="button"] {
  cursor: url('./catpaw2-medium.png') 32 32, auto;
}

body.hero-win95-active,
body.hero-win95-active a,
body.hero-win95-active button,
body.hero-win95-active [role="button"] {
  cursor: default;
}

body.hero-win95-active .paint-canvas {
  cursor: crosshair;
}

body.hero-win95-active .nav {
  display: none;
}

body.hero-win95-active .nav-links {
  display: none;
}

body.hero-win95-active .lang-switch {
  justify-self: end;
  border: 2px solid;
  border-color: #ffffff #404040 #404040 #ffffff;
  background: #c0c0c0;
  font-family: "MS Sans Serif", "Tahoma", "Arial", sans-serif;
}

body.hero-win95-active .lang-switch button {
  min-width: 36px;
  min-height: 28px;
  border: 0;
  border-right: 1px solid #808080;
  background: #c0c0c0;
  color: #000000;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0;
}

body.hero-win95-active .lang-switch button:last-child {
  border-right: 0;
}

body.hero-win95-active .lang-switch button:hover {
  background: #d8d8d8;
}

body.hero-win95-active .lang-switch button.is-active {
  border: 1px solid;
  border-color: #404040 #ffffff #ffffff #404040;
  background: #000080;
  color: #ffffff;
  box-shadow: inset 1px 1px 0 #000000;
}

.lang-switch-mobile {
  display: none;
}

body.hero-win95-active .projects,
body.hero-win95-active .footer {
  display: none;
}

body.hero-win95-active .case-viewer {
  place-items: center;
  padding: 0;
  background: #c0c0c0;
  color: #000000;
}

body.hero-win95-active .case-viewer-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: 100vw;
  height: 100svh;
  border: 0;
  background: #c0c0c0;
  box-shadow: none;
}

body.hero-win95-active .case-viewer-bar {
  min-height: 28px;
  padding: 3px 4px 3px 7px;
  border-bottom: 0;
  background: linear-gradient(90deg, #000080, #1084d0);
  color: #ffffff;
}

body.hero-win95-active .case-viewer-bar p {
  color: #ffffff;
  font-family: "MS Sans Serif", "Tahoma", "Arial", sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: none;
}

body.hero-win95-active .case-viewer-bar button {
  width: 20px;
  height: 20px;
  padding: 0;
  border: 2px solid;
  border-color: #ffffff #404040 #404040 #ffffff;
  background: #c0c0c0;
  color: #000000;
  font-size: 12px;
  font-weight: 900;
  cursor: default;
}

body.hero-win95-active .case-viewer-bar button:active {
  border-color: #404040 #ffffff #ffffff #404040;
}

body.hero-win95-active .case-viewer-win95-menubar {
  display: none;
  gap: 18px;
  padding: 5px 8px;
  border-bottom: 2px solid;
  border-color: #808080 #ffffff #ffffff #808080;
  font-family: "MS Sans Serif", "Tahoma", "Arial", sans-serif;
  font-size: 13px;
}

body.hero-win95-active .case-viewer-address {
  display: none;
  margin: 6px;
  padding: 4px 6px;
  border: 2px solid;
  border-color: #404040 #ffffff #ffffff #404040;
  background: #ffffff;
  font-family: "MS Sans Serif", "Tahoma", "Arial", sans-serif;
  font-size: 12px;
  line-height: 1.2;
  overflow: hidden;
  white-space: nowrap;
}

body.hero-win95-active .case-frame-shell {
  margin: 0;
  padding: 0;
  border: 0;
  background: #303030;
}

body.hero-win95-active .pdf-pages {
  gap: 0;
  align-content: start;
  padding: 0;
  background: #303030;
}

body.hero-win95-active .pdf-page-canvas {
  width: min(100%, 1180px) !important;
  max-width: 100%;
  margin: 0 auto;
  box-shadow: none;
}

body.hero-win95-active .pdf-loading,
body.hero-win95-active .pdf-fallback {
  border: 2px solid;
  border-color: #ffffff #404040 #404040 #ffffff;
  background: #c0c0c0;
  color: #000000;
  font-family: "MS Sans Serif", "Tahoma", "Arial", sans-serif;
  font-size: 12px;
  text-transform: none;
}

body.hero-win95-active .case-viewer-status {
  display: none;
  margin: 0 6px 6px;
  padding: 4px 6px;
  border: 2px solid;
  border-color: #808080 #ffffff #ffffff #808080;
  color: #202020;
  font-family: "MS Sans Serif", "Tahoma", "Arial", sans-serif;
  font-size: 12px;
}

.custom-cursor {
  position: fixed;
  width: 40px;
  height: 40px;
  background: var(--ink);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
  will-change: transform;
  mix-blend-mode: exclusion;
  filter: invert(1);
}

.custom-cursor.is-clicking {
  animation: bounce 0.4s ease-out;
}

@keyframes bounce {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(0.6);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}

@media (hover: none) and (pointer: coarse) {
  body {
    cursor: auto;
  }

  a, button, [role="button"], .project-card, .project-pill, .win95-folder-item, .project-file-item {
    cursor: pointer !important;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .custom-cursor {
    display: none;
  }
}

/* Pull to change indicator */
.press-indicator {
  justify-self: center;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--paper);
  border: 2px solid var(--ink);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
              opacity 0.3s ease,
              background 0.2s ease, 
              color 0.2s ease,
              font-size 0.4s ease;
  border-radius: 0;
  white-space: nowrap;
  transform-origin: center center;
  position: relative;
  z-index: 21;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.press-indicator:hover {
  background: var(--yellow);
  color: var(--ink);
}

body.hero-win95-active .press-indicator {
  padding: 8px 14px;
  border: 2px solid;
  border-color: #ffffff #404040 #404040 #ffffff;
  background: #c0c0c0;
  color: #000000;
  box-shadow: 1px 1px 0 #000000;
  font-family: "MS Sans Serif", "Tahoma", "Arial", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0;
  cursor: default;
}

body.hero-win95-active .press-indicator:hover {
  background: #d8d8d8;
  color: #000000;
}

body.hero-win95-active .press-indicator:active {
  border-color: #404040 #ffffff #ffffff #404040;
  box-shadow: none;
  transform: translate(1px, 1px);
}

.press-indicator.expanding {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  padding: 0;
  border: none;
  z-index: 1000;
  display: grid;
  place-items: center;
  font-size: clamp(3rem, 10vw, 8rem);
  white-space: normal;
  animation: expandToFullscreen 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.press-indicator.expanding:hover {
  background: var(--ink);
  color: var(--paper);
}

@keyframes expandToFullscreen {
  0% {
    transform: scale(0.1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Hero variants */
.hero {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero.is-active {
  opacity: 1;
}

.hero-minimal {
  background: var(--paper);
  display: grid;
  min-height: 100svh;
  padding: clamp(96px, 11svh, 150px) clamp(18px, 5vw, 76px) 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-minimal,
.hero-minimal *,
.hero-minimal a,
.hero-minimal button {
  cursor: url('./catpaw1-medium.png') 32 32, auto !important;
}

.hero-minimal.clicking,
.hero-minimal.clicking *,
.hero-minimal.clicking a,
.hero-minimal.clicking button {
  cursor: url('./catpaw2-medium.png') 32 32, auto !important;
}

.hero-minimal .hero-content-minimal {
  position: relative;
  z-index: 2;
  align-self: start;
  justify-self: center;
  text-align: center;
  width: min(78vw, 520px);
}

.cat-specialization {
  width: min(92%, 620px);
  max-width: none;
  margin: clamp(10px, 1.8vw, 22px) auto 0;
  font-family: "Neucha", "Manrope", sans-serif;
  font-size: clamp(1.26rem, 2.1vw, 2rem);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-minimal h1 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
}

.hero-name-img {
  width: 100%;
  max-height: 24svh;
  height: auto;
  display: block;
  object-fit: contain;
}

.cat-email-link {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 0;
  display: block;
  width: min(96vw, 520px);
  aspect-ratio: 2 / 3;
  transform: translateX(-50%);
  cursor: url('./catpaw1-medium.png') 32 32, pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.cat-email-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: bottom;
}

.cat-hover-zone {
  position: absolute;
  left: 35%;
  bottom: 27%;
  width: 31%;
  height: 12%;
  cursor: url('./catpaw1-medium.png') 32 32, pointer;
  z-index: 2;
}

.cat-email-link.hovering .cat-email-img {
  content: url('./catemailme2.png');
}

.hero-win95 {
  padding: 0;
  background: #008080;
  font-family: "MS Sans Serif", "Tahoma", "Arial", sans-serif;
  cursor: default;
}

.hero-win95 *,
.hero-win95 button {
  font-family: "MS Sans Serif", "Tahoma", "Arial", sans-serif;
}

.win95-desktop {
  position: relative;
  width: 100%;
  min-height: 100svh;
  padding: clamp(18px, 3svh, 34px) clamp(14px, 3vw, 40px) 52px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    #008080;
  background-size: 32px 32px;
  overflow: hidden;
}

.win95-icons {
  position: absolute;
  left: clamp(18px, 3vw, 42px);
  top: clamp(18px, 4svh, 34px);
  z-index: 1;
  display: grid;
  gap: 18px;
  align-content: start;
  width: 98px;
}

.win95-icon {
  width: 84px;
  border: 1px dotted transparent;
  background: transparent;
  color: #ffffff;
  text-align: center;
  font-size: 12px;
  line-height: 1.1;
  cursor: default;
  text-shadow: 1px 1px #000000;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.win95-icon:focus-visible,
.win95-icon:hover {
  border-color: #ffffff;
  outline: 0;
}

.win95-icon-art {
  display: block;
  width: 34px;
  height: 42px;
  margin: 0 auto 6px;
  background:
    linear-gradient(135deg, transparent 0 12px, #c0c0c0 12px),
    linear-gradient(#ffffff, #ffffff);
  border: 2px solid #000000;
  box-shadow: inset -5px -5px 0 #dfdfdf;
}

.win95-icon-img {
  display: block;
  width: 42px;
  height: 42px;
  margin: 0 auto 6px;
  object-fit: contain;
  image-rendering: auto;
}

.note-icon {
  width: 40px;
  height: 36px;
  background:
    repeating-linear-gradient(0deg, transparent 0 7px, rgba(0, 0, 0, 0.28) 8px),
    #fff06a;
  box-shadow: inset -5px -5px 0 #d5b800;
}

.paint-icon {
  background:
    radial-gradient(circle at 70% 28%, #ff0000 0 4px, transparent 5px),
    radial-gradient(circle at 48% 66%, #0000ff 0 4px, transparent 5px),
    radial-gradient(circle at 28% 38%, #00a000 0 4px, transparent 5px),
    #ffffff;
}

.exe-icon {
  background:
    linear-gradient(90deg, #00ff00 0 9px, transparent 9px),
    linear-gradient(#000000, #000000);
  box-shadow: inset -5px -5px 0 #404040;
}

.ie-icon {
  border-radius: 50%;
  background:
    radial-gradient(circle, #4dcfff 0 42%, #000080 43% 62%, transparent 63%),
    #c0c0c0;
  box-shadow: inset -4px -4px 0 #808080;
}

.win95-window {
  position: absolute;
  border: 2px solid;
  border-color: #ffffff #404040 #404040 #ffffff;
  background: #c0c0c0;
  box-shadow: 2px 2px 0 #000000;
  color: #000000;
  z-index: 2;
  user-select: none;
}

.my-computer-window {
  width: min(360px, 88vw);
  z-index: 6;
}

.my-computer-body {
  display: grid;
  grid-template-columns: repeat(3, minmax(74px, 1fr));
  gap: 12px;
  min-height: 150px;
  padding: 18px 14px;
  border: 2px solid;
  border-color: #404040 #ffffff #ffffff #404040;
  background: #ffffff;
}

.my-computer-item {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 8px 4px;
  border: 1px dotted transparent;
  background: transparent;
  color: #000000;
  font-size: 12px;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  cursor: default;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

a.my-computer-item:hover,
button.my-computer-item:hover,
a.my-computer-item:focus-visible,
button.my-computer-item:focus-visible {
  border-color: #000000;
  outline: 0;
}

.my-computer-item img,
.my-computer-item .win95-icon-art {
  width: 42px;
  height: 42px;
  margin: 0;
  object-fit: contain;
}

.projects-window {
  width: min(820px, 88vw);
  top: min(44%, calc(100% - 372px)) !important;
  z-index: 8;
}

.project-explorer-window {
  width: min(430px, 86vw);
  z-index: 9;
}

.notepad-window {
  width: min(520px, 88vw);
  z-index: 8;
}

.win95-address {
  margin: 6px;
  padding: 4px 6px;
  border: 2px solid;
  border-color: #404040 #ffffff #ffffff #404040;
  background: #ffffff;
  color: #000000;
  font-size: 12px;
  line-height: 1.2;
  overflow: hidden;
  white-space: nowrap;
}

.win95-folder-grid,
.project-file-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 14px;
  min-height: 188px;
  margin: 6px;
  padding: 16px 12px;
  border: 2px solid;
  border-color: #404040 #ffffff #ffffff #404040;
  background: #ffffff;
}

.win95-folder-item,
.project-file-item {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 7px;
  min-height: 78px;
  padding: 8px 4px;
  border: 1px dotted transparent;
  background: transparent;
  color: #000000;
  cursor: default;
  font-size: 12px;
  line-height: 1.1;
  text-align: center;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.win95-folder-item:hover,
.project-file-item:hover,
.win95-folder-item:focus-visible,
.project-file-item:focus-visible {
  border-color: #000000;
  outline: 0;
}

.win95-folder-item img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.project-file-icon {
  position: relative;
  display: block;
  width: 36px;
  height: 44px;
  border: 2px solid #000000;
  background:
    linear-gradient(135deg, transparent 0 11px, #d8d8d8 11px),
    #ffffff;
  box-shadow: inset -5px -5px 0 #dfdfdf;
}

.project-file-icon::before {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  top: 18px;
  height: 3px;
  background: #000000;
  box-shadow: 0 7px 0 #000000, 0 14px 0 #000000;
}

.project-file-icon::after {
  position: absolute;
  left: 3px;
  right: 3px;
  bottom: 3px;
  padding: 1px 0;
  color: #ffffff;
  font-size: 8px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.project-file-icon-url::after {
  content: "URL";
  background: #000080;
}

.project-file-icon-pdf::after {
  content: "PDF";
  background: #c00000;
}

.project-file-icon-txt::after {
  content: "TXT";
  background: #404040;
}

.notepad-body {
  min-height: 260px;
  max-height: min(54svh, 420px);
  margin: 6px;
  padding: 10px;
  border: 2px solid;
  border-color: #404040 #ffffff #ffffff #404040;
  background: #ffffff;
  color: #000000;
  overflow: auto;
  white-space: pre-wrap;
  font-family: "Courier New", monospace;
  font-size: 14px;
  line-height: 1.35;
  user-select: text;
}

body.hero-win95-active:not(.win95-booted) .win95-window {
  opacity: 0;
  transform: translate(18px, 18px) scale(0.92);
}

body.hero-win95-active.win95-booted .win95-window {
  animation: win95-window-open 560ms steps(7, end) both;
}

body.hero-win95-active.win95-booted .ie-window {
  animation-delay: 80ms;
}

body.hero-win95-active.win95-booted .scroll-note-window {
  animation-delay: 120ms;
}

body.hero-win95-active.win95-booted .sticky-window {
  animation-delay: 260ms;
}

body.hero-win95-active.win95-booted .change-note-window {
  animation-delay: 120ms;
}

body.hero-win95-active.win95-booted .snake-window {
  animation-delay: 80ms;
}

body.hero-win95-active.win95-booted .my-computer-window {
  animation-delay: 80ms;
}

body.hero-win95-active.win95-booted .projects-window {
  animation-delay: 220ms;
}

body.hero-win95-active.win95-booted .paint-window {
  animation-delay: 140ms;
}

@keyframes win95-window-open {
  0% {
    opacity: 0;
    transform: translate(18px, 18px) scale(0.92);
  }

  45% {
    opacity: 1;
    transform: translate(0, 0) scale(1.02);
  }

  100% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
}

.win95-window.is-dragging {
  z-index: 8;
}

.paint-window {
  width: min(55vw, 720px);
  min-width: 500px;
}

.sticky-window {
  width: min(22vw, 300px);
  min-width: 238px;
  z-index: 7;
}

.scroll-note-window {
  width: min(18vw, 250px);
  min-width: 210px;
  z-index: 8;
}

.change-note-window {
  width: min(19vw, 270px);
  min-width: 218px;
  z-index: 4;
}

.snake-window {
  width: 292px;
  z-index: 3;
}

.ie-window {
  width: min(31vw, 420px);
  min-width: 320px;
  z-index: 9;
}

.win95-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 28px;
  padding: 3px 4px 3px 7px;
  background: linear-gradient(90deg, #000080, #1084d0);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  cursor: move;
}

.sticky-titlebar {
  background: linear-gradient(90deg, #804000, #d18a00);
}

.win95-window-actions {
  display: inline-flex;
  gap: 3px;
}

.win95-window-actions button {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 2px solid;
  border-color: #ffffff #404040 #404040 #ffffff;
  background: #c0c0c0;
  color: #000000;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  cursor: default;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.win95-window-actions button:active {
  border-color: #404040 #ffffff #ffffff #404040;
  padding-top: 1px;
}

.win95-menubar {
  display: flex;
  gap: 18px;
  padding: 5px 8px;
  border-bottom: 2px solid;
  border-color: #808080 #ffffff #ffffff #808080;
  font-size: 13px;
}

.paint-body {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 8px;
  padding: 8px 8px 5px;
}

.paint-tools {
  display: grid;
  grid-template-columns: repeat(2, 20px);
  align-content: start;
  gap: 4px;
  padding: 5px;
  border: 2px solid;
  border-color: #808080 #ffffff #ffffff #808080;
}

.paint-tools span {
  width: 20px;
  height: 20px;
  border: 2px solid;
  border-color: #ffffff #404040 #404040 #ffffff;
  background:
    linear-gradient(135deg, transparent 46%, #000000 48% 52%, transparent 54%),
    #c0c0c0;
}

.paint-tools span:nth-child(2n) {
  background:
    radial-gradient(circle at 50% 50%, #000000 0 3px, transparent 4px),
    #c0c0c0;
}

.paint-canvas-frame {
  padding: 7px;
  border: 2px solid;
  border-color: #808080 #ffffff #ffffff #808080;
  background: #808080;
}

.paint-canvas {
  display: block;
  width: 100%;
  aspect-ratio: 12 / 7;
  height: auto;
  border: 2px solid;
  border-color: #404040 #ffffff #ffffff #404040;
  background: #ffffff;
  image-rendering: pixelated;
  cursor: crosshair;
  touch-action: none;
}

.paint-palette {
  display: grid;
  grid-template-columns: repeat(8, 24px);
  gap: 4px;
  padding: 0 8px 8px 70px;
}

.paint-palette button {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 2px solid;
  border-color: #ffffff #404040 #404040 #ffffff;
  background: var(--swatch);
  cursor: default;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.paint-palette button.is-active,
.paint-palette button:active {
  border-color: #404040 #ffffff #ffffff #404040;
}

.win95-statusbar {
  margin: 0 8px 8px;
  padding: 4px 6px;
  border: 2px solid;
  border-color: #808080 #ffffff #ffffff #808080;
  color: #202020;
  font-size: 12px;
}

.sticky-note {
  min-height: 148px;
  padding: 14px 13px 16px;
  background:
    repeating-linear-gradient(0deg, transparent 0 21px, rgba(104, 76, 0, 0.18) 22px),
    #fff06a;
  border: 2px solid;
  border-color: #fffbd1 #a98500 #a98500 #fffbd1;
  font-family: "Courier New", monospace;
}

.sticky-note h1 {
  margin: 0 0 10px;
  font-family: "Courier New", monospace;
  font-size: clamp(1rem, 1.24vw, 1.22rem);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: 0;
}

.sticky-note p {
  margin: 0;
  font-family: "Courier New", monospace;
  font-size: clamp(0.78rem, 0.88vw, 0.95rem);
  line-height: 1.18;
  letter-spacing: 0;
}

.sticky-note-small {
  min-height: 96px;
  padding: 12px 11px;
}

.snake-body {
  display: grid;
  grid-template-columns: 1fr 36px;
  gap: 8px;
  padding: 8px;
}

.snake-canvas {
  width: 240px;
  height: 160px;
  display: block;
  border: 2px solid;
  border-color: #404040 #ffffff #ffffff #404040;
  background: #000000;
  image-rendering: pixelated;
}

.snake-controls {
  display: grid;
  grid-template-rows: repeat(4, 30px);
  gap: 4px;
}

.snake-controls button {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 2px solid;
  border-color: #ffffff #404040 #404040 #ffffff;
  background: #c0c0c0;
  font-size: 15px;
  font-weight: 800;
  cursor: default;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.snake-controls button:active {
  border-color: #404040 #ffffff #ffffff #404040;
}

.ie-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 5px;
  border-bottom: 2px solid;
  border-color: #808080 #ffffff #ffffff #808080;
  font-size: 12px;
}

.ie-toolbar span {
  padding: 3px 7px;
  border: 2px solid;
  border-color: #ffffff #404040 #404040 #ffffff;
}

.ie-address {
  margin: 5px;
  padding: 4px 6px;
  border: 2px solid;
  border-color: #404040 #ffffff #ffffff #404040;
  background: #ffffff;
  font-size: 12px;
  overflow: hidden;
  white-space: nowrap;
}

.ie-page {
  margin: 5px;
  min-height: 132px;
  padding: 14px;
  border: 2px solid;
  border-color: #404040 #ffffff #ffffff #404040;
  background:
    repeating-linear-gradient(45deg, #ffffcc 0 8px, #ffccff 8px 16px);
  text-align: center;
}

.ie-page p {
  margin: 0 0 14px;
  color: #000080;
  font-size: 15px;
  font-weight: 800;
  text-decoration: underline;
}

.ie-email-button {
  display: inline-block;
  padding: 10px 18px;
  border: 4px outset #ff00ff;
  background: #00ffff;
  color: #0000ee;
  font-size: 19px;
  font-weight: 900;
  text-decoration: blink underline;
  box-shadow: 4px 4px 0 #000000;
}

.ie-email-button:active {
  border-style: inset;
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #000000;
}

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

.ie-contact-link {
  display: grid;
  gap: 3px;
  padding: 8px 9px;
  border: 3px outset #00ffff;
  background: #ffffff;
  color: #0000ee;
  font-size: 13px;
  text-align: left;
  text-decoration: none;
  box-shadow: 3px 3px 0 #000000;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.ie-contact-link span {
  color: #800080;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.ie-contact-link strong {
  overflow-wrap: anywhere;
  font-size: 14px;
  text-decoration: underline;
}

.ie-contact-link:hover {
  background: #00ffff;
}

.ie-contact-link:active {
  border-style: inset;
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 #000000;
}

.win95-taskbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 6px;
  align-items: center;
  min-height: 38px;
  padding: 4px;
  border-top: 2px solid #ffffff;
  background: #c0c0c0;
  color: #000000;
  font-size: 13px;
}

.win95-start,
.win95-task,
.win95-clock {
  min-height: 28px;
  display: flex;
  align-items: center;
  border: 2px solid;
  font-weight: 800;
}

.win95-start {
  padding: 0 14px;
  border-color: #ffffff #404040 #404040 #ffffff;
}

.win95-task-list {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  overflow: hidden;
}

.win95-task {
  flex: 0 1 220px;
  max-width: 220px;
  min-width: 0;
  padding: 0 12px;
  border-color: #404040 #ffffff #ffffff #404040;
  background: #d8d8d8;
  color: #000000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: default;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.win95-task.is-active {
  background: #b8c7d8;
}

.win95-clock {
  justify-content: center;
  min-width: 78px;
  padding: 0 10px;
  border-color: #808080 #ffffff #ffffff #808080;
  font-weight: 500;
}

@media (min-width: 681px) {
  .hero-minimal {
    grid-template-columns: minmax(280px, 0.92fr) minmax(360px, 1fr);
    align-items: center;
    column-gap: clamp(24px, 6vw, 112px);
    padding-top: clamp(112px, 14svh, 172px);
    padding-bottom: clamp(34px, 5svh, 72px);
  }

  .hero-minimal .hero-content-minimal {
    align-self: center;
    justify-self: end;
    transform: translateY(-4svh);
    text-align: left;
    width: min(43vw, 680px);
  }

  .hero-name-img {
    max-height: 42svh;
  }

  .cat-specialization {
    width: min(34vw, 620px);
    margin-top: clamp(-76px, -4.2vw, -40px);
    margin-left: clamp(72px, 7.6vw, 150px);
    margin-right: 0;
    font-size: clamp(1.75rem, 2.4vw, 2.55rem);
  }

  .cat-email-link {
    left: auto;
    right: clamp(28px, 5.2vw, 96px);
    bottom: 0;
    width: min(52vw, 740px);
    max-height: min(92svh, 980px);
    transform: none;
  }

  .cat-hover-zone {
    left: 35.5%;
    bottom: 27.5%;
    width: 30%;
    height: 11%;
  }
}

@media (max-width: 900px) {
  .win95-desktop {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding-top: 106px;
  }

  body.hero-win95-active .lang-switch-taskbar {
    display: none;
  }

  body.hero-win95-active .lang-switch-mobile {
    display: inline-grid;
    position: absolute;
    top: 12px;
    right: 10px;
    z-index: 30;
  }

  .win95-taskbar {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .win95-icons {
    display: none;
  }

  .paint-window,
  .my-computer-window,
  .projects-window,
  .project-explorer-window,
  .notepad-window,
  .sticky-window,
  .scroll-note-window,
  .change-note-window,
  .snake-window,
  .ie-window {
    position: relative;
    left: auto !important;
    top: auto !important;
    width: min(100%, 720px);
    min-width: 0;
    margin: 0 auto 18px;
  }

  .sticky-window {
    order: 1;
  }

  .my-computer-window {
    order: 2;
  }

  .scroll-note-window {
    order: 3;
  }

  .projects-window {
    order: 4;
  }

  .project-explorer-window {
    order: 5;
  }

  .notepad-window {
    order: 6;
  }

  .ie-window {
    order: 7;
  }

  .change-note-window {
    order: 8;
  }

  .snake-window {
    order: 9;
  }

  .paint-window {
    order: 10;
  }

  .paint-body {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 6px;
  }

  .paint-tools {
    grid-template-columns: 1fr;
  }

  .paint-tools span {
    width: 20px;
    height: 18px;
  }

  .paint-palette {
    padding-left: 56px;
    grid-template-columns: repeat(8, 22px);
  }
}

@media (max-width: 680px) {
  .hero-minimal {
    padding-top: clamp(86px, 12svh, 112px);
    padding-bottom: 0;
  }

  .hero-minimal .hero-content-minimal {
    transform: none;
  }

  .cat-specialization {
    font-size: clamp(1rem, 4.4vw, 1.2rem);
  }

  .cat-email-link {
    bottom: 0;
    width: min(100vw, 405px);
    max-height: 52svh;
  }

  .cat-hover-zone {
    left: 35%;
    bottom: 27%;
    width: 31%;
    height: 12%;
  }

  .press-indicator {
    font-size: 0.68rem;
    padding: 8px 10px;
  }

  .hero-win95 {
    min-height: 100svh;
  }

  .win95-desktop {
    padding: 96px 10px 48px;
  }

  .win95-titlebar,
  .win95-menubar,
  .win95-taskbar {
    font-size: 12px;
  }

  .win95-menubar {
    gap: 10px;
    overflow: hidden;
  }

  .paint-body {
    padding: 6px;
  }

  .paint-canvas-frame {
    padding: 4px;
  }

  .sticky-note {
    min-height: 172px;
    padding: 18px 16px 22px;
  }

  .sticky-note-small {
    min-height: 76px;
    padding: 12px 14px;
  }

  .paint-palette {
    grid-template-columns: repeat(4, 24px);
  }

  .snake-body {
    grid-template-columns: 1fr;
  }

  .snake-canvas {
    width: 100%;
    height: auto;
  }

  .snake-controls {
    grid-template-columns: repeat(4, 30px);
    grid-template-rows: none;
    justify-content: center;
  }
}

@media (max-width: 430px) {
  .press-indicator {
    font-size: 0.58rem;
    padding: 7px 8px;
  }

  .hero-minimal .hero-content-minimal {
    width: min(92vw, 410px);
  }

  .hero-name-img {
    max-height: 24svh;
  }

  .cat-email-link {
    width: min(108vw, 390px);
    max-height: 52svh;
  }
}

@media (min-width: 1180px) {
  .hero-minimal .hero-content-minimal {
    transform: translateY(-5svh);
  }

  .cat-email-link {
    right: clamp(44px, 7vw, 140px);
    width: min(46vw, 760px);
  }
}
