:root {
  color-scheme: light;
  --text: #16171b;
  --muted: #6d7280;
  --line: rgba(20, 23, 30, 0.13);
  --glass: rgba(246, 248, 250, 0.78);
  --glass-strong: rgba(255, 255, 255, 0.9);
  --shadow: 0 26px 80px rgba(34, 39, 54, 0.26);
  --blue: #2f78ff;
  --violet: #8a6cff;
  --green: #45c184;
  --orange: #ff9d42;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  background: #f4f5f8;
}

* {
  box-sizing: border-box;
}

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

body {
  color: var(--text);
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

.desktop,
.desktop *,
.boot-screen,
.boot-screen * {
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
}

img {
  -webkit-user-drag: none;
}

.is-locked .desktop-shell {
  pointer-events: none;
}

.boot-screen {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #eef1f7;
  z-index: 2000;
  transition: opacity 520ms ease, visibility 520ms ease;
}

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

.boot-screen__wallpaper {
  position: absolute;
  inset: 0;
  background: url("./assets/macbook/desktop-wallpaper-think-different.jpeg") center / cover no-repeat;
  filter: none;
  transform: none;
}

.boot-screen__wallpaper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.04);
}

.boot-screen__glass {
  position: absolute;
  top: 12vh;
  width: min(560px, 88vw);
  text-align: center;
  color: rgba(25, 29, 38, 0.92);
  text-shadow: 0 1px 14px rgba(255, 255, 255, 0.78);
}

.boot-screen__time {
  font-size: clamp(64px, 11vw, 132px);
  line-height: 0.95;
  font-weight: 200;
  letter-spacing: 0;
}

.boot-screen__date {
  margin: 16px 0 0;
  font-size: clamp(17px, 2.2vw, 24px);
  font-weight: 500;
}

.boot-status {
  position: absolute;
  left: 50%;
  bottom: 16vh;
  width: min(420px, 82vw);
  height: 58px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 18px;
  border-radius: 999px;
  color: rgba(33, 36, 44, 0.68);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(218, 224, 233, 0.48));
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    inset 0 -18px 30px rgba(163, 171, 185, 0.18),
    0 16px 48px rgba(51, 60, 78, 0.18);
  backdrop-filter: blur(20px) saturate(1.25);
  transition: opacity 240ms ease, transform 240ms ease;
}

.boot-screen.is-ready .boot-status {
  opacity: 0;
  transform: translate(-50%, 12px);
  pointer-events: none;
}

.boot-status span {
  font-size: 13px;
  font-weight: 700;
}

.boot-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 15px 0 0 rgba(47, 120, 255, 0.42), 30px 0 0 rgba(47, 120, 255, 0.2);
  animation: pulseDots 1s infinite ease-in-out;
}

@keyframes pulseDots {
  0%,
  100% {
    opacity: 0.35;
    transform: translateX(-6px);
  }

  50% {
    opacity: 1;
    transform: translateX(4px);
  }
}

.unlock-panel {
  position: absolute;
  left: 50%;
  bottom: 10vh;
  width: min(420px, 82vw);
  transform: translate(-50%, 14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease, transform 260ms ease;
}

.boot-screen.is-ready .unlock-panel {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.unlock-track {
  --progress: 0px;
  position: relative;
  height: 58px;
  border-radius: 999px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(218, 224, 233, 0.48));
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    inset 0 -18px 30px rgba(163, 171, 185, 0.18),
    0 16px 48px rgba(51, 60, 78, 0.18);
  backdrop-filter: blur(20px) saturate(1.25);
}

.unlock-track::before {
  content: "";
  position: absolute;
  inset: 4px;
  width: calc(54px + var(--progress));
  max-width: calc(100% - 8px);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.5), rgba(122, 162, 255, 0.23));
  pointer-events: none;
}

.unlock-shine {
  position: absolute;
  inset: 0 18px 0 70px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: rgba(28, 33, 43, 0.58);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0;
}

.unlock-shine::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 100%;
  left: -80px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.86), transparent);
  animation: unlockShine 2.35s infinite ease-in-out;
}

@keyframes unlockShine {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(440px);
  }
}

.unlock-thumb {
  position: absolute;
  left: 5px;
  top: 5px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: linear-gradient(#ffffff, #dfe4ec);
  box-shadow:
    0 7px 18px rgba(43, 50, 66, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
  transform: translateX(var(--progress));
  cursor: grab;
  touch-action: none;
}

.unlock-thumb:active {
  cursor: grabbing;
}

.unlock-thumb span,
.unlock-thumb span::before,
.unlock-thumb span::after {
  position: absolute;
  display: block;
  background: #5a6475;
}

.unlock-thumb span {
  width: 16px;
  height: 2px;
  left: 16px;
  top: 23px;
  border-radius: 2px;
}

.unlock-thumb span::before,
.unlock-thumb span::after {
  content: "";
  right: 0;
  width: 8px;
  height: 2px;
  border-radius: 2px;
  transform-origin: right center;
}

.unlock-thumb span::before {
  transform: rotate(42deg);
}

.unlock-thumb span::after {
  transform: rotate(-42deg);
}

.unlock-panel p {
  margin: 12px 0 0;
  color: rgba(35, 39, 50, 0.62);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.desktop-shell {
  width: 100vw;
  height: 100vh;
  display: grid;
  place-items: center;
  background: #f4f5f8;
}

.desktop {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  isolation: isolate;
  background: #eef1f6;
}

.desktop-wallpaper {
  position: absolute;
  inset: 0;
  background: url("./assets/macbook/desktop-wallpaper-think-different.jpeg") center / cover no-repeat;
  filter: none;
  transform: none;
  z-index: -4;
}

.desktop-vignette {
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: -3;
  pointer-events: none;
}

.menu-bar {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 29px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  color: rgba(22, 26, 34, 0.78);
  font-size: 13px;
  font-weight: 600;
  background: rgba(250, 251, 253, 0.58);
  border-bottom: 1px solid rgba(255, 255, 255, 0.56);
  box-shadow: 0 1px 10px rgba(66, 75, 94, 0.08);
  backdrop-filter: blur(24px) saturate(1.22);
  z-index: 100;
}

.menu-bar__left,
.menu-bar__right {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.kh-mark {
  width: 30px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 6px;
  color: #111820;
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  transform: skewX(-8deg);
}

.kh-mark::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: translateY(8px) skewX(-20deg);
  opacity: 0.82;
}

.desk-icon {
  position: absolute;
  left: calc(var(--x) * 1%);
  top: calc(var(--y) * 1%);
  width: 92px;
  min-height: 92px;
  transform: translate(-50%, -50%);
  display: grid;
  justify-items: center;
  gap: 7px;
  border: 0;
  padding: 6px 4px;
  background: transparent;
  border-radius: 8px;
  color: white;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.58), 0 0 12px rgba(0, 0, 0, 0.24);
  cursor: default;
  z-index: 2;
}

.desk-icon:hover,
.desk-icon:focus-visible,
.desk-icon.is-selected {
  background: rgba(55, 120, 255, 0.17);
  outline: 1px solid rgba(255, 255, 255, 0.28);
}

.desk-icon:hover .icon-art {
  transform: translateY(-2px) scale(1.03);
}

.desk-icon:active .icon-art {
  transform: translateY(1px) scale(0.94);
}

.icon-art {
  position: relative;
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  transition: transform 150ms ease, box-shadow 150ms ease;
  box-shadow: 0 11px 24px rgba(29, 36, 52, 0.2);
}

.icon-label {
  display: block;
  max-width: 88px;
  padding: 2px 5px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.08;
}

.folder-art {
  height: 46px;
  margin-top: 6px;
  border-radius: 6px;
  background: linear-gradient(180deg, #77b5ff, #2f78ff);
}

.folder-art::before {
  content: "";
  position: absolute;
  left: 5px;
  top: -8px;
  width: 28px;
  height: 12px;
  border-radius: 5px 5px 0 0;
  background: inherit;
}

.folder-art::after {
  content: "";
  position: absolute;
  inset: 8px 5px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.18);
}

.folder-lilac .folder-art {
  background: linear-gradient(180deg, #b8a8ff, #7d63ff);
}

.folder-green .folder-art {
  background: linear-gradient(180deg, #8fe1b8, #36b173);
}

.skills-art .icon-art {
  background:
    radial-gradient(circle at 30% 30%, #fff 0 9%, transparent 10%),
    radial-gradient(circle at 70% 34%, #fff 0 8%, transparent 9%),
    radial-gradient(circle at 34% 72%, #fff 0 8%, transparent 9%),
    radial-gradient(circle at 70% 70%, #fff 0 9%, transparent 10%),
    linear-gradient(135deg, #232a38, #3f7df4 52%, #b8f2da);
}

.robot-art .icon-art {
  overflow: hidden;
  background: url("./assets/legacy/desktop-robot/current/prototype-closeup.jpeg") center / cover;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.coffee-art .icon-art {
  overflow: hidden;
  background: url("./assets/legacy/37-latte/home.png") center / cover;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.brain-office-art .icon-art {
  overflow: hidden;
  background: url("./assets/brain-office/brain-office-hero.png") center / cover;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.small-works-art .icon-art {
  overflow: hidden;
  background: url("./assets/small-works/liquid-metal-evtol-1.png") center / cover;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.document-art .icon-art,
.note-file .icon-art {
  background: linear-gradient(180deg, #ffffff, #e9edf5);
  border: 1px solid rgba(107, 115, 130, 0.22);
}

.document-art .icon-art::before,
.note-file .icon-art::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 15px;
  height: 4px;
  border-radius: 2px;
  background: #9ca8bc;
  box-shadow: 0 10px 0 #c2c9d6, 0 20px 0 #d4d9e3;
}

.image-file .icon-art {
  overflow: hidden;
  background: url("./assets/legacy/desktop-robot/current/exhibition-view.jpeg") center / cover;
  border: 2px solid white;
}

.contact-art .icon-art {
  background: linear-gradient(135deg, #2f78ff, #70d7ff);
}

.contact-art .icon-art::before {
  content: "";
  position: absolute;
  inset: 15px 10px;
  border: 3px solid white;
  border-top: 0;
  transform: skewY(-8deg);
}

.dock {
  position: absolute;
  left: 50%;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 72px;
  padding: 9px 12px;
  border-radius: 20px;
  background: rgba(246, 248, 251, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.66);
  box-shadow: 0 18px 46px rgba(58, 67, 89, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.62);
  backdrop-filter: none;
  transform: translateX(-50%);
  z-index: 90;
}

.dock-item {
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 12px;
  padding: 0;
  display: grid;
  place-items: center;
  background: #fff;
  box-shadow: 0 7px 14px rgba(38, 45, 61, 0.19);
  transition: transform 90ms ease, filter 90ms ease;
  transform: translateY(0);
  transform-origin: center bottom;
  position: relative;
}

.dock-item:hover {
  filter: brightness(1.04) saturate(1.06);
  transform: translateY(-4px);
}

.dock-item.is-running::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(38, 44, 58, 0.62);
  transform: translateX(-50%);
}

.dock-item.is-active {
  box-shadow: 0 11px 24px rgba(38, 45, 61, 0.25), 0 0 0 3px rgba(255, 255, 255, 0.52);
}

.dock-divider {
  width: 1px;
  height: 42px;
  background: rgba(98, 106, 124, 0.22);
}

.finder {
  background:
    linear-gradient(90deg, #68b6ff 0 50%, #2f78ff 51%),
    #2f78ff;
}

.finder::before,
.finder::after {
  content: "";
  position: absolute;
}

.dock-item {
  position: relative;
  overflow: visible;
}

.about-dock,
.projects-dock {
  background: transparent;
  box-shadow: none;
}

.about-dock::before,
.projects-dock::before {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: 7px;
  height: 32px;
  border-radius: 6px;
  background: linear-gradient(180deg, #77b5ff, #2f78ff);
  box-shadow: 0 7px 14px rgba(38, 45, 61, 0.19);
}

.about-dock::after,
.projects-dock::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 6px;
  width: 22px;
  height: 10px;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, #77b5ff, #2f78ff);
}

.projects-dock::before,
.projects-dock::after {
  background: linear-gradient(180deg, #b8a8ff, #7d63ff);
}

.skills-dock {
  background:
    radial-gradient(circle at 30% 30%, #fff 0 9%, transparent 10%),
    radial-gradient(circle at 70% 34%, #fff 0 8%, transparent 9%),
    radial-gradient(circle at 34% 72%, #fff 0 8%, transparent 9%),
    radial-gradient(circle at 70% 70%, #fff 0 9%, transparent 10%),
    linear-gradient(135deg, #232a38, #3f7df4 52%, #b8f2da);
}

.contact-dock {
  background: linear-gradient(135deg, #2f78ff, #70d7ff);
}

.contact-dock::before {
  content: "";
  width: 32px;
  height: 20px;
  border: 3px solid white;
  border-top: 0;
  transform: skewY(-8deg);
}

.finder::before {
  width: 34px;
  height: 20px;
  border: 3px solid white;
  border-top: 0;
  border-radius: 0 0 16px 16px;
  top: 17px;
}

.launch {
  background: linear-gradient(135deg, #202735, #48576f);
}

.launch::before {
  content: "";
  width: 23px;
  height: 23px;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.18);
}

.terminal {
  background: #111820;
}

.terminal::before {
  content: ">_";
  color: #79f0b1;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 18px;
  font-weight: 800;
}

.robot-dock {
  background: url("./assets/legacy/desktop-robot/current/prototype-closeup.jpeg") center / cover;
}

.coffee-dock {
  background: url("./assets/legacy/37-latte/home.png") center / cover;
}

.brain-dock {
  background: url("./assets/brain-office/brain-office-hero.png") center / cover;
}

.photos-dock {
  background:
    radial-gradient(circle at 50% 50%, #fff 0 16%, transparent 17%),
    conic-gradient(#ff4e5e, #ffc84a, #47c772, #35a1ff, #ab62ff, #ff4e5e);
}

.mail-dock {
  background: linear-gradient(#39c6ff, #1d8cff);
}

.mail-dock::before {
  content: "";
  width: 32px;
  height: 20px;
  border: 3px solid white;
  border-top: 0;
  transform: skewY(-8deg);
}

.trash-dock {
  background: linear-gradient(#f8f9fa, #bfc5cf);
}

.trash-dock::before {
  content: "";
  width: 26px;
  height: 30px;
  border: 3px solid #747b88;
  border-top-width: 6px;
  border-radius: 2px 2px 7px 7px;
}

.window {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(82vw, 1080px);
  height: min(76vh, 720px);
  min-width: 560px;
  min-height: 360px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(248, 250, 252, 0.96);
  border: 1px solid rgba(20, 28, 40, 0.15);
  box-shadow: var(--shadow);
  backdrop-filter: none;
  transform: translate(-50%, -50%);
  z-index: 200;
  will-change: transform, opacity;
  transition: box-shadow 120ms ease, border-color 120ms ease;
}

.window[hidden] {
  display: none;
}

.window.is-zoomed {
  border-radius: 0;
}

.window.is-active-window {
  border-color: rgba(47, 120, 255, 0.24);
  box-shadow: 0 30px 92px rgba(34, 39, 54, 0.32);
}

.window.is-entering,
.window.is-leaving {
  pointer-events: none;
  will-change: opacity;
}

.window-ghost,
.window-ghost * {
  pointer-events: none;
}

.window-bar {
  height: 34px;
  display: grid;
  grid-template-columns: 92px 1fr 92px;
  align-items: center;
  padding: 0 12px;
  background: linear-gradient(180deg, rgba(246, 247, 249, 0.96), rgba(222, 226, 232, 0.92));
  border-bottom: 1px solid rgba(80, 88, 101, 0.18);
  color: rgba(49, 55, 65, 0.78);
  cursor: default;
  user-select: none;
}

.window-bar:active {
  cursor: default;
}

.window-bar strong {
  grid-column: 2;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0;
}

.traffic {
  display: flex;
  gap: 8px;
  align-items: center;
  position: relative;
  z-index: 3;
}

.dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.16);
  cursor: default;
  position: relative;
}

.close {
  background: #ff5f57;
}

.min {
  background: #ffbd2e;
}

.max {
  background: #28c840;
}

.traffic:hover .dot::before,
.traffic:hover .dot::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  background: rgba(63, 37, 30, 0.78);
  transform-origin: center;
}

.traffic:hover .close::before,
.traffic:hover .close::after {
  width: 8px;
  height: 1.6px;
  border-radius: 2px;
}

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

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

.traffic:hover .min::before {
  width: 8px;
  height: 1.7px;
  border-radius: 2px;
  background: rgba(106, 72, 12, 0.78);
  transform: translate(-50%, -50%);
}

.traffic:hover .max::before {
  width: 8px;
  height: 8px;
  background: rgba(9, 84, 31, 0.9);
  clip-path: polygon(0 68%, 68% 0, 100% 0, 100% 32%, 32% 100%, 0 100%);
  transform: translate(-50%, -50%);
}

.traffic:hover .max::after {
  display: none;
}

.window-body {
  height: calc(100% - 34px);
  overflow: auto;
}

.window-body::-webkit-scrollbar {
  width: 12px;
}

.window-body::-webkit-scrollbar-track {
  background: rgba(211, 217, 227, 0.35);
}

.window-body::-webkit-scrollbar-thumb {
  background: rgba(119, 130, 150, 0.36);
  border: 3px solid transparent;
  border-radius: 999px;
  background-clip: content-box;
}

.skills-page,
.mini-page,
.materials-page,
.contact-page {
  padding: 34px;
}

.about-page {
  display: grid;
  grid-template-columns: 178px minmax(0, 1fr);
  overflow: hidden;
  padding: 0;
  background: rgba(244, 247, 251, 0.92);
}

.eyebrow,
.page-title p,
.section-head p,
.project-hero-card p {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-title h1,
.section-head h1,
.contact-page h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(34px, 4.8vw, 64px);
  line-height: 0.96;
  letter-spacing: 0;
}

.skill-grid article,
.small-work-grid article {
  min-height: 170px;
  padding: 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(21, 28, 40, 0.1);
}

.skill-grid h2,
.small-work-grid h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.skill-grid p,
.small-work-grid p,
.copy-flow p,
.copy-columns p {
  margin: 0;
  color: #3f4551;
  font-size: 16px;
  line-height: 1.72;
}

[data-reader-built="true"] {
  display: block;
}

.reader-line {
  position: relative;
  display: block;
  width: fit-content;
  max-width: 100%;
  overflow: hidden;
  padding-bottom: 0.06em;
  margin-bottom: -0.02em;
}

.reader-line__inner {
  display: block;
  opacity: 0;
  transform: translate3d(0, 112%, 0) skewY(2deg);
  transition:
    transform 560ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 260ms ease;
  transition-delay: var(--reader-delay, 0ms);
  will-change: transform, opacity;
}

[data-reader-visible="true"] .reader-line__inner {
  opacity: 1;
  transform: translate3d(0, 0, 0) skewY(0);
}

[data-reader-mode="copy"] .reader-line {
  width: fit-content;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 620ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reader-delay, 0ms);
}

[data-reader-mode="copy"][data-reader-visible="true"] .reader-line {
  clip-path: inset(0 0 0 0);
}

[data-reader-mode="copy"] .reader-line__inner {
  opacity: 1;
  transform: translate3d(-22px, 0, 0);
  transition: transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reader-delay, 0ms);
}

[data-reader-mode="copy"][data-reader-visible="true"] .reader-line__inner {
  transform: translate3d(0, 0, 0);
}

[data-reader-mode="body-copy"] .reader-line {
  width: fit-content;
  max-width: 100%;
  overflow: visible;
  clip-path: none;
}

[data-reader-mode="body-copy"] .reader-line__inner {
  position: relative;
  z-index: 1;
  display: block;
  opacity: 1;
  transform: none;
  transition: none;
  will-change: auto;
}

.reader-char {
  display: inline-block;
  opacity: 0;
  transform: translate3d(-0.34em, 0, 0);
  transition:
    opacity 220ms ease,
    transform 340ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--reader-delay, 0ms) + var(--char-delay, 0ms));
  will-change: opacity, transform;
}

[data-reader-mode="body-copy"] .reader-line[data-reader-line-visible="true"] .reader-char {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

[data-reader-mode="body-copy"] .reader-line::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: -0.12em;
  right: -0.16em;
  top: 52%;
  height: 0.72em;
  border-radius: 0.18em 0.26em 0.2em 0.12em;
  background:
    repeating-linear-gradient(
      -7deg,
      rgba(255, 226, 92, 0.22) 0 3px,
      rgba(162, 125, 32, 0.12) 3px 5px,
      rgba(255, 238, 133, 0.2) 5px 8px
    ),
    linear-gradient(100deg, rgba(194, 151, 38, 0.12), rgba(245, 210, 66, 0.54) 42%, rgba(174, 131, 31, 0.32));
  opacity: 0;
  transform: scaleX(0) rotate(-1.2deg);
  transform-origin: left center;
  filter: saturate(1.08);
  pointer-events: none;
}

[data-reader-mode="body-copy"] .reader-line[data-reader-line-visible="true"]::before {
  animation: noteHighlightStroke 860ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reader-line::after {
  content: "";
  position: absolute;
  inset: 9% 0 4%;
  border-radius: 3px;
  background: rgba(47, 120, 255, 0.16);
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
  pointer-events: none;
}

[data-reader-visible="true"] .reader-line::after {
  animation: readerHighlight 520ms cubic-bezier(.65,.05,0,1) forwards;
  animation-delay: calc(var(--reader-delay, 0ms) + 120ms);
}

[data-reader-mode="body-copy"] .reader-line::after {
  display: none;
}

@keyframes noteHighlightStroke {
  0% {
    opacity: 0;
    transform: scaleX(0) rotate(-1.2deg);
  }

  18% {
    opacity: 0.86;
  }

  100% {
    opacity: 0.72;
    transform: scaleX(1) rotate(-1.2deg);
  }
}

@keyframes readerHighlight {
  0% {
    opacity: 0;
    transform: scaleX(0);
  }

  28% {
    opacity: 1;
    transform: scaleX(1);
  }

  100% {
    opacity: 0;
    transform: scaleX(1);
  }
}

.about-sidebar {
  padding: 18px 12px;
  background: rgba(232, 237, 245, 0.62);
  border-right: 1px solid var(--line);
  overflow: auto;
}

.about-sidebar::after {
  display: none;
}

.about-sidebar a {
  position: relative;
  width: 100%;
  display: block;
  margin-bottom: 6px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: rgba(42, 49, 62, 0.74);
  font-weight: 800;
  text-decoration: none;
  text-align: left;
  transition:
    transform 150ms ease,
    color 150ms ease,
    background 150ms ease,
    border-color 150ms ease,
    box-shadow 150ms ease;
}

.about-sidebar a::before {
  display: none;
}

.about-sidebar a::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  opacity: 0;
  transform: translate(-5px, -50%) rotate(45deg);
  transition: opacity 150ms ease, transform 150ms ease;
}

.about-sidebar a:hover,
.about-sidebar a:focus-visible,
.about-sidebar a.is-active {
  color: #10151d;
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 24px rgba(44, 52, 68, 0.1);
  transform: translateX(3px);
  outline: 0;
}

.about-sidebar a:hover::after,
.about-sidebar a:focus-visible::after,
.about-sidebar a.is-active::after {
  opacity: 0.48;
  transform: translate(0, -50%) rotate(45deg);
}

.about-document {
  overflow: auto;
  min-width: 0;
  padding: 28px 32px 54px;
  scroll-behavior: smooth;
}

.about-document__cover,
.about-section,
.about-document blockquote {
  max-width: 760px;
  margin: 0 auto;
}

.about-document__cover {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 78% 0%, rgba(47, 120, 255, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(247, 249, 253, 0.86));
  border: 1px solid rgba(21, 28, 40, 0.1);
  box-shadow: 0 16px 42px rgba(48, 56, 76, 0.08);
}

.about-document__cover p {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-document__cover h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(24px, 3.2vw, 38px);
  line-height: 1.18;
  letter-spacing: 0;
  font-weight: 850;
}

.about-document__cover span {
  max-width: 520px;
  margin-top: 18px;
  color: rgba(46, 53, 66, 0.72);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 700;
}

.about-section {
  padding: 42px 0 0;
}

.about-section h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.02;
  letter-spacing: 0;
}

.about-section p {
  margin: 0 0 17px;
  color: #303744;
  font-size: 17px;
  line-height: 1.88;
  letter-spacing: 0;
}

.about-document blockquote {
  margin-top: 42px;
  padding: 28px 32px;
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 30px rgba(48, 56, 76, 0.06);
}

.about-document blockquote p {
  margin: 0;
  color: #10151d;
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 850;
  line-height: 1.18;
  letter-spacing: 0;
}

.page-title {
  margin-bottom: 24px;
}

.skill-grid,
.small-work-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 14px;
}

.skill-grid article,
.small-work-grid article {
  min-height: 240px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(245, 247, 251, 0.72)),
    radial-gradient(circle at 82% 8%, rgba(47, 120, 255, 0.13), transparent 28%);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.skill-grid article:hover,
.small-work-grid article:hover {
  box-shadow: 0 18px 46px rgba(40, 48, 63, 0.12);
  transform: translateY(-2px);
}

.skill-grid span,
.small-work-grid span {
  display: block;
  margin-bottom: 38px;
  color: var(--blue);
  font-weight: 900;
}

.finder-page {
  display: grid;
  grid-template-columns: 190px 1fr;
  overflow: hidden;
}

.finder-sidebar {
  padding: 20px 12px;
  background: rgba(232, 237, 245, 0.58);
  border-right: 1px solid var(--line);
}

.finder-sidebar button {
  position: relative;
  width: 100%;
  display: block;
  padding: 9px 12px;
  margin-bottom: 6px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: rgba(42, 49, 62, 0.72);
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  transition:
    transform 150ms ease,
    color 150ms ease,
    background 150ms ease,
    border-color 150ms ease,
    box-shadow 150ms ease;
}

.finder-sidebar button:hover,
.finder-sidebar button:focus-visible,
.finder-sidebar .is-active {
  color: #111821;
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 24px rgba(44, 52, 68, 0.1);
  transform: translateX(3px);
  outline: 0;
}

.finder-main {
  min-width: 0;
  padding: 22px;
  overflow: auto;
}

.finder-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.finder-toolbar h1 {
  margin: 0;
  font-size: 34px;
}

.finder-toolbar p {
  margin: 5px 0 0;
  color: var(--muted);
}

.finder-toolbar span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.project-file-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(170px, 1fr));
  gap: 14px;
}

.project-file-grid button {
  min-height: 260px;
  padding: 12px;
  border: 1px solid rgba(22, 28, 38, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  text-align: left;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease, border-color 150ms ease;
}

.project-file-grid button:hover,
.project-file-grid button:focus-visible,
.project-file-grid button.is-previewed {
  outline: 2px solid rgba(47, 120, 255, 0.35);
  box-shadow: 0 18px 42px rgba(40, 48, 63, 0.14);
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(47, 120, 255, 0.24);
}

.project-file-grid img,
.file-stack {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 0.74;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #202735, #dce5f4);
}

.file-stack {
  position: relative;
}

.file-stack::before,
.file-stack::after {
  content: "";
  position: absolute;
  border-radius: 5px;
  background: white;
  box-shadow: 0 9px 18px rgba(40, 48, 63, 0.16);
}

.file-stack::before {
  inset: 24px 35px 34px 22px;
  transform: rotate(-8deg);
}

.file-stack::after {
  inset: 35px 20px 24px 42px;
  transform: rotate(10deg);
}

.project-file-grid strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.project-file-grid span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.project-page {
  background: rgba(246, 248, 250, 0.88);
  min-height: 0;
}

.robot-page,
.coffee-page,
.skills-page {
  display: grid;
  grid-template-columns: 178px 1fr;
  overflow: hidden;
  padding: 0;
}

.project-nav {
  padding: 18px 12px;
  background: rgba(232, 237, 245, 0.62);
  border-right: 1px solid var(--line);
}

.project-nav button {
  position: relative;
  width: 100%;
  display: block;
  margin-bottom: 6px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  text-align: left;
  color: rgba(42, 49, 62, 0.74);
  font-weight: 800;
  transition:
    transform 150ms ease,
    color 150ms ease,
    background 150ms ease,
    border-color 150ms ease,
    box-shadow 150ms ease;
}

.project-nav button::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  opacity: 0;
  transform: translate(-5px, -50%) rotate(45deg);
  transition: opacity 150ms ease, transform 150ms ease;
}

.project-nav button:hover,
.project-nav button:focus-visible,
.project-nav button.is-active {
  color: #10151d;
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 24px rgba(44, 52, 68, 0.1);
  transform: translateX(3px);
  outline: 0;
}

.project-nav button:hover::after,
.project-nav button:focus-visible::after,
.project-nav button.is-active::after {
  opacity: 0.48;
  transform: translate(0, -50%) rotate(45deg);
}

.project-content {
  min-width: 0;
  min-height: 0;
  overflow: auto;
  padding: 24px;
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
  animation: tabPanelIn 150ms cubic-bezier(.2,.8,.2,1);
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 240ms cubic-bezier(.2,.8,.2,1), transform 240ms cubic-bezier(.2,.8,.2,1);
}

.reveal.is-in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes tabPanelIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

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

.project-hero-card {
  min-height: 330px;
  display: flex;
  align-items: end;
  padding: 32px;
  border-radius: 8px;
  overflow: hidden;
  color: white;
  background: #10151d;
}

.project-hero-card h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(54px, 8vw, 110px);
  line-height: 0.85;
  letter-spacing: 0;
  text-transform: uppercase;
}

.project-hero-card h2 {
  max-width: 620px;
  margin: 16px 0 0;
  font-size: clamp(20px, 2.5vw, 34px);
  line-height: 1.15;
  letter-spacing: 0;
}

.robot-hero {
  background:
    linear-gradient(90deg, rgba(12, 14, 20, 0.92), rgba(12, 14, 20, 0.15) 62%),
    url("./assets/legacy/desktop-robot/current/portfolio-page-01.png") center / cover;
}

.coffee-hero {
  background:
    linear-gradient(90deg, rgba(18, 12, 7, 0.92), rgba(18, 12, 7, 0.18) 62%),
    url("./assets/legacy/37-latte/home.png") center / cover;
}

.coffee-hero h2 {
  max-width: 760px;
  font-size: clamp(20px, 2.2vw, 30px);
}

.coffee-hero h2 span {
  white-space: nowrap;
}

.copy-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 18px 0;
}

.media-row,
.media-pair,
.video-grid,
.pdf-grid,
.mini-gallery,
.materials-grid {
  display: grid;
  gap: 14px;
}

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

.media-row img,
.media-pair img,
.pdf-grid img,
.mini-gallery img,
.materials-grid img,
.project-page video,
.gallery-main,
.gallery-strip img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  background: #dfe4ed;
  border: 1px solid rgba(18, 24, 34, 0.12);
}

.window-body img {
  transition: transform 150ms ease, box-shadow 150ms ease, filter 150ms ease;
}

.window-body img:hover {
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 18px 42px rgba(36, 44, 60, 0.18);
  filter: saturate(1.03) contrast(1.02);
}

.media-row img {
  aspect-ratio: 1.35 / 1;
}

.section-head {
  margin-bottom: 18px;
}

.section-head h1 {
  max-width: 820px;
}

.video-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 18px;
}

.project-page video {
  aspect-ratio: 16 / 9;
  background: #111820;
}

.copy-flow {
  display: grid;
  gap: 14px;
  margin-top: 16px;
  max-width: 920px;
}

.media-pair {
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 14px;
}

.media-pair--single {
  grid-template-columns: 1fr;
}

.media-pair--half-single {
  grid-template-columns: minmax(0, calc((100% - 14px) / 2));
}

.media-pair img {
  aspect-ratio: 1.42 / 1;
  object-fit: contain;
  background: white;
}

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

.pdf-grid img,
.materials-grid img {
  aspect-ratio: 1.42 / 1;
  object-fit: contain;
  background: white;
}

.mini-gallery {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 14px;
}

.mini-gallery img {
  aspect-ratio: 1.35 / 1;
}

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

.materials-page {
  padding: 24px;
}

.coffee-page .project-hero-card {
  margin-bottom: 18px;
}

.mini-page {
  display: grid;
  grid-template-columns: 210px 1fr;
  overflow: hidden;
  padding: 0;
}

.small-work-hero {
  min-height: 340px;
  display: flex;
  align-items: end;
  margin-bottom: 18px;
  padding: 30px;
  border-radius: 8px;
  overflow: hidden;
  color: white;
  background: #151922;
  box-shadow: inset 0 -180px 120px rgba(0, 0, 0, 0.38);
}

.small-work-hero p {
  margin: 0 0 12px;
  color: #78a8ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.small-work-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 6.6vw, 86px);
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: uppercase;
}

.small-work-hero h2 {
  max-width: 650px;
  margin: 14px 0 0;
  font-size: clamp(19px, 2.3vw, 30px);
  line-height: 1.16;
  letter-spacing: 0;
}

.small-work-hero--emotion {
  background:
    linear-gradient(90deg, rgba(18, 18, 22, 0.86), rgba(18, 18, 22, 0.1) 70%),
    url("./assets/small-works/emotional-artwall-2.png") center / cover;
}

.small-work-hero--evtol {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.12) 68%),
    url("./assets/small-works/liquid-metal-evtol-1.png") center / cover;
}

.small-work-hero--mclaren {
  background:
    linear-gradient(90deg, rgba(20, 20, 22, 0.78), rgba(20, 20, 22, 0.08) 68%),
    url("./assets/small-works/mclaren-motorbike-1.png") center / cover;
}

.small-work-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 20px;
  align-items: start;
}

.small-work-facts {
  display: grid;
  gap: 8px;
  position: sticky;
  top: 0;
}

.small-work-facts span {
  display: block;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(22, 28, 38, 0.1);
  color: rgba(42, 49, 62, 0.74);
  font-size: 13px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.small-work-facts span:hover {
  box-shadow: 0 12px 28px rgba(40, 48, 63, 0.1);
  transform: translateY(-2px);
}

.small-work-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.small-work-gallery img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(18, 24, 34, 0.12);
  background: #edf1f7;
  object-fit: cover;
  aspect-ratio: 1.45 / 1;
}

.small-work-gallery img.small-work-gallery__contain {
  object-fit: contain;
  background: #f8fafc;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 38px;
  background: rgba(14, 17, 23, 0.52);
  backdrop-filter: blur(16px) saturate(1.08);
  opacity: 0;
  z-index: 4000;
  transition: opacity 150ms ease;
}

.lightbox[hidden] {
  display: none;
}

.lightbox.is-open {
  opacity: 1;
}

.lightbox img {
  max-width: min(1120px, 92vw);
  max-height: 84vh;
  border-radius: 12px;
  object-fit: contain;
  background: white;
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.46);
  transform: scale(0.96);
  transition: transform 150ms cubic-bezier(.2,.8,.2,1);
}

.lightbox.is-open img {
  transform: scale(1);
}

.lightbox__close {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.86);
  color: #171b23;
  font-size: 26px;
  line-height: 1;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.small-work-gallery--wide {
  grid-template-columns: 1fr;
}

.small-work-gallery--wide img {
  aspect-ratio: 1.85 / 1;
}

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

.brain-page {
  display: grid;
  grid-template-columns: 178px 1fr;
  overflow: hidden;
  padding: 0;
  background: rgba(246, 248, 250, 0.88);
}

.brain-hero-card {
  margin-bottom: 18px;
  background:
    linear-gradient(90deg, rgba(22, 17, 36, 0.88), rgba(22, 17, 36, 0.16) 66%),
    url("./assets/brain-office/brain-office-hero.png") center / cover;
}

.brain-app-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.brain-app-gallery--system {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
}

.brain-app-gallery img,
.brain-app-gallery video {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 8px;
  object-fit: cover;
  background: #151922;
  border: 1px solid rgba(18, 24, 34, 0.12);
}

.brain-app-gallery video {
  object-fit: contain;
}

.brain-video-wide video {
  width: min(420px, 100%);
  aspect-ratio: 9 / 16;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  object-fit: contain;
  background: #151922;
  border: 1px solid rgba(18, 24, 34, 0.12);
}

.brain-page .copy-flow h2 {
  margin: 10px 0 -4px;
  color: #171b23;
  font-size: 22px;
  line-height: 1.12;
  letter-spacing: 0;
}

.skills-page .section-head h1 {
  max-width: 880px;
}

.brain-workflow-boards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.brain-workflow-boards img {
  width: 100%;
  aspect-ratio: 1.42 / 1;
  display: block;
  border-radius: 8px;
  object-fit: contain;
  background: #191919;
  border: 1px solid rgba(18, 24, 34, 0.12);
}

.gallery-page {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 12px;
  padding: 16px;
  background: #181c24;
}

.gallery-main {
  height: 100%;
  min-height: 0;
  object-fit: contain;
  background: #0f131a;
  border-color: rgba(255, 255, 255, 0.12);
}

.gallery-strip {
  display: grid;
  gap: 10px;
  align-content: start;
}

.gallery-strip img {
  aspect-ratio: 1 / 0.74;
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease, opacity 120ms ease;
}

.gallery-strip img:hover,
.gallery-strip img.is-active {
  border-color: rgba(47, 120, 255, 0.38);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  transform: translateY(-2px);
}

.gallery-strip img:not(.is-active) {
  opacity: 0.76;
}

.readme-page {
  background: #111820;
  color: #b8f2d0;
  padding: 28px;
}

.readme-page pre {
  margin: 0;
  white-space: pre-wrap;
  font: 15px/1.65 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.contact-page {
  display: grid;
  align-content: center;
  min-height: 100%;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(236, 241, 249, 0.8)),
    url("./assets/macbook/desktop-wallpaper-think-different.jpeg") center / cover;
}

.contact-page a {
  display: inline-flex;
  width: fit-content;
  margin-top: 24px;
  padding: 12px 16px;
  border-radius: 999px;
  text-decoration: none;
  background: #111820;
  color: white;
  font-weight: 800;
}

.contact-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.contact-links span {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  font-weight: 800;
  color: rgba(30, 37, 50, 0.72);
}

@media (max-width: 920px) {
  .menu-bar__left span:not(.kh-mark),
  .menu-bar__right span {
    display: none;
  }

  .desk-icon {
    width: 74px;
  }

  .icon-art {
    width: 48px;
    height: 48px;
  }

  .dock {
    max-width: calc(100vw - 22px);
    overflow-x: auto;
  }

  .dock-item {
    flex: 0 0 auto;
  }

  .window {
    min-width: 0;
    width: calc(100vw - 22px);
    height: calc(100vh - 72px);
    top: 42px;
    left: 11px;
    transform: none;
  }

  .about-page,
  .finder-page,
  .gallery-page,
  .skills-page,
  .brain-page {
    grid-template-columns: 1fr;
  }

  .about-sidebar,
  .finder-sidebar {
    display: flex;
    gap: 6px;
    overflow: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .about-sidebar a,
  .finder-sidebar button {
    width: auto;
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .skill-grid,
  .project-file-grid,
  .materials-grid,
  .mini-gallery,
  .pdf-grid,
  .video-grid,
    .media-row,
    .media-pair,
    .brain-app-gallery,
    .brain-app-gallery--system,
    .small-work-layout,
    .small-work-gallery,
    .copy-columns {
    grid-template-columns: 1fr;
  }

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