@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/bricolage-grotesque-700-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("/assets/fonts/atkinson-hyperlegible-next-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --cloud: #fff9fc;
  --paper: #ffffff;
  --ink: #171218;
  --night: #1d1522;
  --night-raised: #281e2d;
  --rose: #ff5c8a;
  --rose-text: #a91d4d;
  --petal: #ffd6e5;
  --petal-soft: #ffedf4;
  --cyan: #36d6d0;
  --cyan-text: #006e6b;
  --pool: #cff7f4;
  --lemon: #ffd967;
  --mint: #69dca6;
  --violet: #9b87f5;
  --violet-text: #5742ad;
  --muted: #625963;
  --line: #d9cfd7;
  --shadow: #33243926;
  --header-height: 5.5rem;
  --page-gutter: 4rem;
  --content-width: 94rem;
  --reading-width: 44rem;
  font-synthesis: none;
}

[data-theme="dark"] {
  color-scheme: dark;
  --cloud: #1d1522;
  --paper: #261c2b;
  --ink: #fff9fc;
  --petal: #432c3a;
  --petal-soft: #33232f;
  --pool: #153c3b;
  --muted: #d6c9d2;
  --line: #554451;
  --rose-text: #ff93af;
  --cyan-text: #74ebe5;
  --violet-text: #c3b8ff;
  --shadow: #00000038;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--cloud);
  scroll-padding-top: 5rem;
}

body {
  min-width: 20rem;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  background: var(--cloud);
  color: var(--ink);
  font-family: "Atkinson Hyperlegible Next", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  letter-spacing: 0;
  text-rendering: optimizelegibility;
}

img,
picture {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
  letter-spacing: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

a:hover {
  text-decoration-thickness: 0.15em;
}

:focus-visible {
  outline: 0.2rem solid var(--lemon);
  outline-offset: 0.22rem;
  box-shadow: 0 0 0 0.12rem var(--ink);
}

::selection {
  background: var(--rose);
  color: var(--ink);
}

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

h1,
h2,
h3 {
  font-family: "Bricolage Grotesque", "Arial Rounded MT Bold", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.65rem 0.9rem;
  border: 0.12rem solid var(--ink);
  background: var(--lemon);
  color: #171218;
  font-weight: 700;
  transform: translateY(-180%);
}

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

.site-header {
  position: relative;
  z-index: 30;
  display: flex;
  width: min(100%, var(--content-width));
  height: var(--header-height);
  margin: 0 auto;
  padding: 0 var(--page-gutter);
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  isolation: isolate;
}

.home-header {
  position: fixed;
  inset: 0 0 auto;
}

.site-brand {
  display: block;
  flex: 0 0 auto;
  width: 14.5rem;
  padding: 0.2rem 0.35rem;
  border-radius: 4px;
  background: #fff9fc;
  line-height: 0;
  text-decoration: none;
  view-transition-name: site-mark;
}

.site-brand img {
  width: 100%;
  height: auto;
  aspect-ratio: 640 / 233;
  object-fit: contain;
  object-position: left center;
}

.header-actions,
.primary-nav {
  display: flex;
  align-items: center;
}

.header-actions {
  gap: 1.4rem;
}

.primary-nav {
  gap: 1.8rem;
}

.primary-nav a {
  position: relative;
  min-height: 2.75rem;
  padding: 0.62rem 0.12rem;
  font-weight: 700;
  text-decoration: none;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.3rem;
  left: 0;
  height: 0.2rem;
  background: var(--rose);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
}

.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.icon-button,
.menu-toggle {
  display: inline-grid;
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 2.75rem;
  padding: 0;
  border: 0.1rem solid transparent;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  place-items: center;
}

.icon-button:hover,
.menu-toggle:hover {
  border-color: var(--ink);
  background: var(--petal);
}

.theme-glyph {
  font-family: system-ui, sans-serif;
  font-size: 1.55rem;
  line-height: 1;
}

.menu-toggle {
  display: none;
  font-size: 1.55rem;
}

.home-hero {
  position: relative;
  min-height: 40rem;
  height: 86svh;
  max-height: 58rem;
  overflow: hidden;
  background: var(--cloud);
}

.home-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  height: 28%;
  background: var(--petal);
  content: "";
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(100%, var(--content-width));
  height: 100%;
  margin: 0 auto;
  padding: calc(var(--header-height) + 2.75rem) var(--page-gutter) 3.5rem;
  grid-template-columns: minmax(21rem, 0.78fr) minmax(38rem, 1.42fr);
  align-items: center;
  gap: 2rem;
}

.hero-copy {
  position: relative;
  z-index: 10;
  align-self: center;
  padding-bottom: 2.5rem;
}

.hero-copy h1 {
  max-width: 8.5ch;
  margin-bottom: 1.25rem;
  font-size: 4.5rem;
  line-height: 1.02;
  text-wrap: balance;
  view-transition-name: page-title;
}

.hero-purpose {
  max-width: 29rem;
  margin-bottom: 1.65rem;
  color: var(--muted);
  font-size: 1.42rem;
  line-height: 1.32;
  text-wrap: balance;
}

.scene-tabs {
  display: inline-grid;
  min-height: 3rem;
  border: 0.1rem solid var(--ink);
  background: var(--petal-soft);
  grid-template-columns: repeat(4, minmax(5.15rem, 1fr));
}

.scene-tab {
  position: relative;
  min-height: 3rem;
  padding: 0.55rem 0.9rem;
  border: 0;
  border-right: 0.08rem solid var(--line);
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  font-weight: 700;
}

.scene-tab:last-child {
  border-right: 0;
}

.scene-tab[aria-selected="true"] {
  background: var(--ink);
  color: var(--cloud);
}

.hero-stage {
  position: relative;
  width: 100%;
  max-width: 56rem;
  aspect-ratio: 4 / 3;
  justify-self: end;
  isolation: isolate;
}

.stage-signal {
  position: absolute;
  top: 39%;
  left: 1%;
  z-index: -3;
  width: 35%;
  height: 35%;
  border-top: 0.16rem solid var(--rose);
  border-left: 0.16rem solid var(--rose);
  border-radius: 50% 0 0;
  opacity: 0.62;
  transform: rotate(-38deg);
}

.stage-slip {
  position: absolute;
  z-index: -2;
  border-radius: 4px;
}

.slip-cyan {
  top: 7%;
  right: 0;
  width: 77%;
  height: 68%;
  background: var(--cyan);
  transform: translate(1.3rem, 1rem) rotate(0.6deg);
}

.slip-rose {
  top: 13%;
  right: -1%;
  width: 72%;
  height: 67%;
  background: var(--rose);
  transform: translate(2.4rem, 1.9rem) rotate(2deg);
}

.slip-violet {
  right: 2%;
  bottom: 3%;
  width: 69%;
  height: 38%;
  background: var(--violet);
  transform: translate(0.65rem, 0.55rem) rotate(-1deg);
}

.product-plane {
  position: absolute;
  display: block;
  overflow: hidden;
  border: 0.1rem solid #241929;
  border-radius: 7px;
  background: #ffffff;
  box-shadow: 0.65rem 0.75rem 0 var(--shadow);
  color: #171218;
  text-decoration: none;
  transform-origin: center;
  will-change: top, right, bottom, width, opacity, transform;
}

.product-plane img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.plane-facet {
  --plane-signal: var(--violet);
  top: 1%;
  right: 1%;
  z-index: 3;
  width: 83%;
  aspect-ratio: 1672 / 941;
}

.plane-terminal {
  --plane-signal: var(--rose);
  right: 0;
  bottom: 15%;
  z-index: 6;
  width: 43%;
  aspect-ratio: 1672 / 941;
}

.plane-audio {
  --plane-signal: var(--cyan);
  right: 5%;
  bottom: 2%;
  z-index: 5;
  width: 62%;
  aspect-ratio: 1800 / 1014;
  background: var(--night);
}

.plane-audio img {
  object-position: center;
}

.stage-familiar {
  position: absolute;
  bottom: 1%;
  left: 4%;
  z-index: 8;
  width: 10.5%;
  min-width: 4.5rem;
  height: auto;
  filter: drop-shadow(0.25rem 0.35rem 0 #17121820);
  view-transition-name: familiar;
}

.hero-stage[data-scene="facet"] .plane-terminal,
.hero-stage[data-scene="facet"] .plane-audio,
.hero-stage[data-scene="terminal"] .plane-facet,
.hero-stage[data-scene="terminal"] .plane-audio,
.hero-stage[data-scene="audio"] .plane-facet,
.hero-stage[data-scene="audio"] .plane-terminal {
  opacity: 0.28;
}

.hero-stage[data-scene="facet"] .plane-facet,
.hero-stage[data-scene="terminal"] .plane-terminal,
.hero-stage[data-scene="audio"] .plane-audio {
  top: 11%;
  right: 4%;
  bottom: auto;
  z-index: 10;
  width: 88%;
  aspect-ratio: 1800 / 1014;
  opacity: 1;
  transform: none;
}

.hero-stage[data-scene="facet"] .slip-cyan {
  transform: translate(0.7rem, 0.55rem) rotate(-0.5deg);
}

.hero-stage[data-scene="terminal"] .slip-rose {
  transform: translate(1.7rem, 1.35rem) rotate(0.7deg);
}

.hero-stage[data-scene="audio"] .slip-violet {
  transform: translate(0.25rem, 0.25rem) rotate(0.45deg);
}

.scroll-invitation {
  position: absolute;
  bottom: 1.2rem;
  left: var(--page-gutter);
  z-index: 5;
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.scroll-invitation span {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  border: 0.1rem solid currentcolor;
  place-items: center;
}

.work-stream {
  position: relative;
  background: var(--cloud);
}

.work-chapter {
  position: relative;
  min-height: 46rem;
  overflow: hidden;
}

.chapter-arrival {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 4;
  display: flex;
  min-height: 2.75rem;
  margin: 0;
  padding: 0.65rem var(--page-gutter);
  background: var(--violet);
  color: #171218;
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  align-items: center;
  gap: 0.7rem;
}

.chapter-arrival span {
  padding-right: 0.7rem;
  border-right: 0.08rem solid #171218;
}

.chapter-inner {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(100%, var(--content-width));
  min-height: 46rem;
  margin: 0 auto;
  padding: 7rem var(--page-gutter);
  grid-template-columns: minmax(17rem, 0.62fr) minmax(32rem, 1.38fr);
  align-items: center;
  gap: 5rem;
}

.chapter-copy {
  position: relative;
  z-index: 3;
}

.chapter-kicker,
.page-kicker,
.status-label {
  margin-bottom: 1rem;
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
}

.chapter-kicker,
.page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--accent-text, var(--rose-text));
}

.chapter-title {
  margin-bottom: 1.1rem;
  font-size: 4.25rem;
  line-height: 1;
}

.chapter-description {
  max-width: 32rem;
  margin-bottom: 1.5rem;
  font-size: 1.32rem;
  line-height: 1.38;
}

.chapter-state {
  display: flex;
  margin: 0 0 2rem;
  padding: 0;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
}

.chapter-state li,
.status-label {
  display: inline-flex;
  min-height: 2rem;
  padding: 0.3rem 0.65rem;
  border: 0.08rem solid currentcolor;
  border-radius: 3px;
  align-items: center;
  font-size: 0.83rem;
  font-weight: 700;
}

.command-link {
  display: inline-flex;
  min-height: 3rem;
  padding: 0.65rem 0;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  text-decoration-color: var(--accent, var(--rose));
  text-decoration-thickness: 0.16rem;
  text-underline-offset: 0.35rem;
}

.command-link span {
  transition: transform 180ms ease;
}

.chapter-media {
  position: relative;
  margin: 0;
}

.chapter-media::before {
  position: absolute;
  right: -1.2rem;
  bottom: -1.25rem;
  z-index: 0;
  width: 92%;
  height: 91%;
  border-radius: 6px;
  background: var(--media-slip, var(--rose));
  content: "";
}

.chapter-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  border: 0.1rem solid var(--media-border, var(--ink));
  border-radius: 7px;
  background: var(--paper);
  box-shadow: 0.7rem 0.75rem 0 var(--shadow);
}

.chapter-media figcaption {
  position: relative;
  z-index: 2;
  max-width: 38rem;
  margin-top: 1.4rem;
  color: var(--caption, var(--muted));
  font-size: 0.9rem;
}

.chapter-facet {
  --accent: var(--violet);
  --accent-text: var(--violet-text);
  --media-slip: var(--petal);
  background: var(--cloud);
}

.chapter-facet::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 28%;
  height: 1rem;
  background: var(--violet);
  content: "";
}

.chapter-terminal {
  --accent: var(--rose);
  --accent-text: #ff9ab5;
  --media-slip: var(--rose);
  --media-border: #ffb6ca;
  --caption: #d9cad6;
  background: var(--night);
  color: #fff9fc;
}

.chapter-terminal .chapter-inner {
  grid-template-columns: minmax(34rem, 1.35fr) minmax(17rem, 0.65fr);
}

.chapter-terminal .chapter-media {
  order: -1;
}

.chapter-terminal::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 31%;
  height: 0.9rem;
  background: var(--cyan);
  content: "";
}

.chapter-audio {
  --accent: var(--cyan);
  --accent-text: #70ebe5;
  --media-slip: var(--cyan);
  --media-border: #513a54;
  --caption: #d9cad6;
  min-height: 52rem;
  background: #100d12;
  color: #fff9fc;
}

.chapter-audio .chapter-inner {
  display: block;
  min-height: 52rem;
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.chapter-audio .chapter-copy {
  display: grid;
  margin-bottom: 3.25rem;
  grid-template-columns: minmax(16rem, 0.6fr) minmax(25rem, 1.4fr);
  gap: 4rem;
}

.chapter-audio .chapter-copy > div:last-child {
  max-width: 40rem;
}

.chapter-audio .chapter-media::before {
  right: 1.25rem;
  bottom: -1.35rem;
  width: 97%;
  height: 94%;
}

.studio-band {
  --accent-text: #a91d4d;
  position: relative;
  overflow: hidden;
  background: #ffd6e5;
  color: #171218;
}

.studio-band-inner {
  display: grid;
  width: min(100%, var(--content-width));
  min-height: 32rem;
  margin: 0 auto;
  padding: 6.5rem var(--page-gutter);
  grid-template-columns: minmax(19rem, 0.72fr) minmax(28rem, 1.28fr);
  align-items: center;
  gap: 5rem;
}

.studio-band h2 {
  max-width: 9ch;
  margin-bottom: 1rem;
  font-size: 4rem;
  line-height: 1.02;
}

.studio-band-copy {
  max-width: 42rem;
  font-size: 1.25rem;
}

.studio-band-copy p:last-of-type {
  margin-bottom: 1.25rem;
}

.whisker-mark {
  display: grid;
  width: 5.5rem;
  margin-top: 2rem;
  gap: 0.48rem;
}

.whisker-mark span {
  height: 0.14rem;
  background: #171218;
  transform-origin: left center;
}

.whisker-mark span:nth-child(2) {
  width: 72%;
}

.whisker-mark span:nth-child(3) {
  width: 44%;
}

.page-shell {
  min-height: 100svh;
  background: var(--cloud);
}

.page-hero {
  position: relative;
  overflow: hidden;
}

.page-hero-inner {
  display: grid;
  width: min(100%, var(--content-width));
  min-height: 39rem;
  margin: 0 auto;
  padding: 4rem var(--page-gutter) 6rem;
  grid-template-columns: minmax(19rem, 0.62fr) minmax(34rem, 1.38fr);
  align-items: center;
  gap: 4.5rem;
}

.page-hero h1 {
  margin-bottom: 1.15rem;
  font-size: 4.75rem;
  line-height: 1;
  view-transition-name: page-title;
}

.page-lede {
  max-width: 34rem;
  margin-bottom: 1.5rem;
  font-size: 1.38rem;
  line-height: 1.38;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.35rem;
}

.primary-command,
.secondary-command {
  display: inline-flex;
  min-height: 3rem;
  padding: 0.65rem 1rem;
  border: 0.1rem solid currentcolor;
  border-radius: 4px;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-weight: 700;
  text-decoration: none;
}

.primary-command {
  background: var(--ink);
  color: var(--cloud);
}

.primary-command:hover {
  background: var(--rose);
  color: #171218;
}

.secondary-command:hover {
  background: var(--petal);
}

.page-hero-media {
  position: relative;
  margin: 0;
}

.page-hero-media::before {
  position: absolute;
  right: -1.25rem;
  bottom: -1.25rem;
  width: 94%;
  height: 92%;
  border-radius: 6px;
  background: var(--hero-slip, var(--rose));
  content: "";
}

.page-hero-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  border: 0.1rem solid var(--ink);
  border-radius: 7px;
  box-shadow: 0.7rem 0.75rem 0 var(--shadow);
}

.facet-page .page-hero {
  --hero-slip: var(--violet);
  background: var(--petal-soft);
}

.terminal-page .page-hero {
  --hero-slip: var(--rose);
  background: var(--night);
  color: #fff9fc;
}

.terminal-page .page-hero-media img,
.audio-page .page-hero-media img {
  border-color: #ffb6ca;
}

.terminal-page .page-kicker,
.audio-page .page-kicker {
  color: #ff9ab5;
}

.terminal-page .status-label,
.audio-page .status-label {
  color: #fff9fc;
}

.terminal-page .primary-command,
.audio-page .primary-command {
  background: var(--rose);
  color: #171218;
}

.terminal-page .secondary-command,
.audio-page .secondary-command {
  color: #fff9fc;
}

.audio-page .page-hero {
  --hero-slip: var(--cyan);
  background: #100d12;
  color: #fff9fc;
}

.studio-page .page-hero {
  background: #ffd6e5;
  color: #171218;
}

.studio-page .page-kicker {
  color: #a91d4d;
}

.studio-page .page-hero .primary-command {
  background: #171218;
  color: #fff9fc;
}

.studio-page .page-hero-inner {
  min-height: 34rem;
  grid-template-columns: minmax(22rem, 0.9fr) minmax(20rem, 1.1fr);
}

.studio-familiar {
  width: min(100%, 18rem);
  margin: 0 auto;
  filter: drop-shadow(0.55rem 0.65rem 0 #17121820);
}

.content-band {
  background: var(--cloud);
}

.content-band:nth-of-type(even) {
  background: var(--paper);
}

.content-inner {
  width: min(100%, 76rem);
  margin: 0 auto;
  padding: 6rem var(--page-gutter);
}

.content-heading {
  max-width: 16ch;
  margin-bottom: 1rem;
  font-size: 3.25rem;
  line-height: 1.05;
}

.content-intro {
  max-width: var(--reading-width);
  margin-bottom: 3rem;
  color: var(--muted);
  font-size: 1.25rem;
}

.principle-grid {
  display: grid;
  border-top: 0.1rem solid var(--line);
  grid-template-columns: repeat(3, 1fr);
}

.principle {
  position: relative;
  min-width: 0;
  padding: 2rem 2rem 2rem 0;
  border-bottom: 0.1rem solid var(--line);
}

.principle + .principle {
  padding-left: 2rem;
  border-left: 0.1rem solid var(--line);
}

.principle:nth-child(4) {
  padding-left: 0;
  border-left: 0;
}

.principle h3 {
  margin-bottom: 0.65rem;
  font-size: 1.45rem;
}

.principle p {
  margin: 0;
  color: var(--muted);
}

.relationship-list,
.fact-list {
  margin: 0;
  padding: 0;
  border-top: 0.1rem solid var(--line);
  list-style: none;
}

.relationship-list li,
.fact-list li {
  position: relative;
  display: grid;
  min-height: 4.5rem;
  padding: 1rem 0;
  border-bottom: 0.1rem solid var(--line);
  grid-template-columns: minmax(10rem, 0.42fr) minmax(18rem, 1.58fr);
  align-items: center;
  gap: 2rem;
}

.relationship-list strong,
.fact-list strong {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
}

.media-feature {
  margin: 0;
}

.media-feature img {
  width: 100%;
  border: 0.1rem solid var(--ink);
  border-radius: 7px;
}

.media-feature figcaption {
  max-width: 50rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  background: #100d12;
  color: #fff9fc;
}

.footer-inner {
  display: grid;
  width: min(100%, var(--content-width));
  min-height: 19rem;
  margin: 0 auto;
  padding: 4.5rem var(--page-gutter) 3rem;
  grid-template-columns: minmax(14rem, 0.55fr) minmax(30rem, 1.45fr);
  gap: 5rem;
}

.footer-brand {
  width: 13rem;
  margin-bottom: 1.25rem;
  filter: invert(1) grayscale(1) brightness(3);
}

.footer-note {
  max-width: 18rem;
  color: #d8cad6;
  font-size: 0.92rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(8rem, 1fr));
  gap: 2rem;
}

.footer-group h2 {
  margin-bottom: 0.85rem;
  color: var(--rose);
  font-size: 1rem;
}

.footer-group a,
.footer-group p {
  display: block;
  margin: 0 0 0.6rem;
  color: #fff9fc;
  font-size: 0.95rem;
}

.footer-group a[target="_blank"]::after,
.external-link::after {
  margin-left: 0.3em;
  content: "\2197";
  font-size: 0.8em;
}

.footer-meta {
  grid-column: 1 / -1;
  display: flex;
  margin-top: 1rem;
  padding-top: 1.25rem;
  border-top: 0.08rem solid #493b49;
  justify-content: space-between;
  gap: 2rem;
  color: #b9aab6;
  font-size: 0.82rem;
}

.not-found {
  display: grid;
  width: min(100%, 70rem);
  min-height: calc(100svh - var(--header-height));
  margin: 0 auto;
  padding: 4rem var(--page-gutter);
  grid-template-columns: minmax(18rem, 0.8fr) minmax(16rem, 1.2fr);
  align-items: center;
  gap: 4rem;
}

.not-found h1 {
  margin-bottom: 1rem;
  font-size: 4.5rem;
  line-height: 1;
}

.not-found img {
  width: min(100%, 20rem);
  margin: 0 auto;
}

.catalogue-fallback {
  display: none;
}

.catalogue-error .catalogue-fallback {
  display: block;
  padding: 0.65rem var(--page-gutter);
  background: var(--lemon);
  color: #171218;
  font-size: 0.9rem;
  text-align: center;
}

/* Interaction layer: the studio responds to reading and deliberate selection. */
.reading-rail {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 80;
  height: 0.18rem;
  pointer-events: none;
}

.reading-rail span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--rose);
  transform: scaleX(var(--reading-progress, 0));
  transform-origin: left center;
}

.site-header::before {
  position: absolute;
  top: 0;
  right: calc((100vw - 100%) / -2);
  bottom: 0;
  left: calc((100vw - 100%) / -2);
  z-index: -1;
  border-bottom: 0.08rem solid transparent;
  background: var(--cloud);
  box-shadow: 0 0.35rem 1.35rem transparent;
  content: "";
  opacity: 0;
}

.site-header:not(.home-header) {
  position: sticky;
  top: 0;
}

.site-header.is-scrolled::before {
  border-bottom-color: var(--line);
  box-shadow: 0 0.35rem 1.35rem var(--shadow);
  opacity: 0.98;
}

.site-brand,
.primary-nav a,
.icon-button,
.menu-toggle,
.scene-tab,
.scroll-invitation,
.command-link,
.primary-command,
.secondary-command,
.footer-group a {
  touch-action: manipulation;
}

.primary-nav a,
.footer-group a,
.command-link,
.scroll-invitation {
  text-decoration-skip-ink: auto;
}

.scene-tab:active,
.icon-button:active,
.menu-toggle:active,
.primary-command:active,
.secondary-command:active {
  transform: translateY(0.08rem);
}

.scene-tab:focus-visible {
  position: relative;
  z-index: 2;
}

.hero-stage::after {
  position: absolute;
  top: 7%;
  right: 0;
  z-index: 12;
  width: 0.65rem;
  height: 0.65rem;
  border: 0.12rem solid var(--lemon);
  border-radius: 50%;
  background: var(--night);
  box-shadow: 0 0 0 0.16rem var(--cloud);
  content: "";
  opacity: 0;
  pointer-events: none;
}

.hero-stage[data-scene="facet"] .stage-signal {
  transform: translate(-0.8rem, -0.3rem) rotate(-30deg);
}

.hero-stage[data-scene="terminal"] .stage-signal {
  transform: translate(0.45rem, 0.55rem) rotate(-45deg);
}

.hero-stage[data-scene="audio"] .stage-signal {
  transform: translate(-0.25rem, 0.45rem) rotate(-34deg);
}

.hero-stage[data-scene="facet"]::after {
  top: 13%;
  right: 10%;
  background: var(--violet);
  opacity: 1;
}

.hero-stage[data-scene="terminal"]::after {
  top: 43%;
  right: 2%;
  background: var(--rose);
  opacity: 1;
}

.hero-stage[data-scene="audio"]::after {
  top: 77%;
  right: 10%;
  background: var(--cyan);
  opacity: 1;
}

.hero-stage[data-scene-direction="backward"] .stage-familiar.is-listening {
  transform: scaleX(-1);
}

.product-plane::after {
  position: absolute;
  right: 0.5rem;
  bottom: 0.45rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--plane-signal, var(--rose));
  box-shadow: 0 0 0 0.15rem #171218;
  content: "";
  opacity: 0;
}

.hero-stage[data-scene="facet"] .plane-facet::after,
.hero-stage[data-scene="terminal"] .plane-terminal::after,
.hero-stage[data-scene="audio"] .plane-audio::after {
  opacity: 1;
}

.chapter-arrival::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 0.16rem;
  background: currentcolor;
  content: "";
  opacity: 0.72;
  transform: scaleX(0);
  transform-origin: left center;
}

.work-chapter.is-reading .chapter-arrival::after {
  transform: scaleX(1);
}

.chapter-kicker::before,
.page-kicker::before {
  width: 1.5rem;
  height: 0.16rem;
  background: currentcolor;
  content: "";
}

.chapter-state li {
  position: relative;
  overflow: hidden;
}

.chapter-state li::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--accent, var(--rose));
  content: "";
  opacity: 0.14;
  transform: scaleX(0);
  transform-origin: left center;
}

.chapter-media,
.page-hero-media,
.media-feature {
  isolation: isolate;
}

.chapter-media::after,
.page-hero-media::after {
  position: absolute;
  top: -0.5rem;
  left: -0.5rem;
  z-index: 3;
  width: 1.15rem;
  height: 1.15rem;
  border-top: 0.15rem solid var(--accent, var(--rose));
  border-left: 0.15rem solid var(--accent, var(--rose));
  content: "";
  opacity: 0;
  pointer-events: none;
}

.chapter-media figcaption,
.media-feature figcaption {
  border-left: 0.14rem solid transparent;
  padding-left: 0;
}

.work-chapter.is-reading .chapter-media figcaption {
  border-left-color: var(--accent, var(--rose));
  padding-left: 0.8rem;
}

.principle::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  background: var(--petal-soft);
  content: "";
  opacity: 0;
  transform: scaleY(0.9);
  transform-origin: bottom;
}

.relationship-list li::before,
.fact-list li::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0.22rem;
  background: var(--rose);
  content: "";
  opacity: 0;
  transform: scaleY(0.45);
}

.content-band.is-reading .content-heading {
  text-decoration-color: var(--rose);
  text-decoration-thickness: 0.12rem;
  text-underline-offset: 0.28rem;
}

.footer-group a {
  width: fit-content;
  text-decoration-color: transparent;
  text-decoration-thickness: 0.12rem;
  text-underline-offset: 0.24rem;
}

html[data-reveals="ready"] [data-reveal] {
  opacity: 0;
  transform: translateY(1.35rem);
}

html[data-reveals="ready"] [data-reveal="settle"] {
  transform: translateY(0.8rem) scale(0.985);
}

html[data-reveals="ready"] [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

@media (max-width: 75rem) {
  :root {
    --page-gutter: 2.5rem;
  }

  .site-brand {
    width: 12.5rem;
  }

  .hero-layout {
    grid-template-columns: minmax(19rem, 0.7fr) minmax(32rem, 1.3fr);
  }

  .hero-copy h1 {
    font-size: 3.65rem;
  }

  .hero-purpose {
    font-size: 1.25rem;
  }

  .scene-tabs {
    grid-template-columns: repeat(4, minmax(4.55rem, 1fr));
  }

  .chapter-inner,
  .page-hero-inner {
    gap: 3rem;
  }

  .chapter-title {
    font-size: 3.65rem;
  }
}

@media (max-width: 60rem) {
  :root {
    --header-height: 4.75rem;
    --page-gutter: 1.5rem;
  }

  .primary-nav {
    gap: 1.1rem;
  }

  .home-hero {
    min-height: 49rem;
    height: auto;
    max-height: none;
  }

  .home-hero::after {
    height: 31%;
  }

  .hero-layout {
    min-height: 49rem;
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 4rem;
    grid-template-columns: minmax(16rem, 0.68fr) minmax(24rem, 1.32fr);
    gap: 1rem;
  }

  .hero-copy h1 {
    font-size: 3.1rem;
  }

  .scene-tabs {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
  }

  .scene-tab:nth-child(2) {
    border-right: 0;
  }

  .scene-tab:nth-child(-n + 2) {
    border-bottom: 0.08rem solid var(--line);
  }

  .hero-stage {
    aspect-ratio: 1 / 1;
  }

  .plane-facet {
    width: 90%;
  }

  .plane-terminal {
    bottom: 20%;
    width: 53%;
  }

  .plane-audio {
    right: 2%;
    bottom: 7%;
    width: 80%;
  }

  .stage-familiar {
    bottom: 4%;
    left: 0;
    width: 13%;
  }

  .chapter-inner,
  .page-hero-inner {
    grid-template-columns: 1fr;
  }

  .chapter-copy,
  .page-hero-copy {
    max-width: 44rem;
  }

  .chapter-terminal .chapter-inner {
    grid-template-columns: 1fr;
  }

  .chapter-terminal .chapter-media {
    order: 0;
  }

  .chapter-audio .chapter-copy {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .studio-band-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .studio-band h2 {
    max-width: 15ch;
  }

  .page-hero-inner {
    padding-top: 2.5rem;
  }

  .page-hero h1 {
    font-size: 3.8rem;
  }

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

  .principle:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .principle:nth-child(even) {
    padding-left: 2rem;
    border-left: 0.1rem solid var(--line);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 44rem) {
  body {
    font-size: 1rem;
  }

  .site-header {
    height: var(--header-height);
  }

  .site-brand {
    width: 10.5rem;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .header-actions {
    position: absolute;
    top: calc(var(--header-height) - 0.2rem);
    right: var(--page-gutter);
    left: var(--page-gutter);
    display: flex;
    padding: 0.75rem;
    border: 0.1rem solid var(--ink);
    background: var(--cloud);
    box-shadow: 0.45rem 0.55rem 0 var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.55rem);
    visibility: hidden;
  }

  .header-actions[data-open="true"] {
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
  }

  .primary-nav {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .primary-nav a {
    width: 100%;
    border-bottom: 0.08rem solid var(--line);
  }

  .hero-layout {
    display: block;
    min-height: 0;
    padding-top: calc(var(--header-height) + 1.75rem);
    padding-bottom: 4.25rem;
  }

  .hero-copy {
    padding-bottom: 1.25rem;
  }

  .hero-copy h1 {
    max-width: 10ch;
    margin-bottom: 0.8rem;
    font-size: 2.75rem;
  }

  .hero-purpose {
    max-width: 23rem;
    margin-bottom: 1.2rem;
    font-size: 1.12rem;
  }

  .scene-tabs {
    max-width: 26rem;
  }

  .hero-stage {
    width: calc(100% + 0.5rem);
    margin-top: 0.5rem;
    aspect-ratio: 1.35 / 1;
  }

  .slip-cyan {
    width: 78%;
  }

  .slip-rose {
    width: 74%;
  }

  .plane-facet {
    top: 2%;
    width: 88%;
  }

  .plane-terminal {
    bottom: 16%;
    width: 52%;
  }

  .plane-audio {
    bottom: 4%;
    width: 78%;
  }

  .stage-familiar {
    bottom: 2%;
    width: 16%;
    min-width: 3.7rem;
  }

  .scroll-invitation {
    bottom: 0.55rem;
  }

  .work-chapter,
  .chapter-inner {
    min-height: 0;
  }

  .chapter-inner,
  .chapter-audio .chapter-inner {
    padding-top: 4.5rem;
    padding-bottom: 5rem;
  }

  .chapter-title {
    font-size: 3rem;
  }

  .chapter-description {
    font-size: 1.16rem;
  }

  .chapter-media::before {
    right: -0.6rem;
    bottom: -0.7rem;
  }

  .studio-band-inner {
    min-height: 0;
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .studio-band h2 {
    font-size: 3rem;
  }

  .page-hero-inner {
    min-height: 0;
    padding-top: 2rem;
    padding-bottom: 4.5rem;
  }

  .page-hero h1 {
    font-size: 3.15rem;
  }

  .page-lede {
    font-size: 1.18rem;
  }

  .content-inner {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .content-heading {
    font-size: 2.65rem;
  }

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

  .principle,
  .principle:nth-child(even),
  .principle:nth-child(odd) {
    padding: 1.5rem 0;
    border-left: 0;
  }

  .relationship-list li,
  .fact-list li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

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

  .footer-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }

  .not-found {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .not-found h1 {
    font-size: 3.35rem;
  }
}

@media (max-width: 27rem) {
  :root {
    --page-gutter: 1rem;
  }

  .scene-tab {
    padding-right: 0.45rem;
    padding-left: 0.45rem;
  }

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

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .primary-nav a::after,
  .reading-rail span,
  .site-header::before,
  .header-actions,
  .scene-tab,
  .icon-button,
  .menu-toggle,
  .product-plane,
  .stage-signal,
  .stage-slip,
  .stage-familiar,
  .hero-stage::after,
  .product-plane::after,
  .scroll-invitation span,
  .chapter-arrival::after,
  .chapter-state li::before,
  .chapter-media,
  .chapter-media::before,
  .chapter-media::after,
  .chapter-media img,
  .chapter-media figcaption,
  .page-hero-media,
  .page-hero-media::before,
  .page-hero-media::after,
  .page-hero-media img,
  .media-feature,
  .media-feature img,
  .media-feature figcaption,
  .principle,
  .principle::before,
  .relationship-list li,
  .fact-list li,
  .relationship-list li::before,
  .fact-list li::before,
  .whisker-mark span,
  .footer-group a,
  .primary-command,
  .secondary-command,
  .site-brand {
    transition:
      opacity 260ms ease,
      transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 240ms ease,
      background-color 180ms ease,
      border-color 180ms ease,
      color 180ms ease;
  }

  .reading-rail span {
    transition: transform 90ms linear;
  }

  .site-header::before {
    transition:
      opacity 220ms ease,
      border-color 220ms ease,
      box-shadow 220ms ease;
  }

  .header-actions {
    transition:
      opacity 180ms ease,
      transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s linear 220ms;
  }

  .header-actions[data-open="true"] {
    transition-delay: 0ms, 0ms, 0ms;
  }

  .hero-stage::after,
  .product-plane::after {
    transition:
      opacity 180ms ease,
      top 360ms cubic-bezier(0.22, 1, 0.36, 1),
      right 360ms cubic-bezier(0.22, 1, 0.36, 1),
      background-color 180ms ease;
  }

  .chapter-arrival::after,
  .chapter-state li::before,
  .relationship-list li::before,
  .fact-list li::before,
  .principle::before,
  .whisker-mark span {
    transition:
      opacity 220ms ease,
      transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
      padding 220ms ease,
      border-color 220ms ease;
  }

  .chapter-media figcaption,
  .media-feature figcaption,
  .relationship-list li,
  .fact-list li,
  .footer-group a {
    transition:
      color 180ms ease,
      border-color 220ms ease,
      padding 220ms ease,
      text-decoration-color 180ms ease;
  }

  html[data-reveals="ready"] [data-reveal] {
    transition:
      opacity 520ms ease var(--reveal-delay, 0ms),
      transform 620ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
  }

  .scene-tab {
    transition:
      background-color 180ms ease,
      color 180ms ease,
      box-shadow 180ms ease;
  }

  /* Scene changes are measured and animated by the FLIP controller in site.js. */
  .product-plane {
    transition:
      transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 240ms ease,
      border-color 180ms ease;
  }

  .theme-glyph {
    transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .theme-toggle.is-turning .theme-glyph {
    animation: theme-turn 300ms cubic-bezier(0.22, 1, 0.36, 1) 1;
  }

  .scene-tab:hover:not([aria-selected="true"]) {
    background: var(--petal);
  }

  .scene-tab[aria-selected="true"] {
    box-shadow: inset 0 -0.2rem 0 var(--rose);
  }

  .product-plane:hover,
  .product-plane:focus-visible {
    transform: translateY(-0.35rem);
    box-shadow: 0.8rem 0.95rem 0 var(--shadow);
  }

  .hero-stage.is-shifting::after {
    animation: scene-signal 620ms cubic-bezier(0.22, 1, 0.36, 1) 1;
  }

  .scroll-invitation:hover span,
  .scroll-invitation:focus-visible span {
    transform: translateY(0.25rem);
  }

  .command-link:hover span,
  .command-link:focus-visible span {
    transform: translateX(0.35rem);
  }

  .primary-command:hover,
  .secondary-command:hover {
    transform: translateY(-0.16rem);
    box-shadow: 0 0.3rem 0 var(--shadow);
  }

  .site-brand:hover,
  .site-brand:focus-visible {
    transform: translateY(-0.12rem);
  }

  .chapter-media:hover,
  .chapter-media:focus-within,
  .page-hero-media:hover {
    transform: translateY(-0.28rem);
  }

  html[data-reveals="ready"] .chapter-media[data-reveal].is-revealed:hover,
  html[data-reveals="ready"] .chapter-media[data-reveal].is-revealed:focus-within,
  html[data-reveals="ready"] .page-hero-media[data-reveal].is-revealed:hover {
    transform: translateY(-0.28rem);
  }

  .chapter-media:hover::before,
  .chapter-media:focus-within::before,
  .page-hero-media:hover::before {
    transform: translate(0.22rem, 0.22rem);
  }

  .chapter-media.is-engaged::after,
  .page-hero-media.is-engaged::after {
    opacity: 1;
  }

  .chapter-media.is-engaged img,
  .page-hero-media.is-engaged img,
  .media-feature.is-engaged img {
    transform: scale(1.012);
  }

  .media-feature.is-engaged {
    transform: translateY(-0.18rem);
  }

  html[data-reveals="ready"] .media-feature[data-reveal].is-revealed.is-engaged {
    transform: translateY(-0.18rem);
  }

  .principle:hover::before {
    opacity: 1;
    transform: scaleY(1);
  }

  .principle:hover h3 {
    color: var(--rose-text);
  }

  .relationship-list li:hover::before,
  .fact-list li:hover::before {
    opacity: 1;
    transform: scaleY(1);
  }

  .relationship-list li:hover,
  .fact-list li:hover {
    padding-left: 0.75rem;
  }

  .footer-group a:hover,
  .footer-group a:focus-visible {
    color: var(--rose);
    text-decoration-color: currentcolor;
  }

  .studio-band.is-reading .whisker-mark span:nth-child(1) {
    transform: scaleX(1.18);
  }

  .studio-band.is-reading .whisker-mark span:nth-child(2) {
    transform: scaleX(1.24);
  }

  .studio-band.is-reading .whisker-mark span:nth-child(3) {
    transform: scaleX(1.42);
  }

  @keyframes theme-turn {
    50% {
      transform: rotate(155deg) scale(0.82);
    }
  }

  @keyframes scene-signal {
    0%,
    100% {
      box-shadow: 0 0 0 0.16rem var(--cloud);
    }

    45% {
      box-shadow:
        0 0 0 0.16rem var(--cloud),
        0 0 0 0.55rem color-mix(in srgb, var(--rose) 36%, transparent);
    }
  }

  .stage-familiar.is-listening {
    animation: familiar-listen 320ms ease 1;
  }

  @keyframes familiar-listen {
    50% {
      transform: translateY(-0.25rem) rotate(1deg);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (prefers-contrast: more) {
  :root {
    --line: currentcolor;
    --shadow: transparent;
  }

  .product-plane,
  .chapter-media img,
  .page-hero-media img,
  .primary-command,
  .secondary-command {
    border-width: 0.15rem;
  }
}

@media (forced-colors: active) {
  .stage-slip,
  .stage-signal,
  .chapter-media::before,
  .page-hero-media::before,
  .home-hero::after,
  .work-chapter::before,
  .work-chapter::after {
    display: none;
  }

  .product-plane,
  .chapter-media img,
  .page-hero-media img {
    border: 0.12rem solid CanvasText;
  }
}

@supports (view-transition-name: none) {
  @view-transition {
    navigation: auto;
  }

  @media (prefers-reduced-motion: reduce) {
    :root {
      view-transition-name: none;
    }
  }
}
