@font-face {
  font-family: "Source Serif 4";
  src: url("assets/fonts/source-serif-4-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("assets/fonts/ibm-plex-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 75% 100%;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/fonts/ibm-plex-mono-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f1ebdd;
  --paper-light: #f8f4e9;
  --ink: #211e1a;
  --ink-soft: #524b42;
  --blue: #246e9a;
  --blue-line: var(--blue);
  --red: #a64233;
  --page-width: 96rem;
  --page-gutter: clamp(1.25rem, 3.5vw, 3.75rem);
  --header-height: 5rem;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "IBM Plex Sans", "Arial Narrow", Arial, sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
  --hand: "Segoe Print", "Bradley Hand", cursive;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 20rem;
  background: var(--paper);
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

.site-deck {
  width: 100%;
  --swiper-pagination-color: var(--blue);
  --swiper-pagination-bullet-inactive-color: var(--blue);
  --swiper-pagination-bullet-inactive-opacity: 0.35;
}

.site-deck:not(.deck-active) {
  overflow: visible;
}

.site-deck:not(.deck-active) > .swiper-wrapper {
  height: auto;
  display: block;
  transform: none !important;
}

.site-deck:not(.deck-active) > .swiper-wrapper > .swiper-slide {
  width: auto;
  height: auto;
  flex-shrink: 1;
}

body.deck-enabled {
  height: 100dvh;
  overflow: hidden;
}

.site-deck.deck-active {
  height: calc(100dvh - var(--header-height));
  overflow: hidden;
}

.site-deck.deck-active > .swiper-wrapper > .swiper-slide {
  height: 100% !important;
  min-height: 0;
  overflow: hidden;
}

.deck-pagination {
  display: none;
}

.deck-active > .deck-pagination {
  right: clamp(0.5rem, 1.4vw, 1.25rem);
  display: block;
}

.deck-pagination .swiper-pagination-bullet {
  width: 0.6rem;
  height: 0.6rem;
  border: 1px solid var(--paper-light);
  box-shadow: 0 0 0 1px rgb(36 110 154 / 18%);
}

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

a {
  color: inherit;
  text-underline-offset: 0.22em;
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  color: var(--paper-light);
  background: var(--ink);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.opening-page,
.collection-model,
.preservation,
.ecosystem,
.demo,
.site-index {
  width: min(100%, var(--page-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  min-height: var(--header-height);
  padding: 0.78rem var(--page-gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4.5rem);
  background-image:
    url("assets/blue-pencil-rule-vertical.png"),
    url("assets/blue-pencil-rule-vertical.png"),
    url("assets/blue-pencil-rule.png?v=2");
  background-repeat: no-repeat;
  background-position:
    left top,
    right top,
    left bottom;
  background-size:
    2px 100%,
    2px 100%,
    100% 2px;
  background-color: var(--paper);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand img {
  width: 3rem;
  height: 3rem;
}

.brand span {
  display: grid;
}

.brand strong {
  font-size: 1.03rem;
  letter-spacing: 0.045em;
  line-height: 1.1;
  text-transform: uppercase;
}

.brand small {
  margin-top: 0.28rem;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.1rem, 2.5vw, 2.6rem);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.site-nav a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.header-download {
  min-width: 7.5rem;
  min-height: 2.75rem;
  padding: 0.72rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: var(--blue);
  border: 1px solid var(--blue);
  font-family: var(--mono);
  font-size: 0.75rem;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.header-download:hover {
  background: #1b5c84;
}

.opening-page {
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100svh - var(--header-height));
  padding: clamp(2.4rem, 5vh, 4.5rem) var(--page-gutter) 1.4rem;
  display: grid;
  grid-template-columns: minmax(24rem, 1fr) minmax(28rem, 1.12fr);
  grid-template-rows: 1fr;
  align-items: center;
  gap: clamp(2rem, 4vw, 5rem);
  background-image:
    url("assets/blue-pencil-rule-vertical.png"),
    url("assets/blue-pencil-rule-vertical.png"),
    url("assets/blue-pencil-rule.png?v=2");
  background-repeat: no-repeat;
  background-position:
    left top,
    right top,
    left bottom;
  background-size:
    2px 100%,
    2px 100%,
    100% 2px;
}

.opening-copy {
  align-self: start;
}

h1 {
  max-width: none;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.35rem, 4.65vw, 4.8rem);
  font-weight: 520;
  letter-spacing: -0.045em;
  line-height: 0.94;
  text-wrap: balance;
}

.hero-copy {
  max-width: 35rem;
  margin: clamp(1.3rem, 2.5vh, 2rem) 0 0;
  color: var(--ink-soft);
  font-size: clamp(0.91rem, 1.15vw, 1.03rem);
  line-height: 1.55;
}

.trust-record {
  margin: clamp(1.4rem, 2.8vh, 2rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.35rem, 0.8vw, 0.7rem);
  text-align: center;
}

.trust-record > div {
  min-width: 0;
  display: grid;
  justify-items: center;
  align-content: start;
}

.trust-record img {
  width: 1.7rem;
  height: 1.7rem;
  margin-bottom: 0.45rem;
}

.trust-record dt {
  color: var(--ink);
  font-size: clamp(0.76rem, 0.78vw, 0.82rem);
  font-weight: 700;
  line-height: 1.2;
}

.trust-record dd {
  margin: 0.25rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(0.72rem, 0.72vw, 0.78rem);
  line-height: 1.35;
}

.collector-note {
  margin: 1rem 0 0;
  color: var(--blue);
  font-family: var(--hand);
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  text-align: center;
  transform: rotate(-0.5deg);
}

.download-actions {
  margin-top: clamp(1.35rem, 2.7vh, 1.9rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.download-button {
  min-height: 4.25rem;
  padding: 0.72rem 0.85rem;
  display: grid;
  grid-template-columns: 1.55rem minmax(0, 1fr);
  align-items: center;
  gap: 0.7rem;
  border: 1px solid var(--blue);
  color: white;
  background: var(--blue);
  text-decoration: none;
}

.download-button img {
  width: 1.55rem;
  height: 1.55rem;
  object-fit: contain;
}

.download-button > span {
  min-width: 0;
  display: grid;
  gap: 0.18rem;
}

.download-button small {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.015em;
  line-height: 1.35;
}

.download-button strong {
  font-size: 0.82rem;
  line-height: 1.2;
}

.download-button img,
.download-button:hover img {
  filter: brightness(0) invert(1);
}

.download-button:hover {
  color: white;
  background: #1b5c84;
  border-color: var(--blue);
}

.license-line {
  margin: 0.85rem 0 0;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.015em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.license-line span {
  margin-inline: 0.4rem;
  color: var(--blue);
}

.product-view {
  width: 100%;
  margin: 0;
  align-self: center;
}

.product-view img {
  width: 100%;
  height: auto;
  background: #222733;
  box-shadow:
    0 0.45rem 1rem rgb(33 30 26 / 30%),
      0 2rem 4.25rem rgb(33 30 26 / 30%);
}

@media (min-width: 50.001rem) {
  .product-view {
    max-width: min(100%, calc(100svh - var(--header-height) - 5rem));
    justify-self: center;
  }

  .demo-view {
    max-width: min(100%, calc(177.778svh - 15.5rem));
    justify-self: center;
  }
}

.collection-model {
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100svh - var(--header-height));
  padding: clamp(2.8rem, 6vh, 5.5rem) var(--page-gutter) 1.4rem;
  display: grid;
  grid-template-columns: minmax(18rem, 0.72fr) minmax(34rem, 1.28fr);
  grid-template-rows: 1fr;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 6rem);
  background-image:
    url("assets/blue-pencil-rule-vertical.png"),
    url("assets/blue-pencil-rule-vertical.png"),
    url("assets/blue-pencil-rule.png?v=2");
  background-repeat: no-repeat;
  background-position:
    left top,
    right top,
    left bottom;
  background-size:
    2px 100%,
    2px 100%,
    100% 2px;
}

.preservation {
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100svh - var(--header-height));
  padding: clamp(2.8rem, 6vh, 5.5rem) var(--page-gutter) 1.4rem;
  display: grid;
  grid-template-columns: minmax(18rem, 0.78fr) minmax(34rem, 1.22fr);
  align-items: center;
  gap: clamp(2.5rem, 5vw, 6rem);
  background-image:
    url("assets/blue-pencil-rule-vertical.png"),
    url("assets/blue-pencil-rule-vertical.png"),
    url("assets/blue-pencil-rule.png?v=2");
  background-repeat: no-repeat;
  background-position:
    left top,
    right top,
    left bottom;
  background-size:
    2px 100%,
    2px 100%,
    100% 2px;
}

.preservation-intro {
  max-width: 30rem;
  align-self: start;
}

.preservation h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 4.4vw, 4.5rem);
  font-weight: 520;
  letter-spacing: -0.04em;
  line-height: 0.98;
  text-wrap: balance;
}

.preservation-copy {
  max-width: 31rem;
  margin: 1.5rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(0.93rem, 1.1vw, 1.03rem);
  line-height: 1.6;
}

.preservation-record {
  width: 100%;
  max-width: 50rem;
  margin: 0 auto;
  padding: 0;
  align-self: center;
  background: url("assets/blue-pencil-rule.png?v=2") left top / 100% 2px no-repeat;
}

.preservation-record > div {
  min-height: 6.2rem;
  padding: 1.15rem 0.4rem;
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: 1rem;
  background: url("assets/blue-pencil-rule.png?v=2") left bottom / 100% 2px no-repeat;
}

.preservation-record img {
  width: 2rem;
  height: 2rem;
  grid-row: 1 / 3;
  align-self: center;
  justify-self: center;
  filter: invert(36%) sepia(27%) saturate(1332%) hue-rotate(158deg) brightness(93%) contrast(92%);
}

.preservation-record img[src$="download.svg"] {
  filter: none;
}

.preservation-record dt {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  line-height: 1.2;
  text-transform: uppercase;
}

.preservation-record dd {
  margin: 0.28rem 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.35;
}

.ecosystem,
.demo {
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100svh - var(--header-height));
  padding: clamp(3.4rem, 7vh, 5.75rem) var(--page-gutter) 1.4rem;
  display: grid;
  grid-template-columns: minmax(15rem, 0.6fr) minmax(0, 1.4fr);
  align-items: start;
  gap: clamp(2rem, 3.5vw, 4rem);
  background-image:
    url("assets/blue-pencil-rule-vertical.png"),
    url("assets/blue-pencil-rule-vertical.png"),
    url("assets/blue-pencil-rule.png?v=2");
  background-repeat: no-repeat;
  background-position:
    left top,
    right top,
    left bottom;
  background-size:
    2px 100%,
    2px 100%,
    100% 2px;
}

.ecosystem-intro,
.demo-intro {
  max-width: 30rem;
  align-self: start;
}

.ecosystem h2,
.demo h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.45rem, 3.2vw, 3.35rem);
  font-weight: 520;
  letter-spacing: -0.04em;
  line-height: 0.98;
  text-wrap: balance;
}

.ecosystem-copy,
.demo-copy {
  max-width: 29rem;
  margin: 1.5rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(0.9rem, 1vw, 1rem);
  line-height: 1.6;
}

.exchange-map {
  width: 100%;
  margin: 0;
  align-self: center;
}

.exchange-map img {
  width: 100%;
  height: auto;
  display: block;
}

.exchange-map-mobile {
  display: none;
}

.manual-link {
  display: inline-block;
  margin-top: 1.5rem;
  color: var(--blue);
  font-family: var(--mono);
  min-height: 2.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.35em;
  text-transform: uppercase;
}

.demo-view {
  width: 100%;
  margin: 0;
  align-self: center;
}

.demo-video {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1c1c1c;
  box-shadow:
    0 0.45rem 1rem rgb(33 30 26 / 24%),
    0 1.8rem 3.75rem rgb(33 30 26 / 24%);
}

.demo-video iframe,
.demo-poster {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.demo-poster {
  object-fit: cover;
}

.demo-play {
  position: absolute;
  inset: 50% auto auto 50%;
  min-width: 11rem;
  min-height: 3.4rem;
  padding: 0.8rem 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: white;
  background: rgb(33 30 26 / 92%);
  border: 2px solid var(--paper-light);
  font: 700 0.78rem/1 var(--mono);
  letter-spacing: 0.045em;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.demo-play:hover {
  background: var(--blue);
}

.play-symbol {
  width: 0;
  height: 0;
  border-top: 0.45rem solid transparent;
  border-bottom: 0.45rem solid transparent;
  border-left: 0.72rem solid currentColor;
}

.demo-view figcaption,
.demo-view noscript p {
  margin: 0.8rem 0 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
  text-align: center;
}

.site-index {
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100svh - var(--header-height));
  padding: clamp(3rem, 5.5vh, 4.5rem) var(--page-gutter) 1.4rem;
  display: grid;
  grid-template-columns: minmax(15rem, 0.48fr) minmax(0, 1.52fr);
  grid-template-rows: auto auto auto;
  align-items: start;
  row-gap: clamp(1.5rem, 2.5vh, 2rem);
  column-gap: clamp(2.5rem, 5vw, 6rem);
  background-image:
    url("assets/blue-pencil-rule-vertical.png"),
    url("assets/blue-pencil-rule-vertical.png"),
    url("assets/blue-pencil-rule.png?v=2");
  background-repeat: no-repeat;
  background-position:
    left top,
    right top,
    left bottom;
  background-size:
    2px 100%,
    2px 100%,
    100% 2px;
}

.closing-download {
  grid-column: 1 / -1;
  padding-bottom: clamp(2rem, 4vh, 3rem);
  display: grid;
  grid-template-columns: minmax(16rem, 0.7fr) minmax(30rem, 1.3fr);
  align-items: end;
  gap: clamp(1.5rem, 4vw, 4rem);
  background: url("assets/blue-pencil-rule.png?v=2") left bottom / 100% 2px no-repeat;
}

.closing-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4vw, 4rem);
  font-weight: 520;
  letter-spacing: -0.04em;
  line-height: 0.98;
  text-wrap: balance;
}

.closing-copy p {
  max-width: 34rem;
  margin: 1rem 0 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.55;
}

.closing-download .download-actions {
  margin-top: 0;
}

.release-trust {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
  list-style: none;
}

.release-trust a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.index-brand {
  align-self: start;
}

.index-brand img {
  width: 4rem;
  height: 4rem;
  margin-bottom: 1.25rem;
}

.index-name {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 4vw, 4rem);
  font-weight: 520;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.index-brand p {
  max-width: 20rem;
  margin: 1.1rem 0 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}

.index-brand .index-name {
  color: var(--ink);
  font-size: clamp(2.8rem, 4vw, 4rem);
  line-height: 0.98;
}

.index-columns {
  align-self: center;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3.5rem);
}

.index-column {
  padding-top: 1rem;
  display: grid;
  align-content: start;
  gap: 0.35rem;
}

.index-column h3 {
  margin: 0 0 0.35rem;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.index-column a {
  width: fit-content;
  min-height: 2.25rem;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-size: clamp(0.88rem, 1vw, 1rem);
  line-height: 1.25;
  text-decoration-color: transparent;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.25em;
}

.index-column a:hover,
.index-column a:focus-visible {
  color: var(--blue);
  text-decoration-color: currentColor;
}

.index-footer {
  grid-column: 1 / -1;
  padding-top: 1rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  background: url("assets/blue-pencil-rule.png?v=2") left top / 100% 2px no-repeat;
}

.index-footer span:nth-child(2) {
  text-align: center;
}

.index-footer i {
  margin-inline: 0.45rem;
  color: var(--blue);
  font-style: normal;
}

.index-footer a {
  justify-self: end;
  color: var(--blue);
  font-weight: 700;
  text-transform: uppercase;
}

.model-intro {
  max-width: 28rem;
  align-self: start;
}

.collection-model h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 4.4vw, 4.5rem);
  font-weight: 520;
  letter-spacing: -0.04em;
  line-height: 0.98;
  text-wrap: balance;
}

.model-copy {
  max-width: 31rem;
  margin: 1.5rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(0.93rem, 1.1vw, 1.03rem);
  line-height: 1.6;
}

.model-diagram {
  width: 100%;
  max-width: 52rem;
  margin-inline: auto;
  align-self: center;
}

.archive-tree,
.archive-tree ul {
  position: relative;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  list-style: none;
}

.archive-tree ul {
  padding-top: 3rem;
}

.archive-tree li {
  position: relative;
  min-width: 0;
  padding: 3rem 0.35rem 0;
  flex: 1 1 0;
  text-align: center;
}

.archive-tree > li {
  padding-top: 0;
}

.archive-tree li::before,
.archive-tree li::after {
  content: "";
  position: absolute;
  top: 0;
  width: 50%;
  height: 3rem;
  background-image: url("assets/blue-pencil-rule.png?v=2");
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 100% 2px;
}

.archive-tree li::before {
  right: 50%;
}

.archive-tree li::after {
  left: 50%;
  background-image:
    url("assets/blue-pencil-rule.png?v=2"),
    url("assets/blue-pencil-rule-vertical.png");
  background-position:
    left top,
    left top;
  background-size:
    100% 2px,
    2px 100%;
}

.archive-tree > li::before,
.archive-tree > li::after,
.archive-tree li:only-child::before,
.archive-tree li:only-child::after {
  display: none;
}

.archive-tree li:first-child::before {
  background-image: none;
}

.archive-tree li:last-child::after {
  background-image: url("assets/blue-pencil-rule-vertical.png");
  background-size: 2px 100%;
}

.archive-tree li:last-child::before {
  background-image:
    url("assets/blue-pencil-rule.png?v=2"),
    url("assets/blue-pencil-rule-vertical.png");
  background-position:
    left top,
    right top;
  background-size:
    100% 2px,
    2px 100%;
}

.archive-tree ul::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 3rem;
  background-image: url("assets/blue-pencil-rule-vertical.png");
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 2px 100%;
}

.archive-node {
  min-width: 7.5rem;
  margin-inline: auto;
  display: grid;
  justify-items: center;
  gap: 0.32rem;
}

.archive-node img {
  margin-bottom: 0.15rem;
  filter: invert(36%) sepia(27%) saturate(1332%) hue-rotate(158deg) brightness(93%) contrast(92%);
}

.node-collection img {
  width: 4rem;
  height: 4rem;
}

.node-gallery img {
  width: 3.5rem;
  height: 3.5rem;
}

.node-artwork img {
  width: 2.75rem;
  height: 2.75rem;
}

.archive-node strong {
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.055em;
  line-height: 1.1;
  text-transform: uppercase;
}

.archive-node small {
  color: var(--ink-soft);
  font-size: 0.875rem;
  line-height: 1.25;
}

.node-artwork {
  min-width: 5.6rem;
}

.node-artwork strong {
  font-size: 0.73rem;
}

.node-artwork small {
  font-family: var(--mono);
  font-size: 0.66rem;
}

.model-expansion {
  width: 62.5%;
  margin: clamp(2rem, 4vh, 3.5rem) 0 0 37.5%;
  display: grid;
  grid-template-columns: 2.7rem minmax(0, 1fr);
  align-items: start;
}

.model-expansion-mark {
  color: var(--blue);
  font-family: var(--hand);
  font-size: 2.5rem;
  line-height: 0.8;
  transform: translateY(-0.45rem) rotate(-3deg);
}

.model-note {
  margin: 0;
  color: var(--blue);
  font-family: var(--hand);
  font-size: clamp(0.95rem, 1.35vw, 1.15rem);
  letter-spacing: 0.025em;
  text-align: left;
  transform: rotate(-1deg);
}

.model-contents {
  margin: 0.7rem 0 0;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.025em;
  text-align: left;
  text-transform: uppercase;
}

.model-contents span {
  margin-inline: 0.45rem;
  color: var(--blue);
}

.legal-body {
  min-height: 100vh;
}

.legal-main {
  width: min(100%, var(--page-width));
  margin-inline: auto;
  padding: clamp(3rem, 7vw, 6rem) var(--page-gutter) 2rem;
  background-image:
    url("assets/blue-pencil-rule-vertical.png"),
    url("assets/blue-pencil-rule-vertical.png");
  background-repeat: no-repeat;
  background-position: left top, right top;
  background-size: 2px 100%, 2px 100%;
}

.legal-main article {
  width: min(100%, 48rem);
  margin-inline: auto;
}

.legal-kicker,
.legal-updated {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.legal-main h1 {
  max-width: 14ch;
}

.legal-lede {
  margin: 1.5rem 0 3rem;
  color: var(--ink-soft);
  font-size: 1.15rem;
  line-height: 1.65;
}

.legal-main h2 {
  margin: 2.5rem 0 0.7rem;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  font-weight: 560;
  letter-spacing: -0.025em;
}

.legal-main article > p:not(.legal-kicker, .legal-lede, .legal-updated) {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
}

.legal-main article a {
  color: var(--blue);
}

.legal-updated {
  margin-top: 3rem;
}

.legal-footer {
  width: min(100%, 48rem);
  margin: 4rem auto 0;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 0.76rem;
  background: url("assets/blue-pencil-rule.png?v=2") left top / 100% 2px no-repeat;
}

.legal-footer a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  color: var(--blue);
  font-weight: 700;
  text-transform: uppercase;
}

@media (max-width: 72rem) {
  .opening-page {
    grid-template-columns: minmax(20rem, 1fr) minmax(23rem, 1.05fr);
    gap: 2rem;
  }

  .collection-model {
    grid-template-columns: minmax(16rem, 0.68fr) minmax(31rem, 1.32fr);
    gap: 2.5rem;
  }

  .preservation {
    grid-template-columns: minmax(16rem, 0.72fr) minmax(31rem, 1.28fr);
    gap: 2.5rem;
  }

  .ecosystem,
  .demo {
    grid-template-columns: minmax(14rem, 0.58fr) minmax(0, 1.42fr);
    gap: 1.5rem;
  }

  h1 {
    font-size: clamp(3.25rem, 5vw, 4rem);
  }
}

@media (min-width: 56rem) and (max-height: 52rem) {
  :root {
    --header-height: 4.5rem;
    --page-gutter: clamp(1.25rem, 3vw, 2.75rem);
  }

  .site-header {
    padding-block: 0.55rem;
  }

  .brand img {
    width: 2.7rem;
    height: 2.7rem;
  }

  .opening-page,
  .collection-model,
  .preservation,
  .ecosystem,
  .demo,
  .site-index {
    padding-top: clamp(1.1rem, 2.5vh, 1.5rem);
    padding-bottom: 0.75rem;
  }

  h1 {
    font-size: clamp(2.7rem, 4vw, 3.45rem);
  }

  .hero-copy,
  .model-copy,
  .preservation-copy,
  .ecosystem-copy,
  .demo-copy {
    margin-top: 0.8rem;
    font-size: 0.88rem;
    line-height: 1.4;
  }

  .trust-record {
    margin-top: 0.8rem;
  }

  .trust-record img {
    width: 1.4rem;
    height: 1.4rem;
    margin-bottom: 0.25rem;
  }

  .trust-record dd {
    margin-top: 0.15rem;
    font-size: 0.68rem;
    line-height: 1.25;
  }

  .collector-note,
  .download-actions {
    margin-top: 0.65rem;
  }

  .download-button {
    min-height: 3.5rem;
    padding-block: 0.5rem;
  }

  .download-button small {
    font-size: 0.66rem;
  }

  .license-line {
    margin-top: 0.45rem;
    font-size: 0.64rem;
  }

  .collection-model h2,
  .preservation h2 {
    font-size: clamp(2.7rem, 4vw, 3.7rem);
  }

  .archive-tree ul,
  .archive-tree li {
    padding-top: 2rem;
  }

  .archive-tree > li {
    padding-top: 0;
  }

  .archive-tree li::before,
  .archive-tree li::after,
  .archive-tree ul::before {
    height: 2rem;
  }

  .model-expansion {
    margin-top: 1.25rem;
  }

  .preservation-record > div {
    min-height: 4.8rem;
    padding-block: 0.75rem;
  }

  .manual-link {
    margin-top: 0.8rem;
  }

  .site-index {
    row-gap: 0.65rem;
  }

  .closing-download {
    padding-bottom: 0.75rem;
    gap: 1.25rem;
  }

  .closing-copy h2 {
    font-size: clamp(2.25rem, 3.4vw, 3rem);
  }

  .closing-copy p {
    margin-top: 0.45rem;
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .release-trust a {
    min-height: 2rem;
    font-size: 0.66rem;
  }

  .index-brand img {
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 0.5rem;
  }

  .index-brand .index-name {
    font-size: 2.25rem;
  }

  .index-brand p {
    margin-top: 0.45rem;
    font-size: 0.78rem;
  }

  .index-columns {
    gap: 1.25rem;
  }

  .index-column {
    padding-top: 0;
    gap: 0.1rem;
  }

  .index-column h3 {
    margin-bottom: 0.1rem;
    font-size: 0.66rem;
  }

  .index-column a {
    min-height: 1.85rem;
    font-size: 0.8rem;
  }

  .index-footer {
    padding-top: 0.6rem;
    font-size: 0.62rem;
  }
}

@media (max-width: 50rem) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .site-nav {
    justify-content: flex-end;
  }

  .header-download {
    display: inline-flex;
  }

  .opening-page {
    padding-top: 3rem;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    align-items: start;
    gap: 3rem;
  }

  .collection-model {
    padding-top: 3rem;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    align-items: start;
    gap: 2.8rem;
  }

  .preservation {
    padding-top: 3rem;
    grid-template-columns: 1fr;
    align-items: start;
    align-content: start;
    gap: 2.8rem;
  }

  .ecosystem,
  .demo {
    padding-top: 3rem;
    grid-template-columns: 1fr;
    align-items: start;
    align-content: start;
    gap: 2.5rem;
  }

  .site-index {
    padding-top: 3rem;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    align-content: start;
    gap: 2.5rem;
  }

  .ecosystem-intro,
  .demo-intro {
    max-width: 40rem;
  }

  .opening-copy {
    max-width: 38rem;
  }

  .model-intro {
    max-width: 38rem;
  }

  .preservation-intro {
    max-width: 38rem;
  }

  .model-diagram {
    max-width: 44rem;
  }

  .product-view {
    max-width: 52rem;
  }

  .product-view img {
    box-shadow:
      0 0.4rem 0.9rem rgb(33 30 26 / 28%),
      0 1.5rem 3rem rgb(33 30 26 / 28%);
  }
}

@media (max-width: 42rem) {
  .site-header,
  .opening-page,
  .collection-model,
  .preservation,
  .ecosystem,
  .demo,
  .site-index {
    background-image: url("assets/blue-pencil-rule.png?v=2");
    background-position: left bottom;
    background-size: 100% 2px;
  }

  .brand small {
    display: none;
  }

  .site-nav a:first-child {
    display: none;
  }

  .opening-page {
    min-height: calc(100vh - 5rem);
    min-height: calc(100svh - 5rem);
    padding: 2.5rem var(--page-gutter) 1rem;
  }

  .collection-model {
    min-height: calc(100vh - 5rem);
    min-height: calc(100svh - 5rem);
    padding: 2.5rem var(--page-gutter) 1rem;
    gap: 1.25rem;
  }

  .preservation {
    min-height: calc(100vh - 5rem);
    min-height: calc(100svh - 5rem);
    padding: 2.5rem var(--page-gutter) 1rem;
    gap: 1.25rem;
  }

  .ecosystem,
  .demo {
    min-height: calc(100vh - 5rem);
    min-height: calc(100svh - 5rem);
    padding: 2.2rem var(--page-gutter) 1rem;
    gap: 1.35rem;
  }

  .ecosystem h2,
  .demo h2 {
    font-size: clamp(2.3rem, 10vw, 2.9rem);
  }

  .ecosystem-copy,
  .demo-copy {
    margin-top: 0.85rem;
    font-size: 0.82rem;
    line-height: 1.4;
  }

  .site-index {
    min-height: calc(100vh - 5rem);
    min-height: calc(100svh - 5rem);
    padding: 2.2rem var(--page-gutter) 1rem;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 2rem;
  }

  .index-brand img {
    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: 0.8rem;
  }

  .index-brand h2 {
    font-size: clamp(2.4rem, 10vw, 3rem);
  }

  .index-brand p {
    margin-top: 0.65rem;
    font-size: 0.82rem;
  }

  .index-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-self: start;
    gap: 1.5rem 1rem;
  }

  .index-column:last-child {
    grid-column: 1 / -1;
  }

  .index-column {
    gap: 0.65rem;
  }

  .index-column a {
    min-height: 2.75rem;
    font-size: 0.78rem;
  }

  .index-footer {
    grid-column: 1;
    grid-template-columns: 1fr auto;
    gap: 0.75rem 1rem;
    font-size: 0.52rem;
  }

  .index-footer span:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 2;
    text-align: left;
  }

  .collection-model h2 {
    font-size: clamp(2.65rem, 11vw, 3.25rem);
  }

  .preservation h2 {
    font-size: clamp(2.65rem, 11vw, 3.25rem);
  }

  .preservation-copy {
    margin-top: 1rem;
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .preservation-record > div {
    min-height: 4.35rem;
    padding: 0.65rem 0.15rem;
    grid-template-columns: 2.7rem minmax(0, 1fr);
    column-gap: 0.65rem;
  }

  .preservation-record img {
    width: 1.65rem;
    height: 1.65rem;
  }

  .preservation-record dt {
    font-size: 0.62rem;
  }

  .preservation-record dd {
    margin-top: 0.16rem;
    font-size: 0.76rem;
    line-height: 1.25;
  }

  .archive-tree ul {
    padding-top: 1.8rem;
  }

  .archive-tree li {
    padding: 1.8rem 0.1rem 0;
  }

  .archive-tree li::before,
  .archive-tree li::after,
  .archive-tree ul::before {
    height: 1.8rem;
  }

  .archive-node {
    min-width: 5.6rem;
  }

  .node-artwork {
    min-width: 3.8rem;
  }

  .node-collection img {
    width: 2.6rem;
    height: 2.6rem;
  }

  .node-gallery img {
    width: 2.25rem;
    height: 2.25rem;
  }

  .node-artwork img {
    width: 1.8rem;
    height: 1.8rem;
  }

  .archive-node strong {
    font-size: 0.58rem;
  }

  .archive-node small {
    font-size: 0.58rem;
  }

  .node-artwork strong {
    font-size: 0.47rem;
  }

  .node-artwork small {
    font-size: 0.45rem;
  }

  .model-contents {
    font-size: 0.5rem;
    line-height: 1.7;
  }

  .model-expansion {
    width: 75%;
    margin-left: 25%;
    grid-template-columns: 2rem minmax(0, 1fr);
  }

  .model-expansion-mark {
    font-size: 2rem;
  }

  h1 {
    font-size: clamp(2.75rem, 11vw, 3.35rem);
  }

  .hero-copy {
    font-size: 0.94rem;
  }

  .trust-record {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem 0.8rem;
  }

  .download-actions {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 50rem) {
  .site-header {
    gap: 0.75rem;
  }

  .header-download {
    min-width: 6.25rem;
  }

  .archive-tree,
  .archive-tree ul {
    display: grid;
    justify-content: stretch;
    gap: 0.75rem;
  }

  .archive-tree ul {
    margin-left: 1.4rem;
    padding: 0.75rem 0 0 1.4rem;
    background: url("assets/blue-pencil-rule-vertical.png") left top / 2px 100% no-repeat;
  }

  .archive-tree li,
  .archive-tree > li {
    padding: 0;
    text-align: left;
  }

  .archive-tree li::before,
  .archive-tree li::after,
  .archive-tree ul::before {
    display: none;
  }

  .archive-tree ul > li::before {
    content: "";
    position: absolute;
    top: 1.45rem;
    left: -1.4rem;
    width: 1rem;
    height: 2px;
    display: block;
    background: url("assets/blue-pencil-rule.png?v=2") left top / 100% 2px no-repeat;
  }

  .archive-node,
  .node-artwork {
    min-width: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 3.2rem minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    justify-items: start;
    gap: 0.1rem 0.75rem;
  }

  .archive-node img,
  .node-collection img,
  .node-gallery img,
  .node-artwork img {
    width: 2.6rem;
    height: 2.6rem;
    margin: 0;
    grid-row: 1 / 3;
  }

  .archive-node strong,
  .node-artwork strong {
    font-size: 0.76rem;
  }

  .archive-node small,
  .node-artwork small {
    font-size: 0.78rem;
  }

  .model-expansion {
    width: 100%;
    margin: 1.5rem 0 0;
    grid-template-columns: 2.3rem minmax(0, 1fr);
  }

  .model-contents {
    font-size: 0.65rem;
  }

  .exchange-map {
    display: none;
  }

  .exchange-map-mobile {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
  }

  .exchange-map-mobile section {
    min-width: 0;
    padding: 1rem;
    background-image:
      url("assets/blue-pencil-rule-vertical.png"),
      url("assets/blue-pencil-rule-vertical.png"),
      url("assets/blue-pencil-rule.png?v=2"),
      url("assets/blue-pencil-rule.png?v=2");
    background-repeat: no-repeat;
    background-position: left top, right top, left top, left bottom;
    background-size: 2px 100%, 2px 100%, 100% 2px, 100% 2px;
  }

  .exchange-map-mobile h3 {
    margin: 0 0 0.85rem;
    color: var(--blue);
    font-family: var(--hand);
    font-size: 1rem;
    font-weight: 400;
  }

  .exchange-map-mobile ul {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
    list-style: none;
  }

  .exchange-map-mobile li {
    min-width: 0;
    display: grid;
    grid-template-columns: 2.5rem minmax(0, 1fr);
    align-items: center;
    gap: 0.7rem;
  }

  .exchange-map-mobile li img {
    width: 2.5rem;
    height: 2.5rem;
    object-fit: contain;
  }

  .exchange-map-mobile li span {
    min-width: 0;
    display: grid;
  }

  .exchange-map-mobile li strong {
    font-size: 0.78rem;
    line-height: 1.2;
  }

  .exchange-map-mobile li small {
    margin-top: 0.12rem;
    color: var(--ink-soft);
    font-size: 0.72rem;
    line-height: 1.25;
  }

  .exchange-center {
    display: grid;
    justify-items: center;
    gap: 0.45rem;
  }

  .exchange-center img {
    width: 4.5rem;
    height: 4.5rem;
  }

  .exchange-center p {
    margin: 0;
    color: var(--blue);
    font-family: var(--hand);
    font-size: 0.9rem;
    transform: rotate(-1deg);
  }

  .closing-download {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.25rem;
  }

  .closing-download .download-actions {
    width: 100%;
  }

  .release-trust {
    gap: 0 1rem;
  }

  .index-brand .index-name {
    margin: 0;
  }
}

@media (max-width: 42rem) {
  .site-header {
    min-height: 4.5rem;
    padding-block: 0.55rem;
  }

  html {
    scroll-padding-top: 4.5rem;
  }

  .brand img {
    width: 2.6rem;
    height: 2.6rem;
  }

  .brand strong {
    font-size: 0.88rem;
  }

  .header-download {
    min-width: 5.8rem;
    padding-inline: 0.7rem;
  }

  .opening-page,
  .collection-model,
  .preservation,
  .ecosystem,
  .demo,
  .site-index {
    min-height: calc(100svh - 4.5rem);
  }

  .opening-page,
  .collection-model,
  .preservation,
  .ecosystem,
  .demo,
  .site-index {
    padding-top: 2.25rem;
    padding-bottom: 2rem;
  }

  .trust-record dt {
    font-size: 0.76rem;
  }

  .trust-record dd {
    font-size: 0.72rem;
  }

  .license-line {
    font-size: 0.68rem;
    line-height: 1.6;
    white-space: normal;
  }

  .preservation-record dt {
    font-size: 0.75rem;
  }

  .preservation-record dd {
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .exchange-map-mobile {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .exchange-center {
    grid-template-columns: 1fr auto 1fr;
    justify-items: center;
    align-items: center;
  }

  .exchange-center img {
    width: 4rem;
    height: 4rem;
  }

  .exchange-center p:last-child {
    text-align: right;
  }

  .index-brand p,
  .index-column a,
  .index-footer {
    font-size: 0.78rem;
  }

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

  .index-column:last-child {
    grid-column: auto;
  }

  .index-footer {
    grid-template-columns: 1fr;
  }

  .index-footer span:nth-child(2) {
    grid-column: auto;
    grid-row: auto;
    text-align: left;
  }

  .index-footer a {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-self: start;
  }
}

@media (max-width: 35rem) {
  .site-nav {
    display: none;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
