/* Shared foundations for Chandler’s desktop. */
:root {
  font-family: "DM Sans", sans-serif;
  font-synthesis: none;
  --ink: #14212d;
  --blue: #2543e8;
  --orange: #ff702b;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}
body {
  margin: 0;
  color: var(--ink);
  background: #dfe8ed;
}
body.dialog-open {
  overflow: hidden;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: wait;
}
button {
  border: 0;
  background: none;
  padding: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a {
  touch-action: manipulation;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 5px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 500;
  letter-spacing: -0.05em;
}
img,
video,
canvas {
  display: block;
  max-width: 100%;
}
video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
[hidden] {
  display: none !important;
}
::selection {
  background: #ff702b;
  color: #121a2b;
}
.micro {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  line-height: 1.65;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  padding: 14px 20px;
  background: white;
  color: black;
  z-index: 1000;
}
.skip-link:focus {
  top: 12px;
}
.contact-link {
  cursor: pointer;
}
main {
  overflow: clip;
}
nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
nav a,
nav button {
  font-size: 13px;
}
nav a:hover,
nav button:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.section-cap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}
.section-cap h2 {
  font-size: clamp(32px, 4vw, 64px);
  line-height: 1;
}
.section-cap em {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
}
.toast {
  position: fixed;
  bottom: 95px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: #fff;
  color: #14212d;
  box-shadow: 0 8px 30px #0003;
  border-radius: 8px;
  padding: 15px 24px;
  max-width: calc(100vw - 30px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.footer {
  padding: 90px 42px 105px;
}
.footer-head {
  position: relative;
}
.footer h2 {
  font-size: clamp(70px, 12vw, 190px);
  line-height: 0.95;
  margin: 24px 0 42px;
}
.footer h2 em {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
}
.footer-head > .contact-link {
  display: inline-block;
  border-bottom: 1px solid currentColor;
  padding-bottom: 6px;
  font-size: 18px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 100px;
  border-top: 1px solid #ffffff3b;
  padding-top: 22px;
  font-size: 10px;
  font-family: "IBM Plex Mono", monospace;
}
.footer-bottom > div {
  display: flex;
  gap: 20px;
}
/* DESKTOP — a loose constellation of working windows and tangible projects. */
body[data-direction="desktop"] {
  background: #e2e8ef;
  color: #182234;
  --ink: #182234;
}
.desktop-page {
  background: radial-gradient(ellipse at 50% 15%, #f0f3f8 0, #e2e8ef 60%);
}
.desk-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 34px;
}
.desk-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 13px;
  letter-spacing: -0.02em;
}
.desk-brand-icon {
  width: 33px;
  height: 33px;
  border: 1px solid #222e4270;
  border-radius: 9px;
  font-size: 25px;
  font-weight: 600;
  display: grid;
  place-items: center;
  padding-bottom: 3px;
}
.desk-header > .micro {
  font-size: 8px;
}
.desk-grid {
  max-width: 1450px;
  margin: 25px auto 0;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(370px, 1.4fr) minmax(
      260px,
      1.03fr
    );
  grid-template-rows: 170px 280px 190px;
  gap: 22px 36px;
  padding: 0 42px 45px;
  align-items: stretch;
  position: relative;
}
.desk-card {
  border-radius: 18px;
  box-shadow:
    0 3px 4px #182f4512,
    0 18px 38px #15263c0c;
  border: 1px solid #ffffffd1;
  background: #fff;
  overflow: hidden;
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s;
}
.desk-card:hover {
  box-shadow:
    0 5px 15px #182f451c,
    0 22px 42px #15263c10;
}
.window-bar {
  height: 38px;
  border-bottom: 1px solid #e3e7f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  background: #f6f8fc;
  color: #687183;
}
.window-bar > .micro {
  font-size: 8px;
}
.window-bar > span:last-child {
  font-family: "IBM Plex Mono", monospace;
  font-size: 8px;
}
.window-lights {
  display: flex;
  gap: 4px;
}
.window-lights i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #aeb9c8;
}
.window-lights i:first-child {
  background: #ef987d;
}
.desk-game {
  grid-column: 1;
  grid-row: 1/4;
  align-self: center;
  transform: rotate(-2deg);
  height: 565px;
  background: #172529;
  color: #fff;
  animation: card-arrive 0.9s 0.15s var(--ease) both;
}
.desk-game:hover {
  transform: rotate(-0.7deg) translateY(-5px);
}
.desk-game .window-bar {
  background: #253235;
  border-color: #ffffff17;
  color: #c2cccf;
}
.desk-game-preview {
  height: calc(100% - 82px);
  width: 100%;
  position: relative;
  text-align: left;
  overflow: hidden;
}
.desk-game-preview video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.65);
}
.game-caption {
  position: absolute;
  inset: 0;
  padding: 35px 25px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(0deg, #0d1c21db, transparent 80%);
}
.game-caption small {
  font-family: "IBM Plex Mono", monospace;
  font-size: 8px;
  letter-spacing: 0.1em;
  margin-bottom: auto;
}
.game-caption strong {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 600;
  font-size: 67px;
  line-height: 0.95;
  letter-spacing: -0.06em;
  margin-bottom: 20px;
}
.game-caption > span {
  font-size: 11px;
  padding-bottom: 7px;
  border-bottom: 1px solid #fff7;
  width: fit-content;
}
.game-bottom {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 8px;
  font-family: "IBM Plex Mono", monospace;
  padding: 0 15px;
  color: #cbd7d5;
}
.game-bottom button {
  font-size: 9px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.desk-intro {
  grid-column: 2;
  grid-row: 2;
  padding: 0 6px;
  align-self: center;
  position: relative;
  z-index: 1;
  animation: arrive 1s 0.1s var(--ease) both;
}
.desk-intro-mark {
  font-family: "IBM Plex Mono", monospace;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.18em;
  display: block;
  margin-bottom: 20px;
  color: #293fde;
}
.desk-intro h1 {
  font-size: clamp(40px, 4.5vw, 74px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.065em;
  white-space: nowrap;
}
.work-word {
  color: #2543e8;
}
.word-caret {
  font-weight: 400;
  animation: caret 1.3s steps(2, jump-none) infinite;
}
.desk-intro p {
  font-size: 13px;
  line-height: 1.5;
  margin: 20px 0 22px;
  color: #687385;
}
.desk-intro > .contact-link {
  border-radius: 7px;
  background: #263eee;
  color: white;
  padding: 10px 19px;
  display: inline-block;
  font-size: 12px;
  box-shadow: 0 3px 7px #2543e830;
}
.desk-intro-work {
  margin-left: 14px;
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.desk-discipline {
  grid-column: 2;
  grid-row: 1;
  width: 165px;
  align-self: start;
  margin-left: 9px;
  transform: rotate(-7deg);
  background: #fb7733;
  color: #132228;
  padding: 15px 20px;
  box-shadow: 0 5px 8px #6b401b21;
  position: relative;
  z-index: 2;
  animation: card-arrive 0.9s 0.22s var(--ease) both;
}
.desk-discipline > .sticker-small {
  font-family: "IBM Plex Mono", monospace;
  font-size: 8px;
  display: block;
  margin-bottom: 5px;
  letter-spacing: 0.1em;
}
.desk-discipline > span:last-child {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 39px;
  line-height: 0.92;
  letter-spacing: -0.06em;
}
.desk-discipline > span:last-child > span {
  position: absolute;
  right: 12px;
  bottom: 10px;
  font-size: 43px;
}
.desk-clock {
  grid-column: 2;
  grid-row: 1;
  width: 165px;
  justify-self: end;
  margin-right: 8px;
  transform: rotate(4deg);
  padding: 12px 15px;
  align-self: start;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  animation: card-arrive 0.9s 0.28s var(--ease) both;
}
.desk-clock > .micro {
  font-size: 7px;
}
.clock-face {
  height: 77px;
  width: 77px;
  margin: 10px 0 8px;
  border: 1px solid #d1d7e1;
  border-radius: 50%;
  position: relative;
  background: repeating-conic-gradient(
    #8391a0 0deg 1deg,
    transparent 1deg 30deg
  );
  box-shadow: inset 0 0 0 5px #fff;
}
.clock-face:before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: #fff;
}
.clock-face i {
  position: absolute;
  left: 50%;
  bottom: 50%;
  transform-origin: bottom center;
  border-radius: 5px;
  z-index: 1;
}
.clock-hour {
  height: 20px;
  width: 3px;
  background: #202c3c;
  transform: translateX(-50%) rotate(var(--hour));
}
.clock-minute {
  height: 28px;
  width: 2px;
  background: #202c3c;
  transform: translateX(-50%) rotate(var(--minute));
}
.clock-second {
  height: 30px;
  width: 1px;
  background: #f97632;
  transform: translateX(-50%) rotate(var(--second));
}
.clock-face > span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  background: #f97632;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.desk-clock .local-clock {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  letter-spacing: -0.04em;
}
.clock-zone {
  font-size: 6px !important;
  letter-spacing: 0;
  margin-top: 5px;
  text-transform: none !important;
  overflow-wrap: anywhere;
}
.desk-software {
  grid-column: 3;
  grid-row: 1/3;
  align-self: start;
  margin-top: 10px;
  transform: rotate(2deg);
  animation: card-arrive 0.9s 0.2s var(--ease) both;
}
.desk-software:hover {
  transform: rotate(0deg) translateY(-4px);
}
.desk-software .bot-window {
  border: 0;
  box-shadow: none;
  border-radius: 0;
}
.desk-case-link {
  padding: 15px 17px;
  width: 100%;
  text-align: left;
  font-size: 11px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #e8ebf3;
}
.desk-case-link > span {
  font-size: 19px;
  line-height: 12px;
}
.desk-signal {
  grid-column: 3;
  grid-row: 2/4;
  align-self: end;
  height: 273px;
  transform: rotate(-1.5deg);
  animation: card-arrive 0.9s 0.3s var(--ease) both;
}
.desk-signal .network {
  border-radius: 0;
}
.desk-signal canvas {
  height: 161px;
}
.desk-signal .network-caption {
  background: #e9eeff;
  border: 0;
  padding: 0 15px 11px;
}
.desk-signal .network-caption .micro {
  display: none;
}
.desk-signal .network-caption button {
  font-size: 8px;
}
.signal-bottom {
  padding: 12px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
}
.signal-bottom button {
  font-size: 22px;
  line-height: 20px;
}
.desk-note {
  grid-column: 2;
  grid-row: 3;
  align-self: end;
  justify-self: center;
  transform: rotate(-3deg);
  padding: 21px 24px 15px;
  width: 260px;
  background: #fff5aa;
  box-shadow: 1px 5px 10px #3b423c1c;
  margin-bottom: 4px;
  animation: card-arrive 0.9s 0.35s var(--ease) both;
}
.desk-note > .micro {
  font-size: 8px;
}
.desk-note p {
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -0.055em;
  margin-top: 9px;
}
.desk-note p em {
  font-family: "Instrument Serif", serif;
  font-size: 25px;
  color: #c1502c;
}
.note-sign {
  display: block;
  text-align: right;
  font-family: "Instrument Serif", serif;
  font-size: 22px;
}
.desk-work {
  padding: 80px 6vw 110px;
  max-width: 1500px;
  margin: auto;
}
.desk-work .section-cap {
  margin-bottom: 65px;
}
.desk-about {
  display: grid;
  grid-template-columns: 0.65fr 1fr;
  gap: 12%;
  padding: 50px 9vw 135px;
  max-width: 1500px;
  margin: auto;
  align-items: center;
}
.about-stamp {
  color: #3047e3;
  display: block;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(65px, 8vw, 140px);
  font-weight: 700;
  letter-spacing: -0.085em;
  line-height: 0.9;
  transform: rotate(-9deg);
}
.desk-about h2 {
  font-size: 38px;
  margin: 15px 0 26px;
}
.desk-about p {
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 18px;
  letter-spacing: -0.025em;
}
.desk-tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 23px;
}
.desk-tags span {
  background: #d0dbe9;
  padding: 7px 12px;
  font-size: 10px;
  border-radius: 25px;
}
.desk-footer {
  background: #2c43e6;
  color: #fff;
  padding-left: 7vw;
  padding-right: 7vw;
}
.desk-footer h2 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(65px, 9vw, 150px);
}
.desk-footer h2 em {
  color: #ffbb78;
}
/* The demos are live interfaces, not static decoration. */
.bot-window {
  color: #dfe4f5;
  background: #20273e;
  border: 1px solid #47516d;
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  box-shadow: 0 4px 15px #16214418;
  text-align: left;
}
.bot-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 20px 14px;
  border-bottom: 1px solid #ffffff12;
}
.bot-symbol {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: #aeb8ff;
  border-radius: 10px;
  color: #192543;
  font-family: "IBM Plex Mono", monospace;
  font-size: 17px;
  font-weight: 600;
}
.bot-top > div {
  display: grid;
  gap: 3px;
}
.bot-top strong {
  font-size: 13px;
  font-weight: 500;
}
.bot-top > div > span {
  font-size: 8px;
  color: #9ba6c7;
}
.demo-label {
  margin-left: auto;
  font-family: "IBM Plex Mono", monospace;
  font-size: 6px;
  letter-spacing: 0.05em;
  color: #aeb9d8;
}
.bot-messages {
  padding: 18px 20px;
  min-height: 170px;
}
.message {
  padding-left: 34px;
  position: relative;
}
.message:before {
  content: "c";
  position: absolute;
  left: 0;
  top: 0;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  background: #ffae72;
  color: #1b233b;
  font-weight: 600;
}
.message.bot:before {
  content: "C:";
  font-size: 8px;
  background: #b3c0f7;
  font-family: "IBM Plex Mono", monospace;
}
.message > span {
  font-size: 9px;
  font-weight: 600;
  color: #bec9e8;
}
.message > span > b {
  background: #6075db;
  font-size: 5px;
  border-radius: 2px;
  padding: 2px 3px;
  vertical-align: middle;
  margin-left: 3px;
  color: white;
  font-weight: 500;
}
.message p {
  font-size: 12px;
  line-height: 1.5;
  margin-top: 4px;
  max-width: 330px;
  color: #eef0f8;
}
.message + .message {
  margin-top: 16px;
}
.bot-command {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 18px 18px;
  padding: 10px 11px;
  background: #333d59;
  border: 1px solid #4c5875;
  border-radius: 5px;
}
.bot-command code {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  color: #bac5e7;
}
.bot-command button {
  background: #96a9ff;
  color: #132547;
  padding: 6px 10px;
  border-radius: 3px;
  font-size: 9px;
  min-width: 68px;
}
.bot-command button:hover {
  background: #becaff;
}
.compact .bot-top {
  padding: 16px;
}
.compact .bot-messages {
  padding: 17px 16px;
  min-height: 165px;
}
.compact .bot-command {
  margin: 0 14px 14px;
}
.network {
  background: #e9eeff;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  color: #253bd5;
}
.network canvas {
  width: 100%;
  height: 300px;
  touch-action: pan-y;
  cursor: grab;
}
.network-caption {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  min-height: 45px;
  padding: 12px 18px;
  border-top: 1px solid #b7c2fa;
}
.network-caption .micro {
  font-size: 7px;
}
.network-caption button {
  font-family: "IBM Plex Mono", monospace;
  font-size: 8px;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-align: right;
  flex-shrink: 0;
}
.network-dark {
  color: #d9ebff;
  background: #131e39;
}
.network-dark .network-caption {
  border-color: #446187;
}
.network-dark .network-caption .micro {
  font-size: 8px;
}
/* Case studies / honest unfinished contact state. */
dialog {
  padding: 0;
  border: 0;
  max-height: 90svh;
  max-width: calc(100% - 32px);
  overscroll-behavior: contain;
  color: #182334;
  background: #eaf0f6;
  box-shadow: 0 40px 100px #0008;
}
dialog::backdrop {
  background: #091522ba;
  backdrop-filter: blur(9px);
}
.project-dialog {
  width: 1050px;
  border-radius: 14px;
}
.dialog-close {
  position: sticky;
  top: 18px;
  float: right;
  margin: 18px 20px 0 0;
  border: 1px solid #253f5740;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 9px 14px;
  border-radius: 30px;
  background: #f2f7facf;
  backdrop-filter: blur(10px);
  color: #13233a;
  font-size: 11px;
  z-index: 2;
}
.dialog-close > span {
  font-size: 20px;
  line-height: 14px;
}
.detail-heading {
  padding: 65px 50px 35px;
}
.detail-heading h2 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 600;
  font-size: clamp(45px, 7vw, 90px);
  line-height: 1.05;
  margin: 20px 0 12px;
}
.detail-heading > p {
  font-size: 20px;
  letter-spacing: -0.025em;
  color: #5a6981;
}
.detail-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 23px;
}
.detail-tags > span {
  font-family: "IBM Plex Mono", monospace;
  font-size: 8px;
  background: #dbe3ef;
  border: 1px solid #cbd6e5;
  border-radius: 4px;
  padding: 7px 10px;
}
.detail-media {
  margin: 0 20px;
}
.detail-media > video {
  height: auto;
  aspect-ratio: 16/9;
  border-radius: 6px;
  background: #091323;
}
.detail-signal .network canvas {
  height: 400px;
}
.detail-copy {
  padding: 40px 50px 50px;
}
.detail-description {
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: -0.03em;
  max-width: 810px;
  margin-bottom: 35px;
}
.detail-copy > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  border-top: 1px solid #c6d0dd;
  padding-top: 25px;
}
.detail-copy h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.detail-copy section p {
  font-size: 14px;
  color: #57657b;
  line-height: 1.65;
}
.detail-visit {
  display: inline-block;
  background: #253fe0;
  color: #fff;
  border-radius: 6px;
  padding: 12px 22px;
  font-size: 12px;
  margin-top: 35px;
}
.detail-back {
  display: block;
  width: fit-content;
  font-size: 11px;
  border-bottom: 1px solid #7d8ba4;
  padding: 0 0 4px;
  margin-top: 40px;
}
.contact-dialog {
  width: 600px;
  padding: 55px 40px 40px;
  border-radius: 15px;
}
.contact-dialog .dialog-close {
  position: absolute;
  top: 0;
  right: 0;
}
.contact-dialog h2 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 48px;
  line-height: 1.05;
  margin: 30px 0 20px;
}
.contact-dialog p {
  font-size: 16px;
  line-height: 1.5;
  color: #566580;
  max-width: 440px;
  margin-bottom: 30px;
}
.contact-placeholder {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  background: #dde5f1;
  padding: 13px 17px;
  border-radius: 5px;
  display: inline-block;
}
.contact-dialog > a {
  display: block;
  font-size: 22px;
  margin-bottom: 20px;
}
.contact-dialog > [data-copy-email] {
  font-size: 12px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 5px;
}
@keyframes arrive {
  from {
    opacity: 0;
    translate: 0 24px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@keyframes card-arrive {
  from {
    opacity: 0;
    translate: 0 35px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@keyframes caret {
  50% {
    opacity: 0;
  }
}
@media (min-width: 1550px) {
  .desk-grid {
    grid-template-rows: 170px 330px 190px;
    margin-top: 45px;
  }
  .desk-game {
    height: 605px;
  }
  .desk-software {
    margin-top: 25px;
  }
  .desk-signal {
    height: 290px;
  }
  .desk-signal canvas {
    height: 178px;
  }
}
@media (max-width: 1100px) {
  .desk-grid {
    grid-template-columns: minmax(200px, 1fr) minmax(300px, 1.4fr) minmax(
        220px,
        1fr
      );
    gap: 20px 25px;
    padding: 0 28px 40px;
    grid-template-rows: 150px 270px 195px;
  }
  .desk-intro h1 {
    font-size: 4.6vw;
  }
  .desk-discipline {
    width: 135px;
    padding: 13px 17px;
  }
  .desk-discipline > span:last-child {
    font-size: 33px;
  }
  .desk-discipline > span:last-child > span {
    font-size: 32px;
    right: 7px;
  }
  .desk-clock {
    width: 135px;
    padding: 12px;
  }
  .clock-face {
    height: 60px;
    width: 60px;
    margin: 7px 0;
  }
  .clock-minute {
    height: 23px;
  }
  .clock-hour {
    height: 16px;
  }
  .clock-second {
    height: 24px;
  }
  .desk-game {
    height: 550px;
  }
  .game-caption {
    padding: 25px 20px;
  }
  .game-caption strong {
    font-size: 55px;
  }
  .compact .bot-top {
    padding: 12px;
  }
  .compact .bot-messages {
    padding: 15px 12px;
  }
  .compact .message {
    padding-left: 28px;
  }
  .compact .message p {
    font-size: 11px;
  }
  .compact .bot-command {
    margin: 0 12px 14px;
    padding: 8px;
  }
  .desk-signal {
    height: 260px;
  }
  .desk-signal canvas {
    height: 149px;
  }
  .desk-note {
    width: 240px;
    padding: 19px 20px 12px;
  }
  .desk-note p {
    font-size: 18px;
  }
  .desk-header > .micro {
    display: none;
  }
  .network-caption {
    padding: 12px;
  }
}
@media (max-width: 850px) {
  .desktop-page .desk-grid {
    max-width: 740px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 165px 290px 250px;
    gap: 25px;
    padding: 0 25px 40px;
    margin-top: 25px;
  }
  .desk-game {
    grid-column: 1;
    grid-row: 1/3;
    height: 460px;
    align-self: start;
    margin-top: 12px;
  }
  .desk-discipline {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
    width: 125px;
  }
  .desk-clock {
    grid-column: 2;
    grid-row: 1;
    width: 125px;
    margin: 0;
  }
  .desk-intro {
    grid-column: 2;
    grid-row: 2;
    padding: 0;
    align-self: center;
  }
  .desk-intro h1 {
    font-size: clamp(36px, 5.4vw, 45px);
  }
  .desk-intro-mark {
    font-size: 21px;
    margin-bottom: 16px;
  }
  .desk-intro p {
    margin: 16px 0 19px;
    font-size: 12px;
  }
  .desk-intro-work {
    font-size: 10px;
    margin-left: 10px;
  }
  .desk-software {
    grid-column: 1;
    grid-row: 3;
    height: 250px;
    margin: 0;
    align-self: center;
  }
  .desk-software .window-bar {
    height: 30px;
  }
  .desk-software .bot-top {
    padding: 9px 13px;
  }
  .desk-software .bot-top .bot-symbol {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }
  .desk-software .bot-top strong {
    font-size: 11px;
  }
  .desk-software .bot-messages {
    min-height: 104px;
    height: 104px;
    padding: 8px 13px;
  }
  .desk-software .message p {
    font-size: 10px;
  }
  .desk-software .message + .message {
    margin-top: 8px;
  }
  .desk-software .bot-command {
    padding: 5px 8px;
    margin-bottom: 7px;
  }
  .desk-software .bot-command button {
    padding: 4px 9px;
  }
  .desk-software .desk-case-link {
    padding: 8px 13px;
    font-size: 9px;
  }
  .desk-signal {
    grid-column: 2;
    grid-row: 3;
    height: 250px;
  }
  .desk-signal canvas {
    height: 144px;
  }
  .desk-signal .network-caption {
    padding-bottom: 7px;
    min-height: 35px;
  }
  .signal-bottom {
    padding: 11px 13px;
    font-size: 9px;
  }
  .desk-note {
    display: none;
  }
  .desk-about {
    gap: 10%;
    padding: 35px 7vw 100px;
  }
  .desk-about h2 {
    font-size: 31px;
  }
  .desk-about p {
    font-size: 15px;
  }
  .about-stamp {
    font-size: 75px;
  }
  .footer {
    padding: 70px 28px 100px;
  }
  .footer-bottom {
    margin-top: 70px;
    flex-wrap: wrap;
  }
  .detail-heading {
    padding: 65px 35px 30px;
  }
  .detail-copy {
    padding: 35px;
  }
  .detail-copy > div {
    gap: 27px;
  }
  .detail-description {
    font-size: 20px;
  }
}
@media (max-width: 600px) {
  html {
    scroll-padding-top: 20px;
  }
  .micro {
    font-size: 9px;
  }
  .section-cap {
    display: block;
  }
  .section-cap h2 {
    margin-top: 17px;
    font-size: 41px;
  }
  .footer {
    padding: 65px 24px 115px;
  }
  .footer h2 {
    font-size: 74px;
    margin-bottom: 32px;
  }
  .footer-head > .contact-link {
    font-size: 15px;
  }
  .footer-bottom {
    font-size: 8px;
    gap: 15px;
    margin-top: 65px;
  }
  .footer-bottom > span:first-child {
    max-width: 240px;
  }
  .footer-bottom > div {
    order: 3;
    width: 100%;
  }
  .desk-header {
    padding: 19px 20px;
  }
  .desk-brand {
    font-size: 11px;
    gap: 8px;
  }
  .desk-brand-icon {
    width: 27px;
    height: 27px;
    font-size: 21px;
  }
  .desk-header nav {
    gap: 14px;
  }
  .desk-header nav a,
  .desk-header nav button {
    font-size: 10px;
  }
  .desk-header nav a[href="#desk-about"] {
    display: none;
  }
  .desktop-page .desk-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 135px auto 320px 285px;
    gap: 20px 18px;
    margin: 15px auto 0;
    padding: 0 22px 35px;
  }
  .desk-discipline {
    grid-column: 1;
    grid-row: 1;
    width: 130px;
    margin-left: 8px;
    justify-self: start;
    align-self: center;
  }
  .desk-clock {
    grid-column: 2;
    grid-row: 1;
    width: 138px;
    justify-self: end;
    margin-right: 8px;
    align-self: center;
    padding: 9px 13px;
  }
  .clock-face {
    margin: 6px 0 4px;
  }
  .desk-clock .local-clock {
    font-size: 11px;
  }
  .desk-intro {
    grid-column: 1/-1;
    grid-row: 2;
    margin: 20px 0 28px;
    padding: 0 5px;
    align-self: start;
  }
  .desk-intro-mark {
    font-size: 25px;
    margin-bottom: 19px;
  }
  .desk-intro h1 {
    font-size: clamp(38px, 10.7vw, 61px);
    line-height: 1.07;
    white-space: normal;
  }
  .desk-intro p {
    font-size: 13px;
    margin: 19px 0 22px;
  }
  .desk-intro > .contact-link {
    font-size: 12px;
    padding: 11px 20px;
  }
  .desk-intro-work {
    font-size: 11px;
    margin-left: 15px;
  }
  .desk-game {
    grid-column: 1/-1;
    grid-row: 3;
    align-self: stretch;
    height: 320px;
    margin: 0;
    transform: rotate(-1.5deg);
  }
  .game-caption {
    padding: 25px;
  }
  .game-caption strong {
    font-size: 59px;
    line-height: 0.94;
  }
  .desk-game-preview video {
    object-position: center;
  }
  .desk-game .window-bar {
    height: 34px;
  }
  .desk-game-preview {
    height: calc(100% - 74px);
  }
  .game-bottom {
    height: 40px;
    font-size: 9px;
  }
  .desk-software {
    grid-column: 1;
    grid-row: 4;
    transform: rotate(2deg);
    height: 285px;
  }
  .desk-software .bot-top {
    padding: 12px 10px;
  }
  .desk-software .bot-top > div > span,
  .desk-software .demo-label {
    display: none;
  }
  .desk-software .bot-top strong {
    font-size: 9px;
  }
  .desk-software .bot-top {
    gap: 7px;
  }
  .desk-software .bot-top .bot-symbol {
    width: 23px;
    height: 23px;
    font-size: 10px;
  }
  .desk-software .bot-messages {
    height: 144px;
    padding: 12px 10px;
  }
  .desk-software .message {
    padding-left: 0;
  }
  .desk-software .message:before {
    display: none;
  }
  .desk-software .message p {
    font-size: 10px;
    line-height: 1.5;
  }
  .desk-software .message + .message {
    margin-top: 10px;
  }
  .desk-software .bot-command {
    margin: 0 8px 11px;
    padding: 6px;
    gap: 5px;
  }
  .desk-software .bot-command code {
    font-size: 8px;
  }
  .desk-software .bot-command button {
    font-size: 8px;
    min-width: 0;
    padding: 5px 6px;
  }
  .desk-software .desk-case-link {
    font-size: 9px;
    padding: 9px 10px;
  }
  .desk-signal {
    grid-column: 2;
    grid-row: 4;
    height: 285px;
    align-self: center;
  }
  .desk-signal .window-bar {
    padding: 0 9px;
    height: 30px;
  }
  .desk-signal .window-bar > .micro {
    font-size: 6px;
  }
  .desk-signal .window-bar > span:last-child {
    display: none;
  }
  .desk-software .window-bar {
    padding: 0 10px;
  }
  .desk-signal canvas {
    height: 191px;
  }
  .desk-signal .network-caption {
    padding: 4px 10px 8px;
    min-height: 25px;
  }
  .desk-signal .network-caption button {
    font-size: 7px;
  }
  .signal-bottom {
    font-size: 8px;
    padding: 10px;
    gap: 7px;
  }
  .signal-bottom > span {
    max-width: 80px;
    line-height: 1.45;
  }
  .signal-bottom button {
    font-size: 21px;
  }
  .desk-work {
    padding: 50px 22px 70px;
  }
  .desk-work .section-cap h2 {
    font-size: 39px;
  }
  .desk-work .section-cap {
    margin-bottom: 50px;
  }
  .desk-about {
    display: block;
    padding: 15px 25px 80px;
  }
  .about-stamp {
    font-size: 74px;
    margin: 0 0 60px 15px;
  }
  .desk-about h2 {
    font-size: 36px;
    margin-top: 15px;
  }
  .desk-about p {
    font-size: 17px;
  }
  .desk-footer h2 {
    font-size: 75px;
  }
  dialog {
    max-width: calc(100% - 20px);
    max-height: 94svh;
  }
  .project-dialog {
    border-radius: 10px;
  }
  .dialog-close {
    top: 12px;
    margin: 12px 12px 0 0;
    font-size: 10px;
    gap: 13px;
  }
  .detail-heading {
    padding: 65px 23px 25px;
  }
  .detail-heading h2 {
    font-size: 52px;
    margin-top: 17px;
  }
  .detail-heading > .micro {
    font-size: 7px;
  }
  .detail-heading > p {
    font-size: 17px;
  }
  .detail-tags {
    gap: 5px;
    margin-top: 20px;
  }
  .detail-tags > span {
    font-size: 7px;
    padding: 6px 8px;
  }
  .detail-media {
    margin: 0 10px;
  }
  .detail-signal .network canvas {
    height: 290px;
  }
  .detail-copy {
    padding: 27px 23px 35px;
  }
  .detail-description {
    font-size: 20px;
  }
  .detail-copy > div {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .detail-copy section p {
    font-size: 14px;
  }
  .detail-back {
    margin-top: 30px;
  }
  .contact-dialog {
    padding: 65px 25px 32px;
  }
  .contact-dialog h2 {
    font-size: 39px;
  }
  .contact-dialog p {
    font-size: 15px;
  }
  .contact-placeholder {
    font-size: 10px;
  }
  .toast {
    font-size: 12px;
    bottom: 80px;
    padding: 13px 17px;
    width: max-content;
    max-width: calc(100vw - 30px);
  }
}
@media (max-width: 360px) {
  .desktop-page .desk-grid {
    gap: 20px 13px;
    padding-left: 18px;
    padding-right: 18px;
  }
  .desk-clock {
    width: 123px;
    margin-right: 0;
  }
  .desk-discipline {
    width: 118px;
    margin-left: 0;
  }
  .desk-intro h1 {
    font-size: 10.5vw;
  }
  .desk-software .bot-command code {
    font-size: 7px;
  }
  .desk-software .bot-command button {
    padding: 5px;
  }
  .footer h2 {
    font-size: 65px;
  }
}
.bot-messages {
  overflow: auto;
}
.network canvas {
  touch-action: none;
}
.desk-footer {
  padding-top: 60px;
  padding-bottom: 105px;
  background: #253fe0;
}
.desk-footer-prompt {
  max-width: 800px;
  margin: auto;
  position: relative;
}
.desk-footer-prompt h2 {
  font-size: clamp(58px, 7vw, 105px);
  margin: 25px 0;
  line-height: 1;
}
.desk-footer-prompt p {
  font-size: 14px;
  color: #c6d1fd;
}
.desk-footer-prompt > .contact-link {
  position: absolute;
  right: 0;
  bottom: 10px;
  border: 1px solid #d7e0ff;
  border-radius: 8px;
  padding: 14px 24px;
  font-size: 14px;
}
.desk-footer .footer-bottom {
  margin-top: 70px;
}
@media (min-width: 851px) {
  .desk-note {
    display: none;
  }
  .desk-grid {
    grid-template-rows: 150px 245px 170px;
    gap: 22px 36px;
  }
  .desk-intro {
    grid-row: 2/4;
    align-self: start;
  }
  .desk-game {
    height: 525px;
    margin-top: 0;
  }
  .desk-signal {
    height: 240px;
  }
  .desk-signal canvas {
    height: 136px;
  }
  .desk-software {
    margin-top: 5px;
  }
  .desk-software .compact .bot-top {
    padding: 15px 17px 11px;
  }
  .desk-software .compact .bot-messages {
    min-height: 138px;
    height: 138px;
    padding: 14px 17px;
  }
  .desk-software .desk-case-link {
    padding: 12px 16px;
  }
  .desk-clock {
    align-self: start;
  }
  .desk-game .game-caption strong {
    font-size: 60px;
  }
  .desk-signal .signal-bottom {
    padding: 10px 15px;
  }
  .desk-signal .network-caption {
    min-height: 34px;
    padding-bottom: 9px;
  }
  .desk-intro h1 {
    font-size: clamp(42px, 4.4vw, 72px);
  }
}
@media (min-width: 1550px) {
  .desk-grid {
    grid-template-rows: 170px 270px 180px;
    gap: 25px 40px;
  }
  .desk-game {
    height: 570px;
  }
  .desk-signal {
    height: 270px;
  }
  .desk-signal canvas {
    height: 163px;
  }
  .desk-software .compact .bot-messages {
    height: 160px;
    min-height: 160px;
  }
}
@media (max-width: 850px) {
  .desk-footer-prompt > .contact-link {
    position: static;
    display: inline-block;
    margin-top: 25px;
  }
}
@media (max-width: 600px) {
  .desk-footer-prompt h2 {
    font-size: 62px;
  }
  .desk-footer-prompt p {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
