@font-face {
  font-family: "IBM Plex Sans";
  src: url(/fonts/ibm-plex-sans-latin-400-normal.woff2) format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url(/fonts/ibm-plex-sans-latin-500-normal.woff2) format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url(/fonts/ibm-plex-sans-latin-600-normal.woff2) format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url(/fonts/ibm-plex-mono-latin-400-normal.woff2) format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url(/fonts/ibm-plex-mono-latin-500-normal.woff2) format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url(/fonts/instrument-serif-latin-400-normal.woff2) format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url(/fonts/instrument-serif-latin-400-italic.woff2) format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
:root {
  --paper: #f2efe6;
  --paper-2: #e9e5d8;
  --ink: #14213d;
  --ink-2: #454c5c;
  --ink-3: #7a7c80;
  --rule: #14213d;
  --hair: #cfc9b8;
  --grid: #e3decf;
  --signal: #cf4a24;
  --signal-2: #f3d9cf;
  --live: #2f6b4f;
  --build: #b5651d;
  --scope: #4a5d8a;
  --design: #7a4a8a;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
}
.wrap {
  width: min(1180px, 100% - 48px);
  margin-inline: auto;
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 12px;
  z-index: 99;
}
:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}

/* header */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.mark {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font: 600 15px/1 var(--sans);
  letter-spacing: 0.02em;
}
.mark img {
  width: 28px;
  height: 28px;
  display: block;
}
.top nav {
  display: flex;
  gap: 26px;
  font: 500 13px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.top nav a {
  text-decoration: none;
  padding: 6px 0;
}
.top nav a:hover {
  color: var(--signal);
}
.nav-cta {
  border: 1px solid var(--ink);
  padding: 8px 12px !important;
}
.nav-cta:hover {
  background: var(--ink);
  color: var(--paper) !important;
}

/* hero */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding: 72px 0 48px;
}
.kicker {
  font: 500 12px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 4px var(--signal-2);
}
h1 {
  font: 400 clamp(44px, 6.2vw, 82px)/0.98 var(--serif);
  letter-spacing: -0.015em;
  margin: 0 0 26px;
}
h1 em {
  font-style: italic;
  color: var(--signal);
}
.lede {
  font-size: 19px;
  color: var(--ink-2);
  max-width: 34em;
  margin: 0 0 32px;
}
.actions {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  padding: 14px 20px;
  font: 500 14px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid var(--ink);
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--signal);
}
.link {
  font: 500 14px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}
.link:hover {
  color: var(--signal);
}

/* diagram */
.diagram {
  margin: 0;
  border: 1px solid var(--rule);
  background: var(--paper);
  box-shadow:
    8px 8px 0 var(--paper-2),
    8px 8px 0 1px var(--rule);
}
.diagram svg {
  display: block;
  width: 100%;
  height: auto;
}
.diagram figcaption {
  display: grid;
  grid-template-columns: auto 1fr auto;
  border-top: 1px solid var(--rule);
  font: 500 10.5px/1 var(--mono);
  letter-spacing: 0.08em;
}
.diagram figcaption span {
  padding: 10px 12px;
}
.diagram figcaption span + span {
  border-left: 1px solid var(--rule);
}
.wire path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.6;
}
.anim .wire path {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  transition: stroke-dashoffset 1.8s cubic-bezier(0.6, 0, 0.2, 1);
}
.anim.drawn .wire path {
  stroke-dashoffset: 0;
}
.brk rect {
  fill: var(--paper);
  stroke: var(--ink);
  stroke-width: 1.6;
}
.node rect {
  fill: var(--paper);
  stroke: var(--ink);
  stroke-width: 1.6;
}
.node-main rect {
  fill: var(--ink);
}
.node-main .t-name,
.node-main .t-sub {
  fill: var(--paper);
}
.node-sub rect {
  stroke: var(--signal);
  stroke-dasharray: 4 3;
}
.anim .node,
.anim .brk,
.anim .leaf,
.anim text {
  opacity: 0;
  transition: opacity 0.6s ease 1.1s;
}
.anim.drawn .node,
.anim.drawn .brk,
.anim.drawn .leaf,
.anim.drawn text {
  opacity: 1;
}
.t-name {
  font: 600 11px var(--mono);
  letter-spacing: 0.06em;
  text-anchor: middle;
  fill: var(--ink);
}
.t-sub {
  font: 400 8.5px var(--mono);
  letter-spacing: 0.08em;
  text-anchor: middle;
  fill: var(--ink-3);
}
.leaf circle {
  fill: var(--paper);
  stroke: var(--ink);
  stroke-width: 1.6;
}
.pulse {
  fill: var(--signal);
  display: none;
}
.anim .pulse {
  display: block;
  opacity: 0;
  transition: opacity 0.4s ease 2s;
}
.anim.drawn .pulse {
  opacity: 1;
}

/* title block */
.titleblock {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid var(--rule);
  margin: 24px 0 0;
  background: var(--paper);
}
.titleblock div {
  padding: 14px 16px;
}
.titleblock div + div {
  border-left: 1px solid var(--rule);
}
.titleblock dt {
  font: 500 10.5px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.titleblock dd {
  margin: 0;
  font-weight: 500;
  font-size: 15px;
}

/* sheets */
.sheet {
  padding: 110px 0 0;
}
.sheet-head {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 24px;
  align-items: end;
  border-bottom: 2px solid var(--rule);
  padding-bottom: 16px;
  margin-bottom: 36px;
}
.sheet-no {
  font: 500 12px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 10px;
  color: var(--signal);
}
.sheet-head h2 {
  font: 400 clamp(34px, 4vw, 52px)/1 var(--serif);
  margin: 0;
  letter-spacing: -0.01em;
}
.sheet-note {
  margin: 0 0 6px;
  color: var(--ink-2);
  font-size: 15px;
  max-width: 30em;
  text-align: right;
}

/* brands */
.brands {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  border: 1px solid var(--rule);
  background: var(--paper);
}
.brand {
  padding: 28px 28px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.brand + .brand {
  border-left: 1px solid var(--rule);
}
.brand-lead {
  background: var(--ink);
  color: var(--paper);
}
.brand-lead .brand-line,
.brand-lead p,
.brand-lead .facts li {
  color: #d9d5ca;
}
.brand-lead .facts span {
  color: #9a968c;
}
.brand-lead .facts li {
  border-color: #33415f;
}
.brand-lead .go {
  color: var(--paper);
  border-color: var(--paper);
}
.brand-lead .tag {
  border-color: #55627f;
}
.brand-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}
.tag {
  font: 500 10.5px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid var(--hair);
  padding: 6px 8px;
}
.status {
  font: 500 10.5px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.s-live {
  color: var(--live);
}
.brand-lead .s-live {
  color: #7fcfa6;
}
.s-build {
  color: var(--build);
}
.s-scope {
  color: var(--scope);
}
.s-design {
  color: var(--design);
}
.brand h3 {
  font: 400 40px/1 var(--serif);
  margin: 0 0 10px;
}
.brand-line {
  font-weight: 500;
  margin: 0 0 14px;
  font-size: 16.5px;
  line-height: 1.45;
}
.brand p {
  margin: 0 0 18px;
  color: var(--ink-2);
  font-size: 15.5px;
}
.facts {
  list-style: none;
  padding: 0;
  margin: auto 0 22px;
}
.facts li {
  border-top: 1px solid var(--hair);
  padding: 9px 0;
  font-size: 14px;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
}
.facts span {
  font: 500 10.5px/1.9 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.go {
  align-self: flex-start;
  font: 500 13px/1 var(--mono);
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1px solid var(--ink);
  padding: 10px 14px;
  transition:
    background 0.15s,
    color 0.15s;
}
.go:hover {
  background: var(--signal);
  border-color: var(--signal);
  color: #fff;
}

/* ledger */
.ledger {
  border: 1px solid var(--rule);
  background: var(--paper);
}
.row {
  display: grid;
  grid-template-columns: 1fr 2.2fr 1.2fr 0.7fr;
  gap: 24px;
  padding: 20px 22px;
  align-items: start;
}
.row + .row {
  border-top: 1px solid var(--hair);
}
.row.head {
  font: 500 10.5px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  padding: 13px 22px;
  border-bottom: 1px solid var(--rule);
}
.row:not(.head):hover {
  background: var(--paper-2);
}
.who {
  font-weight: 600;
  line-height: 1.35;
}
.who small {
  display: block;
  font: 400 12px/1.6 var(--mono);
  color: var(--ink-3);
  letter-spacing: 0.04em;
  margin-top: 4px;
}
.row span {
  font-size: 15px;
  color: var(--ink-2);
}
.row .who {
  color: var(--ink);
}
.stack {
  font: 400 12.5px/1.6 var(--mono) !important;
  color: var(--ink-2);
}
.cell-link {
  display: block;
  margin-top: 8px;
  font: 500 12px var(--mono);
}

/* background */
.bg-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  border: 1px solid var(--rule);
  background: var(--paper);
}
.col {
  padding: 28px;
}
.col + .col {
  border-left: 1px solid var(--rule);
}
.col-h {
  font: 500 11px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 20px;
  color: var(--signal);
}
.col-h2 {
  margin-top: 30px;
}
.timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 18px;
  border-left: 1px solid var(--ink);
}
.timeline li {
  position: relative;
  padding: 0 0 16px;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -23px;
  top: 8px;
  width: 9px;
  height: 9px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
}
.timeline b {
  display: block;
  font-weight: 600;
  font-size: 15.5px;
}
.timeline span {
  color: var(--ink-2);
  font-size: 14.5px;
}
.caps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.caps li {
  padding: 10px 0 10px 22px;
  border-top: 1px solid var(--hair);
  font-size: 15px;
  position: relative;
}
.caps li:first-child {
  border-top: 0;
  padding-top: 0;
}
.caps li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--signal);
  font-family: var(--mono);
}
.caps li:first-child::before {
  top: 0;
}
.chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chips li {
  font: 400 12.5px/1 var(--mono);
  border: 1px solid var(--hair);
  padding: 7px 9px;
  background: var(--paper);
}
.chips-code li {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* rules */
.rules {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--rule);
  background: var(--paper);
}
.rules li {
  padding: 24px 22px;
}
.rules li + li {
  border-left: 1px solid var(--rule);
}
.rules span {
  font: 400 44px/1 var(--serif);
  color: var(--signal);
  display: block;
  margin-bottom: 14px;
}
.rules p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-2);
}
.rules b {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 6px;
}

/* contact */
.contact {
  padding-bottom: 110px;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.door {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  border: 1px solid var(--rule);
  background: var(--paper);
  text-decoration: none;
  position: relative;
  min-height: 200px;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.door:hover {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 var(--ink);
}
.door-k {
  font: 500 11px/1 var(--mono);
  border: 1px solid var(--ink);
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
}
.door b {
  font: 400 30px/1.05 var(--serif);
  margin-top: 12px;
}
.door span:not(.door-k) {
  color: var(--ink-2);
  font-size: 15px;
}
.door i {
  position: absolute;
  right: 22px;
  bottom: 18px;
  font-style: normal;
  font: 500 20px var(--mono);
  color: var(--signal);
}
.direct {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--rule);
  margin: 16px 0 0;
  background: var(--paper);
}
.direct div {
  padding: 16px 20px;
}
.direct div + div {
  border-left: 1px solid var(--rule);
}
.direct dt {
  font: 500 10.5px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.direct dd {
  margin: 0;
  font-weight: 500;
}
.direct a {
  text-decoration: none;
  border-bottom: 1px solid var(--hair);
}
.direct a:hover {
  border-color: var(--signal);
  color: var(--signal);
}

.foot {
  border-top: 1px solid var(--rule);
  background: var(--ink);
  color: var(--paper);
}
.foot-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font: 400 12.5px/1.4 var(--mono);
  flex-wrap: wrap;
}
.foot p {
  margin: 0;
}
.foot nav {
  display: flex;
  gap: 20px;
}
.foot a {
  text-decoration: none;
  opacity: 0.8;
}
.foot a:hover {
  opacity: 1;
  color: #f0a58c;
}

/* responsive */
@media (max-width: 1000px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 48px;
  }
  .titleblock {
    grid-template-columns: repeat(3, 1fr);
  }
  .titleblock div:nth-child(4) {
    border-left: 0;
  }
  .titleblock div:nth-child(n + 4) {
    border-top: 1px solid var(--rule);
  }
  .brands,
  .bg-grid {
    grid-template-columns: 1fr;
  }
  .brand + .brand,
  .col + .col {
    border-left: 0;
    border-top: 1px solid var(--rule);
  }
  .rules {
    grid-template-columns: 1fr 1fr;
  }
  .rules li + li {
    border-left: 0;
  }
  .rules li {
    border-top: 1px solid var(--rule);
  }
  .rules li:nth-child(-n + 2) {
    border-top: 0;
  }
  .rules li:nth-child(even) {
    border-left: 1px solid var(--rule);
  }
  .sheet-head {
    grid-template-columns: 1fr;
  }
  .sheet-note {
    text-align: left;
  }
}
@media (max-width: 760px) {
  body {
    font-size: 16px;
  }
  .wrap {
    width: min(1180px, 100% - 32px);
  }
  .top nav a:not(.nav-cta) {
    display: none;
  }
  .sheet {
    padding-top: 76px;
  }
  .titleblock {
    grid-template-columns: 1fr 1fr;
  }
  .titleblock div {
    border-left: 0 !important;
    border-top: 1px solid var(--rule);
  }
  .titleblock div:nth-child(-n + 2) {
    border-top: 0;
  }
  .titleblock div:nth-child(even) {
    border-left: 1px solid var(--rule) !important;
  }
  .row.head {
    display: none;
  }
  .row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px 18px;
  }
  .rules {
    grid-template-columns: 1fr;
  }
  .rules li {
    border-left: 0 !important;
    border-top: 1px solid var(--rule) !important;
  }
  .rules li:first-child {
    border-top: 0 !important;
  }
  .contact-grid,
  .direct {
    grid-template-columns: 1fr;
  }
  .direct div + div {
    border-left: 0;
    border-top: 1px solid var(--rule);
  }
  .facts li {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .diagram figcaption {
    grid-template-columns: 1fr 1fr;
  }
  .diagram figcaption span:nth-child(2) {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto;
  }
}
.brand.brand-lead p {
  color: #d4d0c5;
}
.brand.brand-lead .brand-line {
  color: var(--paper);
}
.row.head span {
  font-size: inherit;
  color: inherit;
}
.sheet-note {
  max-width: 26em;
}
.brand .brand-line {
  color: var(--ink);
}
.brand.brand-lead .brand-line {
  color: var(--paper);
}
