:root {
  --scroll: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Source Sans 3', sans-serif;
  background: #fff;
  color: #111;
  padding: 64px 0 0 calc(100vw/16*5);
}
body.overflow {
  overflow: hidden;
}
body a {
  color: #3366CC;
}
body a:hover {
  color: #ff931e;
}
body .showcase {
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: #111;
  cursor: pointer;
  transition: opacity 500ms ease-in-out, margin-top 500ms ease-in-out;
}
body .showcase.hidden {
  opacity: 0;
  margin-top: -50px;
}
body .showcase > .noscript {
  display: inline;
  z-index: 1100;
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  color: #333;
  font-size: max(3.5vw, 32pt);
  font-weight: 600;
  text-align: center;
}
body .showcase > .id {
  z-index: 1000;
  position: absolute;
  right: 120px;
  bottom: 120px;
  font-size: max(3.5vw, 32pt);
  font-weight: 600;
  color: #fff;
  background-color: #111;
  border-radius: 16px;
  padding: 24px 32px;
}
body .showcase > .id:hover {
  background-color: #3366CC;
}
body .showcase > .wrapper {
  width: 100vw;
  height: 100vh;
}
body .showcase > .wrapper > div.content {
  display: grid;
  grid-auto-rows: 200px;
  grid-auto-flow: row;
  gap: 24px;
}
body .showcase > .wrapper > div.content > div.reel {
  display: grid;
  grid-auto-columns: 355px;
  grid-auto-flow: column;
  gap: 24px;
}
body .showcase > .wrapper > div.content > div.reel > span {
  border-radius: 8px;
  background-size: cover;
}
body .mobile_header {
  display: none;
}
body .tooltip {
  position: fixed;
  z-index: 100;
  transition: opacity 300ms ease-in;
  transition-delay: 0ms;
  opacity: 0;
  font-size: max(0.8vw, 7.5pt);
  white-space: nowrap;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
  color: #fff;
  text-shadow: 0px -1px 0px #000;
  padding: 0.3rem 1rem 0.4rem 1rem;
  border-radius: 4px;
}
body .tooltip.visible {
  transition-delay: 250ms;
  opacity: 1;
}
body .gallery {
  --blur: 16px;
  --offset: 72px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s;
  display: grid;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1040;
  width: 100vw;
  height: 100vh;
  background-color: rgba(204, 204, 204, 0.4);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
}
body .gallery.visible {
  opacity: 1;
  pointer-events: auto;
}
body .gallery > .content {
  display: grid;
  align-content: center;
  justify-content: center;
  margin: var(--offset);
  background-position: 50% 50%;
  background-size: contain;
  background-repeat: no-repeat;
}
body .gallery > .close {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  align-content: center;
  justify-content: center;
  width: var(--offset);
  height: var(--offset);
  cursor: pointer;
}
body .gallery > .close:hover > svg > path {
  fill: #111;
}
body .gallery > a {
  --offset: 48px;
  display: block;
  position: absolute;
  top: calc(50% - 24px);
  width: 48px;
  height: 48px;
  border-radius: 16px;
  cursor: pointer;
  background-color: #fff;
  background-image: url('../img/icons/arrow-up.svg');
  background-position: 50% 50%;
  background-repeat: no-repeat;
}
body .gallery > a:hover {
  background-color: #111;
}
body .gallery > a.prev {
  left: var(--offset);
  transform: rotate(-90deg);
}
body .gallery > a.next {
  right: var(--offset);
  transform: rotate(90deg);
}
body #nav {
  position: fixed;
  top: 0;
  display: grid;
  grid-template-rows: min-content min-content min-content auto;
  width: calc(100vw/16*3 - 100vw/12);
  min-width: 100px;
  height: 100vh;
  left: calc(100vw/12);
}
body #nav > .text {
  display: grid;
  width: 100%;
  height: calc((var(--scroll) * (50vh - 175px - 64px)) + 64px);
  margin-bottom: 32px;
  background: url(../img/text.svg) no-repeat;
  background-size: 100%;
  background-position: 0 100%;
}
body #nav > .id {
  margin-bottom: 24px;
}
body #nav > .id > p {
  margin: 0;
  color: #666;
  font-size: max(1.1vw, 10pt);
}
body #nav > nav {
  margin-bottom: 48px;
}
body #nav > nav > ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
body #nav > nav > ul > li {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 16px;
  padding-left: 23px;
  background-repeat: no-repeat;
  background-position: 0 50%;
  margin-bottom: 8px;
  font-size: max(0.8vw, 7.5pt);
}
body #nav > nav > ul > li.send {
  background-image: url("../img/icons/send.svg");
}
body #nav > nav > ul > li.file-pdf {
  background-image: url("../img/icons/file-pdf.svg");
}
body #nav > nav > ul > li.phone {
  background-image: url("../img/icons/phone.svg");
}
body #nav > .filler {
  display: grid;
  position: relative;
  grid-auto-columns: 8px;
  justify-content: space-between;
  /*
			> a:not(.top) {
				display: block;
				width: 100%;
				height: 100%;
				background-color: #eee;

				@colors: #13A89E, #2263f6, #f00, #5b80be, #e0ad1b, #666, #a10300, #28a0d5, #e2762c, #1a7293;
				each(@colors, {
					&:nth-child(@{index}):hover {
						background-color: @value;
					}
				});

				each(range(10),{
					&:nth-child(@{value}) {
						grid-column: @value / (@value + 1);
					}
				});
			}
*/
}
body #nav > .filler > a.top {
  display: block;
  position: absolute;
  bottom: 64px;
  left: calc(50% - 24px);
  cursor: pointer;
  opacity: var(--scroll);
  translate: 0 calc(-1px * (var(--scroll) * 24));
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background-color: #fff;
  background-image: url('../img/icons/arrow-up.svg');
  background-position: 50% 50%;
  background-repeat: no-repeat;
}
body #nav > .filler > a.top:hover {
  background-color: #111;
}
body #nav > .filler > div {
  display: block;
  width: 100%;
  height: 100%;
  background-color: #eee;
}
body #nav > .filler > div:nth-child(1) {
  grid-column: 1 / 2;
}
body #nav > .filler > div:nth-child(2) {
  grid-column: 2 / 3;
}
body #nav > .filler > div:nth-child(3) {
  grid-column: 3 / 4;
}
body #nav > .filler > div:nth-child(4) {
  grid-column: 4 / 5;
}
body #nav > .filler > div:nth-child(5) {
  grid-column: 5 / 6;
}
body #nav > .filler > div:nth-child(6) {
  grid-column: 6 / 7;
}
body #nav > .filler > div:nth-child(7) {
  grid-column: 7 / 8;
}
body #nav > .filler > div:nth-child(8) {
  grid-column: 8 / 9;
}
body #nav > .filler > div:nth-child(9) {
  grid-column: 9 / 10;
}
body #nav > .filler > div:nth-child(10) {
  grid-column: 10 / 11;
}
body > .item {
  display: grid;
  margin-bottom: 6em;
  grid-template-columns: repeat(11, calc(100vw/16));
  grid-template-rows: 40vh 32px auto;
  font-size: max(1.2vw, 12pt);
  line-height: 1.5;
}
body > .item > .preview {
  position: relative;
  grid-column: 1/12;
  grid-row: 1/2;
  margin-right: 5vw;
  background-color: #eee;
  background-position: center;
  background-size: cover;
  cursor: pointer;
}
body > .item > .preview::before {
  content: '';
  position: absolute;
  top: 18px;
  right: 18px;
  width: 18px;
  height: 18px;
  background: url('../img/icons/maximize.svg') no-repeat;
}
body > .item > .preview > h1 {
  position: absolute;
  bottom: min(48px, 3vh);
  font-size: max(3.5vw, 32pt);
  line-height: 1;
  background-color: #fff;
  padding: 8px 32px 12px 72px;
}
body > .item > p {
  display: block;
  padding: 0;
  margin: 0;
  grid-column: 1/8;
  grid-row: 3/4;
}
body > .item > .stats {
  grid-column: 8/12;
  grid-row: 3/4;
}
body > .item > .stats > ul {
  margin: 0;
  padding: 0;
  padding-left: 5vw;
  margin-bottom: 24px;
}
body > .item > .stats > ul.roles > li {
  display: grid;
  align-items: center;
  padding-left: 32px;
  background: url('../img/icons/arrow-right.svg') 0 50% no-repeat;
}
body > .item > .stats > ul.dates > li {
  display: grid;
  align-items: center;
  padding-left: 32px;
  background: url('../img/icons/calendar.svg') 0 50% no-repeat;
}
body > .item > .stats > ul.tools {
  position: relative;
  margin-left: 32px;
}
body > .item > .stats > ul.tools::before {
  content: '';
  position: absolute;
  width: 32px;
  height: 32px;
  margin-left: -32px;
  background: url('../img/icons/tools.svg') 0 50% no-repeat;
}
body > .item > .stats > ul.tools > li {
  display: inline-block;
  width: 32px;
  height: 32px;
  margin-right: 8px;
  background-size: contain;
}
body > .item > .stats > ul.tools > li.Adobe_Ai {
  background-image: url("../img/brands/Adobe_Ai.svg");
}
body > .item > .stats > ul.tools > li.Adobe_Ps {
  background-image: url("../img/brands/Adobe_Ps.svg");
}
body > .item > .stats > ul.tools > li.Adobe_Id {
  background-image: url("../img/brands/Adobe_Id.svg");
}
body > .item > .stats > ul.tools > li.Adobe_Dw {
  background-image: url("../img/brands/Adobe_Dw.svg");
}
body > .item > .stats > ul.tools > li.Figma {
  background-image: url("../img/brands/Figma.svg");
}
body > .item > .stats > ul.tools > li.Idea_WS {
  background-image: url("../img/brands/Idea_WS.svg");
}
body > .item > .stats > ul.tools > li.Notion {
  background-image: url("../img/brands/Notion.svg");
}
body > .item > .stats > ul.tools > li.Confluence {
  background-image: url("../img/brands/Confluence.svg");
}
body > .item > .stats > ul.tools > li.Storybook {
  background-image: url("../img/brands/Storybook.svg");
}
body > .item > .stats > ul.tools > li.Macromedia {
  background-image: url("../img/brands/Macromedia.svg");
}
body > .item > .stats > ul.tools > li.MS_Word {
  background-image: url("../img/brands/MS_Word.png");
}
body > .item > .stats > ul.tools > li.MS_Powerpoint {
  background-image: url("../img/brands/MS_Powerpoint.png");
}
body > .item > .stats > ul.tools > li.MS_Excel {
  background-image: url("../img/brands/MS_Excel.png");
}
@media (max-width: 800px) {
  body {
    overflow-x: hidden;
    padding: 0;
  }
  body .mobile_header {
    transition: opacity 400ms ease-in;
    display: grid;
    align-content: center;
    position: sticky;
    position: -webkit-sticky;
    top: -24px;
    z-index: 1;
    padding: 32px 0 8px 24px;
    background-color: #111;
  }
  body .mobile_header.hidden {
    opacity: 0;
  }
  body .mobile_header > h1 {
    position: relative;
    margin: 0;
    padding: 0;
    font-size: 1rem;
    font-weight: normal;
    text-transform: uppercase;
    color: #eee;
  }
  body .mobile_header > h1::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    margin-left: -20px;
    margin-top: 1px;
    background: url('../img/icons/burger.svg') center no-repeat;
  }
  body .showcase > .id {
    right: 50vw;
    bottom: 8rem;
    padding: 16px 24px;
    translate: 50% 0;
  }
  body .gallery {
    --offset: 16px;
  }
  body .gallery > .close {
    --offset: 64px;
  }
  body .gallery > a {
    --offset: -8px;
    opacity: 0.5;
  }
  body #nav {
    margin-left: -278px;
    transition: margin-left 400ms ease-in;
    left: 0;
    z-index: 1;
    width: 150px;
    padding: 0 64px;
    background-color: #111;
  }
  body #nav.visible {
    margin-left: 0;
  }
  body #nav > .id > svg > text {
    fill: #fff;
  }
  body #nav > .filler > a.top {
    background-color: #111;
  }
  body #nav > .filler > div {
    opacity: 0.1;
  }
  body > .item {
    display: grid;
    min-width: 90vw;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(120px, 30vh) auto auto;
    gap: 16px;
    margin-bottom: 2rem;
  }
  body > .item > .preview {
    grid-column: 1/4;
    margin-right: 0;
  }
  body > .item > .preview > h1 {
    font-size: 1.5rem;
    padding: 8px 16px 8px 24px;
  }
  body > .item > p {
    grid-column: 1/4;
    grid-row: 2/3;
    line-height: 1.2;
    padding: 0 24px;
  }
  body > .item > .stats {
    grid-column: 1/4;
    grid-row: 3/4;
    padding: 0 24px;
  }
  body > .item > .stats > ul {
    padding-left: 0;
    margin-bottom: 16px;
  }
}
