@font-face {
  font-family: Studio;
  src: local("Arial");
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #182120;
  --surface: #202c2a;
  --surface-raised: #293632;
  --secondary: #e0e8e2;
  --purple: #d6b4ff;
  --cyan: #8edbec;
  --amber: #f2ce8c;
  --text: #f7f9f4;
  --muted: #c5d2c9;
  --line: #b6d7c530;
  --green: #8bd8ac;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --pad: 6.25vw;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Studio, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 7px;
}
button {
  background: none;
  border: 0;
}
::selection {
  background: #8bd8ac;
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
.mono,
.eyebrow {
  font-family: var(--mono);
}
.green {
  color: var(--green);
}
.muted-word {
  color: var(--muted);
}
.status-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  vertical-align: middle;
  margin-right: 10px;
  box-shadow: 0 0 9px #8bd8ac24;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 600 20px var(--mono);
  letter-spacing: -0.8px;
  white-space: nowrap;
  color: var(--text);
}
.wordmark > span {
  color: var(--green);
  font-weight: 400;
}
.system-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: 100px;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(var(--bg) 45%, color-mix(in srgb, var(--bg) 94%, transparent) 80%, transparent);
}
.system-header nav {
  display: flex;
  gap: 35px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
}
.system-header nav a {
  padding: 12px 0;
  transition: color 0.2s;
}
.system-header nav a:hover {
  color: var(--green);
}
.nav-count {
  font: 10px var(--mono);
  color: var(--muted);
  vertical-align: super;
  margin-left: 4px;
}
.system-header nav a:last-child span {
  margin-left: 9px;
}
.header-status {
  font: 10px var(--mono);
  color: var(--secondary);
}
.ambient-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(color-mix(in srgb, var(--muted) 8%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--muted) 8%, transparent) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(transparent 6%, #000 35%, #000 80%, transparent);
}
.scene {
  position: fixed;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.scene canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s;
}
.scene.is-ready canvas {
  opacity: 1;
}
main {
  position: relative;
  z-index: 1;
}
.chapter {
  position: relative;
  padding: 140px var(--pad);
  scroll-margin-top: 20px;
}
.online {
  min-height: 850px;
  height: 100svh;
  max-height: 1200px;
  padding-top: 145px;
  display: flex;
  flex-direction: column;
}
.hero-meta {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--secondary);
}
.edition {
  margin-right: 2px;
  color: var(--muted);
}
.hero-copy {
  margin-top: auto;
  margin-bottom: auto;
  padding-top: 35px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--secondary);
  margin: 0 0 27px;
  line-height: 1.6;
}
.eyebrow > span {
  color: var(--green);
  margin-right: 9px;
}
h1 {
  font-size: clamp(70px, 8.3vw, 138px);
  line-height: 0.99;
  letter-spacing: -0.075em;
  font-weight: 400;
  margin: 0 0 30px;
}
h1 .muted-word {
  color: var(--muted);
}
.hero-description {
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.1px;
  color: var(--secondary);
  margin: 0;
}
.hero-description > span {
  color: var(--muted);
}
.explore-link {
  margin-top: 35px;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font: 11px var(--mono);
}
.circle-arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #56614f;
  border-radius: 50%;
  color: var(--green);
  font-size: 18px;
  transition:
    background 0.25s,
    transform 0.25s;
}
.explore-link:hover .circle-arrow {
  background: #8bd8ac18;
  transform: translateY(4px);
}
.link-note {
  color: var(--muted);
  font-size: 10px;
  margin-left: 7px;
}
.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  bottom: 87px;
  left: var(--pad);
  right: var(--pad);
  border-top: 1px solid var(--line);
  padding-top: 21px;
  font-size: 10px;
  color: var(--muted);
}
.hero-bottom > span .green {
  margin-right: 10px;
}
.hero-bottom a {
  color: var(--secondary);
}
.hero-bottom a span {
  margin-left: 20px;
}
.scene-navigation {
  position: fixed;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.scene-navigation a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 2px;
  font: 10px var(--mono);
  color: var(--muted);
}
.scene-navigation a > span {
  opacity: 0;
  transition: opacity 0.3s;
}
.scene-navigation i {
  height: 3px;
  width: 3px;
  background: #5c635a;
  border-radius: 50%;
  transition: all 0.3s;
}
.scene-navigation a[aria-current] span,
.scene-navigation a:hover span {
  opacity: 1;
}
.scene-navigation a[aria-current] i {
  background: var(--green);
  height: 5px;
  width: 5px;
  box-shadow: 0 0 0 4px #8bd8ac12;
}
.system-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--pad);
  background: var(--bg);
  border-top: 1px solid var(--line);
  font: 10px var(--mono);
  letter-spacing: 1px;
  color: var(--muted);
}
.footer-right {
  display: flex;
  gap: 28px;
  align-items: center;
}
.footer-right button {
  font-size: 10px;
  letter-spacing: 0;
  color: var(--secondary);
  padding: 4px;
}
.footer-right a {
  font-size: 14px;
}
.system-footer .status-dot {
  width: 4px;
  height: 4px;
}
.chapter-intro h2,
.project-heading h2 {
  font-size: clamp(35px, 4.2vw, 66px);
  line-height: 1.12;
  letter-spacing: -0.055em;
  font-weight: 400;
  margin: 0;
}
.chapter-intro > p:last-child {
  font-size: 14px;
  line-height: 1.8;
  color: var(--secondary);
  margin-top: 27px;
}
.build {
  padding-top: 180px;
  padding-bottom: 180px;
}
.build-workspace {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr;
  gap: 6vw;
  align-items: center;
  margin-top: 65px;
}
.terminal-window {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  box-shadow: 0 30px 90px #0005;
  overflow: hidden;
}
.window-bar,
.browser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  font: 10px var(--mono);
  color: var(--muted);
}
.window-dots {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 3px;
}
.window-bar > span:last-child {
  font-size: 10px;
}
.source-code {
  padding: 25px 15px 28px;
  font: 11px/2.25 var(--mono);
  color: var(--secondary);
  overflow: auto;
}
.source-code > div {
  display: flex;
  white-space: normal;
  transition:
    opacity 0.4s,
    transform 0.4s;
  min-height: 24px;
}
.line-number {
  color: var(--muted);
  width: 35px;
  flex-shrink: 0;
  text-align: center;
  margin-right: 13px;
  font-size: 10px;
}
.code-purple {
  color: var(--secondary);
}
.code-white {
  color: var(--text);
}
.terminal-command {
  padding: 17px 20px;
  font-size: 10px;
  border-top: 1px solid var(--line);
  color: var(--secondary);
  white-space: nowrap;
  overflow: auto;
}
.terminal-command > span:first-child {
  margin-right: 10px;
}
.cursor {
  color: var(--green);
  animation: blink 1.1s step-end infinite;
}
.compile-status {
  display: flex;
  justify-content: space-between;
  padding: 10px 20px;
  background: var(--line);
  font-size: 10px;
  color: var(--secondary);
}
.compile-output {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 10px;
  perspective: 900px;
}
.output-axis {
  position: absolute;
  width: 40%;
  height: 1px;
  left: -35%;
  top: 50%;
  background: linear-gradient(90deg, #8bd8ac33, transparent);
}
.projects {
  padding-top: 160px;
}
.project-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 65px;
}
.project-heading > p {
  font-size: 10px;
  line-height: 2;
  color: var(--secondary);
}
.project-entry {
  width: 91%;
  margin-bottom: 140px;
}
.project-entry:last-child {
  margin-bottom: 0;
  margin-left: auto;
}
.project-directory {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  font-size: 10px;
  color: var(--secondary);
}
.project-directory > span:last-child {
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--muted);
}
.project-viewport {
  display: block;
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
  transition:
    border-color 0.4s,
    transform 0.6s;
  box-shadow: 0 20px 80px #0005;
}
.project-viewport:hover {
  border-color: #8bd8ac77;
  transform: translateY(-5px);
}
.browser-bar {
  background: var(--surface-raised);
  padding: 13px 18px;
  font-size: 10px;
  color: var(--secondary);
}
.project-detail {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 30px;
  align-items: start;
  padding-top: 24px;
}
.project-detail h3 {
  font-size: 19px;
  letter-spacing: -0.5px;
  margin: 0 0 10px;
}
.project-detail p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}
.project-type {
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--muted);
  margin-top: 5px;
}
.text-link {
  font-size: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #738b623d;
  transition: color 0.2s;
}
.text-link:hover {
  color: var(--green);
}
.network {
  min-height: 900px;
  padding-top: 170px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 30px;
}
.contact {
  min-height: 950px;
  padding-top: 160px;
  padding-bottom: 200px;
}
.contact-prompt {
  font-size: 11px;
  line-height: 2;
  color: var(--muted);
  margin: 50px 0 35px;
}
.contact-prompt .green {
  margin-right: 10px;
}
.contact h2 {
  font-size: clamp(46px, 6.5vw, 100px);
  letter-spacing: -0.065em;
  line-height: 1.05;
  font-weight: 400;
  margin: 0 0 45px;
}
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 50px;
  border-bottom: 1px solid #7182647a;
  padding-bottom: 15px;
  font-size: clamp(20px, 3vw, 40px);
  letter-spacing: -1px;
  transition: color 0.3s;
}
.contact-link span {
  color: var(--green);
}
.contact-link:hover {
  color: var(--green);
}
.contact-tools {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
  font-size: 10px;
  color: var(--secondary);
  min-height: 24px;
}
.contact-tools button {
  padding: 5px 0;
}
.contact-tools button span {
  margin-left: 8px;
}
.closing-line {
  position: absolute;
  bottom: 110px;
  left: var(--pad);
  right: var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.closing-line > .mono {
  font-size: 10px;
  color: var(--muted);
}
.closing-line .wordmark {
  font-size: 16px;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  padding: 15px;
  z-index: 60;
  background: var(--green);
  color: var(--muted);
  font-size: 14px;
}
.skip-link:focus {
  top: 12px;
}
.boot {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--bg);
  display: grid;
  place-items: center;
  transition: opacity 0.35s;
  pointer-events: none;
}
.boot-content {
  width: 300px;
}
.boot-content .wordmark {
  font-size: 25px;
}
.boot-content > p {
  font: 10px/2 var(--mono);
  color: var(--muted);
  margin-top: 30px;
}
.boot-track {
  height: 1px;
  background: var(--line);
  margin: 20px 0;
}
.boot-track span {
  display: block;
  height: 100%;
  background: var(--green);
  transform-origin: left;
  animation: boot-progress 1.1s ease-out both;
}
.boot-output {
  font-size: 10px !important;
}
.boot-output span {
  color: var(--green);
}
#skip-boot {
  pointer-events: auto;
  font: 10px var(--mono);
  margin-top: 20px;
  color: var(--secondary);
  min-height: 32px;
}
.boot.is-finished {
  opacity: 0;
}
.motion-enabled [data-reveal] {
  opacity: 1;
  transform: translateY(var(--reveal-offset, 18px));
  transition:
    opacity 0.8s,
    transform 1s cubic-bezier(0.2, 0.65, 0.2, 1);
}
.motion-enabled [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
.motion-enabled .source-code > div {
  opacity: 1;
  transform: none;
}
.motion-enabled .source-code > div.is-compiled {
  opacity: 1;
  transform: none;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
@keyframes boot-progress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
@media (min-width: 1600px) {
  :root {
    --pad: 9vw;
  }
  .hero-copy {
    padding-top: 15px;
  }
  .online {
    min-height: 900px;
  }
  .project-entry {
    max-width: 1200px;
  }
}
@media (max-width: 1000px) {
  :root {
    --pad: 6vw;
  }
  .online {
    min-height: 750px;
  }
  .hero-copy {
    padding-top: 0;
  }
  h1 {
    font-size: 10vw;
  }
  .build-workspace {
    grid-template-columns: 1.4fr 0.7fr;
    gap: 35px;
  }
  .source-code {
    font-size: 10px;
  }
  .project-entry {
    width: 100%;
  }
  .project-detail {
    grid-template-columns: 1fr auto;
  }
  .project-type {
    display: none;
  }
  .network {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 140px;
    padding-bottom: 120px;
  }
  .contact {
    min-height: 830px;
  }
  .closing-line > .mono:nth-child(2) {
    display: none;
  }
  .scene-navigation {
    right: 13px;
  }
  .header-status {
    font-size: 10px;
  }
  .system-header nav {
    gap: 25px;
  }
  .wordmark {
    font-size: 18px;
  }
}
@media (max-width: 640px) {
  :root {
    --pad: 7vw;
  }
  .system-header {
    height: 78px;
  }
  .system-header nav {
    position: static;
    transform: none;
    font-size: 11px;
    gap: 21px;
  }
  .header-status {
    display: none;
  }
  .nav-count {
    display: none;
  }
  .wordmark {
    font-size: 16px;
    gap: 7px;
  }
  .scene-navigation {
    right: 9px;
    gap: 5px;
  }
  .scene-navigation a {
    padding: 8px 2px;
  }
  .scene-navigation a > span {
    display: none;
  }
  .chapter {
    padding: 95px var(--pad);
  }
  .online {
    height: 100svh;
    min-height: 810px;
    max-height: 1000px;
    padding-top: 113px;
    padding-bottom: 135px;
  }
  .hero-meta {
    font-size: 10px;
    letter-spacing: 1px;
  }
  .edition {
    display: none;
  }
  .hero-copy {
    margin-top: 55px;
    margin-bottom: auto;
    position: relative;
    z-index: 2;
  }
  .hero-copy .eyebrow {
    font-size: 10px;
    margin-bottom: 21px;
  }
  h1 {
    font-size: 17vw;
    letter-spacing: -0.07em;
    margin-bottom: 23px;
  }
  .hero-description {
    font-size: 12px;
    line-height: 1.8;
  }
  .explore-link {
    margin-top: 27px;
    font-size: 10px;
    gap: 10px;
  }
  .link-note {
    display: none;
  }
  .circle-arrow {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }
  .hero-bottom {
    bottom: 80px;
    padding-top: 16px;
    font-size: 10px;
    gap: 15px;
  }
  .hero-bottom > span {
    max-width: 180px;
    line-height: 1.7;
  }
  .hero-bottom > span .green {
    margin-right: 4px;
  }
  .hero-bottom a {
    white-space: nowrap;
  }
  .hero-bottom a span {
    margin-left: 8px;
  }
  .system-footer {
    padding: 14px var(--pad);
    font-size: 10px;
    letter-spacing: 0.5px;
  }
  .footer-right {
    gap: 14px;
  }
  .footer-right button {
    font-size: 10px;
    padding: 8px 0;
  }
  .system-footer .status-dot {
    margin-right: 5px;
  }
  .chapter-intro h2,
  .project-heading h2 {
    font-size: 9vw;
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: 1px;
    margin-bottom: 22px;
  }
  .chapter-intro > p:last-child {
    font-size: 12px;
  }
  .build-workspace {
    grid-template-columns: 1fr;
    margin-top: 35px;
    gap: 40px;
  }
  .window-bar {
    font-size: 10px;
    padding: 13px 12px;
  }
  .window-bar > span:last-child {
    display: none;
  }
  .source-code {
    font-size: 10px;
    padding: 20px 7px;
  }
  .line-number {
    width: 18px;
    font-size: 10px;
    margin-right: 7px;
  }
  .terminal-command {
    font-size: 10px;
    padding: 16px 10px;
  }
  .terminal-command > span:first-child {
    margin-right: 5px;
  }
  .compile-output {
    gap: 20px;
  }
  .output-axis {
    display: none;
  }
  .output-label {
    font-size: 10px;
  }
  .project-heading {
    display: block;
    margin-bottom: 30px;
  }
  .project-heading > p {
    font-size: 10px;
    margin-top: 23px;
  }
  .project-entry {
    margin-bottom: 75px;
  }
  .project-directory {
    font-size: 10px;
    gap: 10px;
  }
  .project-directory > span:last-child {
    font-size: 10px;
    letter-spacing: 0.3px;
  }
  .project-directory .status-dot {
    margin-right: 4px;
    width: 3px;
    height: 3px;
  }
  .browser-bar {
    font-size: 10px;
    padding: 11px 13px;
  }
  .project-detail {
    gap: 15px;
    padding-top: 20px;
  }
  .project-detail h3 {
    font-size: 17px;
  }
  .project-detail p {
    font-size: 10px;
    max-width: 190px;
  }
  .text-link {
    font-size: 10px;
    white-space: nowrap;
  }
  .network {
    padding-bottom: 70px;
    min-height: 730px;
  }
  .contact {
    min-height: 780px;
    padding-top: 90px;
    padding-bottom: 210px;
  }
  .contact h2 {
    font-size: 12vw;
  }
  .contact-prompt {
    font-size: 10px;
    margin: 35px 0 26px;
  }
  .contact-link {
    font-size: 6.4vw;
    gap: 22px;
    letter-spacing: -0.5px;
    padding-bottom: 13px;
  }
  .contact-tools {
    font-size: 10px;
    gap: 12px;
  }
  .closing-line {
    bottom: 100px;
    gap: 25px;
    align-items: flex-start;
  }
  .closing-line .wordmark {
    font-size: 13px;
  }
  .closing-line > .mono {
    font-size: 10px;
    line-height: 1.8;
    max-width: 85px;
    text-align: right;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .motion-enabled [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .motion-enabled .source-code > div {
    opacity: 1;
    transform: none;
  }
}
html.motion-paused {
  scroll-behavior: auto;
}
.motion-paused *,
.motion-paused *:before,
.motion-paused *:after {
  animation: none !important;
  transition: none !important;
}
.motion-paused [data-reveal] {
  opacity: 1;
  transform: none;
}
.motion-paused .source-code > div {
  opacity: 1;
  transform: none;
}
