@font-face {
  font-family: Barlow;
  src: url(fonts/barlow.woff2);
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Plex;
  src: url(fonts/plex.woff2);
  font-display: swap;
}
:root {
  color-scheme: dark;
  --amber: #ffbd71;
  --phosphor: #f9b15d;
  --muted: #b99a72;
  --line: #6a4d30;
  --ink: #110f0c;
  --paper: #f5eee2;
}
* {
  box-sizing: border-box;
}
html {
  scrollbar-width: none;
  background: #070c0e;
}
html::-webkit-scrollbar {
  display: none;
}
body {
  margin: 0;
  color: var(--paper);
  font:
    16px/1.55 Plex,
    monospace;
}
button,
a {
  font: inherit;
  color: inherit;
}
button {
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}
a {
  text-underline-offset: 5px;
}
:focus-visible {
  outline: 2px solid #ffe2b2;
  outline-offset: 3px;
}
.stage {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: #060a0c;
  isolation: isolate;
}
.travel {
  height: 210vh;
  height: 210svh;
  pointer-events: none;
}
.world {
  width: 1672px;
  height: 941px;
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: 0 0;
  will-change: transform;
}
.room,
#atmosphere {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.grade,
.landing {
  position: absolute;
  inset: 0;
}
.grade {
  pointer-events: none;
  background:
    linear-gradient(
      0deg,
      #04090de0,
      transparent 30%,
      transparent 76%,
      #050b1088
    ),
    linear-gradient(90deg, #050a1080, transparent 59%);
}
.landing {
  padding: 0 5vw;
}
.landing header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 78px;
  border-bottom: 1px solid #ffffff40;
}
.brand {
  font:
    bold 30px/1 Barlow,
    sans-serif;
  letter-spacing: -0.045em;
}
.brand span,
.eyebrow {
  color: var(--amber);
}
.landing nav {
  display: flex;
  gap: 28px;
}
.landing nav a,
.landing footer,
.eyebrow {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.landing nav a:hover,
.enter:hover {
  color: var(--amber);
}
.identity {
  position: absolute;
  left: 5vw;
  top: 50%;
  transform: translateY(-50%);
  max-width: 48vw;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
}
.eyebrow:before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}
h1 {
  font:
    700 clamp(100px, min(13vw, 21vh), 228px) / 0.82 Barlow,
    sans-serif;
  letter-spacing: -0.045em;
  margin: 0.16em 0 0.2em;
}
h1 span {
  display: block;
}
.identity p {
  max-width: 29ch;
  font:
    clamp(17px, 1.45vw, 24px) / 1.45 Arial,
    sans-serif;
  margin: 0;
}
.landing footer {
  position: absolute;
  bottom: 4.5%;
  left: 5vw;
  right: 5vw;
  display: flex;
  align-items: center;
  gap: 18px;
}
.enter {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
kbd {
  background: #f0dfc41a;
  border: 1px solid #b9ae9a8c;
  border-radius: 3px;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 28px;
  color: var(--amber);
  font:
    18px Plex,
    monospace;
}
.scrollhint {
  color: #cac3b9;
  letter-spacing: 0.01em;
  text-transform: none;
}
.domain {
  margin-left: auto;
}
.screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-origin: 0 0;
  overflow: hidden;
  background: var(--ink);
  border-radius: 1.5%;
  opacity: 0;
  will-change: transform, opacity;
}
.screen[inert] {
  pointer-events: none;
}
.screen:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent 0 2px,
    #01000024 3px 4px
  );
  opacity: 0.34;
}
.console {
  height: 100%;
  padding: clamp(10px, 1.6vw, 30px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 0;
  background:
    radial-gradient(ellipse at 68% 27%, #35281c45, transparent 70%), var(--ink);
}
.systembar,
.commandbar {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}
.systembar {
  background: #e8a85e;
  color: #191209;
  min-height: 42px;
  padding: 0 15px;
}
.os {
  font-weight: bold;
  letter-spacing: 0.09em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.glyph {
  font-size: 23px;
  line-height: 1;
}
.host {
  border-left: 1px solid #51331370;
  padding-left: 20px;
}
.systembar time {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}
.systembar button {
  border-left: 1px solid #51331370;
  padding: 5px 0 5px 16px;
}
.systembar button:hover {
  text-decoration: underline;
}
.systembar :focus-visible {
  outline-color: #291a0c;
}
.workspace {
  min-height: 0;
  display: grid;
  grid-template-columns: clamp(180px, 17vw, 270px) minmax(0, 1fr);
  border-inline: 1px solid var(--line);
}
.directory {
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: clamp(16px, 2vw, 38px) 12px 14px;
  min-height: 0;
  overflow: auto;
}
.label,
.meta,
.caption,
.dirfoot,
.path,
.keys,
.treegroup,
.micro {
  color: var(--muted);
  font-size: 13px;
}
.label,
.meta,
.caption,
.micro {
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.label {
  border-bottom: 1px dashed var(--line);
  padding: 0 6px 12px;
}
.treegroup {
  color: #edba7c;
  margin: 23px 4px 5px;
}
.directory a {
  text-align: left;
  color: #d4b48c;
  padding: 8px 6px;
  line-height: 1.45;
  font-size: clamp(13px, 1vw, 16px);
  white-space: nowrap;
}
.directory a span {
  opacity: 0.75;
  margin-right: 5px;
}
.directory a:hover {
  background: #e8a85e19;
}
.directory a[aria-current] {
  background: #e8a85e;
  color: #170f09;
}
.dirfoot {
  margin-top: auto;
  padding: 24px 4px 0;
}
.reader {
  overflow: auto;
  scrollbar-color: var(--line) transparent;
  min-height: 0;
  padding: clamp(14px, 2.5vw, 46px);
}
.path {
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  color: var(--amber);
}
.path > span:first-child {
  color: var(--muted);
}
article {
  padding-top: clamp(18px, 4.4vh, 64px);
}
.meta {
  color: var(--amber);
  margin: 0 0 12px;
}
h2 {
  font:
    700 clamp(46px, 6.5vw, 116px) / 0.95 Barlow,
    sans-serif;
  letter-spacing: -0.026em;
  text-transform: uppercase;
  margin: 0;
  color: #ffca87;
  text-shadow: 0 0 18px #ff8a1f16;
}
.spread {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
  gap: clamp(20px, 3vw, 54px);
  align-items: start;
  margin-top: clamp(22px, 3.8vh, 48px);
}
.prose p {
  color: #e8d6bb;
  max-width: 50ch;
  margin: 0 0 1em;
  font-size: clamp(15px, 1.18vw, 21px);
  line-height: 1.66;
}
.prose a {
  display: inline-block;
  color: #ffbf73;
  margin: 3px 14px 7px 0;
  font-size: 15px;
}
.prose a:hover {
  color: #fff3dc;
}
figure {
  margin: 0;
  min-width: 0;
}
.picture {
  position: relative;
  aspect-ratio: 1.65;
  min-height: 150px;
  overflow: hidden;
  background: #17120e;
  border: 1px solid #85603b;
}
.picture img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: grayscale(1) sepia(0.9) saturate(1.8) contrast(1.12);
  mix-blend-mode: luminosity;
}
.picture {
  background-color: #ab714a;
}
.picture:after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    #06030042 0 1px,
    transparent 1px 3px
  );
  pointer-events: none;
}
.picture.color img {
  filter: none;
  mix-blend-mode: normal;
}
.picture.color:after {
  display: none;
}
figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 9px;
}
.caption {
  letter-spacing: 0.045em;
}
.mode {
  color: var(--amber);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.commandbar {
  min-height: 40px;
  border: 1px solid var(--line);
  padding: 7px 14px;
  justify-content: space-between;
  color: #eacda7;
}
.prompt {
  color: var(--amber);
}
.commandbar i {
  display: inline-block;
  width: 0.62em;
  height: 1.05em;
  vertical-align: -0.15em;
  background: var(--amber);
  margin-left: 4px;
  animation: cursor 1.4s steps(1, end) infinite;
}
@keyframes cursor {
  50% {
    opacity: 0;
  }
}
@media (max-width: 760px), (max-width: 1050px) and (orientation: portrait) {
  .landing header {
    height: 58px;
  }
  .landing nav a,
  .landing footer,
  .eyebrow {
    font-size: 12px;
  }
  .grade {
    background: linear-gradient(
      0deg,
      #070c0e 0%,
      #070c0e 16%,
      #070c0eee 29%,
      transparent 60%,
      #080b0c50
    );
  }
  .identity {
    top: auto;
    bottom: 14%;
    transform: none;
    max-width: 94vw;
  }
  h1 {
    font-size: clamp(74px, 17vw, 122px);
    line-height: 0.89;
  }
  h1 span {
    display: inline;
  }
  .domain {
    display: none;
  }
  .landing footer {
    gap: 12px;
  }
  .console {
    padding: 6px;
  }
  .workspace {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
  }
  .directory {
    flex-direction: row;
    align-items: stretch;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: thin;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 6px;
    gap: 4px;
  }
  .directory .label,
  .directory .treegroup,
  .directory .dirfoot,
  .directory a span {
    display: none;
  }
  .directory a {
    padding: 6px 8px;
    font-size: 13px;
  }
  .reader {
    padding: 18px 13px;
  }
  .spread {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .prose p {
    max-width: unset;
  }
  .systembar {
    min-height: 38px;
    padding: 0 9px;
    gap: 10px;
    font-size: 13px;
  }
  .host {
    display: none;
  }
  .systembar button {
    padding-left: 9px;
  }
  .commandbar {
    font-size: 12px;
  }
  .keys {
    display: none;
  }
  .picture {
    min-height: 110px;
  }
  .domain,
  .scrollhint {
    letter-spacing: 0;
  }
}
@media (max-height: 500px) and (min-width: 761px) {
  .landing header {
    height: 52px;
  }
  h1 {
    font-size: 18vh;
  }
  .identity {
    top: 48%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .commandbar i {
    animation: none;
  }
}
.identity strong {
  font-weight: 500;
  color: #fff5df;
}
.prose strong {
  color: #ffd391;
}
.results {
  margin: clamp(20px, 4vh, 46px) 0 0;
}
.results > div {
  display: grid;
  grid-template-columns: minmax(135px, 0.62fr) 1.6fr;
  gap: clamp(14px, 3vw, 40px);
  padding: 18px 0;
  border-top: 1px dashed var(--line);
}
.results dt {
  color: #ffbf73;
  font-weight: bold;
}
.results dd {
  margin: 0;
  color: #e1cfb6;
  max-width: 76ch;
}
.spread:has(> .prose:only-child) {
  display: block;
}
.prose:only-child p {
  max-width: 69ch;
}
.mode[aria-pressed="true"] {
  color: #fff0da;
}
@media (max-width: 630px) {
  .results > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .results dd {
    font-size: 15px;
  }
}

.tuning {
  position: absolute;
  inset: 0 auto auto 0;
  border-radius: 9%;
  cursor: crosshair;
  touch-action: pan-y;
}
.tuning:focus-visible {
  outline: 1px dashed #ffd193;
  outline-offset: -5px;
}
:root {
  --gutter: clamp(20px, 5vw, 128px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 4px;
}
.brand img {
  object-fit: contain;
}
.brand span {
  color: var(--paper);
}
.landing {
  padding-inline: max(var(--gutter), env(safe-area-inset-left))
    max(var(--gutter), env(safe-area-inset-right));
}
.landing header {
  padding-top: env(safe-area-inset-top);
}
.landing nav a,
.enter,
.directory a {
  text-decoration: none;
}
.landing nav a {
  display: grid;
  align-items: center;
  min-height: 44px;
}
.enter {
  min-height: 48px;
  padding: 0 16px 0 10px;
  border: 1px solid #f3c99385;
  background: #130e0ac7;
  color: #ffe5bf;
  transition:
    background 0.18s,
    border-color 0.18s;
}
.enter kbd {
  color: var(--amber);
  background: transparent;
  border: 0;
  border-right: 1px solid #927954;
  border-radius: 0;
  padding-right: 8px;
  width: 26px;
  height: 24px;
  line-height: 1;
}
.enter:hover {
  background: #302013;
  border-color: var(--amber);
}
.identity {
  max-width: 50vw;
}
.landing footer {
  bottom: max(4%, env(safe-area-inset-bottom));
  left: max(var(--gutter), env(safe-area-inset-left));
  right: max(var(--gutter), env(safe-area-inset-right));
}
.motion {
  width: 44px;
  height: 44px;
  margin-left: auto;
  display: grid;
  place-items: center;
  color: #f0d9b8;
}
.motion span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  font:
    16px/1 Plex,
    monospace;
  border: 1px solid #d4bc9580;
  border-radius: 50%;
}
.motion:hover span {
  border-color: var(--amber);
  color: var(--amber);
}
.os img {
  background: #17130d;
  border-radius: 3px;
  object-fit: cover;
}
.systembar {
  flex-wrap: nowrap;
  min-height: 44px;
}
.systembar button {
  min-height: 44px;
}
.files-toggle {
  display: none;
}
.directory a {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: background-color 0.15s;
}
.directory a[aria-current] {
  box-shadow: inset 3px 0 #ffd99f;
}
.directory a:focus-visible {
  outline-offset: -3px;
}
.directory a[aria-current]:focus-visible {
  outline-color: #372513;
}
.reader {
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  min-width: 0;
}
.console {
  padding: max(clamp(8px, 1.45vw, 30px), env(safe-area-inset-top))
    max(clamp(8px, 1.45vw, 30px), env(safe-area-inset-right))
    max(clamp(8px, 1.45vw, 30px), env(safe-area-inset-bottom))
    max(clamp(8px, 1.45vw, 30px), env(safe-area-inset-left));
}
.prose p,
.results dd {
  font-size: clamp(1rem, 1.12vw, 1.2rem);
}
article {
  max-width: 1500px;
  margin-inline: auto;
}
.path {
  font-size: 14px;
}
.file-marker {
  width: 10px;
  height: 13px;
  border: 1px solid #dcac77;
  box-shadow: inset 0 -3px #66503b;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: clamp(22px, 3.6vh, 46px) 0 0;
  padding: 18px 0;
  border-block: 1px solid var(--line);
}
.metrics > div {
  padding: 0 clamp(8px, 2.2vw, 40px);
  border-left: 1px solid var(--line);
}
.metrics > div:first-child {
  padding-left: 0;
  border: 0;
}
.metrics dt,
.stack h3 {
  color: var(--muted);
  font:
    400 13px/1.5 Plex,
    monospace;
}
.metrics dd {
  color: #ffcf91;
  font:
    700 clamp(32px, 3.7vw, 66px) / 1.12 Barlow,
    sans-serif;
  margin: 3px 0 0;
}
.metrics dd span {
  display: block;
  color: #e0c3a1;
  font:
    400 14px/1.5 Plex,
    monospace;
}
.metrics + .results {
  margin-top: 0;
}
.metrics + .results > div:first-child {
  border-top: 0;
}
.stack {
  margin: 32px 0 16px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.stack h3 {
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.prose a.email {
  display: block;
  width: fit-content;
  max-width: 100%;
  font:
    700 clamp(27px, 4vw, 68px) / 1.2 Barlow,
    sans-serif;
  margin: 1rem 0 1.4rem;
  overflow-wrap: anywhere;
}
.mode {
  min-height: 44px;
  padding: 4px;
  white-space: nowrap;
}
.mode[aria-pressed="true"] {
  text-decoration-style: double;
}
.keys kbd {
  font: inherit;
  display: inline;
  padding: 2px 6px;
  border-radius: 2px;
  color: var(--amber);
}
.reader article.revealing {
  animation: open-file 0.27s ease-out;
}
@keyframes open-file {
  from {
    opacity: 0.56;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 1050px) {
  .directory {
    padding-inline: 8px;
  }
  .spread {
    gap: 20px;
  }
}
@media (max-width: 760px), (max-width: 1050px) and (orientation: portrait) {
  .identity {
    max-width: calc(100% - var(--gutter) * 2);
    left: var(--gutter);
    bottom: max(14.5%, 90px);
  }
  .landing nav {
    gap: 18px;
  }
  .landing footer {
    gap: 12px;
  }
  .motion {
    flex-shrink: 0;
  }
  .enhanced .directory {
    display: none;
  }
  .enhanced .directory.open {
    display: grid;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 10px;
    gap: 4px;
    background: #1d1811;
    border: 1px solid var(--line);
    box-shadow: 0 14px 40px #0009;
    z-index: 3;
  }
  .enhanced .workspace {
    position: relative;
    grid-template-rows: minmax(0, 1fr);
  }
  .files-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  .files-toggle[aria-expanded="true"] span {
    transform: rotate(180deg);
  }
  .directory a {
    font-size: 15px;
    padding: 6px 12px;
  }
  .directory a span {
    display: inline;
    opacity: 0.7;
  }
  .reader {
    padding: 16px clamp(13px, 3vw, 28px) 26px;
    scrollbar-gutter: auto;
  }
  .systembar time {
    margin-left: auto;
  }
  .systembar button {
    padding-inline: 10px;
  }
  .systembar {
    gap: 5px;
  }
  .systembar button span:not(.files-toggle span) {
    display: none;
  }
  .path {
    font-size: 13px;
  }
  .commandbar {
    min-height: 36px;
  }
  .scrollhint {
    font-size: 12px;
  }
  .console {
    padding: max(5px, env(safe-area-inset-top))
      max(5px, env(safe-area-inset-right)) max(5px, env(safe-area-inset-bottom))
      max(5px, env(safe-area-inset-left));
  }
}
@media (max-width: 370px) {
  .scrollhint {
    display: none;
  }
  h1 {
    font-size: clamp(59px, 18vw, 74px);
  }
  .metrics dt {
    font-size: 12px;
  }
  .metrics dd {
    font-size: 29px;
  }
  .metrics dd span {
    font-size: 12px;
  }
}
@media (max-height: 520px) and (orientation: landscape) {
  .identity {
    top: 46%;
    bottom: auto;
    transform: translateY(-50%);
    max-width: 52vw;
  }
  .identity h1 {
    font-size: min(17vh, 11vw);
    line-height: 0.85;
  }
  .identity h1 span {
    display: block;
  }
  .identity p {
    font-size: 16px;
  }
  .landing header {
    height: 46px;
  }
  .landing footer {
    bottom: 2%;
  }
  .landing .eyebrow {
    font-size: 11px;
  }
  .landing .grade {
    background: none;
  }
  .commandbar {
    min-height: 28px;
  }
}
@media (pointer: coarse) {
  .scrollhint {
    font-size: 0;
  }
  .scrollhint:after {
    content: "or swipe up";
    font-size: 12px;
  }
  .keys {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: 0s !important;
    transition-duration: 0s !important;
  }
  .motion {
    display: none;
  }
}
/* Plain, linkable document if browser scripting is unavailable. */
html:not(.enhanced) {
  scrollbar-width: auto;
}
html:not(.enhanced) .stage,
html:not(.enhanced) .landing,
html:not(.enhanced) .identity,
html:not(.enhanced) .screen {
  position: static;
  overflow: visible;
  transform: none;
  opacity: 1;
  height: auto;
}
html:not(.enhanced) .world,
html:not(.enhanced) .travel,
html:not(.enhanced) .grade,
html:not(.enhanced) .motion,
html:not(.enhanced) .scrollhint,
html:not(.enhanced) .systembar,
html:not(.enhanced) .commandbar,
html:not(.enhanced) .path,
html:not(.enhanced) .mode,
html:not(.enhanced) .screen:after {
  display: none;
}
html:not(.enhanced) .landing {
  background: #070d10 url(room.webp) 62% center/cover;
}
html:not(.enhanced) .identity {
  padding-block: 4rem;
  max-width: 80%;
}
html:not(.enhanced) .landing footer {
  display: none;
}
html:not(.enhanced) .console,
html:not(.enhanced) .workspace,
html:not(.enhanced) .reader {
  display: block;
  overflow: visible;
  height: auto;
}
html:not(.enhanced) .directory {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
  border: 0;
}
html:not(.enhanced) .directory :is(.label, .treegroup, .dirfoot) {
  display: none;
}
html:not(.enhanced) article {
  padding-block: 3rem;
  border-top: 1px solid var(--line);
}
.enhanced .reader:focus-visible,
.enhanced h2:focus {
  outline: none;
}
html.enhanced .reader {
  overscroll-behavior-y: contain;
}
html.enhanced:has(.screen:not([inert])) .stage {
  overscroll-behavior: contain;
}
.contact-links {
  display: grid;
  justify-items: start;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.contact-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
}
.contact-avatar {
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 24px;
  background: radial-gradient(ellipse at center, #3e2c17 0%, #15120d 65%);
  border: 1px solid var(--line);
}
.contact-avatar img {
  width: clamp(100px, 13vw, 205px);
  height: auto;
}
.contact-avatar figcaption {
  margin-top: 0;
}
@media (max-width: 760px) {
  .contact-avatar {
    min-height: 150px;
  }
}
/* Nine-slicing the photographed bezel keeps its corners rounded on portrait screens. */
.bezel {
  display: none;
}
.enhanced .screen {
  --lip-x: clamp(18px, 2.5vw, 55px);
  --lip-y: clamp(16px, 3.15vh, 44px);
  --edge-x: calc(var(--bezel-reveal, 0) * var(--lip-x));
  --edge-y: calc(var(--bezel-reveal, 0) * var(--lip-y));
  padding: var(--edge-y) var(--edge-x);
  background: #100d09;
}
.enhanced .bezel {
  display: block;
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-style: solid;
  border-color: transparent;
  border-width: var(--edge-y) var(--edge-x);
  border-image: url(bezel.webp) 82 65 50 87 / var(--edge-y) var(--edge-x)
    stretch;
  opacity: var(--bezel-reveal, 0);
}
.enhanced .console {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--bezel-reveal, 0) * 12px);
  box-shadow: 0 0 5px 3px #100b05;
}
.enhanced .screen:after {
  inset: var(--edge-y) var(--edge-x);
  border-radius: 12px;
  box-shadow:
    inset 0 2px 5px #0009,
    inset 1px 0 5px #0006;
}
.summary {
  margin: 24px 0 16px;
}
.summary p {
  max-width: 72ch;
}
@media (max-width: 760px), (max-width: 1050px) and (orientation: portrait) {
  .enhanced .screen {
    --lip-x: clamp(8px, 1.9vw, 17px);
    --lip-y: clamp(9px, 1.35vh, 18px);
  }
  .enhanced .console {
    border-radius: calc(var(--bezel-reveal, 0) * 8px);
  }
}
@media (max-height: 500px) {
  .enhanced .screen {
    --lip-y: 8px;
  }
}
.enhanced .stage,
.enhanced .screen,
.enhanced .console {
  overflow: clip;
}

/* Brass hardware outside the glass, amber phosphor inside. */
.identity h1 {
  color: #fff3df;
  text-shadow: 0 3px 24px #08080566;
}
.identity h1 span {
  color: #f7d3a1;
}
.landing .enter {
  background: linear-gradient(180deg, #ffe0ac, #ecb16a);
  border-color: #ffe0ab;
  border-radius: 3px;
  box-shadow:
    inset 0 -2px #a87030,
    0 2px 12px #0006;
  color: #281a0a;
  font-weight: bold;
}
.enter kbd {
  color: inherit;
  border-color: #76563880;
}
.landing .enter:hover {
  background: #ffe5be;
}
.landing .enter:active {
  transform: translateY(1px);
}
.scope-channel {
  display: block;
  flex-shrink: 0;
  margin: auto 3px 0;
  padding-top: 26px;
  text-align: left;
}
.scope-face {
  display: block;
  border: 1px solid #6b5135;
  border-radius: 6px;
  overflow: hidden;
  background-color: #211a12;
  background-image:
    linear-gradient(#b4834522 1px, transparent 1px),
    linear-gradient(90deg, #b4834522 1px, transparent 1px);
  background-size: 10% 25%;
  box-shadow: inset 0 0 18px #090705;
}
.scope-channel canvas {
  display: block;
  width: 100%;
  height: auto;
}
.scope-legend {
  display: flex;
  align-items: center;
  gap: 0.7em;
  padding-top: 5px;
  font-size: 11px;
  color: #dbbd98;
}
.scope-id {
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}
.scope-legend > :last-child {
  margin-left: auto;
  font-size: 18px;
  line-height: 1;
}
.scope-channel:hover .scope-face {
  border-color: var(--amber);
}
html:not(.enhanced) .scope-channel {
  display: none;
}
@media (max-width: 760px), (max-width: 1050px) and (orientation: portrait) {
  .scope-channel {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 4px 12px;
    min-height: 44px;
    border-top: 1px solid var(--line);
  }
  .scope-face {
    width: 80px;
  }
  .scope-legend {
    flex: 1;
    padding: 0;
  }
  .enhanced .directory.open {
    max-height: 100%;
    overflow: auto;
  }
}
.commandbar {
  padding-block: 0;
  gap: 8px;
}
#launch {
  display: flex;
  align-items: center;
  gap: 0.45em;
  min-height: 38px;
  flex: 1;
  min-width: 0;
  text-align: left;
}
#command {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#launch i {
  flex: none;
  margin-left: 0;
}
#launch:hover #command {
  color: #fff0d5;
  text-decoration: underline;
  text-underline-offset: 4px;
}
[data-paused] .commandbar i {
  animation: none;
}
.picture::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 7px;
  pointer-events: none;
  background:
    linear-gradient(#ffe1aa, #ffe1aa) left top / 13px 1px,
    linear-gradient(#ffe1aa, #ffe1aa) left top / 1px 9px,
    linear-gradient(#ffe1aa, #ffe1aa) right bottom / 13px 1px,
    linear-gradient(#ffe1aa, #ffe1aa) right bottom / 1px 9px;
  background-repeat: no-repeat;
}
.picture.color::before {
  opacity: 0;
}
.mode {
  display: inline-flex;
  gap: 7px;
  align-items: center;
}
.mode::before {
  content: "";
  height: 6px;
  width: 6px;
  border: 1px solid currentColor;
  border-radius: 50%;
}
.mode[aria-pressed="true"]::before {
  background: #ffd18a;
  box-shadow: 0 0 6px #ffb95ba6;
}
#file-search {
  width: min(31rem, calc(100vw - 28px));
  max-height: min(76dvh, 36rem);
  padding: clamp(15px, 3vw, 26px);
  border: 1px solid #ae8552;
  border-radius: 6px;
  background: #18140f;
  color: var(--paper);
  box-shadow: 0 16px 64px #000a;
}
#file-search::backdrop {
  background: #080807be;
}
#file-search header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#search-title {
  margin: 0;
  font:
    700 34px/1 Barlow,
    sans-serif;
  letter-spacing: -0.015em;
}
.dismiss {
  min-width: 44px;
  min-height: 44px;
  color: var(--muted);
}
.query {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
  padding: 9px 12px;
  border: 1px solid var(--line);
  color: var(--amber);
  background: #0e0d0b;
}
.query:focus-within {
  border-color: var(--amber);
}
.query input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--paper);
  background: transparent;
  font: inherit;
}
.query input::placeholder {
  color: #bda88a;
}
.matches button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  text-align: left;
  border-bottom: 1px solid #6a4d305e;
  padding: 6px;
}
.matches button[hidden] {
  display: none;
}
.matches button:hover,
.matches button:focus-visible {
  background: #332719;
}
.matches small {
  font-size: 11px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.no-matches {
  color: var(--muted);
  font-size: 14px;
}
.find-hint {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-left: auto;
  font-size: 13px;
  color: var(--amber);
}
.find-hint kbd {
  font: inherit;
  width: 21px;
  height: 21px;
}
.terminal-motion {
  align-self: stretch;
  padding-inline: 10px;
  color: var(--amber);
  border-left: 1px solid var(--line);
}
@media (max-width: 480px) {
  .commandbar {
    padding-inline: 7px;
  }
  .find-hint kbd {
    display: none;
  }
  .find-hint {
    font-size: 12px;
  }
  .terminal-motion {
    padding-inline: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .terminal-motion {
    display: none;
  }
}
