:root {
  --ink: #070809;
  --ink-2: #101318;
  --ink-3: #171b1f;
  --paper: #f2ead7;
  --paper-2: #d7c8aa;
  --paper-3: #9d8d6d;
  --line: rgba(215, 200, 170, 0.24);
  --line-strong: rgba(215, 200, 170, 0.42);
  --gold: #d7aa57;
  --green: #7ad48b;
  --cyan: #75d0d4;
  --serif: "EB Garamond", Georgia, serif;
  --mono: "IBM Plex Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html {
  background: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--paper);
  font-family: var(--serif);
  background:
    linear-gradient(180deg, rgba(7, 8, 9, 0.52), var(--ink) 520px),
    repeating-linear-gradient(90deg, rgba(242, 234, 215, 0.026) 0 1px, transparent 1px 88px),
    var(--ink);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.34;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.026) 0 1px, transparent 1px 4px),
    linear-gradient(90deg, rgba(0,0,0,0.36), transparent 18%, transparent 82%, rgba(0,0,0,0.36));
}

a {
  color: var(--gold);
  text-decoration: none;
  text-underline-offset: 0.18em;
}

a:hover { text-decoration: underline; }

.shell {
  width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 8, 9, 0.9);
  backdrop-filter: blur(10px);
}

.topbar .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  gap: 18px;
}

.brand,
.prompt,
.tag,
.meta,
nav,
.button,
.crumbs,
.index-list,
.mini,
.filter-button,
.catalog-search,
.catalog-count,
.catalog-group h2,
.piece-kind,
.tier,
.feature-row,
.route-meta,
.portfolio-row,
.content-meta,
.content-actions {
  font-family: var(--mono);
}

.brand,
.prompt {
  color: var(--green);
  font-size: 13px;
  white-space: nowrap;
}

.brand span,
.prompt span { color: var(--cyan); }

nav {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
}

nav a { color: var(--paper-2); }
nav a:hover,
nav a.active {
  color: var(--paper);
  text-decoration: none;
}

.home-hero,
.page-hero {
  position: relative;
  isolation: isolate;
}

.home-hero {
  min-height: calc(100svh - 48px);
  display: grid;
  align-items: end;
  padding: 72px 0 36px;
}

.home-hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 8, 9, 0.86), rgba(7, 8, 9, 0.72) 42%, rgba(7, 8, 9, 0.86)),
    linear-gradient(0deg, var(--ink), rgba(7, 8, 9, 0.28) 42%, rgba(7, 8, 9, 0.12)),
    url("/prudence/assets/mayflowerheader1.jpg") center 35% / cover no-repeat;
}

.home-copy {
  max-width: 760px;
  padding-bottom: 28px;
}

.eyebrow,
.crumbs {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  max-width: 760px;
  color: var(--paper);
  font-size: clamp(54px, 9vw, 112px);
  line-height: 0.9;
  letter-spacing: 0;
  text-shadow: 0 4px 42px rgba(0, 0, 0, 0.64);
}

.lede {
  max-width: 720px;
  margin-bottom: 26px;
  color: var(--paper-2);
  font-size: clamp(23px, 3.4vw, 34px);
  line-height: 1.13;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: var(--paper);
  background: rgba(7, 8, 9, 0.66);
  font-size: 13px;
}

.button:hover,
.button.primary {
  border-color: var(--gold);
  color: var(--ink);
  background: var(--gold);
  text-decoration: none;
}

.home-doors {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.door,
.work-card,
.essay,
.about-block,
.index-list a {
  background: rgba(16, 19, 24, 0.96);
}

.door {
  min-height: 162px;
  padding: 20px;
  color: var(--paper);
  text-decoration: none;
}

.door:hover,
.work-card:hover,
.index-list a:hover {
  background: var(--ink-3);
  text-decoration: none;
}

.tag {
  display: block;
  margin-bottom: 14px;
  color: var(--cyan);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.door h2 {
  margin-bottom: 8px;
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0;
}

.door p,
.work-card p,
.essay p,
.about-block p,
.page-hero p {
  color: var(--paper-2);
  font-size: 18px;
  line-height: 1.38;
}

.page-hero {
  padding: 74px 0 34px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(48px, 8vw, 86px);
}

.page-hero p {
  max-width: 760px;
}

.content-hero h1 {
  max-width: 980px;
  font-size: clamp(42px, 7vw, 78px);
}

.content-hero .content-dek {
  max-width: 820px;
  color: var(--paper);
}

main.shell {
  padding: 34px 0 56px;
}

.section {
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.section:first-child { border-top: 0; }

.section-head {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  margin-bottom: 18px;
}

.section-head h2 {
  margin: 0;
  font-size: 38px;
  line-height: 0.98;
  letter-spacing: 0;
}

.section-head p {
  margin: 0;
  max-width: 760px;
  color: var(--paper-2);
  font-size: 19px;
  line-height: 1.4;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.work-card {
  display: grid;
  grid-template-rows: 230px auto;
  min-height: 430px;
  color: var(--paper);
  text-decoration: none;
}

.preview {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(117, 208, 212, 0.08), transparent 36%),
    #090b0e;
}

.preview iframe {
  width: 133%;
  height: 133%;
  border: 0;
  transform: scale(0.75);
  transform-origin: 0 0;
  pointer-events: none;
  background: #090b0e;
}

.preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.72;
}

.project-layout {
  display: grid;
  gap: 18px;
}

.project-preview {
  overflow: hidden;
  height: min(52vw, 420px);
  min-height: 260px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(117, 208, 212, 0.08), transparent 36%),
    #090b0e;
}

.project-preview iframe {
  width: 118%;
  height: 118%;
  border: 0;
  transform: scale(0.85);
  transform-origin: 0 0;
  pointer-events: none;
  background: #090b0e;
}

.project-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.76;
}

.project-preview.image-preview img {
  opacity: 0.9;
}

.project-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.project-facts div {
  min-height: 118px;
  padding: 15px;
  background: rgba(16, 19, 24, 0.96);
}

.project-facts b {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-facts span {
  color: var(--paper-2);
  font-size: 18px;
  line-height: 1.35;
}

.work-body {
  padding: 18px;
}

.work-body h3,
.essay h2,
.about-block h2 {
  margin-bottom: 10px;
  font-size: 28px;
  line-height: 1.02;
  letter-spacing: 0;
}

.meta {
  color: var(--green);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.index-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.index-list a {
  display: grid;
  grid-template-columns: 142px 1fr;
  gap: 14px;
  padding: 15px;
  color: var(--paper);
  font-size: 13px;
  text-decoration: none;
}

.index-list b {
  color: var(--green);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.index-list span:last-child {
  color: var(--paper-2);
}

.portfolio-router,
.feature-grid {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.portfolio-row,
.feature-row {
  color: var(--paper);
  background: rgba(16, 19, 24, 0.96);
  text-decoration: none;
}

.portfolio-row:hover,
.feature-row:hover {
  color: var(--paper);
  background: var(--ink-3);
  text-decoration: none;
}

.portfolio-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 210px;
  gap: 18px;
  align-items: start;
  padding: 18px;
}

.portfolio-row.with-preview {
  grid-template-columns: 118px 138px minmax(0, 1fr) 190px;
  align-items: stretch;
}

.route-thumb {
  overflow: hidden;
  min-height: 92px;
  border: 1px solid var(--line);
  background: var(--ink);
}

.route-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.05);
}

.portfolio-row .tag {
  margin: 3px 0 0;
}

.portfolio-row h3 {
  margin: 0 0 8px;
  color: var(--paper);
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0;
}

.portfolio-row p {
  margin: 0;
  color: var(--paper-2);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.34;
}

.route-meta {
  color: var(--paper-3);
  font-size: 12px;
  line-height: 1.45;
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.start-block {
  margin-bottom: 30px;
}

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

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 54px;
  padding: 12px;
  font-size: 13px;
}

.feature-row.has-image {
  grid-template-columns: 96px minmax(0, 1fr) auto;
  min-height: 98px;
  padding: 0 12px 0 0;
}

.feature-thumb {
  display: block;
  align-self: stretch;
  min-width: 0;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background: var(--ink);
}

.feature-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.05);
}

.feature-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.feature-row strong {
  color: var(--paper);
  font-weight: 600;
}

.feature-row small {
  color: var(--paper-3);
  font-size: 12px;
  line-height: 1.35;
}

.feature-row b {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 3px;
  color: var(--ink);
  background: var(--gold);
  font-weight: 600;
}

.essay-list,
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.essay,
.about-block {
  padding: 18px;
}

.essay h2 {
  font-size: 30px;
}

.essay .meta {
  margin-bottom: 12px;
}

.catalog-tools {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.filter-set {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-button,
.catalog-search {
  min-height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: var(--paper);
  background: rgba(7, 8, 9, 0.62);
  font-size: 12px;
}

.filter-button {
  cursor: pointer;
  padding: 8px 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.filter-button:hover,
.filter-button.active {
  border-color: var(--gold);
  color: var(--ink);
  background: var(--gold);
}

.catalog-search {
  width: min(280px, 100%);
  padding: 8px 11px;
}

.catalog-search::placeholder {
  color: var(--paper-3);
}

.catalog-count {
  margin: 0 0 22px;
  color: var(--paper-3);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.catalog-group {
  margin-top: 28px;
}

.catalog-group:first-of-type {
  margin-top: 0;
}

.catalog-group h2 {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 10px;
  color: var(--paper-2);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalog-group h2 span {
  color: var(--paper-3);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.piece-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: center;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 12px;
  color: var(--paper);
  background: rgba(16, 19, 24, 0.96);
  text-decoration: none;
}

.piece-row:hover {
  color: var(--paper);
  background: var(--ink-3);
  text-decoration: none;
}

.piece-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.piece-title {
  margin: 0;
  min-width: 0;
  color: var(--paper);
  font-size: 20px;
  line-height: 1.05;
  letter-spacing: 0;
}

.piece-subtitle {
  color: var(--paper-3);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.18;
}

.tier {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  color: var(--paper-2);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

.tier-s {
  border-color: var(--gold);
  color: var(--ink);
  background: var(--gold);
}

.tier-a {
  border-color: rgba(122, 212, 139, 0.64);
  color: var(--green);
}

.tier-b {
  border-color: rgba(157, 141, 109, 0.5);
  color: var(--paper-3);
}

.piece-kind {
  display: none;
  margin-top: 10px;
  color: var(--green);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.empty-state {
  display: none;
  padding: 18px;
  border: 1px solid var(--line);
  color: var(--paper-2);
  background: rgba(16, 19, 24, 0.96);
}

.empty-state.show {
  display: block;
}

.work-group {
  margin-top: 24px;
}

.work-group h3 {
  margin: 0 0 10px;
  color: var(--paper-2);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.link-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.mini {
  color: var(--paper-3);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 770px) 250px;
  gap: 52px;
  align-items: start;
}

.prose {
  max-width: 770px;
  color: var(--paper);
  font-size: 23px;
  line-height: 1.48;
}

.prose p,
.prose ul,
.prose ol,
.prose blockquote,
.prose figure {
  margin: 0 0 1.15em;
}

.prose p.verse {
  max-width: 680px;
  margin-bottom: 1.35em;
  line-height: 1.48;
}

.prose p.quoted-line {
  color: var(--paper-2);
  font-style: italic;
}

.prose h2,
.prose h3,
.prose h4 {
  margin: 1.45em 0 0.5em;
  color: var(--paper);
  line-height: 1.02;
  letter-spacing: 0;
}

.prose h2 { font-size: 40px; }
.prose h3 { font-size: 32px; }
.prose h4 { font-size: 26px; }

.prose a {
  text-decoration: underline;
}

.prose blockquote {
  padding-left: 18px;
  border-left: 2px solid var(--gold);
  color: var(--paper-2);
}

.prose blockquote p {
  margin: 0;
}

.prose blockquote.verse-quote {
  display: grid;
  gap: 0.28em;
  max-width: 680px;
  font-style: italic;
}

.prose ul,
.prose ol {
  padding-left: 1.2em;
}

.prose li {
  margin-bottom: 0.45em;
}

.prose hr {
  height: 1px;
  margin: 30px 0;
  border: 0;
  background: var(--line-strong);
}

.prose figure {
  padding: 0;
}

.prose img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  background: var(--ink-2);
}

.content-side {
  position: sticky;
  top: 78px;
  display: grid;
  gap: 12px;
}

.content-image {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink);
}

.content-image img {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(0.92) contrast(1.03);
}

.content-meta {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
  font-size: 12px;
  line-height: 1.45;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.content-meta span {
  display: block;
  padding: 12px;
  color: var(--paper-2);
  background: rgba(16, 19, 24, 0.96);
}

.content-excerpt {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  color: var(--paper-2);
  background: rgba(16, 19, 24, 0.96);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.35;
}

.content-excerpt b {
  color: var(--green);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.content-actions {
  display: grid;
  gap: 8px;
  font-size: 12px;
}

.case-study {
  max-width: 820px;
  color: var(--paper-2);
}

.case-study h2 {
  margin: 0 0 12px;
  color: var(--paper);
  font-size: 38px;
  line-height: 1;
  letter-spacing: 0;
}

.case-study p {
  margin: 0 0 0.8em;
  font-size: 21px;
  line-height: 1.38;
}

footer {
  padding: 28px 0 46px;
  border-top: 1px solid var(--line);
  color: var(--paper-3);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.6;
}

@media (max-width: 1040px) {
  .home-doors {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-row {
    grid-template-columns: 130px minmax(0, 1fr);
  }

  .portfolio-row.with-preview {
    grid-template-columns: 118px minmax(0, 1fr);
  }

  .portfolio-row.with-preview .tag,
  .portfolio-row.with-preview .route-meta {
    grid-column: 2;
  }

  .route-meta {
    grid-column: 2;
    text-align: left;
  }
}

@media (max-width: 860px) {
  .home-doors,
  .preview-grid,
  .index-list,
  .catalog-grid,
  .feature-grid,
  .project-facts {
    grid-template-columns: 1fr;
  }

  .project-preview {
    height: 300px;
  }

  .content-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .content-side {
    position: static;
    order: -1;
  }

  .prose {
    font-size: 21px;
  }

  .portfolio-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .portfolio-row.with-preview {
    grid-template-columns: 1fr;
  }

  .route-thumb {
    min-height: 180px;
  }

  .feature-row.has-image {
    grid-template-columns: 92px minmax(0, 1fr) auto;
  }

  .route-meta {
    grid-column: auto;
  }

  .catalog-tools {
    grid-template-columns: 1fr;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .work-card {
    grid-template-rows: 200px auto;
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .topbar .shell {
    align-items: flex-start;
    flex-direction: column;
    padding: 10px 0;
    gap: 8px;
  }

  nav {
    width: 100%;
    padding-bottom: 2px;
  }

  .home-hero {
    min-height: calc(100svh - 90px);
    padding-top: 56px;
  }

  h1 {
    font-size: clamp(46px, 15vw, 62px);
  }

  .lede {
    font-size: 23px;
  }

  .index-list a {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .feature-row.has-image {
    grid-template-columns: 82px minmax(0, 1fr) auto;
    min-height: 88px;
  }
}

:root {
  --ink: #000600;
  --ink-2: #020d04;
  --ink-3: #061709;
  --paper: #b8ffbf;
  --paper-2: #80d889;
  --paper-3: #4f9159;
  --line: rgba(128, 216, 137, 0.24);
  --line-strong: rgba(184, 255, 191, 0.55);
  --gold: #ffbf63;
  --green: #76ff83;
  --cyan: #72fff1;
  --serif: "IBM Plex Mono", Menlo, Consolas, monospace;
  --mono: "IBM Plex Mono", Menlo, Consolas, monospace;
}

body,
body * {
  border-radius: 0 !important;
  letter-spacing: 0 !important;
}

html,
body {
  background: #000600;
}

body {
  color: var(--paper);
  font-family: var(--mono);
  background:
    radial-gradient(circle at 50% -20%, rgba(118, 255, 131, 0.08), transparent 42%),
    repeating-linear-gradient(90deg, rgba(118, 255, 131, 0.028) 0 1px, transparent 1px 80px),
    #000600;
}

body::after {
  opacity: 0.2;
  background:
    repeating-linear-gradient(0deg, rgba(184, 255, 191, 0.075) 0 1px, transparent 1px 4px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.42), transparent 22%, transparent 78%, rgba(0, 0, 0, 0.42));
}

a {
  color: var(--gold);
}

a:hover {
  color: #ffe2a5;
}

.shell {
  width: min(1040px, calc(100vw - 28px));
}

.topbar {
  border-bottom: 1px solid var(--line-strong);
  background: rgba(0, 6, 0, 0.97);
  backdrop-filter: none;
}

.topbar .shell {
  min-height: 40px;
}

.brand,
.prompt {
  font-size: 12px;
}

.brand::before {
  content: "DARPANET//";
  color: var(--paper-3);
}

nav {
  gap: 12px;
  font-size: 11px;
}

nav a {
  color: var(--paper-2);
}

nav a.active {
  color: var(--green);
}

nav a::before {
  content: "[";
  color: var(--paper-3);
}

nav a::after {
  content: "]";
  color: var(--paper-3);
}

.home-hero,
.page-hero {
  isolation: isolate;
}

.home-hero {
  min-height: auto;
  align-items: start;
  padding: 42px 0 26px;
}

.home-hero::before,
.page-hero::before {
  background:
    linear-gradient(180deg, rgba(0, 6, 0, 0.82), rgba(0, 6, 0, 0.98)),
    repeating-linear-gradient(0deg, rgba(118, 255, 131, 0.05) 0 1px, transparent 1px 22px),
    #000600;
}

.home-copy {
  max-width: 920px;
  padding-bottom: 24px;
}

.eyebrow,
.crumbs {
  margin-bottom: 10px;
  color: var(--green);
  font-size: 12px;
  text-transform: uppercase;
}

.eyebrow::before,
.crumbs::before {
  content: "> ";
  color: var(--paper-3);
}

h1,
h2,
h3,
.section-head h2,
.work-body h3,
.essay h2,
.about-block h2,
.portfolio-row h3,
.piece-title,
.case-study h2 {
  font-family: var(--mono);
  font-weight: 500;
  text-transform: none;
  text-shadow: none;
}

h1 {
  max-width: 900px;
  margin-bottom: 12px;
  color: var(--paper);
  font-size: 64px;
  line-height: 0.96;
}

h1::before {
  content: "> ";
  color: var(--paper-3);
}

.lede {
  max-width: 820px;
  margin-bottom: 18px;
  color: var(--paper-2);
  font-size: 20px;
  line-height: 1.35;
}

.button-row {
  gap: 8px;
}

.button,
.filter-button,
.catalog-search {
  min-height: 32px;
  border-color: var(--line-strong);
  color: var(--paper);
  background: rgba(0, 18, 4, 0.78);
  font-size: 12px;
  box-shadow: inset 0 0 0 1px rgba(0, 6, 0, 0.72);
}

.button {
  padding: 7px 10px;
}

.button::before {
  content: "[";
  color: var(--paper-3);
}

.button::after {
  content: "]";
  color: var(--paper-3);
}

.button:hover,
.button.primary,
.filter-button:hover,
.filter-button.active {
  border-color: var(--green);
  color: #001000;
  background: var(--green);
}

.button:hover::before,
.button:hover::after,
.button.primary::before,
.button.primary::after {
  color: rgba(0, 16, 0, 0.55);
}

.home-doors {
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid var(--line-strong);
  background: rgba(0, 16, 4, 0.34);
}

.door,
.work-card,
.essay,
.about-block,
.index-list a,
.portfolio-row,
.feature-row,
.piece-row,
.project-facts div,
.content-meta span,
.content-excerpt,
.empty-state {
  background: rgba(0, 16, 4, 0.72);
}

.door {
  display: grid;
  grid-template-columns: 190px 170px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  min-height: 0;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

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

.door:hover,
.work-card:hover,
.index-list a:hover,
.portfolio-row:hover,
.feature-row:hover,
.piece-row:hover {
  background: rgba(8, 38, 12, 0.86);
}

.tag {
  margin: 0;
  color: var(--cyan);
  font-size: 10px;
}

.door h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.05;
}

.door h2::before {
  content: "/ ";
  color: var(--paper-3);
}

.door p,
.work-card p,
.essay p,
.about-block p,
.page-hero p {
  margin: 0;
  color: var(--paper-2);
  font-size: 14px;
  line-height: 1.38;
}

.page-hero {
  padding: 42px 0 24px;
  border-bottom-color: var(--line-strong);
}

.page-hero h1,
.content-hero h1 {
  max-width: 980px;
  font-size: 44px;
  line-height: 1.05;
}

.page-hero p {
  max-width: 820px;
  font-size: 17px;
}

main.shell {
  padding: 24px 0 48px;
}

.section {
  padding: 26px 0;
  border-top-color: var(--line);
}

.section-head {
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 22px;
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: 24px;
  line-height: 1.05;
}

.section-head h2::before,
.catalog-group h2::before,
.work-group h3::before {
  content: ":: ";
  color: var(--paper-3);
}

.section-head p {
  color: var(--paper-2);
  font-size: 15px;
}

.preview-grid,
.project-facts,
.index-list,
.portfolio-router,
.feature-grid,
.essay-list,
.about-grid,
.content-meta {
  gap: 0;
  border-color: var(--line-strong);
  background: rgba(0, 16, 4, 0.28);
}

.work-card {
  grid-template-rows: 190px auto;
  min-height: 350px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.preview,
.project-preview,
.route-thumb,
.content-image,
.prose img {
  border-color: var(--line-strong);
  background:
    repeating-linear-gradient(0deg, rgba(118, 255, 131, 0.05) 0 1px, transparent 1px 5px),
    #020d04;
}

.preview img,
.project-preview img,
.route-thumb img,
.content-image img {
  opacity: 0.78;
  filter: grayscale(0.8) contrast(1.12) saturate(0.58);
}

.work-body {
  padding: 14px;
}

.work-body h3,
.essay h2,
.about-block h2 {
  margin-bottom: 8px;
  font-size: 22px;
}

.meta,
.mini,
.route-meta,
.catalog-count {
  color: var(--paper-3);
  font-size: 11px;
  text-transform: uppercase;
}

.index-list a {
  grid-template-columns: 110px minmax(0, 1fr);
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

.portfolio-row {
  grid-template-columns: 120px minmax(0, 1fr) 170px;
  gap: 14px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}

.portfolio-row.with-preview {
  grid-template-columns: 100px 118px minmax(0, 1fr) 160px;
}

.portfolio-row h3 {
  font-size: 19px;
}

.portfolio-row h3::before,
.piece-title::before,
.feature-row strong::before {
  content: "> ";
  color: var(--paper-3);
}

.portfolio-row p {
  color: var(--paper-2);
  font-family: var(--mono);
  font-size: 13px;
}

.route-meta {
  color: var(--paper-3);
}

.feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-row {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) 28px;
  gap: 10px;
  align-items: center;
  min-height: 76px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.feature-row.has-image {
  grid-template-columns: 82px minmax(0, 1fr) 28px;
  min-height: 76px;
  padding: 8px 10px;
}

.feature-thumb {
  display: none !important;
}

.feature-badge {
  display: grid;
  align-content: center;
  justify-items: center;
  width: 70px;
  min-height: 54px;
  padding: 3px 4px 5px;
  border: 1px solid var(--line-strong);
  color: var(--green);
  background:
    repeating-linear-gradient(0deg, rgba(184, 255, 191, 0.08) 0 1px, transparent 1px 3px),
    #001000;
  box-shadow: inset 0 0 12px rgba(118, 255, 131, 0.12);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.08;
  text-align: center;
}

.badge-port {
  width: 100%;
  margin-bottom: 4px;
  padding-bottom: 3px;
  border-bottom: 1px dotted var(--line-strong);
  color: var(--gold);
}

.badge-main {
  color: var(--paper);
  font-size: 11px;
}

.feature-copy {
  gap: 3px;
}

.feature-row strong {
  color: var(--paper);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
}

.feature-row small {
  color: var(--paper-3);
  font-size: 11px;
}

.feature-row b,
.tier {
  width: 24px;
  height: 24px;
  border: 1px solid var(--line-strong);
  color: var(--paper);
  background: rgba(0, 6, 0, 0.72);
  font-size: 11px;
}

.feature-row b {
  color: #001000;
  background: var(--gold);
}

.catalog-tools {
  gap: 10px;
}

.filter-set {
  gap: 6px;
}

.filter-button {
  padding: 7px 9px;
}

.catalog-search {
  width: min(260px, 100%);
  padding: 7px 9px;
}

.catalog-group {
  margin-top: 24px;
}

.catalog-group h2 {
  margin-bottom: 8px;
  color: var(--paper-2);
  font-size: 12px;
  font-weight: 500;
}

.catalog-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-color: var(--line-strong);
  background: rgba(0, 16, 4, 0.28);
}

.piece-row {
  min-height: 52px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.piece-title {
  font-size: 14px;
  line-height: 1.25;
}

.piece-subtitle {
  color: var(--paper-3);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.25;
}

.tier-s {
  border-color: var(--gold);
  color: #001000;
  background: var(--gold);
}

.tier-a {
  color: var(--green);
}

.tier-b {
  color: var(--paper-3);
}

.project-facts div {
  min-height: 94px;
  padding: 12px;
}

.project-facts b,
.content-excerpt b {
  color: var(--cyan);
  font-size: 10px;
}

.project-facts span {
  color: var(--paper-2);
  font-size: 14px;
}

.content-layout {
  grid-template-columns: minmax(0, 760px) 250px;
  gap: 36px;
}

.prose {
  color: var(--paper);
  font-family: var(--mono);
  font-size: 17px;
  line-height: 1.68;
}

.prose h2 {
  font-size: 28px;
}

.prose h3 {
  font-size: 22px;
}

.prose h4 {
  font-size: 18px;
}

.prose blockquote {
  border-left-color: var(--green);
  color: var(--paper-2);
}

.content-meta span,
.content-excerpt {
  padding: 10px;
}

.content-excerpt {
  color: var(--paper-2);
  font-family: var(--mono);
  font-size: 13px;
}

.case-study p {
  color: var(--paper-2);
  font-size: 17px;
}

footer {
  border-top-color: var(--line-strong);
  color: var(--paper-3);
  background: rgba(0, 6, 0, 0.76);
}

@media (max-width: 1040px) {
  .portfolio-row,
  .portfolio-row.with-preview {
    grid-template-columns: 118px minmax(0, 1fr);
  }

  .portfolio-row.with-preview .route-thumb {
    grid-column: 1;
    grid-row: 1 / span 2;
  }
}

@media (max-width: 860px) {
  .section-head,
  .content-layout,
  .catalog-tools {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .catalog-grid,
  .preview-grid,
  .project-facts,
  .index-list {
    grid-template-columns: 1fr;
  }

  .portfolio-row,
  .portfolio-row.with-preview {
    grid-template-columns: 1fr;
  }

  .route-thumb {
    min-height: 160px;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(1040px, calc(100vw - 22px));
  }

  .topbar .shell {
    min-height: 0;
  }

  .home-hero {
    min-height: auto;
    padding: 30px 0 20px;
  }

  h1,
  .page-hero h1,
  .content-hero h1 {
    font-size: 38px;
    line-height: 1.05;
  }

  .lede {
    font-size: 17px;
  }

  .door {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .feature-row,
  .feature-row.has-image {
    grid-template-columns: 70px minmax(0, 1fr) 24px;
    min-height: 70px;
    padding: 8px;
  }

  .feature-badge {
    width: 58px;
    min-height: 50px;
    font-size: 8px;
  }

  .badge-main {
    font-size: 10px;
  }

  .prose {
    font-size: 16px;
  }
}

:root {
  --ink: #000000;
  --ink-2: #000000;
  --ink-3: #000000;
  --paper: #b7f7b7;
  --paper-2: #86d886;
  --paper-3: #58a858;
  --line: #336b33;
  --line-strong: #77c977;
  --gold: #d7d787;
  --green: #9cff9c;
  --cyan: #9ccccc;
  --serif: "Courier New", Courier, monospace;
  --mono: "Courier New", Courier, monospace;
}

html,
body {
  background: #000;
}

body,
body * {
  box-shadow: none !important;
  text-shadow: none !important;
}

body {
  margin: 0;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.42;
  background: #000;
}

body::after {
  display: none;
}

a {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

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

.shell {
  width: min(88ch, calc(100vw - 4ch));
  margin: 0 0 0 2ch;
}

.topbar {
  position: static;
  border: 0;
  background: #000;
}

.topbar .shell {
  display: block;
  min-height: 0;
  padding: 1em 0 0;
}

.brand,
.prompt {
  display: block;
  color: var(--paper-2);
  font-size: 1em;
  white-space: normal;
}

.brand::before {
  content: "";
}

.brand::after {
  content: " %";
  color: var(--paper-3);
}

.brand span,
.prompt span {
  color: var(--paper);
}

nav {
  display: block;
  margin-top: 0.35em;
  overflow: visible;
  color: var(--paper-3);
  font-size: 1em;
  text-transform: none;
  white-space: normal;
}

nav::before {
  content: "go: ";
  color: var(--paper-3);
}

nav a {
  display: inline;
  margin-right: 1ch;
  color: var(--paper-2);
  text-decoration: none;
}

nav a::before,
nav a::after {
  content: "";
}

nav a.active {
  color: var(--paper);
  text-decoration: underline;
}

.home-hero,
.page-hero {
  padding: 1.8em 0 1em;
  border: 0;
}

.home-hero {
  display: block;
  min-height: auto;
}

.home-hero::before,
.page-hero::before {
  display: none;
}

.home-copy {
  max-width: 78ch;
  padding-bottom: 1.4em;
}

.eyebrow,
.crumbs {
  margin: 0 0 1em;
  color: var(--paper-3);
  font-size: 1em;
  text-transform: none;
}

.eyebrow::before,
.crumbs::before {
  content: "";
}

h1,
h2,
h3,
.section-head h2,
.work-body h3,
.essay h2,
.about-block h2,
.portfolio-row h3,
.piece-title,
.case-study h2 {
  color: var(--paper);
  font-family: var(--mono);
  font-size: 1em;
  font-weight: 700;
  line-height: 1.42;
  text-transform: none;
}

h1,
.page-hero h1,
.content-hero h1 {
  max-width: 78ch;
  margin: 0 0 0.7em;
  font-size: 1em;
  line-height: 1.42;
}

h1::before {
  content: "";
}

h1::after {
  content: "\A" "----------------";
  white-space: pre;
  color: var(--paper-3);
  font-weight: 400;
}

.lede,
.page-hero p,
.content-hero .content-dek {
  max-width: 78ch;
  margin: 0 0 1em;
  color: var(--paper-2);
  font-size: 1em;
  line-height: 1.42;
}

.button-row,
.filter-set,
.link-line {
  display: block;
}

.button,
.filter-button,
.catalog-search {
  min-height: 0;
  padding: 0;
  border: 0;
  color: var(--paper-2);
  background: transparent;
  font: inherit;
  text-transform: none;
}

.button {
  display: inline;
  margin-right: 1ch;
}

.button::before,
.filter-button::before {
  content: "[";
  color: var(--paper-3);
}

.button::after,
.filter-button::after {
  content: "]";
  color: var(--paper-3);
}

.button:hover,
.button.primary,
.filter-button:hover,
.filter-button.active {
  color: var(--paper);
  background: transparent;
  text-decoration: underline;
}

.button:hover::before,
.button:hover::after,
.button.primary::before,
.button.primary::after {
  color: var(--paper-3);
}

.home-doors,
.preview-grid,
.project-facts,
.index-list,
.portfolio-router,
.feature-grid,
.essay-list,
.about-grid,
.content-meta,
.catalog-grid {
  display: block;
  border: 0;
  background: transparent;
}

.door,
.work-card,
.essay,
.about-block,
.index-list a,
.portfolio-row,
.feature-row,
.piece-row,
.project-facts div,
.content-meta span,
.content-excerpt,
.empty-state {
  background: transparent;
}

.door {
  display: block;
  min-height: 0;
  margin: 0 0 1em;
  padding: 0;
  border: 0;
  color: var(--paper);
}

.door:hover,
.work-card:hover,
.index-list a:hover,
.portfolio-row:hover,
.feature-row:hover,
.piece-row:hover {
  background: transparent;
}

.tag {
  display: block;
  margin: 0;
  color: var(--paper-3);
  font-size: 1em;
  text-transform: none;
}

.door h2 {
  display: inline;
  margin: 0;
  font-size: 1em;
}

.door h2::before {
  content: "";
}

.door h2::after {
  content: ": ";
  color: var(--paper);
}

.door p,
.work-card p,
.essay p,
.about-block p,
.page-hero p {
  display: inline;
  margin: 0;
  color: var(--paper-2);
  font-size: 1em;
  line-height: 1.42;
}

main.shell {
  padding: 0 0 3em;
}

.section {
  padding: 1em 0;
  border: 0;
}

.section-head {
  display: block;
  margin-bottom: 1em;
}

.section-head h2 {
  margin: 0;
}

.section-head h2::before,
.catalog-group h2::before,
.work-group h3::before {
  content: "";
}

.section-head h2::after,
.catalog-group h2::after,
.work-group h3::after {
  content: "\A" "----------------";
  white-space: pre;
  color: var(--paper-3);
  font-weight: 400;
}

.section-head p {
  max-width: 78ch;
  color: var(--paper-2);
  font-size: 1em;
}

.preview,
.project-preview,
.route-thumb,
.content-image,
.feature-thumb {
  display: none !important;
}

.work-card {
  display: block;
  min-height: 0;
  margin: 0 0 1em;
  border: 0;
}

.work-body {
  padding: 0;
}

.work-body h3,
.essay h2,
.about-block h2 {
  display: inline;
  margin: 0;
  font-size: 1em;
}

.work-body h3::before,
.portfolio-row h3::before,
.piece-title::before,
.feature-row strong::before {
  content: "";
}

.work-body h3::after,
.essay h2::after,
.about-block h2::after {
  content: ": ";
}

.meta,
.mini,
.route-meta,
.catalog-count {
  color: var(--paper-3);
  font-size: 1em;
  text-transform: none;
}

.index-list a {
  display: block;
  padding: 0;
  margin: 0 0 0.6em;
  border: 0;
  color: var(--paper);
}

.index-list b {
  color: var(--paper);
  font-weight: 700;
  text-transform: none;
}

.portfolio-row,
.portfolio-row.with-preview {
  display: grid;
  grid-template-columns: 12ch minmax(0, 1fr);
  gap: 0 2ch;
  align-items: baseline;
  margin: 0 0 1em;
  padding: 0;
  border: 0;
}

.portfolio-row .tag {
  grid-column: 1;
  color: var(--paper-3);
}

.portfolio-row h3,
.portfolio-row p,
.route-meta {
  grid-column: 2;
}

.portfolio-row h3 {
  margin: 0;
  font-size: 1em;
}

.portfolio-row h3::after {
  content: ":";
}

.portfolio-row p {
  margin: 0;
  color: var(--paper-2);
  font-family: var(--mono);
  font-size: 1em;
  line-height: 1.42;
}

.route-meta {
  color: var(--paper-3);
  font-size: 1em;
  text-align: left;
  text-transform: none;
}

.start-block {
  margin-bottom: 2em;
}

.feature-row {
  display: grid;
  grid-template-columns: 4ch 3ch minmax(0, 1fr);
  gap: 1ch;
  align-items: baseline;
  min-height: 0;
  margin: 0 0 0.7em;
  padding: 0;
  border: 0;
  color: var(--paper);
  font-size: 1em;
}

.feature-row.has-image,
.feature-row.has-badge {
  grid-template-columns: 4ch 3ch minmax(0, 1fr);
  min-height: 0;
  padding: 0;
}

.feature-number,
.feature-tier {
  color: var(--paper-3);
  font-family: var(--mono);
}

.feature-number::before {
  content: "[";
}

.feature-number::after {
  content: "]";
}

.feature-copy {
  display: block;
}

.feature-row strong {
  color: var(--paper);
  font-size: 1em;
  font-weight: 700;
  line-height: 1.42;
}

.feature-row small {
  display: block;
  color: var(--paper-2);
  font-size: 1em;
  line-height: 1.42;
}

.feature-row b,
.tier {
  display: inline;
  width: auto;
  height: auto;
  border: 0;
  color: var(--paper-3);
  background: transparent;
  font-size: 1em;
}

.feature-badge,
.badge-port,
.badge-main {
  display: none !important;
}

.catalog-tools {
  display: block;
  margin-bottom: 1em;
}

.filter-button {
  margin: 0 1ch 0.35em 0;
  cursor: pointer;
}

.catalog-search {
  display: block;
  width: min(40ch, 100%);
  margin-top: 0.7em;
  padding: 0 0 0.1em;
  border-bottom: 1px solid var(--line);
}

.catalog-search::placeholder {
  color: var(--paper-3);
}

.catalog-count {
  margin: 0 0 1.5em;
}

.catalog-group {
  margin-top: 2em;
}

.catalog-group h2 {
  display: block;
  margin: 0 0 1em;
  color: var(--paper);
  font-size: 1em;
  font-weight: 700;
  text-transform: none;
}

.catalog-group h2 span {
  color: var(--paper-3);
}

.piece-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 3ch;
  gap: 1ch;
  align-items: baseline;
  min-height: 0;
  margin: 0 0 0.7em;
  padding: 0;
  border: 0;
  color: var(--paper);
}

.piece-copy {
  display: block;
}

.piece-title {
  display: block;
  font-size: 1em;
  line-height: 1.42;
}

.piece-subtitle {
  display: block;
  color: var(--paper-2);
  font-family: var(--mono);
  font-size: 1em;
  line-height: 1.42;
}

.piece-kind {
  display: none;
}

.tier-s,
.tier-a,
.tier-b {
  color: var(--paper-3);
  background: transparent;
}

.project-layout,
.content-layout {
  display: block;
}

.project-facts div {
  min-height: 0;
  padding: 0;
  margin: 0 0 1em;
}

.project-facts b,
.content-excerpt b {
  display: block;
  margin: 0;
  color: var(--paper);
  font-size: 1em;
  font-weight: 700;
  text-transform: none;
}

.project-facts b::after,
.content-excerpt b::after {
  content: ":";
}

.project-facts span {
  color: var(--paper-2);
  font-size: 1em;
  line-height: 1.42;
}

.content-side {
  position: static;
  display: block;
  margin-bottom: 1.5em;
}

.content-meta {
  margin-bottom: 1em;
  font-size: 1em;
  line-height: 1.42;
  text-transform: none;
}

.content-meta span {
  display: block;
  padding: 0;
  color: var(--paper-3);
}

.content-excerpt {
  display: block;
  padding: 0;
  border: 0;
  color: var(--paper-2);
  font-family: var(--mono);
  font-size: 1em;
  line-height: 1.42;
}

.content-actions {
  display: block;
  font-size: 1em;
}

.prose,
.case-study {
  max-width: 78ch;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 1em;
  line-height: 1.55;
}

.prose h2,
.prose h3,
.prose h4,
.case-study h2 {
  margin: 2em 0 0.8em;
  color: var(--paper);
  font-size: 1em;
  line-height: 1.42;
}

.prose h2::after,
.prose h3::after,
.prose h4::after,
.case-study h2::after {
  content: "\A" "----------------";
  white-space: pre;
  color: var(--paper-3);
  font-weight: 400;
}

.prose p,
.prose ul,
.prose ol,
.prose blockquote,
.prose figure {
  margin: 0 0 1em;
}

.prose blockquote {
  padding-left: 2ch;
  border-left: 1px solid var(--line);
  color: var(--paper-2);
}

.prose img {
  display: none;
}

.case-study p {
  color: var(--paper-2);
  font-size: 1em;
  line-height: 1.55;
}

footer {
  padding: 1em 0 3em;
  border: 0;
  color: var(--paper-3);
  background: #000;
  font-size: 1em;
  line-height: 1.42;
}

@media (max-width: 860px) {
  .shell {
    width: min(88ch, calc(100vw - 3ch));
    margin-left: 1.5ch;
  }

  .topbar .shell {
    padding-top: 1em;
  }

  nav a {
    margin-right: 0.6ch;
  }

  .portfolio-row,
  .portfolio-row.with-preview {
    grid-template-columns: 10ch minmax(0, 1fr);
    gap: 0 1ch;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 14px;
  }

  .shell {
    width: min(88ch, calc(100vw - 2ch));
    margin-left: 1ch;
  }

  h1,
  .page-hero h1,
  .content-hero h1 {
    font-size: 1em;
  }

  .feature-row,
  .feature-row.has-image,
  .feature-row.has-badge {
    grid-template-columns: 4ch 3ch minmax(0, 1fr);
    min-height: 0;
    padding: 0;
  }

  .portfolio-row,
  .portfolio-row.with-preview {
    display: block;
  }

  .portfolio-row .tag,
  .portfolio-row h3,
  .portfolio-row p,
  .route-meta {
    display: block;
  }
}

:root {
  --ink: #000000;
  --paper: #e8ffe8;
  --paper-2: #9cff9c;
  --paper-3: #62b862;
  --line: #2c6e2c;
  --line-strong: #b8ffb8;
  --tele-blue: #0000aa;
  --tele-red: #cc2222;
  --tele-yellow: #ffff55;
  --tele-cyan: #55ffff;
  --tele-magenta: #ff55ff;
  --tele-green: #55ff55;
}

body {
  color: var(--paper-2);
  font-size: 16px;
  overflow-x: hidden;
}

*::before,
*::after {
  box-sizing: border-box;
}

a {
  color: var(--tele-cyan);
}

a:hover {
  color: var(--tele-yellow);
  background: var(--tele-blue);
}

.shell {
  width: min(78ch, calc(100vw - 4ch));
}

.topbar .shell {
  padding-top: 1.2em;
}

.brand {
  display: inline-block;
  min-width: min(38ch, 100%);
  padding: 0 1ch;
  color: #fff;
  background: var(--tele-blue);
  text-decoration: none;
}

.brand span {
  color: var(--tele-yellow);
}

.brand::after {
  content: " 1200/75";
  color: var(--tele-cyan);
}

nav {
  counter-reset: navitem;
  margin-top: 0.7em;
}

nav::before {
  content: "PAGE ";
  color: var(--tele-yellow);
}

nav a {
  counter-increment: navitem;
  margin-right: 1.2ch;
  color: var(--paper-2);
}

nav a::before {
  content: counter(navitem) ".";
  color: var(--tele-cyan);
}

nav a.active {
  color: var(--tele-yellow);
}

.home-hero,
.page-hero {
  padding-top: 1.4em;
}

.home-copy,
.page-hero .shell,
main.shell {
  position: relative;
}

.home-copy::before,
.page-hero .shell::before {
  content: "P100  PRUDENCE PRIMROSE";
  display: block;
  width: min(38ch, 100%);
  margin: 0 0 1em;
  padding: 0 1ch;
  color: #fff;
  background: var(--tele-red);
}

.page-hero .shell::before {
  content: "P200  PRUDENCE INDEX";
  color: var(--tele-yellow);
  background: var(--tele-blue);
}

.eyebrow,
.crumbs,
.tag,
.meta,
.mini,
.route-meta,
.catalog-count,
.content-meta span {
  color: var(--tele-green);
}

.crumbs,
.page-hero h1 + p {
  display: block;
}

h1,
.page-hero h1,
.content-hero h1,
.section-head h2,
.catalog-group h2,
.work-group h3,
.case-study h2 {
  display: inline-block;
  margin-bottom: 0.75em;
  padding: 0 1ch;
  color: #000;
  background: var(--tele-yellow);
}

h1::after,
.section-head h2::after,
.catalog-group h2::after,
.work-group h3::after,
.prose h2::after,
.prose h3::after,
.prose h4::after,
.case-study h2::after {
  content: "";
}

.lede,
.page-hero p,
.section-head p {
  color: var(--paper-2);
}

.button,
.filter-button {
  color: var(--tele-cyan);
}

.button::before,
.filter-button::before {
  content: "<";
  color: var(--tele-yellow);
}

.button::after,
.filter-button::after {
  content: ">";
  color: var(--tele-yellow);
}

.button.primary,
.filter-button.active {
  color: #000;
  background: var(--tele-yellow);
  text-decoration: none;
}

.home-doors {
  counter-reset: dooritem;
  margin-top: 1.4em;
}

.door {
  counter-increment: dooritem;
  display: grid;
  grid-template-columns: 5ch minmax(0, 1fr);
  gap: 0 1ch;
  margin-bottom: 0.8em;
}

.door::before {
  content: counter(dooritem) ">";
  grid-row: span 2;
  color: #000;
  background: var(--tele-cyan);
  text-align: center;
}

.door:nth-child(2)::before {
  background: var(--tele-yellow);
}

.door:nth-child(3)::before {
  background: var(--tele-magenta);
}

.door:nth-child(4)::before {
  background: var(--tele-green);
}

.door .tag,
.door h2,
.door p {
  grid-column: 2;
}

.door h2 {
  color: var(--paper);
}

.door h2::after,
.work-body h3::after,
.portfolio-row h3::after,
.essay h2::after,
.about-block h2::after {
  content: "";
}

.button-row {
  margin: 1em 0;
}

.section {
  padding-top: 1.4em;
}

.section-head {
  margin-bottom: 1.2em;
}

.catalog-search {
  color: var(--paper);
  border-bottom-color: var(--tele-green);
}

.catalog-group {
  counter-reset: itemrow;
}

.feature-row,
.piece-row,
.portfolio-row {
  position: relative;
  padding: 0.25em 0 0.25em 1ch;
  border-left: 1ch solid var(--tele-blue);
}

.feature-row:nth-child(4n + 1),
.piece-row:nth-child(4n + 1),
.portfolio-row:nth-child(4n + 1) {
  border-left-color: var(--tele-blue);
}

.feature-row:nth-child(4n + 2),
.piece-row:nth-child(4n + 2),
.portfolio-row:nth-child(4n + 2) {
  border-left-color: var(--tele-red);
}

.feature-row:nth-child(4n + 3),
.piece-row:nth-child(4n + 3),
.portfolio-row:nth-child(4n + 3) {
  border-left-color: var(--tele-cyan);
}

.feature-row:nth-child(4n),
.piece-row:nth-child(4n),
.portfolio-row:nth-child(4n) {
  border-left-color: var(--tele-magenta);
}

.feature-row:hover,
.piece-row:hover,
.portfolio-row:hover,
.door:hover {
  background: #001a00;
  text-decoration: none;
}

.feature-number,
.tier,
.feature-tier {
  color: var(--tele-yellow);
}

.feature-number::before {
  content: "";
}

.feature-number::after {
  content: ".";
}

.feature-row {
  grid-template-columns: 3ch 2ch minmax(0, 1fr);
}

.feature-row small,
.piece-subtitle,
.portfolio-row p,
.project-facts span,
.content-excerpt,
.case-study p {
  color: var(--paper-2);
}

.piece-row {
  grid-template-columns: minmax(0, 1fr) 3ch;
}

.piece-title,
.feature-row strong,
.portfolio-row h3,
.work-body h3 {
  color: var(--paper);
}

.portfolio-row,
.portfolio-row.with-preview {
  grid-template-columns: 11ch minmax(0, 1fr);
}

.portfolio-row .tag {
  color: var(--tele-cyan);
}

.prose {
  color: var(--paper-2);
}

.prose h2,
.prose h3,
.prose h4 {
  display: inline-block;
  padding: 0 1ch;
  color: #000;
  background: var(--tele-cyan);
}

.prose blockquote {
  border-left-color: var(--tele-yellow);
}

footer .shell::before {
  content: "P999  END OF FRAME";
  display: block;
  width: min(38ch, 100%);
  margin-bottom: 0.8em;
  padding: 0 1ch;
  color: #000;
  background: var(--tele-green);
}

@media (max-width: 620px) {
  body {
    font-size: 15px;
  }

  .shell {
    width: min(78ch, calc(100vw - 2ch));
    margin-left: 1ch;
  }

  .brand,
  .home-copy::before,
  .page-hero .shell::before,
  footer .shell::before {
    width: 100%;
  }

  nav a {
    display: inline-block;
    margin-bottom: 0.25em;
  }

  .feature-row,
  .feature-row.has-image,
  .feature-row.has-badge {
    grid-template-columns: 3ch 2ch minmax(0, 1fr);
  }
}

body::before {
  content: "";
  position: fixed;
  top: 1.2em;
  right: 2ch;
  z-index: 0;
  width: 22ch;
  height: 20em;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--tele-blue) 0 12%, transparent 12% 16%, var(--tele-yellow) 16% 32%, transparent 32% 38%, var(--tele-red) 38% 58%, transparent 58% 64%, var(--tele-cyan) 64% 82%, transparent 82% 100%),
    linear-gradient(0deg, transparent 0 9%, var(--tele-green) 9% 18%, transparent 18% 28%, var(--tele-magenta) 28% 42%, transparent 42% 58%, var(--tele-blue) 58% 74%, transparent 74% 100%);
  opacity: 0.78;
  mix-blend-mode: screen;
}

.topbar,
.home-hero,
.page-hero,
main,
footer {
  position: relative;
  z-index: 1;
}

.topbar .shell::after {
  content: "F1 HOME  F2 WRITING  F3 TRANSLATE  F4 WORK  F5 ABOUT";
  display: block;
  width: min(58ch, 100%);
  margin-top: 0.55em;
  padding: 0 1ch;
  color: #000;
  background:
    linear-gradient(90deg, var(--tele-cyan) 0 20%, var(--tele-yellow) 20% 40%, var(--tele-green) 40% 60%, var(--tele-magenta) 60% 80%, var(--tele-red) 80% 100%);
  white-space: nowrap;
  overflow: hidden;
}

.home-copy::after,
.page-hero .shell::after {
  content: "";
  display: block;
  width: min(58ch, 100%);
  height: 5.2em;
  margin: 1.1em 0;
  background:
    linear-gradient(90deg, #000 0 7%, var(--tele-blue) 7% 14%, #000 14% 21%, var(--tele-cyan) 21% 29%, #000 29% 36%, var(--tele-yellow) 36% 48%, #000 48% 55%, var(--tele-red) 55% 68%, #000 68% 74%, var(--tele-magenta) 74% 84%, #000 84% 100%),
    linear-gradient(0deg, transparent 0 16%, rgba(255,255,255,0.28) 16% 18%, transparent 18% 36%, rgba(255,255,255,0.28) 36% 38%, transparent 38% 58%, rgba(255,255,255,0.28) 58% 60%, transparent 60% 78%, rgba(255,255,255,0.28) 78% 80%, transparent 80% 100%);
}

.home-doors,
.catalog-tools,
.start-block,
.catalog-group,
.portfolio-router,
.project-facts,
.content-meta,
.content-excerpt {
  position: relative;
}

.home-doors {
  padding: 0.8em 1ch 0.2em;
  border-top: 0.6em solid var(--tele-blue);
  border-right: 1ch solid var(--tele-red);
  border-bottom: 0.6em solid var(--tele-green);
  border-left: 1ch solid var(--tele-magenta);
}

.home-doors::before {
  content: "SELECT SERVICE";
  display: block;
  width: max-content;
  max-width: 100%;
  margin: -1.4em 0 0.9em;
  padding: 0 1ch;
  color: #000;
  background: var(--tele-yellow);
}

.catalog-tools {
  padding: 0.7em 1ch;
  border-left: 1ch solid var(--tele-green);
  background:
    linear-gradient(90deg, rgba(0,0,170,0.35), transparent 58%),
    #000;
}

.catalog-tools::before {
  content: "QUERY";
  display: inline-block;
  margin: 0 1ch 0.5em 0;
  padding: 0 1ch;
  color: #000;
  background: var(--tele-cyan);
}

.catalog-group h2 {
  min-width: min(24ch, 100%);
}

.catalog-group h2 span {
  display: inline-block;
  min-width: 3ch;
  margin-left: 1ch;
  color: var(--tele-cyan);
  text-align: right;
}

.start-block .catalog-group::after,
.catalog-group[data-group]::before {
  content: "";
  display: block;
  width: min(50ch, 100%);
  height: 0.8em;
  margin: 0.25em 0 0.8em;
  background:
    linear-gradient(90deg, var(--tele-blue) 0 14%, var(--tele-red) 14% 28%, var(--tele-yellow) 28% 43%, var(--tele-green) 43% 62%, var(--tele-cyan) 62% 78%, var(--tele-magenta) 78% 100%);
}

.catalog-group[data-group]::before {
  margin-top: 1.4em;
}

.feature-row,
.piece-row,
.portfolio-row {
  margin-bottom: 0.95em;
  background:
    linear-gradient(90deg, rgba(0,0,170,0.28), transparent 34%),
    #000;
}

.feature-row::after,
.piece-row::after,
.portfolio-row::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -0.25em;
  width: 18ch;
  max-width: 42%;
  height: 1px;
  background: var(--line);
}

.feature-row:nth-child(3n + 1) strong,
.piece-row:nth-child(3n + 1) .piece-title {
  color: #fff;
}

.feature-row:nth-child(3n + 2) strong,
.piece-row:nth-child(3n + 2) .piece-title {
  color: var(--tele-yellow);
}

.feature-row:nth-child(3n) strong,
.piece-row:nth-child(3n) .piece-title {
  color: var(--tele-cyan);
}

.portfolio-row:nth-child(3n + 1) h3 {
  color: #fff;
}

.portfolio-row:nth-child(3n + 2) h3 {
  color: var(--tele-yellow);
}

.portfolio-row:nth-child(3n) h3 {
  color: var(--tele-cyan);
}

.project-facts,
.content-meta,
.content-excerpt {
  padding: 0.7em 1ch;
  border-left: 1ch solid var(--tele-yellow);
  background:
    linear-gradient(90deg, rgba(204,34,34,0.32), transparent 42%),
    #000;
}

.prose p:nth-of-type(7n + 1)::first-letter {
  color: var(--tele-yellow);
}

.prose p:nth-of-type(7n + 2)::first-letter {
  color: var(--tele-cyan);
}

.prose p:nth-of-type(7n + 3)::first-letter {
  color: var(--tele-magenta);
}

footer .shell {
  padding-bottom: 1em;
}

footer .shell::after {
  content: "0 RETURN  9 INDEX  # HOLD";
  display: block;
  width: min(58ch, 100%);
  margin-top: 0.8em;
  padding: 0 1ch;
  color: #000;
  background: var(--tele-cyan);
}

@media (max-width: 1180px) {
  body::before {
    display: none;
  }
}

@media (max-width: 620px) {
  .topbar .shell::after {
    white-space: normal;
  }

  .home-copy::after,
  .page-hero .shell::after {
    height: 3.2em;
  }

  .home-doors,
  .catalog-tools,
  .project-facts,
  .content-meta,
  .content-excerpt {
    border-left-width: 0.6ch;
    border-right-width: 0.6ch;
  }

  .feature-row::after,
  .piece-row::after,
  .portfolio-row::after {
    width: 12ch;
  }
}

.feature-row,
.feature-row.has-image,
.feature-row.has-badge {
  grid-template-columns: 3ch 11ch minmax(0, 1fr);
  gap: 1ch;
}

.feature-route {
  display: inline-block;
  min-width: 9ch;
  padding: 0 1ch;
  color: #000;
  background: var(--tele-cyan);
  font-family: var(--mono);
  font-size: 1em;
  line-height: 1.42;
  text-align: left;
}

.feature-row:nth-child(4n + 2) .feature-route {
  background: var(--tele-yellow);
}

.feature-row:nth-child(4n + 3) .feature-route {
  background: var(--tele-green);
}

.feature-row:nth-child(4n) .feature-route {
  color: #fff;
  background: var(--tele-red);
}

.feature-row small {
  max-width: 64ch;
}

.about-block {
  position: relative;
  padding: 0.65em 1ch 0.75em;
  border-left: 1ch solid var(--tele-blue);
  background:
    linear-gradient(90deg, rgba(0,0,170,0.28), transparent 42%),
    #000;
}

.about-block:nth-child(2) {
  border-left-color: var(--tele-cyan);
}

.about-block:nth-child(3) {
  border-left-color: var(--tele-magenta);
}

.about-block:nth-child(4) {
  border-left-color: var(--tele-yellow);
}

.about-block:nth-child(5) {
  border-left-color: var(--tele-green);
}

.about-block::after {
  content: "";
  display: block;
  width: min(42ch, 100%);
  height: 1px;
  margin-top: 0.85em;
  background: var(--line);
}

@media (max-width: 620px) {
  .shell {
    width: min(78ch, calc(100% - 2ch));
  }

  .feature-row,
  .feature-row.has-image,
  .feature-row.has-badge {
    grid-template-columns: 3ch minmax(0, 1fr);
  }

  .feature-route {
    grid-column: 2;
    width: max-content;
    max-width: 100%;
    margin-bottom: 0.15em;
  }

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

:root {
  --tele-black: #000;
  --tele-white: #ffffff;
}

body {
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 10px),
    repeating-linear-gradient(90deg, rgba(85,255,255,0.035) 0 1px, transparent 1px 1ch),
    #000;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 0;
  background: #000;
}

.topbar .shell {
  display: block;
  padding-top: 0.7em;
}

.topbar .shell::before {
  content: "P100 PRUDENCE  INDEX  WED 27 MAY  1200/75";
  display: block;
  width: min(58ch, 100%);
  margin-bottom: 0.45em;
  padding: 0 1ch;
  color: #000;
  background: var(--tele-white);
  overflow: hidden;
  white-space: nowrap;
}

.brand {
  min-width: 0;
  width: min(38ch, 100%);
}

.brand::after {
  content: "  V23";
}

nav {
  width: min(58ch, 100%);
  padding: 0.1em 1ch;
  background:
    linear-gradient(90deg, rgba(0,0,170,0.72), transparent 72%),
    #000;
}

nav::before {
  content: "TREE ";
  color: var(--tele-yellow);
}

nav a.active {
  animation: tele-blink 1.1s steps(2, end) infinite;
}

.home-copy,
.page-hero .shell,
main.shell,
footer .shell {
  padding-left: 1ch;
  background:
    repeating-linear-gradient(90deg, rgba(85,255,255,0.055) 0 1px, transparent 1px 8ch),
    #000;
}

.home-copy::before {
  content: "P100  PRUDENCE SERVICE  01/06";
  width: min(40ch, 100%);
  color: #000;
  background: var(--tele-white);
}

.page-hero .shell::before {
  content: "P200  SERVICE FRAME  01/04";
  width: min(40ch, 100%);
  color: #000;
  background: var(--tele-white);
}

.home-copy::after,
.page-hero .shell::after {
  width: min(40ch, 100%);
  height: 6.2em;
  border-top: 0.4em solid var(--tele-blue);
  border-right: 1ch solid var(--tele-red);
  border-bottom: 0.4em solid var(--tele-green);
  border-left: 1ch solid var(--tele-yellow);
  background:
    linear-gradient(90deg, transparent 0 8%, var(--tele-blue) 8% 16%, transparent 16% 24%, var(--tele-cyan) 24% 32%, transparent 32% 40%, var(--tele-yellow) 40% 52%, transparent 52% 60%, var(--tele-red) 60% 72%, transparent 72% 80%, var(--tele-magenta) 80% 92%, transparent 92% 100%),
    linear-gradient(0deg, transparent 0 10%, var(--tele-green) 10% 20%, transparent 20% 35%, var(--tele-blue) 35% 50%, transparent 50% 64%, var(--tele-red) 64% 78%, transparent 78% 100%),
    #000;
}

.section::before,
.catalog-group::before,
.about-grid::before,
.portfolio-router::before,
.project-layout::before,
.content-layout::before {
  content: "HOLD  MIXTE  TREE  REVEAL";
  display: block;
  width: min(40ch, 100%);
  margin: 0 0 0.8em;
  padding: 0 1ch;
  color: #000;
  background:
    linear-gradient(90deg, var(--tele-red) 0 25%, var(--tele-green) 25% 50%, var(--tele-yellow) 50% 75%, var(--tele-cyan) 75% 100%);
}

.catalog-group::before {
  content: "INDEX  NEXT PAGE  *  HOLD";
}

.catalog-group[data-group]::before {
  content: "INDEX  NEXT PAGE  *  HOLD";
  height: auto;
  margin: 0 0 0.8em;
  padding: 0 1ch;
  color: #000;
  background:
    linear-gradient(90deg, var(--tele-red) 0 25%, var(--tele-green) 25% 50%, var(--tele-yellow) 50% 75%, var(--tele-cyan) 75% 100%);
}

.about-grid::before {
  content: "IDENT  PUBLIC CARD  SEND";
}

.portfolio-router::before {
  content: "SERVICES  ARCHIVE  TOOLS";
}

.project-layout::before,
.content-layout::before {
  content: "FRAME  SOURCE  RETURN";
}

.home-doors {
  width: min(58ch, 100%);
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.08) 0 1ch, transparent 1ch 2ch),
    #000;
}

.home-doors::after,
.catalog-tools::after,
.start-block::after,
.about-grid::after,
.portfolio-router::after {
  content: "";
  display: block;
  width: min(40ch, 100%);
  height: 2.2em;
  margin-top: 0.8em;
  background:
    linear-gradient(90deg, var(--tele-blue) 0 10%, #000 10% 16%, var(--tele-yellow) 16% 25%, #000 25% 33%, var(--tele-red) 33% 45%, #000 45% 50%, var(--tele-cyan) 50% 65%, #000 65% 72%, var(--tele-green) 72% 84%, #000 84% 90%, var(--tele-magenta) 90% 100%),
    linear-gradient(0deg, transparent 0 40%, rgba(255,255,255,0.32) 40% 44%, transparent 44% 100%);
}

.door h2::before {
  color: var(--tele-yellow);
}

.door:nth-child(1) h2::before {
  content: "210 ";
}

.door:nth-child(2) h2::before {
  content: "220 ";
}

.door:nth-child(3) h2::before {
  content: "230 ";
}

.door:nth-child(4) h2::before {
  content: "240 ";
}

.catalog-tools {
  width: min(58ch, 100%);
  border-top: 0.4em solid var(--tele-blue);
  border-right: 1ch solid var(--tele-red);
  border-bottom: 0.4em solid var(--tele-green);
}

.filter-set::before {
  content: "KEYWORD ";
  color: var(--tele-yellow);
}

.catalog-search::before {
  content: "? ";
}

.start-block {
  padding: 0.75em 1ch;
  border-top: 0.4em solid var(--tele-magenta);
  border-right: 1ch solid var(--tele-cyan);
  border-bottom: 0.4em solid var(--tele-yellow);
  border-left: 1ch solid var(--tele-blue);
  background:
    linear-gradient(90deg, rgba(255,85,255,0.18), transparent 44%),
    #000;
}

.feature-grid {
  counter-reset: subpage;
}

.feature-row {
  counter-increment: subpage;
}

.feature-row::before {
  content: "2" counter(subpage, decimal-leading-zero);
  color: var(--tele-green);
}

.feature-row::after {
  width: 100%;
  max-width: none;
  background:
    linear-gradient(90deg, var(--tele-blue) 0 12%, transparent 12% 18%, var(--tele-cyan) 18% 25%, transparent 25% 38%, var(--line) 38% 100%);
}

.feature-number {
  display: none;
}

.piece-row {
  counter-increment: piece;
  grid-template-columns: 4ch minmax(0, 1fr) 3ch;
}

.catalog-grid {
  counter-reset: piece;
}

.piece-row::before {
  content: counter(piece, decimal-leading-zero);
  color: var(--tele-green);
}

.piece-row .tier {
  color: var(--tele-yellow);
}

.piece-row[data-tier="s"]::before {
  color: var(--tele-yellow);
}

.piece-row[data-tier="a"]::before {
  color: var(--tele-cyan);
}

.piece-row[data-tier="b"]::before {
  color: var(--tele-magenta);
}

.portfolio-row .tag::before {
  content: ">> ";
  color: var(--tele-yellow);
}

.about-block .mini::before,
.project-facts b::before,
.content-meta span::before {
  content: "/// ";
  color: var(--tele-yellow);
}

.prose p:nth-of-type(11n + 1) {
  border-left: 1ch solid var(--tele-blue);
  padding-left: 1ch;
}

.prose p:nth-of-type(11n + 6) {
  border-left: 1ch solid var(--tele-red);
  padding-left: 1ch;
}

.prose blockquote {
  border-left-width: 1ch;
  padding: 0.45em 1ch;
  background:
    linear-gradient(90deg, rgba(255,255,85,0.12), transparent 52%),
    #000;
}

footer .shell::before {
  content: "P999  END OF MAGAZINE  04/04";
  width: min(40ch, 100%);
  color: #000;
  background: var(--tele-white);
}

footer .shell::after {
  content: "RED BACK  GREEN NEXT  YELLOW INDEX  CYAN HOLD";
  width: min(58ch, 100%);
  color: #000;
  background:
    linear-gradient(90deg, var(--tele-red) 0 25%, var(--tele-green) 25% 50%, var(--tele-yellow) 50% 75%, var(--tele-cyan) 75% 100%);
}

@keyframes tele-blink {
  0%,
  49% {
    color: #000;
    background: var(--tele-yellow);
  }
  50%,
  100% {
    color: var(--tele-yellow);
    background: transparent;
  }
}

@media (prefers-reduced-motion: reduce) {
  nav a.active {
    animation: none;
  }
}

@media (max-width: 620px) {
  .topbar .shell::before,
  .topbar .shell::after,
  .home-copy::before,
  .page-hero .shell::before,
  .home-copy::after,
  .page-hero .shell::after,
  .section::before,
  .catalog-group::before,
  .about-grid::before,
  .portfolio-router::before,
  .project-layout::before,
  .content-layout::before,
  footer .shell::before,
  footer .shell::after {
    width: 100%;
    white-space: normal;
  }

  nav {
    width: 100%;
  }

  .home-doors,
  .catalog-tools {
    width: 100%;
    border-right-width: 0.6ch;
    border-left-width: 0.6ch;
  }

  .start-block {
    border-right-width: 0.6ch;
    border-left-width: 0.6ch;
    padding-left: 0.6ch;
    padding-right: 0.6ch;
  }

  .feature-row,
  .feature-row.has-image,
  .feature-row.has-badge {
    grid-template-columns: 4ch minmax(0, 1fr);
  }

  .feature-row::before {
    grid-column: 1;
  }

  .feature-route,
  .feature-copy {
    grid-column: 2;
  }

  .piece-row {
    grid-template-columns: 4ch minmax(0, 1fr) 3ch;
  }
}

[hidden] {
  display: none !important;
}

.catalog-count {
  display: block;
  width: min(58ch, 100%);
  margin: 0.95em 0 1.3em;
  padding: 0 1ch;
  color: #000;
  background:
    linear-gradient(90deg, var(--tele-green) 0 34%, var(--tele-cyan) 34% 68%, var(--tele-yellow) 68% 100%);
}

.catalog-count::before {
  content: "RESULT ";
  color: #000;
  font-weight: 700;
}

.catalog-count::after {
  content: "  MODE " attr(data-filter-label);
  float: right;
  color: #000;
}

.catalog-tools:focus-within {
  border-left: 1ch solid var(--tele-yellow);
  background:
    linear-gradient(90deg, rgba(255,255,85,0.2), rgba(0,0,170,0.32) 48%, transparent 72%),
    #000;
}

.filter-button:focus-visible,
.catalog-search:focus-visible,
.button:focus-visible,
.door:focus-visible,
.feature-row:focus-visible,
.piece-row:focus-visible,
.portfolio-row:focus-visible {
  outline: 0.25em solid var(--tele-yellow);
  outline-offset: 0.1em;
}

.feature-row:hover::before,
.piece-row:hover::before,
.feature-row:focus-visible::before,
.piece-row:focus-visible::before {
  color: #000;
  background: var(--tele-yellow);
}

.piece-row:hover .tier,
.piece-row:focus-visible .tier {
  color: #000;
  background: var(--tele-cyan);
}

.empty-state.show {
  width: min(58ch, 100%);
  padding: 0.7em 1ch;
  border-left: 1ch solid var(--tele-red);
  color: var(--tele-yellow);
  background:
    linear-gradient(90deg, rgba(204,34,34,0.34), transparent 56%),
    #000;
}

.empty-state.show::before {
  content: "NO MATCH  ";
  color: #000;
  background: var(--tele-red);
}

@media (max-width: 620px) {
  .catalog-count,
  .empty-state.show {
    width: 100%;
  }

  .catalog-count::after {
    display: block;
    float: none;
  }
}

:root {
  --screen-ch: 40ch;
}

body {
  font-size: 17px;
  line-height: 1.34;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.026) 0 1px, transparent 1px 12px),
    repeating-linear-gradient(90deg, rgba(85,255,255,0.04) 0 1px, transparent 1px 1ch),
    #000;
}

body::after {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  opacity: 0.2;
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,0) 0 2px, rgba(255,255,255,0.11) 2px 3px, rgba(0,0,0,0) 3px 6px),
    repeating-linear-gradient(90deg, rgba(0,0,0,0.18) 0 1px, transparent 1px 3px);
}

.shell {
  width: min(var(--screen-ch), calc(100% - 3ch));
  margin-left: 1ch;
}

.topbar .shell::before {
  content: "P100 PRUDENCE WED 27 MAY 1200/75";
}

.brand,
nav,
.topbar .shell::before,
.topbar .shell::after,
.home-copy::before,
.page-hero .shell::before,
.home-copy::after,
.page-hero .shell::after,
.home-doors,
.catalog-tools,
.catalog-count,
.start-block,
.start-block .catalog-group::after,
.catalog-group::before,
.catalog-group[data-group]::before,
.about-grid::before,
.about-grid::after,
.portfolio-router::before,
.portfolio-router::after,
.project-layout::before,
.content-layout::before,
footer .shell::before,
footer .shell::after,
.empty-state.show {
  width: 100%;
  max-width: 100%;
}

.home-copy,
.page-hero .shell,
main.shell,
footer .shell {
  padding-left: 0;
}

.home-copy::after,
.page-hero .shell::after {
  height: 5.6em;
}

.catalog-tools {
  border-left: 1ch solid var(--tele-green);
}

.catalog-count {
  margin-top: 0.8em;
}

.catalog-count::after {
  display: block;
  float: none;
}

.section:has(.filter-button.active:not([data-filter="all"])) .start-block,
.section:has(.catalog-search:not(:placeholder-shown)) .start-block {
  display: none !important;
}

.section:has(.filter-button.active:not([data-filter="all"])) .catalog-count,
.section:has(.catalog-search:not(:placeholder-shown)) .catalog-count {
  animation: result-pulse 1.4s steps(2, end) infinite;
}

.filter-button.active {
  box-shadow: inset 0 -0.35em 0 #000 !important;
}

.feature-row,
.feature-row.has-image,
.feature-row.has-badge {
  grid-template-columns: 4ch minmax(0, 1fr);
}

.feature-route {
  grid-column: 2;
  width: max-content;
  max-width: 100%;
}

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

.piece-row {
  grid-template-columns: 4ch minmax(0, 1fr);
}

.piece-row .tier {
  grid-column: 2;
  justify-self: start;
  margin-top: 0.2em;
}

@keyframes result-pulse {
  0%,
  49% {
    color: #000;
    background:
      linear-gradient(90deg, var(--tele-green) 0 34%, var(--tele-cyan) 34% 68%, var(--tele-yellow) 68% 100%);
  }
  50%,
  100% {
    color: #000;
    background:
      linear-gradient(90deg, var(--tele-yellow) 0 34%, var(--tele-green) 34% 68%, var(--tele-cyan) 68% 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .section:has(.filter-button.active:not([data-filter="all"])) .catalog-count,
  .section:has(.catalog-search:not(:placeholder-shown)) .catalog-count {
    animation: none;
  }
}

@media (min-width: 900px) {
  .shell {
    margin-left: 2ch;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .shell {
    width: min(var(--screen-ch), calc(100% - 3ch));
    margin-left: 1ch;
  }
}

:root {
  --screen-ch: 40ch;
}

@media (min-width: 760px) {
  body {
    font-size: clamp(28px, 2.25vw, 42px);
    line-height: 1.18;
    background:
      repeating-linear-gradient(0deg, rgba(255,255,255,0.035) 0 2px, transparent 2px 18px),
      repeating-linear-gradient(90deg, rgba(85,255,255,0.045) 0 2px, transparent 2px 1ch),
      #000;
  }

  body::after {
    opacity: 0.27;
    background:
      repeating-linear-gradient(0deg, rgba(0,0,0,0) 0 4px, rgba(255,255,255,0.13) 4px 6px, rgba(0,0,0,0) 6px 12px),
      repeating-linear-gradient(90deg, rgba(0,0,0,0.2) 0 2px, transparent 2px 6px);
  }

  .shell {
    width: min(var(--screen-ch), calc(100% - 4ch));
    margin-left: clamp(1ch, 3vw, 3ch);
  }

  .home-copy,
  .page-hero .shell,
  main.shell,
  footer .shell {
    background:
      repeating-linear-gradient(90deg, rgba(85,255,255,0.075) 0 2px, transparent 2px 4ch),
      #000;
  }

  .topbar .shell {
    padding-top: 0.45em;
  }

  .topbar {
    position: static;
  }

  .topbar .shell::before,
  .brand,
  nav,
  .topbar .shell::after,
  .home-copy::before,
  .page-hero .shell::before,
  footer .shell::before,
  footer .shell::after,
  .catalog-count {
    padding-left: 0.45ch;
    padding-right: 0.45ch;
  }

  .home-hero,
  .page-hero {
    padding-top: 0.75em;
  }

  .home-copy::after,
  .page-hero .shell::after {
    height: 4.2em;
    border-top-width: 0.28em;
    border-bottom-width: 0.28em;
    border-right-width: 0.6ch;
    border-left-width: 0.6ch;
  }

  .catalog-tools,
  .home-doors,
  .start-block,
  .about-block,
  .project-facts,
  .content-meta,
  .content-excerpt {
    border-left-width: 0.55ch;
    border-right-width: 0.55ch;
  }

  .catalog-tools,
  .start-block {
    padding: 0.45em 0.55ch;
  }

  .button,
  .filter-button,
  .catalog-search {
    font-size: 1em;
  }

  .button {
    line-height: 1.16;
  }

  .filter-button {
    margin-right: 0.45ch;
  }

  .feature-row,
  .piece-row,
  .portfolio-row {
    margin-bottom: 0.55em;
    padding-left: 0.45ch;
    border-left-width: 0.55ch;
  }

  .feature-row,
  .feature-row.has-image,
  .feature-row.has-badge,
  .piece-row {
    grid-template-columns: 3ch minmax(0, 1fr);
    gap: 0.55ch;
  }

  .feature-route {
    padding: 0 0.45ch;
  }

  .piece-subtitle,
  .feature-row small,
  .portfolio-row p {
    line-height: 1.22;
  }

  body::before {
    top: 4.5em;
    right: 1ch;
    width: 8ch;
    height: 5.5em;
  }
}

@media (min-width: 1280px) {
  body {
    font-size: clamp(34px, 2.35vw, 46px);
  }

  .shell {
    margin-left: clamp(0.5ch, 2vw, 2ch);
  }
}

@media (max-width: 759px) {
  body {
    font-size: clamp(17px, 4.4vw, 22px);
  }
}

:root {
  --screen-ch: 40ch;
}

@media (min-width: 760px) {
  body {
    font-size: clamp(22px, min(1.32vw, 3.1vh), 27px);
    line-height: 1.22;
    background:
      radial-gradient(ellipse at 50% 28%, rgba(85,255,85,0.06), transparent 42%),
      repeating-linear-gradient(0deg, rgba(255,255,255,0.028) 0 1px, transparent 1px 14px),
      repeating-linear-gradient(90deg, rgba(85,255,255,0.035) 0 1px, transparent 1px 1ch),
      #000;
  }

  body::before {
    display: none;
  }

  body::after {
    opacity: 0.24;
    background:
      radial-gradient(ellipse at 50% 48%, transparent 0 54%, rgba(0,0,0,0.38) 86%, rgba(0,0,0,0.68) 100%),
      repeating-linear-gradient(0deg, rgba(0,0,0,0) 0 3px, rgba(255,255,255,0.11) 3px 4px, rgba(0,0,0,0) 4px 8px),
      repeating-linear-gradient(90deg, rgba(0,0,0,0.18) 0 1px, transparent 1px 4px);
  }

  .shell {
    width: min(var(--screen-ch), calc(100% - 4ch));
    margin-left: auto;
    margin-right: auto;
  }

  .home-copy,
  .page-hero .shell,
  main.shell,
  footer .shell {
    background:
      repeating-linear-gradient(90deg, rgba(85,255,255,0.06) 0 1px, transparent 1px 4ch),
      #000;
  }

  .topbar {
    position: static;
  }

  .topbar .shell {
    padding-top: 0.5em;
  }

  .topbar .shell::before,
  .brand,
  nav,
  .topbar .shell::after,
  .home-copy::before,
  .page-hero .shell::before,
  footer .shell::before,
  footer .shell::after,
  .catalog-count {
    padding-left: 0.55ch;
    padding-right: 0.55ch;
  }

  .home-hero,
  .page-hero {
    padding-top: 0.9em;
  }

  .home-copy::after,
  .page-hero .shell::after {
    height: 4.6em;
    border-top-width: 0.3em;
    border-right-width: 0.65ch;
    border-bottom-width: 0.3em;
    border-left-width: 0.65ch;
  }

  .catalog-tools,
  .home-doors,
  .start-block,
  .about-block,
  .project-facts,
  .content-meta,
  .content-excerpt {
    border-left-width: 0.65ch;
    border-right-width: 0.65ch;
  }

  .catalog-tools,
  .start-block {
    padding: 0.55em 0.65ch;
  }

  .button,
  .filter-button,
  .catalog-search {
    font-size: 1em;
  }

  .filter-button {
    margin-right: 0.45ch;
  }

  .feature-row,
  .piece-row,
  .portfolio-row {
    margin-bottom: 0.7em;
    padding-left: 0.5ch;
    border-left-width: 0.6ch;
  }

  .feature-row,
  .feature-row.has-image,
  .feature-row.has-badge,
  .piece-row {
    grid-template-columns: 3.2ch minmax(0, 1fr);
    gap: 0.6ch;
  }

  .feature-route {
    padding: 0 0.5ch;
  }

  .piece-subtitle,
  .feature-row small,
  .portfolio-row p,
  .prose {
    line-height: 1.3;
  }
}

@media (min-width: 1280px) {
  body {
    font-size: clamp(23px, min(1.25vw, 3vh), 28px);
  }
}

@media (max-width: 759px) {
  body {
    font-size: clamp(17px, 4.2vw, 21px);
  }

  .shell {
    width: min(var(--screen-ch), calc(100% - 3ch));
    margin-left: 1ch;
    margin-right: 0;
  }
}

:root {
  --screen-ch: 88ch;
  --raster-x: 1;
}

@media (min-width: 760px) {
  body {
    font-size: clamp(22px, min(1.42vw, 2.7vh), 29px);
    line-height: 1.2;
    background:
      radial-gradient(ellipse at 50% 32%, rgba(85,255,85,0.055), transparent 46%),
      repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 13px),
      repeating-linear-gradient(90deg, rgba(85,255,255,0.04) 0 1px, transparent 1px 1ch),
      #000;
  }

  body::after {
    opacity: 0.23;
    background:
      radial-gradient(ellipse at 50% 48%, transparent 0 58%, rgba(0,0,0,0.34) 86%, rgba(0,0,0,0.66) 100%),
      repeating-linear-gradient(0deg, rgba(0,0,0,0) 0 3px, rgba(255,255,255,0.11) 3px 4px, rgba(0,0,0,0) 4px 8px),
      repeating-linear-gradient(90deg, rgba(0,0,0,0.18) 0 1px, transparent 1px 4px);
  }

  .shell {
    width: min(var(--screen-ch), calc(100vw - 4vw), calc((100vh - 1rem) * 1.42));
    margin-left: auto;
    margin-right: auto;
    transform: scaleX(var(--raster-x));
    transform-origin: top center;
  }

  .home-copy,
  .page-hero .shell,
  main.shell,
  footer .shell {
    background:
      repeating-linear-gradient(90deg, rgba(85,255,255,0.055) 0 1px, transparent 1px 4ch),
      #000;
  }

  .home-copy::before {
    content: "P100  PRUDENCE SERVICE  01/06      RASTER EXPANDED";
  }

  .page-hero .shell::before {
    content: "P200  SERVICE FRAME  01/04       RASTER EXPANDED";
  }

  .home-copy::after,
  .page-hero .shell::after {
    height: 5.2em;
  }

  .catalog-tools,
  .start-block,
  .home-doors,
  .about-block {
    border-left-width: 0.75ch;
    border-right-width: 0.75ch;
  }

  .catalog-tools,
  .start-block {
    padding-left: 0.75ch;
    padding-right: 0.75ch;
  }

  .feature-row,
  .feature-row.has-image,
  .feature-row.has-badge,
  .piece-row {
    grid-template-columns: 4ch minmax(0, 1fr) 3ch;
  }

  .piece-row .tier {
    grid-column: 3;
    justify-self: end;
    margin-top: 0;
  }

  .portfolio-row,
  .portfolio-row.with-preview {
    grid-template-columns: 12ch minmax(0, 1fr);
  }

  .button,
  .filter-button {
    display: inline-flex;
    align-items: center;
    min-height: 1.55em;
    padding: 0 0.35ch;
    line-height: 1.1;
  }

  .button-row,
  .filter-set {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2em 0.35ch;
  }
}

@media (min-width: 1600px) {
  body {
    font-size: clamp(24px, min(1.28vw, 2.7vh), 30px);
  }

  .shell {
    width: min(var(--screen-ch), calc(100vw - 5vw), calc((100vh - 1rem) * 1.45));
  }
}

@media (min-width: 1280px) {
  :root {
    --raster-x: 1.14;
  }
}

@media (min-width: 1600px) {
  :root {
    --raster-x: 1.24;
  }
}

@media (min-width: 1840px) {
  :root {
    --raster-x: 1.34;
  }
}

@media (max-width: 759px) {
  :root {
    --screen-ch: 40ch;
    --raster-x: 1;
  }

  .button,
  .filter-button {
    display: inline-flex;
    align-items: center;
    min-height: 2.35em;
    padding: 0 0.35ch;
    line-height: 1.15;
  }

  .button-row,
  .filter-set {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25em 0.35ch;
  }
}

.index-list a {
  display: grid;
  grid-template-columns: minmax(8ch, max-content) minmax(0, 1fr);
  align-items: center;
  gap: 0.65ch;
  min-height: 2em;
  padding: 0.12em 0.35ch;
}

.crumbs a,
footer .shell a {
  display: inline-flex;
  align-items: center;
  min-height: 1.55em;
  padding: 0 0.2ch;
}

@media (max-width: 759px) {
  .index-list a {
    min-height: 2.35em;
    padding-top: 0.25em;
    padding-bottom: 0.25em;
  }

  .crumbs a,
  footer .shell a {
    min-height: 2em;
  }
}
