:root {
  --paper: #ecece3;
  --panel: #fbfbf7;
  --ink: #171a18;
  --muted: #6d726e;
  --line: #d7dad4;
  --line-dark: #b8beb8;
  --accent: #236d62;
  --accent-soft: #dceae5;
  --scope: #17201d;
  --scope-line: rgba(198, 224, 215, .16);
  --scope-ink: #e9f0ec;
  --scope-muted: #9fb3ac;
  --rail: 228px;
  --pad: clamp(20px, 2.2vw, 34px);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--paper);
  color: var(--ink);
}

body {
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
}

button,
a {
  font: inherit;
  color: inherit;
}

button {
  border: 0;
}

a {
  text-decoration: none;
}

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

.shell {
  height: 100dvh;
  padding: 14px;
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  gap: 12px;
  overflow: hidden;
}

.rail,
.workspace {
  min-height: 0;
  border: 1px solid var(--line-dark);
  background: var(--panel);
}

.rail {
  display: flex;
  flex-direction: column;
  padding: 20px 16px 16px;
}

.identity {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: start;
}

.monogram {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.monogram img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.identity strong {
  display: block;
  font-size: .93rem;
  line-height: 1.06;
  letter-spacing: -.02em;
}

.identity span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: .67rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.nav-list {
  display: grid;
  gap: 1px;
  margin-top: clamp(44px, 8vh, 84px);
}

.nav-item {
  width: 100%;
  min-height: 44px;
  padding: 0 8px;
  background: transparent;
  cursor: pointer;
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  text-align: left;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .81rem;
}

.nav-item:last-child {
  border-bottom: 1px solid var(--line);
}

.nav-item span {
  font: 600 .61rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #959a95;
}

.nav-item:hover,
.nav-item.is-active {
  color: var(--ink);
  background: #f5f5f0;
}

.nav-item.is-active {
  box-shadow: inset 2px 0 0 var(--accent);
}

.rail-foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 10px;
  color: var(--muted);
}

.signal {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .66rem;
}

.signal i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.shortcut {
  font: .6rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
}

.workspace {
  position: relative;
  display: grid;
  grid-template-rows: 48px minmax(0, 1fr) 36px;
  overflow: hidden;
}

.workspace-head,
.workspace-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 var(--pad);
  color: var(--muted);
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.workspace-head {
  border-bottom: 1px solid var(--line);
}

.workspace-foot {
  border-top: 1px solid var(--line);
}

.terminal-icon {
  width: 15px;
  height: 15px;
  margin-right: 7px;
  object-fit: contain;
  flex: 0 0 auto;
}

.terminal-path {
  display: flex;
  align-items: center;
  gap: 0;
  color: var(--muted);
  font-weight: 600;
  font-size: .9rem;
  font-family: monospace;
  text-transform: none;
  letter-spacing: .015em;
  white-space: nowrap;
}

.terminal-path strong {
  color: var(--ink);
  font-weight: 750;
}

.terminal-path #terminal-route {
  color: #5f6561;
}

.terminal-path b {
  color: #858b86;
  font-weight: 500;
}

.terminal-console {
  position: relative;
  min-width: 300px;
  background-color: var(--paper);
  border: 1px solid var(--line-dark);
  border-radius: 3px;
  padding-left: 5px;
}

.terminal-path {
  cursor: text;
}

.terminal-path input {
  width: 12ch;
  min-width: 2ch;
  padding: 0;
  margin: 0 0 0 .45ch;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  caret-color: var(--accent);
  font: inherit;
  text-transform: none;
  letter-spacing: inherit;
}

.terminal-output {
  position: absolute;
  z-index: 80;
  left: 0;
  top: calc(100% + 18px);
  min-width: 260px;
  max-width: min(620px, 70vw);
  padding: 9px 11px;
  border: 1px solid var(--line-dark);
  background: rgba(251, 251, 247, .98);
  color: var(--muted);
  box-shadow: 0 12px 28px rgba(23, 26, 24, .08);
  font: .62rem/1.55 monospace;
  text-transform: none;
  letter-spacing: .01em;
  white-space: pre-wrap;
}

.head-meta {
  display: flex;
  gap: 24px;
}

#viewport-size {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.view {
  min-height: 0;
  overflow: hidden;
}

.view[hidden] {
  display: none !important;
}

.view.is-active {
  display: block;
}

.kicker {
  margin: 0;
  color: var(--accent);
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 750;
}

.contact-heading .kicker {
  text-transform: none;
}

.contact-heading h2 {
  font-family: monospace;
}

.page-shell,
.work-layout {
  height: 100%;
  min-height: 0;
  padding: 0 var(--pad);
  display: grid;
  grid-template-rows: minmax(260px, 34%) minmax(0, 1fr);
}

.page-heading,
.work-heading {
  align-self: start;
  min-width: 0;
  padding-top: clamp(30px, 4.2vh, 52px);
}

.page-heading h1,
.page-heading h2,
.work-heading h2 {
  margin: 14px 0 0;
  font-size: clamp(2.6rem, 5vw, 5.7rem);
  line-height: .92;
  letter-spacing: -.06em;
  font-weight: 680;
}

.page-heading h1 em,
.page-heading h2 em,
.work-heading h2 em {
  font-style: normal;
  color: var(--accent);
}

.index-simple {
  position: relative;
}

.index-copy {
  max-width: 1050px;
}

.common-body,
.work-body,
.profile-body,
.contact-body {
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(300px, .75fr) minmax(0, 1.25fr) 220px;
  gap: 34px;
  align-items: start;
}

.index-body {
  align-self: start;
}

.index-intro-block {
  grid-column: 1;
  max-width: 500px;
}

.intro {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(.95rem, 1.2vw, 1.08rem);
}

.index-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 30px;
  color: var(--muted);
  font: .63rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.index-specimen {
  grid-column: 2;
  border-left: 1px solid var(--line);
  padding-left: 26px;
}

.specimen-head {
  display: flex;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-dark);
  color: var(--muted);
  font: .62rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
}

.specimen-list>div {
  min-height: 66px;
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  display: grid;
  align-content: center;
}

.specimen-list strong {
  font-size: .92rem;
}

.specimen-list small {
  margin-top: 2px;
  color: var(--muted);
  font-size: .72rem;
}

.work-layout {
  position: relative;
  isolation: isolate;
}

.work-heading {
  max-width: 950px;
}

.work-heading .heading-project[hidden],
.work-heading .heading-default[hidden] {
  display: none;
}

.work-heading .project-technical {
  max-width: 590px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.58;
}

.work-heading .project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  margin-top: 13px;
}

.work-heading .project-tags span {
  color: var(--muted);
  font: .58rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.project-tree {
  position: relative;
  grid-column: 2;
  align-self: start;
  border-top: 1px solid var(--line-dark);
  z-index: 1;
  max-width: 700px;
}

.project-row,
.folder-row {
  width: 100%;
  min-height: 58px;
  background: transparent;
  cursor: pointer;
  padding: 0 8px;
  display: grid;
  grid-template-columns: 38px minmax(150px, .8fr) 1fr 24px;
  gap: 16px;
  align-items: center;
  text-align: left;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.project-row:hover,
.folder-row:hover,
.project-row.is-selected,
.folder-row.is-open {
  background: #f4f5f0;
  color: var(--ink);
}

.project-row.is-selected {
  box-shadow: inset 2px 0 0 var(--accent);
}

.project-row.featured {
  min-height: 70px;
  color: var(--ink);
}

.row-no {
  font: .62rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #9ba09b;
}

.project-row strong,
.folder-row strong {
  font-size: .98rem;
}

.project-row>span:nth-child(3),
.folder-row>span:nth-child(3) {
  font-size: .72rem;
}

.project-row b,
.folder-row b {
  font-weight: 400;
  font-size: 1rem;
}

.folder-row b {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .72rem;
}

.branch-panel {
  position: absolute;
  left: calc(100% + 12px);
  width: min(270px, 34vw);
  padding: 7px;
  border: 1px solid var(--line-dark);
  background: rgba(251, 251, 247, .98);
  box-shadow: 0 14px 28px rgba(23, 26, 24, .08);
  z-index: 12;
}

.branch-panel[hidden] {
  display: none;
}

.branch-panel::before {
  content: "";
  position: absolute;
  right: 100%;
  top: 20px;
  width: 12px;
  height: 1px;
  background: var(--line-dark);
}

.branch-project {
  width: 100%;
  min-height: 48px;
  padding: 0 8px;
  background: transparent;
  cursor: pointer;
  display: grid;
  grid-template-columns: 26px 1fr 20px;
  gap: 9px;
  align-items: center;
  text-align: left;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.branch-project:last-child {
  border-bottom: 0;
}

.branch-project:hover {
  color: var(--ink);
  background: #f4f5f0;
}

.branch-project span:first-child {
  font: .58rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #9ba09b;
}

.branch-project strong {
  font-size: .79rem;
}

.branch-project b {
  font-weight: 400;
}

.work-note {
  grid-column: 3;
  align-self: end;
  border-top: 1px solid var(--line-dark);
  padding-top: 10px;
  color: var(--muted);
  z-index: 1;
}

.work-note span {
  font: .61rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
}

.work-note p {
  font-size: .74rem;
}

.scope-layer {
  position: fixed;
  z-index: 8;
  left: 12.5vw;
  top: 12.5vh;
  pointer-events: none;
  opacity: 0;
  transform: scale(.992);
  width: 75vw;
  height: 75vh;
}

.scope-layer.is-open {
  pointer-events: auto;
  opacity: 1;
  transform: scale(1);
}

.scope-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid #80938c;
  background: var(--scope);
  color: var(--scope-ink);
  box-shadow: 0 28px 70px rgba(10, 15, 13, .22);
}

.scope-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(202, 231, 220, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(202, 231, 220, .06) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .9), rgba(0, 0, 0, .35));
}

.scope-screen::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  pointer-events: none;
  background: rgba(220, 245, 236, .24);
  box-shadow: 0 80px 0 rgba(220, 245, 236, .04), 0 160px 0 rgba(220, 245, 236, .04), 0 240px 0 rgba(220, 245, 236, .04), 0 320px 0 rgba(220, 245, 236, .04);
}

.scope-top {
  position: relative;
  z-index: 3;
  height: 44px;
  padding: 0 11px 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--scope-line);
  color: var(--scope-muted);
  font: .59rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.scope-status {
  display: flex;
  gap: 14px;
  align-items: center;
}

.scope-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #96cfbc;
  box-shadow: 0 0 12px rgba(150, 207, 188, .55);
}

.scope-close {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  cursor: pointer;
  background: transparent;
  color: #c8d5d0;
  border: 1px solid rgba(210, 233, 225, .18);
  font-size: 1.05rem;
}

.scope-close:hover {
  background: rgba(255, 255, 255, .06);
  color: #fff;
}

.scope-body {
  position: relative;
  z-index: 2;
  height: calc(100% - 44px);
}

.project-embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--scope);
}

.project-embed[hidden] {
  display: none;
}

.preview {
  position: absolute;
  inset: 0;
  display: none;
}

.preview.is-active {
  display: block;
}

.preview-caption {
  position: absolute;
  left: 17px;
  bottom: 14px;
  z-index: 4;
  color: var(--scope-muted);
  font: .58rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* PATH */
.route-svg {
  position: absolute;
  inset: 8%;
  width: 84%;
  height: 84%;
  overflow: visible;
}

.route-svg polyline {
  fill: none;
  stroke: #9bd0bf;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.route-svg circle {
  fill: #f5f5ef;
  stroke: #17201d;
  stroke-width: 2;
}

.scope-label {
  position: absolute;
  color: #a6bbb3;
  font: .58rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .08em;
}

.scope-label.a {
  left: 8%;
  bottom: 10%;
}

.scope-label.b {
  left: 50%;
  top: 24%;
}

.scope-label.c {
  right: 8%;
  top: 26%;
}

/* Blobwar */
.blob-board {
  position: absolute;
  width: min(58vh, 520px);
  aspect-ratio: 1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}

.blob-cell {
  border: 1px solid rgba(215, 239, 231, .13);
  background: rgba(255, 255, 255, .025);
  position: relative;
}

.blob-cell::after {
  content: "";
  position: absolute;
  inset: 29%;
  border-radius: 50%;
  background: transparent;
}

.blob-cell.p1::after {
  background: #9bd0bf;
  box-shadow: 0 0 14px rgba(155, 208, 191, .25);
}

.blob-cell.p2::after {
  background: #d8d5bd;
}

/* Compiler */
.pipeline {
  position: absolute;
  inset: 18% 9%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 9px;
  align-items: center;
}

.pipe-node {
  min-height: 78px;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px solid rgba(213, 235, 227, .2);
  background: rgba(255, 255, 255, .025);
  color: #dce9e4;
  font: .66rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.pipe-node.is-hot {
  border-color: #8fc5b3;
  background: rgba(143, 197, 179, .08);
}

/* Shell */
.terminal {
  position: absolute;
  inset: 14% 10%;
  border-left: 1px solid rgba(213, 235, 227, .2);
  padding: 16px 20px;
  color: #c6d7d0;
  font: .72rem/1.8 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.terminal b {
  color: #9bd0bf;
  font-weight: 500;
}

/* Text justification */
.justify-demo {
  position: absolute;
  inset: 15% 10%;
  display: grid;
  align-content: center;
  gap: 9px;
}

.just-line {
  height: 10px;
  border: 1px solid rgba(216, 238, 230, .1);
  background: linear-gradient(90deg, rgba(155, 208, 191, .5), rgba(155, 208, 191, .13));
}

.just-line:nth-child(2) {
  width: 93%;
}

.just-line:nth-child(3) {
  width: 76%;
}

.just-line:nth-child(4) {
  width: 88%;
}

.just-line:nth-child(5) {
  width: 64%;
}

/* Boids */
.boids-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.boid {
  position: absolute;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 18px solid #9bd0bf;
  transform-origin: 50% 65%;
  opacity: .82;
}

/* RPG */
.dice-stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.die {
  width: min(24vh, 180px);
  aspect-ratio: 1;
  border: 1px solid rgba(221, 240, 233, .24);
  display: grid;
  place-items: center;
  transform: rotate(45deg);
  background: rgba(255, 255, 255, .025);
}

.die span {
  transform: rotate(-45deg);
  font: 700 clamp(2rem, 7vh, 4.8rem)/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #dbe8e3;
}

/* Infra */
.network-map {
  position: absolute;
  inset: 10%;
}

.net-node {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9bd0bf;
  box-shadow: 0 0 15px rgba(155, 208, 191, .35);
}

.net-node::after {
  content: attr(data-name);
  position: absolute;
  left: 14px;
  top: -3px;
  white-space: nowrap;
  color: #a6bbb3;
  font: .55rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.net-line {
  position: absolute;
  height: 1px;
  background: rgba(155, 208, 191, .25);
  transform-origin: left center;
}

/* Generic data / GIS */
.data-map {
  position: absolute;
  inset: 7%;
}

.data-region {
  position: absolute;
  border: 1px solid rgba(155, 208, 191, .28);
  background: rgba(155, 208, 191, .04);
  clip-path: polygon(8% 20%, 55% 5%, 92% 30%, 77% 78%, 42% 94%, 4% 70%);
  inset: 9% 10%;
}

.data-point {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d7dfc8;
  box-shadow: 0 0 9px rgba(215, 223, 200, .35);
}

.profile-layout,
.contact-layout {
  position: relative;
}

.view-title,
.contact-heading {
  max-width: 950px;
}

.profile-copy {
  grid-column: 2;
}

.profile-copy>p {
  max-width: 620px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1rem;
}

.profile-table {
  border-top: 1px solid var(--line-dark);
}

.profile-table>div {
  display: grid;
  grid-template-columns: 54px 94px minmax(0, 1fr) 150px;
  column-gap: 18px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.profile-table>.profile-table-head {
  padding: 8px 0 10px;
  color: var(--muted);
  font: .58rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.profile-table span {
  color: var(--muted);
  font: .66rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.profile-table-head span {
  font: inherit;
}

.profile-table strong {
  font-size: .82rem;
}

.profile-aside {
  grid-column: 3;
  align-self: end;
  border-top: 1px solid var(--line-dark);
  padding-top: 11px;
  color: var(--muted);
}

.profile-aside span {
  font: .61rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
}

.profile-aside p {
  font-size: .74rem;
}

.contact-actions {
  grid-column: 2;
  border-top: 1px solid var(--line-dark);
}

.contact-actions a {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  font-size: 1.08rem;
}

.contact-actions a:hover {
  color: var(--accent);
}

.contact-note {
  grid-column: 3;
  align-self: end;
  margin: 0;
  color: var(--muted);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  border-top: 1px solid var(--line-dark);
  padding-top: 11px;
}

.calibration {
  position: absolute;
  width: 8px;
  height: 8px;
  pointer-events: none;
}

.calibration::before,
.calibration::after {
  content: "";
  position: absolute;
  background: #9ba19b;
}

.calibration::before {
  width: 8px;
  height: 1px;
  top: 3px;
  left: 0;
}

.calibration::after {
  width: 1px;
  height: 8px;
  top: 0;
  left: 3px;
}

.top-left {
  left: 7px;
  top: 7px;
}

.top-right {
  right: 7px;
  top: 7px;
}

.bottom-left {
  left: 7px;
  bottom: 7px;
}

.bottom-right {
  right: 7px;
  bottom: 7px;
}

@media (max-width: 1280px) {
  :root {
    --rail: 188px;
  }

  .common-body {
    grid-template-columns: minmax(240px, .65fr) minmax(0, 1.35fr);
  }

  .profile-body,
  .contact-body,
  .work-body {
    grid-template-columns: minmax(80px, .25fr) minmax(0, 1.75fr);
  }

  .work-note,
  .profile-aside,
  .contact-note {
    display: none;
  }

  .scope-layer {
    left: clamp(56px, 5vw, 80px);
    right: 6px;
  }

  .branch-panel {
    position: static;
    width: auto;
    margin-left: 46px;
    padding: 0 0 0 8px;
    border: 0;
    border-left: 1px solid var(--line);
    background: transparent;
    box-shadow: none;
  }

  .branch-panel::before {
    display: none;
  }
}

@media (max-width: 1048px) {
  body {
    background: var(--panel);
  }

  .shell {
    height: auto;
    min-height: 100dvh;
    padding: 0;
    display: block;
    overflow: visible;
  }

  .rail {
    position: sticky;
    top: 0;
    z-index: 20;
    width: 100%;
    min-height: 58px;
    padding: 8px 14px;
    border: 0;
    border-bottom: 1px solid var(--line-dark);
    flex-direction: row;
    align-items: center;
    background: rgba(251, 251, 247, .96);
    backdrop-filter: blur(8px);
  }

  .identity {
    grid-template-columns: 36px 1fr;
    align-items: center;
  }

  .monogram {
    width: 34px;
    height: 34px;
  }

  .identity strong {
    font-size: .77rem;
    line-height: 1;
  }

  .identity span {
    display: none;
  }

  .nav-list {
    margin: 0 0 0 auto;
    display: flex;
    gap: 3px;
  }

  .nav-item {
    width: auto;
    min-height: 34px;
    padding: 0 9px;
    display: block;
    border: 0 !important;
    box-shadow: none !important;
    font-size: .71rem;
  }

  .nav-item span {
    display: none;
  }

  .rail-foot {
    display: none;
  }

  .workspace {
    display: block;
    overflow: visible;
    border: 0;
  }

  .workspace-head {
    min-height: 42px;
    border-bottom: 1px solid var(--line);
  }

  .head-meta span:first-child {
    display: none;
  }

  .workspace-foot {
    min-height: 42px;
    border-top: 1px solid var(--line);
  }

  .view {
    overflow: visible;
    min-height: calc(100dvh - 142px);
  }

  .page-shell,
  .work-layout {
    height: auto;
    min-height: calc(100dvh - 142px);
    display: block;
    padding: 28px 20px 46px;
  }

  .page-heading,
  .work-heading {
    padding-top: 26px;
  }

  .index-body {
    margin-top: 38px;
  }

  .common-body,
  .work-body,
  .profile-body,
  .contact-body {
    display: block;
    margin-top: 38px;
  }

  .index-intro-block {
    max-width: none;
  }

  .index-specimen {
    margin-top: 34px;
    padding-left: 0;
    border-left: 0;
  }

  .project-tree {
    margin-top: 8px;
  }

  .work-body {
    overflow: visible;
  }

  .project-row,
  .folder-row {
    grid-template-columns: 32px 1fr 24px;
    min-height: 70px;
  }

  .project-row>span:nth-child(3),
  .folder-row>span:nth-child(3) {
    display: none;
  }

  .branch-panel {
    margin-left: 40px;
  }

  .scope-layer {
    position: fixed;
    z-index: 40;
    left: 10px;
    right: 10px;
    top: 68px;
    bottom: 10px;
  }

  .scope-screen {
    overflow: auto;
  }

  .work-note {
    display: none;
  }

  .profile-copy {
    margin-top: 0;
  }

  .profile-aside {
    display: block;
    margin-top: 34px;
  }

  .contact-actions {
    margin-top: 0;
  }

  .contact-note {
    display: block;
    margin-top: 40px;
  }

  .calibration {
    display: none;
  }

  .pipeline {
    inset: 12% 8%;
    grid-template-columns: 1fr;
    overflow: auto;
    align-content: center;
  }

  .pipe-node {
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}