@import url("https://fonts.googleapis.com/css2?family=Geist+Mono:wght@400;500;600&family=JetBrains+Mono:wght@300;400;700&family=Roboto+Condensed:wght@500;700;900&family=Share+Tech+Mono&display=swap");

:root {
  --paper: #efefe8;
  --paper-2: #e5e5dc;
  --ink: #141510;
  --muted: #66685f;
  --line: rgba(20, 21, 16, 0.2);
  --accent: #ff5a2a;
  --blue: #4c62ff;
  --acid: #d8ff38;
  --danger: #c82e29;
  --header: 0px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  padding-bottom: 1.75rem;
  background-color: var(--paper);
  background-image: none;
  color: var(--ink);
  font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 15px;
  line-height: 1.65;
}

body::after { display: none; }

::selection {
  background: var(--accent);
  color: var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
}

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

h1,
h2,
p,
ul,
dl,
figure {
  margin: 0;
}

h1 {
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1.2;
}

h2 {
  font-size: 1.25rem;
  font-weight: 400;
}

img {
  display: block;
  max-width: 100%;
}

input,
textarea,
select,
button {
  font: inherit;
  caret-color: var(--accent);
}

.kicker {
  color: var(--muted);
  font-size: 0.8rem;
}

.kicker::before {
  content: "// ";
  color: var(--accent);
}

.cursor {
  display: inline-block;
  width: 0.6ch;
  margin-left: 0.1ch;
  background: var(--accent);
  animation: blink 1.1s steps(1) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.ascii-img {
  filter: grayscale(1) sepia(0.45) hue-rotate(72deg) saturate(1.85) contrast(1.25)
    brightness(0.68);
}

.field {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper-2);
  padding: 0.7rem 0.85rem;
  color: var(--ink);
  outline: none;
  border-radius: 0;
}

.field:focus {
  border-color: var(--accent);
}

.field-label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.field-label::before {
  content: "> ";
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);
  padding: 0.55rem 0.85rem;
  font-size: 0.8rem;
  cursor: pointer;
  border-radius: 0;
}

.btn::before {
  content: "[ ";
}

.btn::after {
  content: " ]";
}

.btn:hover {
  background: var(--accent);
  color: var(--paper);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--accent);
  background: transparent;
  color: var(--accent);
}

.btn-danger {
  border-color: var(--danger);
  color: var(--danger);
}

.btn-danger:hover {
  background: var(--danger);
  color: var(--paper);
}

.site-header {
  border-bottom: 1px solid var(--line);
  padding: 1.25rem 1.25rem;
}

.wordmark {
  display: block;
  color: var(--accent);
}

.wordmark:hover,
.wordmark:hover .prompt {
  color: var(--accent);
}

.banner {
  margin: 0 0 0.7rem;
  font-size: 11px;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: var(--accent);
  text-shadow: 0 0 12px rgba(143, 217, 138, 0.25);
}

.prompt {
  display: block;
  font-size: 1.15rem;
  line-height: 1;
  color: var(--accent);
}

.fp,
.hexline,
.tty-meta {
  margin-top: 0.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.hexline {
  margin: 0.75rem 0 0;
  word-break: break-all;
}

.bio {
  margin-top: 1rem;
  max-width: 16rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}

.site-nav {
  display: flex;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.site-nav a {
  font-size: 0.9rem;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ink);
}

.site-nav a.is-active {
  color: var(--accent);
}

.nav-mark {
  display: inline-block;
  width: 1rem;
  color: var(--accent);
}

.header-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--muted);
}

.header-meta .availability {
  display: none;
}

.page {
  padding: 3rem 1.5rem;
}

.hero {
  border-bottom: 1px solid var(--line);
  padding: 3rem 1.5rem;
}

.lede {
  margin-top: 1.5rem;
  max-width: 36rem;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--muted);
}

.work {
  padding: 2.5rem 1.5rem;
}

.work-grid {
  display: grid;
  gap: 3.5rem;
}

.work-rest {
  display: grid;
  gap: 3rem;
}

.card {
  display: block;
}

.card h2 {
  color: var(--ink);
}

.card:hover h2 {
  color: var(--accent);
}

.card:hover .ascii-img {
  animation: glitch 220ms steps(2) 1;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-top: 1rem;
}

.card-summary,
.card-tags,
.year {
  color: var(--muted);
}

.card-summary {
  margin-top: 0.5rem;
  max-width: 36rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

.card-tags,
.year {
  font-size: 0.75rem;
}

.card-tags {
  margin-top: 0.5rem;
}

.frame {
  border: 1px solid var(--line);
  background: var(--paper-2);
}

.frame-bar {
  display: flex;
  justify-content: space-between;
  padding: 0.25rem 0.75rem;
  font-size: 11px;
  color: var(--muted);
}

.frame-body {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.frame-body::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(8, 11, 9, 0.18),
      rgba(8, 11, 9, 0.18) 1px,
      transparent 1px,
      transparent 3px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 5px,
      rgba(143, 217, 138, 0.07) 5px,
      rgba(143, 217, 138, 0.07) 6px
    );
}

.frame-body img {
  width: 100%;
  object-fit: cover;
}

.frame-body img.featured {
  aspect-ratio: 16 / 9;
  min-height: 280px;
}

.frame-body img.thumb {
  aspect-ratio: 4 / 3;
}

.frame-body img.hero-img {
  max-height: 64vh;
}

.about-grid,
.contact-grid,
.case-grid {
  display: grid;
  gap: 3rem;
  margin-top: 2.5rem;
}

.prose {
  max-width: 42rem;
}

.prose p + p {
  margin-top: 1.25rem;
}

.panel {
  height: fit-content;
  border: 1px solid var(--line);
  background: var(--paper-2);
  padding: 1.25rem;
  font-size: 0.9rem;
  line-height: 1.75;
}

.panel a {
  display: block;
  margin-top: 1rem;
}

.panel .muted {
  margin-top: 1rem;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 1.5rem;
}

.muted {
  color: var(--muted);
}

.form {
  display: grid;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  gap: 1.5rem;
}

.form-row-2 {
  display: grid;
  gap: 1.5rem;
}

.form-row-3 {
  display: grid;
  gap: 1.5rem;
}

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.checks label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.notice {
  border: 1px solid var(--line);
  background: var(--paper-2);
  padding: 2rem 1.5rem;
  color: var(--accent);
}

.flash {
  font-size: 0.9rem;
  color: var(--accent);
}

.meta-block {
  margin-bottom: 1.25rem;
}

.meta-block p {
  margin-top: 0.25rem;
}

.more {
  border-top: 1px solid var(--line);
  padding: 3rem 1.5rem;
}

.more-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.more-list a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 0;
}

.login-wrap {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.login-box {
  width: 100%;
  max-width: 28rem;
  border: 1px solid var(--line);
  background: var(--paper-2);
  padding: 1.5rem;
}

.login-box h1 {
  margin-top: 0.75rem;
  font-size: 1.875rem;
  color: var(--accent);
}

.box-rule {
  font-size: 0.75rem;
  color: var(--muted);
}

.studio {
  min-height: 100vh;
}

.studio-nav {
  border-bottom: 1px solid var(--line);
  padding: 1.25rem 1.5rem;
}

.studio-brand {
  font-size: 1.125rem;
  color: var(--accent);
}

.studio-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.studio-links a {
  font-size: 0.9rem;
  color: var(--muted);
}

.studio-links a.is-active {
  color: var(--accent);
}

.studio-tools {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  font-size: 0.9rem;
}

.studio-tools a,
.studio-tools button {
  background: none;
  border: 0;
  padding: 0;
  color: var(--muted);
  cursor: pointer;
}

.studio-tools a:hover,
.studio-tools button:hover {
  color: var(--accent);
}

.studio-main {
  padding: 2.5rem 1.5rem;
}

.stats {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

.stat {
  border: 1px solid var(--line);
  background: var(--paper-2);
  padding: 1rem 1.25rem;
}

.stat dd {
  margin: 0.5rem 0 0;
  font-size: 1.875rem;
  color: var(--accent);
}

.split {
  display: grid;
  gap: 3rem;
  margin-top: 3.5rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
}

.list {
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}

.list li:last-child {
  border-bottom: 0;
}

.table-wrap {
  overflow-x: auto;
  margin-top: 2.5rem;
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

th {
  padding: 0.75rem 1rem 0.75rem 0;
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

td {
  padding: 1rem 1rem 1rem 0;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.inbox {
  margin-top: 2.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.inquiry {
  display: grid;
  gap: 1rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}

.inquiry:last-child {
  border-bottom: 0;
}

.empty {
  color: var(--muted);
  padding: 2rem 0;
}

.preview {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-2);
}

.preview img {
  width: 100%;
  height: 14rem;
  object-fit: cover;
}

@media (min-width: 768px) {
  .work-rest,
  .form-row-2,
  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .form-row-3 {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  h1 {
    font-size: 3rem;
  }

  .site-header {
    position: fixed;
    inset: 0 auto 0 0;
    display: flex;
    flex-direction: column;
    width: var(--header);
    border-right: 1px solid var(--line);
    border-bottom: 0;
    padding: 2rem 1.5rem;
  }

  .header-top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 1.5rem;
  }

  .header-meta {
    display: block;
    margin-top: auto;
  }

  .header-meta .availability {
    display: block;
  }

  .header-meta a {
    display: inline-block;
    margin-top: 1rem;
  }

  .site-main {
    padding-left: var(--header);
  }

  .hero,
  .page,
  .work,
  .more {
    padding-left: 3.5rem;
    padding-right: 3.5rem;
  }

  .about-grid,
  .case-grid {
    grid-template-columns: minmax(0, 1.4fr) 280px;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr) 240px;
  }

  .studio {
    display: flex;
  }

  .studio-nav {
    width: 16rem;
    border-right: 1px solid var(--line);
    border-bottom: 0;
    padding: 2rem 1.5rem;
  }

  .studio-links {
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 2.5rem;
  }

  .studio-tools {
    margin-top: 4rem;
  }

  .studio-main {
    flex: 1;
    min-width: 0;
    padding: 3rem;
  }

  .stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .split {
    grid-template-columns: 1fr 1fr;
  }

  .inquiry {
    grid-template-columns: 200px minmax(0, 1fr) auto;
  }
}

.hero .decode {
  max-width: 22ch;
}

.pgp pre {
  margin: 0;
  font: inherit;
  font-size: 0.72rem;
  line-height: 1.7;
  color: var(--muted);
  white-space: pre-wrap;
}

.studio-nav .fp {
  margin-top: 0.6rem;
}

.boot {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  background: var(--paper);
}

.boot[hidden] {
  display: none;
}

.boot-log {
  width: min(36rem, calc(100vw - 3rem));
  margin: 0;
  color: var(--accent);
  font: inherit;
  font-size: 0.85rem;
  line-height: 1.8;
  white-space: pre-wrap;
}

.tty-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 70;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  border-top: 1px solid var(--line);
  background: #070907;
  padding: 0.35rem 1rem;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.tty-bar span:first-child {
  color: var(--accent);
}

@keyframes glitch {
  0% {
    transform: translate(0);
    filter: grayscale(1) sepia(0.45) hue-rotate(72deg) saturate(1.85) contrast(1.25)
      brightness(0.68);
  }
  40% {
    transform: translate(1px, -1px);
    filter: grayscale(1) sepia(0.45) hue-rotate(90deg) saturate(2) contrast(1.4)
      brightness(0.8);
  }
  100% {
    transform: translate(0);
    filter: grayscale(1) sepia(0.45) hue-rotate(72deg) saturate(1.85) contrast(1.25)
      brightness(0.68);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cursor,
  .card:hover .ascii-img {
    animation: none;
  }
}

/* YUNDI / MATRIX INDUSTRIAL DROP */

:root,
html[data-theme="dark"],
html[data-theme="light"] {
  --paper: #030504;
  --paper-2: #080c09;
  --ink: #e9e5d8;
  --muted: #77817a;
  --line: rgba(0, 255, 102, 0.24);
  --accent: #00ff66;
  --blue: #00ff66;
  --acid: #e9e5d8;
}

body {
  background:
    radial-gradient(circle at 74% 18%, rgba(0, 255, 102, .06), transparent 25rem),
    #030504;
  color: var(--ink);
}

.crt-overlay {
  position: fixed;
  inset: 0;
  z-index: 95;
  pointer-events: none;
  opacity: .16;
  background:
    repeating-linear-gradient(to bottom, transparent 0 3px, rgba(0,0,0,.36) 3px 4px),
    linear-gradient(90deg, rgba(255,0,0,.018), rgba(0,255,0,.01), rgba(0,0,255,.018));
}

.pointer-aura {
  width: 22rem;
  height: 22rem;
  background: rgba(0, 255, 102, .055);
  filter: blur(28px);
}

.eyebrow,
.coordinate {
  color: var(--accent);
  font: 600 .65rem/1.4 "Geist Mono", monospace;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.coordinate { display: block; margin-bottom: 2rem; color: var(--muted); }

.public-site .site-header {
  min-height: 78px;
  border-color: var(--line);
  background: rgba(3, 5, 4, .9);
}

.wordmark { color: var(--ink); }
.wordmark-glyph {
  position: relative;
  border: 1px solid var(--accent);
  border-radius: 0;
  background: var(--accent);
  color: #030504;
  font-family: "Roboto Condensed", sans-serif;
  box-shadow: 5px 5px 0 transparent;
  transition: box-shadow 140ms ease;
}
.wordmark:hover .wordmark-glyph { box-shadow: 5px 5px 0 var(--ink); }
.wordmark-text {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 900;
  letter-spacing: .02em;
}
.wordmark-text::after { content: ""; }

.public-site .site-nav { gap: 2.8rem; }
.public-site .site-nav a {
  color: var(--muted);
  font: 700 .72rem "Roboto Condensed", sans-serif;
  letter-spacing: .12em;
}
.public-site .site-nav a span::before { content: '"'; }
.public-site .site-nav a span::after { content: '"'; }
.public-site .site-nav a::after { background: var(--accent); }
.public-site .site-nav a:hover,
.public-site .site-nav a.is-active { color: var(--accent); }

.live-cursor {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: var(--muted);
  font: 600 .58rem "Geist Mono", monospace;
  letter-spacing: .1em;
}
.live-cursor i {
  display: block;
  width: .55rem;
  height: .85rem;
  background: var(--accent);
  animation: blink 1s steps(1) infinite;
}
.command-button {
  border-color: var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
}
.command-button:hover { border-color: var(--accent); color: var(--accent); }
.command-button kbd { border-radius: 0; background: var(--accent); color: #030504; }

.matrix-hero {
  grid-template-columns: minmax(0, 1.04fr) minmax(380px, .96fr);
  min-height: calc(100vh - 106px);
  border-color: var(--line);
}

.matrix-hero .hero-copy {
  position: relative;
  padding: clamp(4rem, 7vw, 7.5rem) clamp(2rem, 6vw, 6rem);
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: -1px -1px;
}
.matrix-hero .hero-copy::before,
.matrix-hero .hero-copy::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: var(--accent);
}
.matrix-hero .hero-copy::before { top: 1.25rem; left: 1.25rem; border-top: 1px solid; border-left: 1px solid; }
.matrix-hero .hero-copy::after { right: 1.25rem; bottom: 1.25rem; border-right: 1px solid; border-bottom: 1px solid; }

.matrix-hero h1 {
  margin-top: 1.4rem;
  color: var(--ink);
  font-family: "Roboto Condensed", Impact, sans-serif;
  font-size: clamp(4.7rem, 10vw, 10rem);
  font-weight: 900;
  letter-spacing: -.065em;
  line-height: .75;
  text-transform: uppercase;
}
.matrix-hero h1 span {
  color: var(--accent);
  text-shadow: 0 0 24px rgba(0,255,102,.25);
}
.matrix-hero h1 i {
  color: var(--accent);
  font-family: "Geist Mono", monospace;
  font-style: normal;
  animation: blink 1s steps(1) infinite;
}
.matrix-hero .hero-copy > p {
  max-width: 30rem;
  color: var(--muted);
  font: 400 .9rem/1.7 "Geist Mono", monospace;
}

.shipping-label {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .9rem;
  width: min(27rem, 100%);
  margin-top: 2rem;
  padding: .85rem;
  background: var(--ink);
  color: #030504;
  box-shadow: 7px 7px 0 var(--accent);
  transform: rotate(-1deg);
}
.shipping-label b {
  grid-row: span 2;
  font: 900 1.65rem/.86 "Roboto Condensed", sans-serif;
}
.shipping-label span {
  border: 1px solid #030504;
  padding: .3rem .45rem;
  font: 700 .65rem "Geist Mono", monospace;
  text-align: center;
}
.shipping-label small { font: 500 .55rem/1.5 "Geist Mono", monospace; }

.matrix-hero .pill {
  border-color: var(--accent);
  border-radius: 0;
  color: var(--accent);
}
.matrix-hero .pill-dark { background: var(--accent); color: #030504; }
.matrix-hero .pill:hover { background: var(--ink); color: #030504; box-shadow: 5px 5px 0 var(--accent); }

.matrix-hero .hero-signal {
  position: relative;
  min-height: 620px;
  border-color: var(--line);
  background: #010201;
}
.matrix-hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .72; }
.matrix-hero .signal-core {
  border-color: var(--accent);
  box-shadow: 0 0 0 3rem rgba(0,255,102,.03), 0 0 0 7rem rgba(0,255,102,.02), 0 0 45px rgba(0,255,102,.15);
  color: var(--accent);
  mix-blend-mode: screen;
}
.matrix-hero .signal-core span {
  font-family: "Roboto Condensed", sans-serif;
  text-shadow: 0 0 16px var(--accent);
}
.matrix-hero .signal-core::before,
.matrix-hero .signal-core::after { background: var(--accent); }
.matrix-hero .signal-label {
  border-color: var(--accent);
  border-radius: 0;
  background: #030504;
  color: var(--accent);
}
.matrix-hero .hero-signal > p { color: var(--accent); }

.hazard-divider {
  height: 22px;
  border-top: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
  background: repeating-linear-gradient(135deg, var(--accent) 0 12px, #030504 12px 24px);
}

.terminal-dock {
  display: grid;
  grid-template-columns: 1fr minmax(360px, 1.4fr);
  margin: clamp(3rem, 6vw, 6rem);
  border: 1px solid var(--accent);
  background: #020302;
  box-shadow: 10px 10px 0 rgba(0,255,102,.12);
}
.terminal-head {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--accent);
  padding: .65rem .9rem;
  background: var(--accent);
  color: #030504;
  font: 600 .62rem "Geist Mono", monospace;
  letter-spacing: .1em;
}
.terminal-screen {
  min-height: 160px;
  padding: 1.25rem;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.7;
}
.terminal-screen p + p { margin-top: .2rem; }
.terminal-screen b,
.terminal-screen .terminal-response { color: var(--accent); font-weight: 500; }
.terminal-dock form { display: flex; flex-direction: column; justify-content: space-between; padding: 1.25rem; }
.terminal-dock label { display: flex; align-items: baseline; gap: .7rem; color: var(--accent); font-size: .72rem; }
.terminal-dock input { min-width: 0; flex: 1; border: 0; border-bottom: 1px solid var(--line); outline: 0; background: transparent; padding: .4rem 0; color: var(--ink); }
.terminal-dock button { align-self: end; border: 1px solid var(--line); background: transparent; padding: .55rem .8rem; color: var(--muted); cursor: pointer; font-size: .62rem; }
.terminal-dock button:hover { border-color: var(--accent); color: var(--accent); }

.work {
  background:
    linear-gradient(90deg, transparent calc(100% - 1px), var(--line) 1px);
  background-size: 25% 100%;
}
.section-intro h2,
.logs-page .section-intro h1,
.empty-archive h2 {
  color: var(--ink);
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: .82;
}
.section-intro h2 { font-size: clamp(3.4rem, 7vw, 7rem); }
.section-intro > p { color: var(--muted); font: 500 .65rem/1.7 "Geist Mono", monospace; letter-spacing: .08em; }

.work-grid { gap: 3rem; }
.work-rest { gap: 2rem; }
.case-file {
  position: relative;
  border: 1px solid var(--line);
  background: #050805;
  padding: .65rem;
  transition: border-color 160ms ease, transform 160ms ease;
}
.case-file:hover { border-color: var(--accent); transform: translateY(-3px); }
.case-file:hover h2 { animation: textGlitch 240ms steps(2) 1; }
.file-heading {
  display: flex;
  justify-content: space-between;
  padding: .15rem 0 .75rem;
  color: var(--muted);
  font: 500 .55rem "Geist Mono", monospace;
  letter-spacing: .1em;
}
.file-heading span:first-child { color: var(--accent); }
.card-visual { border: 1px solid var(--line); background: #010201; }
.card.is-featured .card-visual { aspect-ratio: 16 / 7; }
.card-visual img { filter: grayscale(1) contrast(1.3) sepia(.5) hue-rotate(80deg) saturate(3); opacity: .75; }
.generated-visual {
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(90deg, transparent 0 37px, rgba(0,255,102,.12) 38px),
    repeating-linear-gradient(0deg, transparent 0 37px, rgba(0,255,102,.12) 38px),
    #020502;
}
.generated-visual::before {
  content: attr(data-code) "  01011001 01010101 01001110 01000100 01001001  " attr(data-code);
  position: absolute;
  inset: -30% 0;
  color: rgba(0,255,102,.28);
  font: 500 .65rem/1.8 "Geist Mono", monospace;
  letter-spacing: .4em;
  overflow-wrap: anywhere;
  transform: rotate(-9deg) scale(1.2);
}
.generated-visual span {
  position: relative;
  z-index: 1;
  color: var(--accent);
  font-family: "Roboto Condensed", sans-serif;
  text-shadow: 0 0 26px rgba(0,255,102,.55);
}
.target-corner { position: absolute; width: 24px; height: 24px; border-color: var(--accent); }
.target-corner.tl { top: .8rem; left: .8rem; border-top: 1px solid; border-left: 1px solid; }
.target-corner.br { right: .8rem; bottom: .8rem; border-right: 1px solid; border-bottom: 1px solid; }
.case-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: .65rem;
  color: var(--muted);
  font: 500 .58rem "Geist Mono", monospace;
}
.status-tag { background: var(--accent); padding: .25rem .45rem; color: #030504; font-weight: 600; }
.case-file .card-meta { padding: 1.2rem .35rem .7rem; }
.case-file h2 {
  color: var(--ink);
  font-family: "Roboto Condensed", sans-serif;
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -.04em;
  text-transform: uppercase;
}
.case-file .card-summary { color: var(--muted); font: .78rem/1.65 "Geist Mono", monospace; }
.case-spec {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding: .75rem .35rem .2rem;
  color: var(--muted);
  font: 500 .55rem/1.5 "Geist Mono", monospace;
}
.case-spec span { color: var(--accent); }
.case-spec b { color: var(--ink); font-weight: 500; }
.card-arrow { border-radius: 0; background: var(--accent); }

.empty-archive { border-color: var(--line); }
.empty-orbit { border-color: var(--accent); border-radius: 0; color: var(--accent); }
.empty-orbit::before { border-radius: 0; border-color: var(--line); }
.empty-orbit i { border-radius: 0; background: var(--accent); }
.empty-orbit i:nth-child(2) { background: var(--ink); }

.principles { border-color: var(--accent); background: var(--ink); color: #030504; }
.principles .section-intro h2 { color: #030504; }
.principles .eyebrow { color: #17642f; }
.principles ol { border-color: rgba(3,5,4,.25); }
.principles li { border-color: rgba(3,5,4,.25); }
.principles li > span { color: #17642f; }
.principles h3 { font-family: "Roboto Condensed", sans-serif; font-weight: 900; }
.principles li p { color: rgba(3,5,4,.65); font-family: "Geist Mono", monospace; font-size: .72rem; }

.logs-page .section-intro { align-items: end; }
.logs-page .section-intro h1 { font-size: clamp(3.7rem, 8vw, 8rem); }
.log-console { border: 1px solid var(--line); background: #010201; }
.log-console-head {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--accent);
  padding: .65rem 1rem;
  background: var(--accent);
  color: #030504;
  font: 600 .6rem "Geist Mono", monospace;
}
.log-entry {
  display: grid;
  grid-template-columns: minmax(170px, .45fr) minmax(0, 1.4fr) minmax(120px, .4fr);
  gap: 2rem;
  border-bottom: 1px solid var(--line);
  padding: 1.35rem 1rem;
  font-size: .78rem;
}
.log-entry:last-child { border-bottom: 0; }
.log-entry > div { display: flex; gap: 1rem; color: var(--accent); }
.log-entry > div span { color: var(--muted); }
.log-entry p { color: var(--ink); line-height: 1.65; }
.log-tags { color: var(--muted); text-align: right; }
.empty-log { min-height: 320px; display: grid; place-content: center; text-align: center; color: var(--muted); }
.cursor-block { width: .7rem; height: 1rem; margin: 0 auto 1rem; background: var(--accent); animation: blink 1s steps(1) infinite; }
.empty-log small { margin-top: .5rem; color: var(--accent); }

.about-page > h1,
.contact-page > h1,
.case-grid h1,
.not-found h1 {
  color: var(--ink);
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 900;
  text-transform: uppercase;
}
.about-page > h1 em,
.contact-page > h1 em { color: var(--accent); font-family: "Roboto Condensed", sans-serif; font-style: normal; }
.about-page > h1::before { content: '"OPERATOR PROFILE"'; display: block; margin-bottom: 1.5rem; color: var(--accent); font: 600 .65rem "Geist Mono", monospace; letter-spacing: .13em; }
.drop-cap { color: var(--accent); font-family: "Roboto Condensed", sans-serif; }
.profile-card { border-color: var(--accent); background: var(--ink); padding: 1.2rem; color: #030504; transform: rotate(1deg); }
.profile-card .eyebrow { color: #17642f; }
.profile-card hr { border-color: rgba(3,5,4,.3); }
.capability-field article { border-color: var(--line); }
.capability-field h3 { color: var(--ink); font-family: "Roboto Condensed", sans-serif; font-weight: 900; text-transform: uppercase; }
.capability-field b { color: var(--accent); }

.contact-page .field { border-color: var(--line); color: var(--ink); font-family: "Geist Mono", monospace; }
.contact-page .field:focus { border-color: var(--accent); }
.contact-disc { border-radius: 0; background: var(--accent); color: #030504; box-shadow: 9px 9px 0 var(--ink); transform: rotate(3deg); }
.contact-disc span { font-family: "Roboto Condensed", sans-serif; }
.send-button { background: var(--accent); color: #030504; font-family: "Roboto Condensed", sans-serif; letter-spacing: .1em; }
.send-button:hover { background: var(--ink); color: #030504; box-shadow: 7px 7px 0 var(--accent); }
.notice { background: var(--accent); color: #030504; }

.case-hero { border-bottom: 1px solid var(--accent); background: #010201; }
.case-index { color: var(--accent); font-family: "Roboto Condensed", sans-serif; mix-blend-mode: screen; }
.case-grid .eyebrow::before { content: '"'; }
.case-grid .eyebrow::after { content: '"'; }
.case-facts { border-color: var(--accent); }
.case-facts .meta-block { border-color: var(--line); }
.case-facts .pill-dark { border-color: var(--accent); border-radius: 0; background: var(--accent); color: #030504; }

.site-footer { border-color: var(--accent); background: var(--accent); color: #030504; }
.site-footer .eyebrow { color: #17642f; }
.footer-studio { border-radius: 0; border-color: #030504; }
.footer-studio:hover { background: #030504; color: var(--accent); }

.system-bar {
  border-color: var(--line);
  background: rgba(3,5,4,.94);
  color: var(--muted);
}
.system-status { color: var(--accent); }
.system-status i { border-radius: 0; background: var(--accent); box-shadow: 0 0 8px var(--accent); }

.command-menu { border-color: var(--accent); background: #030504; box-shadow: 10px 10px 0 rgba(0,255,102,.2); }
.command-input > span { color: var(--accent); }
.command-results a:hover { background: var(--accent); color: #030504; }
.command-results a:hover span { color: #17642f; }
.command-results kbd { border-radius: 0; }

.boot-sequence {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: #010201;
  color: var(--accent);
}
.boot-sequence[hidden] { display: none; }
.boot-sequence > div { width: min(620px, calc(100vw - 2rem)); }
.boot-sequence pre { min-height: 220px; margin: 0; font: 500 .8rem/1.8 "Geist Mono", monospace; white-space: pre-wrap; text-shadow: 0 0 8px rgba(0,255,102,.5); }
.boot-sequence button { border: 1px solid var(--line); background: transparent; padding: .5rem .7rem; color: var(--muted); cursor: pointer; font: .58rem "Geist Mono", monospace; }
.boot-sequence button:hover { border-color: var(--accent); color: var(--accent); }

.studio {
  --accent: #00ff66;
  --ink: #e9e5d8;
  --muted: #77817a;
  --line: rgba(0,255,102,.24);
  --paper: #030504;
  --paper-2: #080c09;
}
.studio .stats { grid-template-columns: repeat(5, 1fr); }
.studio .stat { border-color: var(--line); }

@keyframes textGlitch {
  0% { transform: translate(0); text-shadow: none; }
  25% { transform: translate(-2px, 1px); text-shadow: 3px 0 var(--accent); }
  55% { transform: translate(2px, -1px); text-shadow: -3px 0 var(--ink); }
  100% { transform: translate(0); text-shadow: none; }
}

@media (max-width: 1050px) {
  .live-cursor { display: none; }
  .public-site .site-nav { gap: 1.4rem; }
  .wordmark-text::after { display: none; }
}

@media (max-width: 900px) {
  .public-site .site-header { background: #030504; }
  .public-site .site-nav { border-color: var(--line); background: rgba(3,5,4,.96); }
  .matrix-hero { grid-template-columns: 1fr; }
  .matrix-hero .hero-signal { min-height: 70vh; border-color: var(--line); }
  .terminal-dock { grid-template-columns: 1fr; margin: 2rem 1rem; }
  .terminal-screen { border-right: 0; border-bottom: 1px solid var(--line); }
  .terminal-dock form { min-height: 130px; }
  .log-entry { grid-template-columns: 1fr; gap: .65rem; }
  .log-tags { text-align: left; }
  .studio .stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .matrix-hero h1 { font-size: clamp(4rem, 22vw, 6rem); }
  .matrix-hero .hero-copy { min-height: 760px; padding: 4rem 1.25rem; background-size: 48px 48px; }
  .shipping-label { width: calc(100% - 8px); }
  .hero-actions .pill { width: 100%; }
  .case-spec { grid-template-columns: auto 1fr; }
  .case-spec b { grid-column: 1 / -1; }
  .card.is-featured .card-visual { aspect-ratio: 4 / 3; }
  .wordmark-text { display: none; }
  .logs-page .section-intro h1 { font-size: 3.5rem; }
}

/* YUNDI 1.0 — public system */

html[data-theme="dark"] {
  --paper: #11120f;
  --paper-2: #1b1c18;
  --ink: #f0f0e7;
  --muted: #999b90;
  --line: rgba(240, 240, 231, 0.2);
  --acid: #d8ff38;
}

body {
  overflow-x: hidden;
  font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  transition: background-color 180ms ease, color 180ms ease;
}

button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.pointer-aura {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--blue) 9%, transparent);
  filter: blur(10px);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 300ms ease;
}

body.has-pointer .pointer-aura { opacity: 1; }

.eyebrow {
  display: block;
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.public-site { min-height: 100vh; padding-bottom: 1.8rem; }

.public-site .site-header {
  position: sticky;
  inset: auto;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 82px;
  width: auto;
  padding: 0 2rem;
  border-right: 0;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(18px);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0.65rem;
  width: fit-content;
  color: var(--ink);
}

.wordmark-glyph {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-family: Arial, sans-serif;
  font-size: 1rem;
  font-weight: 800;
}

.wordmark-text {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.public-site .site-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2.2rem;
  margin: 0;
}

.public-site .site-nav a {
  position: relative;
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.public-site .site-nav a sup {
  position: absolute;
  top: -0.65rem;
  right: -0.8rem;
  color: var(--muted);
  font-size: 0.48rem;
}

.public-site .site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -0.45rem;
  left: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.public-site .site-nav a:hover,
.public-site .site-nav a.is-active { color: var(--ink); }
.public-site .site-nav a:hover::after,
.public-site .site-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.header-tools {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 0.55rem;
}

.icon-button,
.command-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.icon-button { width: 2.35rem; height: 2.35rem; }
.command-button {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.58rem 0.7rem 0.58rem 1rem;
  font-size: 0.67rem;
  text-transform: uppercase;
}

kbd {
  border-radius: 999px;
  background: var(--ink);
  padding: 0.18rem 0.42rem;
  color: var(--paper);
  font: inherit;
}

.public-site .site-main { padding: 0; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  min-height: calc(100vh - 110px);
  padding: 0;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(4rem, 8vw, 8rem) clamp(2rem, 7vw, 7rem);
}

.hero h1,
.about-page > h1,
.contact-page > h1 {
  margin: 1.3rem 0 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(3.8rem, 8.3vw, 9rem);
  font-weight: 800;
  letter-spacing: -0.085em;
  line-height: 0.82;
}

.hero h1 em,
.about-page > h1 em,
.contact-page > h1 em {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.07em;
}

.hero-copy > p {
  max-width: 34rem;
  margin-top: 2.5rem;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.45;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 2.5rem; }
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  min-width: 11rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0.85rem 1rem 0.85rem 1.2rem;
  font-size: 0.74rem;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}
.pill span { font-size: 1rem; }
.pill:hover { background: var(--acid); color: #141510; transform: translateY(-2px); }
.pill-dark { background: var(--ink); color: var(--paper); }

.hero-signal {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-left: 1px solid var(--line);
  background: var(--blue);
  color: #fff;
}

.signal-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.signal-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: min(25vw, 22rem);
  height: min(25vw, 22rem);
  place-items: center;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 50%;
  box-shadow: 0 0 0 3rem rgba(255,255,255,.06), 0 0 0 7rem rgba(255,255,255,.04);
  transform: translate(-50%, -50%);
  animation: orbitPulse 8s ease-in-out infinite;
}

.signal-core::before,
.signal-core::after {
  content: "";
  position: absolute;
  width: 140%;
  height: 1px;
  background: rgba(255,255,255,.55);
}
.signal-core::after { transform: rotate(90deg); }
.signal-core span { font-family: Arial, sans-serif; font-size: clamp(5rem, 12vw, 12rem); font-weight: 800; letter-spacing: -.12em; }
.signal-label { position: absolute; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; padding: .4rem .7rem; font-size: .58rem; letter-spacing: .12em; }
.signal-label-a { top: 20%; left: 12%; }
.signal-label-b { top: 28%; right: 8%; }
.signal-label-c { right: 18%; bottom: 18%; }
.hero-signal > p { position: absolute; bottom: 2rem; left: 2rem; font-size: .62rem; letter-spacing: .12em; }

@keyframes orbitPulse {
  0%, 100% { transform: translate(-50%, -50%) rotate(0deg) scale(1); }
  50% { transform: translate(-50%, -50%) rotate(8deg) scale(1.04); }
}

.ticker {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--acid);
  color: #141510;
}
.ticker > div {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 2rem;
  padding: 0.85rem 0;
  font-family: Arial, sans-serif;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .04em;
  animation: ticker 24s linear infinite;
}
.ticker i { color: var(--blue); font-style: normal; }
@keyframes ticker { to { transform: translateX(-40%); } }

.work,
.principles {
  padding: clamp(4rem, 9vw, 9rem) clamp(1.5rem, 6vw, 6rem);
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(160px, .5fr) 1.5fr .6fr;
  align-items: end;
  gap: 2rem;
  margin-bottom: clamp(3rem, 6vw, 6rem);
}
.section-intro h2,
.empty-archive h2 {
  color: var(--ink);
  font-family: Arial, sans-serif;
  font-size: clamp(2.7rem, 5vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -.075em;
  line-height: .9;
}
.section-intro > p { color: var(--muted); font-size: .76rem; }

.empty-archive {
  display: grid;
  grid-template-columns: .65fr 1.2fr .6fr;
  align-items: center;
  gap: 3rem;
  min-height: 390px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 3rem 0;
}
.empty-archive h2 { font-size: clamp(2.3rem, 4vw, 4.5rem); }
.empty-archive p { max-width: 32rem; margin-top: 1.4rem; color: var(--muted); font-family: Arial, sans-serif; line-height: 1.5; }
.empty-orbit {
  position: relative;
  display: grid;
  width: min(18vw, 13rem);
  height: min(18vw, 13rem);
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.empty-orbit::before { content: ""; position: absolute; inset: 18%; border: 1px solid var(--line); border-radius: 50%; }
.empty-orbit::after { content: ""; position: absolute; width: 130%; height: 1px; background: var(--line); transform: rotate(-30deg); }
.empty-orbit i { position: absolute; width: .65rem; height: .65rem; border-radius: 50%; background: var(--accent); animation: satellite 5s linear infinite; }
.empty-orbit i:nth-child(2) { animation-delay: -2.5s; background: var(--blue); }
.empty-orbit span { font-family: Arial, sans-serif; font-size: 3rem; font-weight: 800; }
@keyframes satellite { from { transform: rotate(0deg) translateX(6.5rem); } to { transform: rotate(360deg) translateX(6.5rem); } }
.text-link { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--ink); padding: .7rem 0; font-size: .76rem; text-transform: uppercase; }
.text-link span { font-size: 1rem; }

.work-grid { gap: 5rem; }
.work-rest { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem 1.5rem; }
.card-visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--paper-2);
}
.card.is-featured .card-visual { aspect-ratio: 16 / 8; }
.card-visual img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) contrast(1.05); transition: transform 500ms cubic-bezier(.2,.7,.2,1), filter 300ms ease; }
.card:hover .card-visual img { transform: scale(1.025); filter: saturate(1); }
.card-arrow { position: absolute; right: 1rem; bottom: 1rem; display: grid; width: 2.8rem; height: 2.8rem; place-items: center; border-radius: 50%; background: var(--acid); color: #141510; opacity: 0; transform: translateY(8px); transition: 180ms ease; }
.card:hover .card-arrow { opacity: 1; transform: translateY(0); }
.generated-visual { display: grid; width: 100%; height: 100%; place-items: center; background: radial-gradient(circle at 50% 50%, var(--accent) 0 12%, transparent 12.5%), repeating-radial-gradient(circle at 50% 50%, transparent 0 26px, color-mix(in srgb, var(--ink) 20%, transparent) 27px 28px), var(--blue); }
.generated-visual span { color: #fff; font-family: Arial, sans-serif; font-size: clamp(7rem, 20vw, 18rem); font-weight: 800; line-height: 1; mix-blend-mode: overlay; }
.card-meta { margin-top: 1.2rem; }
.card h2 { font-family: Arial, sans-serif; font-size: clamp(1.5rem, 2.5vw, 2.3rem); font-weight: 800; letter-spacing: -.055em; }
.card-summary { max-width: 44rem; font-family: Arial, sans-serif; }
.card-tags { text-transform: uppercase; letter-spacing: .08em; }

.principles {
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: var(--paper);
}
.principles .eyebrow, .principles .section-intro > p { color: color-mix(in srgb, var(--paper) 55%, transparent); }
.principles .section-intro h2 { color: var(--paper); }
.principles ol { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none; border-top: 1px solid color-mix(in srgb, var(--paper) 25%, transparent); }
.principles li { display: grid; min-height: 240px; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.5rem 1.5rem 1.5rem 0; border-right: 1px solid color-mix(in srgb, var(--paper) 25%, transparent); }
.principles li + li { padding-left: 1.5rem; }
.principles li:last-child { border-right: 0; }
.principles li > span { color: var(--accent); font-size: .68rem; }
.principles li > div { align-self: end; }
.principles h3 { font-family: Arial, sans-serif; font-size: clamp(1.8rem, 3vw, 3.2rem); letter-spacing: -.06em; }
.principles li p { max-width: 19rem; margin-top: .9rem; color: color-mix(in srgb, var(--paper) 55%, transparent); font-family: Arial, sans-serif; font-size: .9rem; line-height: 1.5; }

.public-site .page { padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 7vw, 7rem); }
.about-page > h1, .contact-page > h1 { max-width: 1100px; margin-top: 2rem; }
.about-grid { grid-template-columns: minmax(0, 1.5fr) minmax(240px, .5fr); gap: 8vw; margin-top: clamp(4rem, 8vw, 8rem); }
.about-grid .prose { max-width: 50rem; font-family: Arial, sans-serif; font-size: clamp(1.25rem, 2vw, 1.8rem); line-height: 1.45; }
.about-grid .prose p:first-of-type { display: inline; }
.drop-cap { float: left; margin: -.12em .15em -.15em 0; color: var(--accent); font-family: Georgia, serif; font-size: 6rem; line-height: 1; }
.profile-card { height: fit-content; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 1.5rem 0; }
.profile-card p, .profile-card a { display: block; margin-top: .8rem; font-family: Arial, sans-serif; font-size: 1rem; line-height: 1.45; }
.profile-card hr { margin: 1.5rem 0; border: 0; border-top: 1px solid var(--line); }
.capability-field { margin-top: clamp(6rem, 12vw, 12rem); }
.capability-field > div { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 1.5rem; border-top: 1px solid var(--line); }
.capability-field article { min-height: 260px; padding: 1.4rem; border-right: 1px solid var(--line); }
.capability-field article:first-child { padding-left: 0; }
.capability-field article:last-child { border: 0; }
.capability-field b { color: var(--accent); font-size: .65rem; }
.capability-field h3 { margin-top: 5rem; font-family: Arial, sans-serif; font-size: 1.8rem; letter-spacing: -.05em; }
.capability-field p { margin-top: .8rem; color: var(--muted); font-family: Arial, sans-serif; font-size: .88rem; line-height: 1.45; }

.contact-page .lede { max-width: 38rem; font-family: Arial, sans-serif; font-size: 1.1rem; }
.contact-grid { grid-template-columns: minmax(0, 1fr) minmax(280px, .6fr); gap: 10vw; margin-top: 5rem; }
.contact-page .form { gap: 1.8rem; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.contact-page label { position: relative; }
.contact-page .field-label { margin-bottom: .7rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.contact-page .field-label::before { display: none; }
.contact-page .field { border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: .8rem 0; border-radius: 0; color: var(--ink); font-family: Arial, sans-serif; font-size: 1.1rem; }
.contact-page .field:focus { border-color: var(--blue); }
.send-button { justify-content: space-between; width: 100%; margin-top: 1rem; border: 0; border-radius: 0; background: var(--ink); padding: 1.1rem 1.2rem; color: var(--paper); text-transform: uppercase; }
.send-button::before, .send-button::after { display: none; }
.send-button:hover { background: var(--blue); color: #fff; }
.contact-aside { padding-top: 1rem; }
.contact-disc { display: grid; width: min(26vw, 20rem); aspect-ratio: 1; place-items: center; margin-bottom: 2rem; border-radius: 50%; background: var(--acid); color: #141510; box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); }
.contact-disc span { font-family: Arial, sans-serif; font-size: clamp(5rem, 10vw, 10rem); font-weight: 800; letter-spacing: -.1em; }
.contact-aside a { display: block; margin-top: .8rem; font-family: Arial, sans-serif; }
.notice { border: 0; background: var(--acid); padding: 3rem; color: #141510; }
.notice span { font-size: 2rem; }
.notice h2 { margin-top: 2rem; font-family: Arial, sans-serif; font-size: 2.4rem; font-weight: 800; letter-spacing: -.05em; }
.notice p { margin-top: .7rem; }

.case-hero { position: relative; height: min(72vh, 900px); overflow: hidden; background: var(--blue); }
.case-hero > img { width: 100%; height: 100%; object-fit: cover; }
.case-index { position: absolute; right: 1.5rem; bottom: 1rem; color: #fff; font-family: Arial, sans-serif; font-size: clamp(4rem, 12vw, 12rem); font-weight: 800; letter-spacing: -.1em; line-height: 1; mix-blend-mode: difference; }
.case-generated { height: 100%; }
.case-grid { grid-template-columns: minmax(0, 1.4fr) minmax(250px, .45fr); gap: 10vw; }
.case-grid h1 { margin-top: 1.2rem; font-family: Arial, sans-serif; font-size: clamp(4rem, 9vw, 9rem); font-weight: 800; letter-spacing: -.085em; line-height: .85; }
.case-grid .lede { max-width: 42rem; font-family: Arial, sans-serif; font-size: 1.25rem; }
.case-prose { max-width: 48rem; margin-top: 4rem; font-family: Arial, sans-serif; font-size: 1.05rem; line-height: 1.65; }
.case-facts { height: fit-content; border-top: 1px solid var(--ink); }
.case-facts .meta-block { margin: 0; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.case-facts .meta-block p { margin-top: .6rem; font-family: Arial, sans-serif; }
.case-facts .pill { margin-top: 1.5rem; }
.more { padding: 5rem 7vw; }

.not-found { text-align: center; }
.not-found strong { display: block; margin: 2rem 0; font-family: Arial, sans-serif; font-size: clamp(9rem, 34vw, 32rem); letter-spacing: -.12em; line-height: .8; }
.not-found strong span { color: var(--accent); }
.not-found h1 { margin-bottom: 2rem; font-family: Arial, sans-serif; }

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr auto;
  gap: 3rem;
  min-height: 280px;
  padding: 4rem clamp(1.5rem, 6vw, 6rem);
  border-top: 1px solid var(--line);
  background: var(--accent);
  color: #141510;
}
.site-footer .eyebrow { color: rgba(20,21,16,.6); }
.site-footer p, .site-footer a { margin-top: .9rem; font-family: Arial, sans-serif; font-size: .95rem; line-height: 1.45; }
.site-footer .social-link { display: block; margin-top: .35rem; font-size: .76rem; }
.footer-studio { display: grid; width: 4rem; height: 4rem; place-items: center; align-self: end; border: 1px solid #141510; border-radius: 50%; font-size: 1.4rem !important; transition: 180ms ease; }
.footer-studio:hover { background: #141510; color: var(--accent); transform: rotate(45deg); }

.system-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 70;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 1rem;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  padding: .42rem 1rem;
  color: var(--muted);
  font-size: .58rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}
.system-status { color: var(--ink); }
.system-status i { display: inline-block; width: .45rem; height: .45rem; margin-right: .4rem; border-radius: 50%; background: #30ba63; box-shadow: 0 0 0 3px rgba(48,186,99,.12); }
.system-clock { text-align: right; }

.command-layer { position: fixed; inset: 0; z-index: 100; }
.command-scrim { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(10,10,8,.6); cursor: default; backdrop-filter: blur(8px); }
.command-menu { position: relative; width: min(620px, calc(100vw - 2rem)); margin: 15vh auto 0; border: 1px solid rgba(255,255,255,.15); background: #151611; padding: .75rem; color: #f0f0e7; box-shadow: 0 30px 90px rgba(0,0,0,.35); }
.command-input { display: flex; align-items: center; gap: .8rem; border-bottom: 1px solid rgba(255,255,255,.15); padding: .7rem .8rem 1rem; }
.command-input > span { color: var(--acid); }
.command-input input { flex: 1; border: 0; outline: 0; background: transparent; color: #f0f0e7; font-family: Arial, sans-serif; font-size: 1.15rem; }
.command-results { display: grid; padding: .6rem 0; }
.command-results a { display: grid; grid-template-columns: 2.5rem 1fr auto; align-items: center; padding: .7rem .8rem; color: #b4b5ac; font-family: Arial, sans-serif; }
.command-results a:hover, .command-results a.is-match { background: #252720; color: #fff; }
.command-results a span { color: #686a60; font: .6rem "Geist Mono", monospace; }
.command-results kbd { background: #33352d; color: #aaa; font: .58rem "Geist Mono", monospace; }
.command-menu > p { border-top: 1px solid rgba(255,255,255,.15); padding: .75rem .8rem 0; color: #686a60; font-size: .6rem; }

/* Studio retains a focused dark console */
.studio, .login-wrap {
  --paper: #0d0f0c;
  --paper-2: #151914;
  --ink: #dce7d7;
  --muted: #82907e;
  --line: #2a3629;
  --accent: #a9f29f;
  background: var(--paper);
  color: var(--ink);
}
.studio .btn, .login-wrap .btn { border-radius: 0; }
.studio .field, .login-wrap .field { background: var(--paper-2); }

@media (max-width: 900px) {
  .public-site .site-header { grid-template-columns: 1fr auto; min-height: 70px; padding: 0 1rem; background: var(--paper); backdrop-filter: none; }
  .public-site .site-nav { position: fixed; right: 0; bottom: 1.65rem; left: 0; z-index: 60; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); background: color-mix(in srgb, var(--paper) 94%, transparent); padding: .7rem 1rem; backdrop-filter: blur(14px); }
  .public-site .site-nav a { text-align: center; }
  .public-site .site-nav a sup, .public-site .site-nav a::after { display: none; }
  .command-button span { display: none; }
  .command-button { padding: .55rem; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 70vh; padding: 5rem 1.5rem; }
  .hero-signal { min-height: 66vh; border-top: 1px solid var(--line); border-left: 0; }
  .signal-core { width: 55vw; height: 55vw; }
  .section-intro { grid-template-columns: 1fr; align-items: start; }
  .empty-archive { grid-template-columns: 1fr; }
  .empty-orbit { width: 11rem; height: 11rem; }
  @keyframes satellite { from { transform: rotate(0deg) translateX(5.5rem); } to { transform: rotate(360deg) translateX(5.5rem); } }
  .principles ol { grid-template-columns: 1fr; }
  .principles li, .principles li + li { min-height: 180px; padding: 1.5rem 0; border-right: 0; border-bottom: 1px solid color-mix(in srgb, var(--paper) 25%, transparent); }
  .about-grid, .contact-grid, .case-grid { grid-template-columns: 1fr; }
  .capability-field > div { grid-template-columns: 1fr 1fr; }
  .capability-field article:nth-child(2) { border-right: 0; }
  .contact-aside { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 1rem; }
  .contact-disc { grid-row: span 2; width: 10rem; }
  .site-footer { grid-template-columns: 1fr 1fr; padding-bottom: 6rem; }
  .footer-studio { align-self: start; }
  .case-hero { height: 55vh; }
}

@media (max-width: 600px) {
  .wordmark-text { display: none; }
  .hero h1, .about-page > h1, .contact-page > h1 { font-size: clamp(3.3rem, 17vw, 5.5rem); }
  .work, .principles { padding-right: 1rem; padding-left: 1rem; }
  .work-rest { grid-template-columns: 1fr; }
  .card.is-featured .card-visual { aspect-ratio: 4 / 3; }
  .empty-archive { gap: 2rem; }
  .capability-field > div { grid-template-columns: 1fr; }
  .capability-field article, .capability-field article:first-child { min-height: 190px; padding: 1.2rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .capability-field h3 { margin-top: 3rem; }
  .contact-aside { display: block; }
  .contact-disc { width: 11rem; }
  .site-footer { grid-template-columns: 1fr; min-height: auto; }
  .system-bar { grid-template-columns: 1fr auto; }
  .system-bar > span:nth-child(2), .system-hash { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .pointer-aura { display: none; }
}

/* Final cascade locks for the industrial system. */
.public-site .command-button { border-color: var(--line); border-radius: 0; background: transparent; color: var(--ink); }
.public-site .command-button kbd { border-radius: 0; background: var(--accent); color: #030504; }
.public-site .generated-visual {
  background:
    repeating-linear-gradient(90deg, transparent 0 37px, rgba(0,255,102,.12) 38px),
    repeating-linear-gradient(0deg, transparent 0 37px, rgba(0,255,102,.12) 38px),
    #020502;
}
.public-site .generated-visual span { color: var(--accent); font-family: "Roboto Condensed", sans-serif; mix-blend-mode: normal; }
.public-site .card-arrow { border-radius: 0; background: var(--accent); color: #030504; }
.public-site .section-intro h2,
.public-site .logs-page .section-intro h1,
.public-site .case-grid h1,
.public-site .about-page > h1,
.public-site .contact-page > h1 {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 900;
}
.public-site .case-hero { border-bottom-color: var(--accent); background: #010201; }
.public-site .case-index {
  border: 1px solid var(--accent);
  background: #030504;
  padding: .2rem .5rem;
  color: var(--accent);
  font-family: "Roboto Condensed", sans-serif;
  mix-blend-mode: normal;
}
.public-site .contact-disc { border-radius: 0; background: var(--accent); color: #030504; box-shadow: 9px 9px 0 var(--ink); }
.public-site .contact-disc span,
.public-site .principles h3,
.public-site .capability-field h3 { font-family: "Roboto Condensed", sans-serif; font-weight: 900; }
.public-site .profile-card { border-color: var(--accent); background: var(--ink); padding: 1.2rem; color: #030504; transform: rotate(1deg); }
.public-site .footer-studio { border-radius: 0; }
.public-site .terminal-screen { max-height: 220px; overflow-y: auto; }
.studio {
  --paper: #030504;
  --paper-2: #080c09;
  --ink: #e9e5d8;
  --muted: #77817a;
  --line: rgba(0,255,102,.24);
  --accent: #00ff66;
}

@media (max-width: 900px) {
  .public-site .site-nav { grid-template-columns: repeat(4, 1fr); border-color: var(--line); background: rgba(3,5,4,.96); }
}

.scoreboard {
  position: sticky;
  top: 78px;
  z-index: 34;
}
.score-ticker {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  height: 46px;
  overflow: hidden;
  border-bottom: 1px solid var(--accent);
  background: rgba(3, 5, 4, .96);
  color: var(--ink);
  backdrop-filter: blur(14px);
}
.score-label {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .65rem;
  min-width: 145px;
  padding: 0 .9rem;
  background: var(--ink);
  color: #030504;
  box-shadow: 6px 0 0 var(--accent);
}
.score-label b {
  font: 900 1rem "Roboto Condensed", sans-serif;
  letter-spacing: .04em;
}
.score-label span,
.score-updated {
  font: 600 .52rem "Geist Mono", monospace;
  letter-spacing: .1em;
}
.score-viewport {
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 2rem, black calc(100% - 2rem), transparent);
}
.score-track {
  display: flex;
  width: max-content;
  height: 100%;
  align-items: center;
  animation: scoreWire var(--score-duration, 90s) linear infinite;
}
.score-viewport:hover .score-track { animation-play-state: paused; }
.score-game {
  display: flex;
  height: 100%;
  align-items: center;
  gap: .65rem;
  border-right: 1px solid var(--line);
  padding: 0 1.25rem;
  white-space: nowrap;
  font: 500 .66rem "Geist Mono", monospace;
}
.score-game > span { display: flex; align-items: baseline; gap: .4rem; }
.score-game b { color: var(--ink); font-weight: 600; }
.score-game strong { color: var(--accent); font-size: .78rem; font-weight: 600; }
.score-game i { color: var(--muted); font-size: .55rem; font-style: normal; }
.score-game small {
  border: 1px solid var(--line);
  padding: .18rem .35rem;
  color: var(--muted);
  font: 500 .5rem "Geist Mono", monospace;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.score-game.is-in small {
  border-color: var(--accent);
  background: var(--accent);
  color: #030504;
}
.score-game.is-in::before {
  content: "";
  width: .4rem;
  height: .4rem;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: blink 1s steps(1) infinite;
}
.score-updated {
  position: relative;
  z-index: 2;
  display: grid;
  min-width: 105px;
  place-items: center;
  border-left: 1px solid var(--line);
  background: #030504;
  color: var(--muted);
}
.score-loading {
  display: flex;
  height: 100%;
  align-items: center;
  padding: 0 2rem;
  color: var(--muted);
  font: 500 .58rem "Geist Mono", monospace;
  letter-spacing: .08em;
}
@keyframes scoreWire {
  to { transform: translateX(-50%); }
}

@media (max-width: 900px) {
  .scoreboard { top: 70px; }
  .score-ticker { grid-template-columns: auto minmax(0, 1fr); }
  .score-label { min-width: 54px; padding: 0 .7rem; }
  .score-label span, .score-updated { display: none; }
  .score-game { padding: 0 .8rem; }
}

.chrome-only .site-main {
  display: none;
}

body:has(.chrome-only) .boot-sequence,
body:has(.chrome-only) .system-bar,
body:has(.chrome-only) .crt-overlay,
body:has(.chrome-only) .pointer-aura {
  display: none !important;
}

/* Reference pass: full-screen Matrix terminal composition. */
body { cursor: crosshair; font-family: "JetBrains Mono", monospace; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: #003b00; }
::-webkit-scrollbar-thumb:hover { background: #00c030; }

.public-site .site-header {
  min-height: 62px;
  padding: 0 2.5rem;
  background: rgba(0,0,0,.88);
  backdrop-filter: blur(4px);
}
.wordmark { gap: 0; }
.wordmark-glyph { display: none; }
.wordmark-text {
  display: inline !important;
  color: var(--accent);
  font: 400 1.05rem "Share Tech Mono", monospace;
  letter-spacing: .14em;
  text-shadow: 0 0 12px var(--accent);
}
.wordmark-text::after { display: none; content: ""; }
.public-site .site-nav { gap: 2rem; }
.public-site .site-nav a {
  color: #00882a;
  font: 400 .68rem "JetBrains Mono", monospace;
  letter-spacing: .1em;
}
.public-site .site-nav a span::before { content: "./"; color: #005518; }
.public-site .site-nav a span::after { content: ""; }
.public-site .site-nav a sup { display: none; }
.public-site .site-nav a::after { display: none; }
.public-site .site-nav a:hover,
.public-site .site-nav a.is-active { color: var(--accent); text-shadow: 0 0 8px var(--accent); }
.live-cursor { color: #005518; }
.command-button { padding: .5rem .65rem; }

.scoreboard { top: 62px; }
.score-ticker { height: 42px; background: rgba(0,0,0,.96); }

.matrix-hero {
  position: relative;
  display: flex;
  min-height: calc(100vh - 104px);
  height: calc(100vh - 104px);
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid #003b00;
  background: #000;
}
.matrix-hero > canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .55;
}
.matrix-hero .hero-copy {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 900px;
  min-height: 0;
  padding: 0 3.75rem;
  background: none;
}
.matrix-hero .hero-copy::before,
.matrix-hero .hero-copy::after { display: none; }
.hero-prompt {
  margin: 0 0 .75rem;
  color: #005518;
  font: 400 .72rem "JetBrains Mono", monospace;
  letter-spacing: .08em;
}
.hero-prompt .cursor { width: 9px; height: 1.05em; margin-left: .25rem; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.matrix-hero h1 {
  min-height: 1.05em;
  margin: 0;
  color: var(--accent);
  font: 400 clamp(3.2rem, 8vw, 6rem)/1.05 "Share Tech Mono", monospace;
  letter-spacing: -.02em;
  text-shadow: 0 0 40px rgba(0,255,65,.5), 0 0 80px rgba(0,255,65,.2);
  text-transform: none;
}
.matrix-hero h1 span { color: inherit; }
.matrix-hero h2 {
  min-height: 1.4em;
  margin-top: .35rem;
  color: #00c030;
  font: 400 clamp(1rem, 2.5vw, 1.4rem) "Share Tech Mono", monospace;
  letter-spacing: .05em;
}
.matrix-hero .hero-tagline {
  max-width: 500px;
  margin-top: 2rem;
  border-left: 2px solid #003b00;
  padding-left: 1rem;
  color: #005518;
  font: 400 .78rem/1.8 "JetBrains Mono", monospace;
}
.matrix-hero .hero-actions { display: flex; gap: 1rem; margin-top: 2.25rem; }
.btn-ref {
  display: inline-flex;
  align-items: center;
  border: 1px solid;
  padding: .75rem 1.65rem;
  font: 700 .67rem "JetBrains Mono", monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: 180ms ease;
}
.btn-ref.primary { border-color: var(--accent); background: var(--accent); color: #000; }
.btn-ref.primary:hover { background: transparent; color: var(--accent); box-shadow: 0 0 20px rgba(0,255,65,.4), inset 0 0 20px rgba(0,255,65,.05); }
.btn-ref.secondary { border-color: #003b00; color: #00882a; }
.btn-ref.secondary:hover { border-color: #00c030; color: var(--accent); text-shadow: 0 0 8px var(--accent); }
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 3.75rem;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: .65rem;
  color: #005518;
}
.scroll-indicator > span { position: relative; width: 40px; height: 1px; overflow: hidden; background: #005518; }
.scroll-indicator > span::after { content: ""; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: var(--accent); animation: scanRight 2s linear infinite; }
.scroll-indicator small { font: 400 .6rem "JetBrains Mono", monospace; letter-spacing: .08em; }

.terminal-dock,
.work,
.principles {
  width: calc(100% - 5rem);
  max-width: 1100px;
  margin-right: auto;
  margin-left: auto;
}
.terminal-dock { margin-top: 6rem; margin-bottom: 6rem; border-color: #003b00; background: #111; box-shadow: none; }
.terminal-head { border-color: #003b00; background: #003b00; color: #00882a; }
.terminal-screen { border-color: #003b00; color: #00882a; }
.terminal-dock form { border-color: #003b00; }
.terminal-dock input { border-color: #003b00; color: var(--accent); }

.work { padding: 1rem 0 6rem; background: none; }
.ref-section-head {
  display: flex;
  align-items: end;
  gap: 1rem;
  margin-bottom: 3rem;
}
.ref-section-head > div span { display: block; margin-bottom: .35rem; color: #005518; font: 400 .65rem "Share Tech Mono", monospace; }
.ref-section-head h2 { color: var(--accent); font: 400 clamp(1.6rem, 3vw, 2rem) "Share Tech Mono", monospace; letter-spacing: .05em; text-shadow: 0 0 16px rgba(0,255,65,.3); }
.ref-section-head i { flex: 1; height: 1px; margin-bottom: .45rem; background: linear-gradient(90deg, #003b00, transparent); }
.projects-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.case-file,
.case-file.is-featured {
  border: 1px solid #003b00;
  background: #111;
  padding: 0;
  transform: none;
}
.case-file:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,255,65,.1), 0 0 0 1px var(--accent); }
.project-header { display: flex; align-items: start; justify-content: space-between; padding: 1.2rem 1.4rem 0; }
.project-id { color: #005518; font: 400 .58rem "JetBrains Mono", monospace; letter-spacing: .12em; }
.project-status { border: 1px solid var(--accent); padding: .15rem .45rem; color: var(--accent); font: 400 .55rem "JetBrains Mono", monospace; }
.project-status.status-archived { border-color: #005518; color: #005518; }
.project-body { padding: 1rem 1.4rem 1.35rem; }
.case-file .project-body h2 {
  color: var(--accent);
  font: 400 1.1rem "Share Tech Mono", monospace;
  letter-spacing: .04em;
  text-shadow: 0 0 10px rgba(0,255,65,.2);
  text-transform: none;
}
.case-file .card-summary { min-height: 4.2em; margin-top: .55rem; color: #00882a; font: 400 .68rem/1.75 "JetBrains Mono", monospace; }
.project-stack { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.project-stack span { border: 1px solid #003b00; background: #003b00; padding: .18rem .45rem; color: #00c030; font: 400 .55rem "JetBrains Mono", monospace; }
.project-foot { display: flex; justify-content: space-between; margin-top: 1rem; border-top: 1px solid #003b00; padding-top: .7rem; color: #005518; font: 400 .55rem "JetBrains Mono", monospace; }
.case-file:hover .project-foot span:last-child { color: var(--accent); }

.principles { margin-top: 1rem; margin-bottom: 6rem; border: 0; background: transparent; color: var(--ink); padding: 0; }
.principles ol { border-color: #003b00; }
.principles li { min-height: 190px; border-color: #003b00; }
.principles li > span { color: #005518; }
.principles h3 { color: var(--accent); font: 400 1.15rem "Share Tech Mono", monospace; }
.principles li p { color: #00882a; font: 400 .68rem/1.75 "JetBrains Mono", monospace; }

.site-footer { min-height: 0; border-color: #003b00; background: #000; color: #005518; padding: 2rem 2.5rem 4rem; }
.site-footer .eyebrow { color: #005518; }
.site-footer p, .site-footer a { color: #00882a; font-family: "JetBrains Mono", monospace; font-size: .7rem; }
.footer-studio { border-color: #003b00; }

.public-site .about-page,
.public-site .contact-page,
.public-site .logs-page { width: calc(100% - 5rem); max-width: 1100px; margin: 0 auto; padding-right: 0; padding-left: 0; }
.public-site .about-page > h1,
.public-site .contact-page > h1 { color: var(--accent); font: 400 clamp(2.5rem, 6vw, 4.5rem) "Share Tech Mono", monospace; letter-spacing: -.02em; text-transform: none; text-shadow: 0 0 28px rgba(0,255,65,.25); }

@media (max-width: 900px) {
  .public-site .site-header { min-height: 58px; padding: 0 1.25rem; }
  .scoreboard { top: 58px; }
  .matrix-hero { height: calc(100vh - 100px); min-height: 650px; }
  .matrix-hero .hero-copy { padding: 0 1.5rem; }
  .scroll-indicator { left: 1.5rem; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .terminal-dock, .work, .principles,
  .public-site .about-page, .public-site .contact-page, .public-site .logs-page { width: calc(100% - 2.5rem); }
}

@media (max-width: 600px) {
  .public-site .site-nav { display: none; }
  .matrix-hero h1 { font-size: clamp(2.7rem, 14vw, 4.4rem); }
  .matrix-hero .hero-actions { flex-direction: column; align-items: flex-start; }
  .projects-grid { grid-template-columns: 1fr; }
  .terminal-dock { grid-template-columns: 1fr; }
  .site-footer { padding-right: 1.25rem; padding-left: 1.25rem; }
}
