.dark-matter-page {
  color-scheme: dark;
  --ink: #fff;
  --muted: #f9f9f9;
  --blue: #77d2fd;
  --purple: #77d2fd;
  background: #292929;
  color: #f9f9f9;
}
.dark-matter-page .skip { color: #111; }
.dark-matter-page .back-link {
  position: fixed;
  background: #2b2b2b;
  border-radius: 6px;
  width: 96px;
  z-index: 10;
}
.dark-matter-page .case-hero-copy p { font-size: 24px; line-height: 38px; color: #fff; }
.dark-matter-page .case-hero-image { border-color: #4383a6; box-shadow: 0 4px 44px #0009; }
.dark-matter-page .case-hero-image img {
  width: 1473.65px;
  height: 727px;
  left: -102.96px;
  top: -21px;
  object-fit: fill;
}
.dark-matter-page .project-details { background: #14171c; overflow: hidden; }
.dark-matter-page .project-details h2 { color: #8590a7; }
.dark-matter-page .project-details dt { color: #79d2fd; }
.dark-matter-page .project-details dd { color: #eee; }
.dark-matter-page .project-details small { color: #eee; }
.dark-matter-page .project-details dl { grid-template-columns: 314px 330px 1fr; gap: 42px 70px; }
.dark-matter-page .case-section > h2::before { display: none; }
.dark-matter-page .section-rule { display: block; margin-bottom: 10px; }
.dark-matter-page .case-copy { color: #f9f9f9; }
.dark-matter-page .case-copy ul { list-style-type: square; }
.dark-matter-page .monogram { color: white; border-color: white; }
.dark-matter-page footer { margin-top: 68px; padding-bottom: 58px; }
.dark-matter-page .connect { gap: 24px; }
.dm-group { display: flex; flex-direction: column; align-items: center; gap: 66px; width: 100%; }
.dm-figure { position: relative; width: 100%; flex: none; }
.dm-figure > img { width: 100%; height: auto; }
.wide-figure { width: 1184px; max-width: calc(100vw - 40px); }
.color-boards { width: 1114px; max-width: 100%; display: flex; flex-direction: column; gap: 66px; }
.primitives { width: 1106px; max-width: 100%; border-radius: 8px; box-shadow: 0 2px 19px #00000026; }
.primitives > img:not(.primitive-backdrop) { position: relative; }
.primitives .primitive-backdrop { position: absolute; inset: 0; height: 100%; object-fit: cover; border-radius: 8px; }
.semantic-palettes { display: grid; grid-template-columns: 811fr 237fr; gap: 5.925%; align-items: start; }
.background-variables { border: 1px solid #5c5c5c; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 44px #00000057; }
.foundation-band { width: 1728px; max-width: 100vw; }
.spacing-board { margin-bottom: -14px; }
.shadow-band { position: relative; background: #191d22; padding: 40px 0 44px; }
.shadow-band > p { position: absolute; top: 10px; left: calc(50% - 62px); font-size: 13px; line-height: 13px; color: #b3ebff; }
.shadows-board { width: 1140px; max-width: 80%; margin: auto; border-radius: 8px; overflow: hidden; }
.layouts-group { gap: 49px; }
.layout-examples { width: 1328px; max-width: calc(100vw - 40px); display: flex; flex-direction: column; gap: 13px; }
.layout-sample { width: 1288px; max-width: 100%; aspect-ratio: 1288 / 758; overflow: hidden; position: relative; }
.layout-sample.menu-open { width: 1292px; aspect-ratio: 1292 / 762; }
.layout-headers { width: 1328px; max-width: 100%; aspect-ratio: 1328 / 546; position: relative; overflow: hidden; }
/* These are fixed-format design illustrations, scaled as a whole rather than reflowed. */
.sample-canvas { position: absolute; width: 1288px; height: 758px; left: 0; top: 0; transform-origin: top left; font: 14px/22px 'Source Sans Pro', Arial, sans-serif; background: #13161a; color: #e5e5e5; border: 2px solid #0094d2; overflow: hidden; }
.sample-canvas img { flex: none; max-width: none; }
.sample-titlebar { height: 37px; padding: 3px 12px; display: flex; align-items: center; justify-content: space-between; background: #191919; color: #b0b0b0; font-weight: 600; }
.sample-titlebar > span { display: flex; align-items: center; gap: 11px; }
.sample-titlebar > span img { width: 23px; height: 31px; object-fit: cover; }
.sample-header { height: 64px; display: flex; align-items: center; justify-content: space-between; background: #191d21; }
.sample-left { display: flex; align-items: center; gap: 20px; padding: 15px 20px; }
.sample-brand { display: flex; align-items: center; gap: 8px; font: 600 16.87px/25px Lato, 'Source Sans Pro', Arial, sans-serif; white-space: nowrap; }
.sample-right { display: flex; align-items: center; gap: 19px; padding-right: 18px; }
.sample-add { display: flex; align-items: center; justify-content: center; background: #0b99ff; color: #fff; border-radius: 3px; height: 32px; padding: 0 15px; margin-right: 28px; }
.sample-icons { display: flex; align-items: center; gap: 12px; }
.sample-notification { position: relative; display: flex; }
.sample-notification i { font: 600 10px/18px 'Source Sans Pro', Arial, sans-serif; position: absolute; top: -5px; left: 14px; width: 18px; height: 18px; border-radius: 50%; color: white; background: #ff5f58; text-align: center; }
.sample-status { display: flex; flex-direction: column; justify-content: space-between; width: 49px; height: 35px; font-size: 16px; }
.sample-status > span { font-size: 12px; line-height: 13px; background: #0b99ff; width: 40px; text-align: center; border-radius: 3px; color: white; }
.sample-widgets { display: grid; grid-template-columns: 670px 571px; gap: 7px; padding: 20px; }
.sample-widgets > div:first-child { display: flex; flex-direction: column; gap: 7px; }
.sample-widget { background: #202224; padding: 14px; height: 303px; display: flex; flex-direction: column; }
.sample-widget.expanded { height: 613px; }
.widget-heading { display: flex; justify-content: space-between; align-items: start; padding-bottom: 10px; }
.widget-heading > span { display: flex; align-items: center; gap: 10px; }
.widget-heading > span:last-child { min-width: 50px; justify-content: space-between; }
.expanded .widget-heading > span:last-child { min-width: 101px; }
.widget-heading b { font: 700 16px/22px Lato, 'Source Sans Pro', Arial, sans-serif; }
.widget-content { display: grid; place-items: center; flex: 1; border: 1px dashed #434343; }
.sample-empty { position: absolute; top: 342px; left: 0; width: 1255px; text-align: center; }
.sample-empty strong { display: block; font: 600 20px/28px Lato, 'Source Sans Pro', Arial, sans-serif; margin-bottom: 2px; }
.menu-open .sample-canvas { left: 2px; top: 2px; }
.menu-open .sample-header { background: #4d4d4d; }
.menu-open .sample-widgets { background: #4d4d4d; padding-top: 0; }
.menu-open .sample-widget { background: #2b2b2b; }
.sample-menu { position: absolute; top: 37px; left: 1px; width: 292px; height: 721px; background: #202224; z-index: 2; overflow: hidden; }
.menu-brand { height: 64px; display: flex; align-items: center; padding-left: 21px; gap: 22px; }
.sample-search { position: absolute; top: 66px; left: 24px; width: 211px; height: 26px; border: 1px solid #4d4d4d; border-radius: 3px; display: flex; align-items: center; padding: 0 7px; gap: 7px; color: #909090; background: #2b2b2b; }
.sample-search span { flex: 1; }
.sample-search > img:first-of-type { display: none; }
.menu-settings { position: absolute; left: 243px; top: 69px; }
.sample-menu-items { position: absolute; top: 110px; width: 276px; }
.sample-menu-items > div { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; padding: 0 24px; height: 40px; }
.sample-menu-items .selected { margin-left: 6px; width: 264px; background: #373737; border-radius: 3px; padding-left: 18px; }
.sample-menu-items .submenu-heading { margin-top: 14px; }
.submenu-heading > img:last-child { margin-left: auto; }
.sample-menu-items > section { background: #373737; padding: 4px; margin-bottom: 6px; }
.sample-menu-items > section p { height: 44px; padding: 10px 48px; }
.menu-scrollbar { position: absolute; left: 281px; top: 108px; width: 7px; height: 442px; background: #3d3d3d; border-radius: 16px; }
.sample-scrim { position: absolute; left: 293px; top: 37px; width: 995px; height: 721px; background: #0000008c; }
.layout-headers .sample-canvas { width: 1328px; height: 546px; background: none; border: 1px dashed #9747ff; border-radius: 5px; padding: 19px; display: flex; flex-direction: column; gap: 24px; }
.layout-headers .sample-header { width: 1288px; flex: none; }
.layout-headers .sample-header:first-child { margin-bottom: 0; }
.sample-alert { height: 38px; background: #461d02; border-radius: 3px; display: flex; align-items: center; padding: 8px 12px; gap: 8px; }
.sample-alert span { flex: 1; }
.sample-tabs,.sample-navigation { display: flex; align-items: center; gap: 32px; height: 64px; margin-right: auto; margin-left: 55px; }
.sample-tabs span { display: flex; align-items: center; height: 54px; }
.sample-tabs .active { color: #0b99ff; border-bottom: 2px solid #0b99ff; }
.sample-navigation { gap: 32px; margin-left: 20px; }
.components-group { gap: 57px; }
.component-board { border-radius: 8px; overflow: hidden; }
.atomic-board { aspect-ratio: 1140 / 369.589; overflow: hidden; border-radius: 7px; }
.atomic-board img { position: absolute; width: 100%; height: 103.1%; top: -3.08%; }
.light-group { gap: 65px; }
.theme-boards { display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: 4.65%; align-items: start; }
.theme-boards > figure { border: 1px solid #7f7f7f; border-radius: 7px; overflow: hidden; box-shadow: 0 2px 47px #00000073; }
.text-theme-board { aspect-ratio: 544.056 / 751.549; }
.text-theme-board img { position: absolute; height: 100%; width: 102.4%; max-width: none; }
.application-group,.variables-group { gap: 58px; }
.application-group .dm-figure { border-radius: 8px; overflow: hidden; }
.variables-composition { width: 1140px; max-width: 100%; aspect-ratio: 1140 / 647; position: relative; }
.variables-main { width: 91.7544%; margin-left: 4.1228%; border: 1px solid #898989; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 66px 1px #0009; }
.variables-type,.variables-icons { position: absolute; border: 1px solid #7c7c7c; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 66px 1px #0004; }
.variables-type { left: 32.2807%; top: 42.6584%; width: 66.6667%; aspect-ratio: 760 / 119; }
.variables-type img { position: absolute; height: 109.24%; width: 101.32%; max-width: none; left: -.79%; top: -4.2%; }
.variables-icons { left: 32.5439%; top: 75.425%; width: 66.1404%; aspect-ratio: 754 / 159; }
.variables-icons img { position: absolute; height: 104.4%; width: 101.86%; max-width: none; left: -1.06%; top: -3.14%; }
@media (max-width: 1200px) {
  .dark-matter-page .project-details dl { grid-template-columns: 1fr 1.05fr .83fr; column-gap: 24px; }
  .wide-figure { width: calc(100% + 32px); }
  .shadow-band { padding-bottom: 36px; }
}
@media (max-width: 950px) {
  .dark-matter-page .project-details dl { grid-template-columns: 1fr 1fr; }
  .dark-matter-page .case-hero-copy p { font-size: 20px; line-height: 34px; }
}
@media (max-width: 650px) {
  .dark-matter-page .case-hero-copy p { font-size: 18px; line-height: 30px; }
  .dark-matter-page .case-hero-image { aspect-ratio: 1283 / 727; }
  .dark-matter-page .case-hero-image img { position: absolute; width: 114.86%; height: 100%; max-width: none; left: -7.83%; top: 0; }
  .dark-matter-page .project-details dl { grid-template-columns: 1fr; }
  .dm-group,.color-boards { gap: 32px; }
  .wide-figure { width: 100%; }
  .theme-boards { grid-template-columns: 1fr; gap: 28px; }
  .semantic-palettes { grid-template-columns: 1fr; gap: 24px; }
  .background-variables { width: 50%; justify-self: center; }
  .layout-examples { width: 100%; gap: 10px; }
  .foundation-band { width: 100vw; }
  .spacing-board { margin-bottom: -2px; }
  .shadow-band { padding: 28px 0 24px; }
  .shadow-band > p { left: 0; width: 100%; text-align: center; font-size: 11px; }
  .shadows-board { max-width: calc(100% - 32px); }
  .variables-composition { margin-bottom: 8px; }
  .variables-main,.variables-type,.variables-icons { border-radius: 4px; }
  .dark-matter-page footer { padding-bottom: 40px; }
}
